Páginas filhas
  • DI Unidade de Medida - UnitOfMeasure

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

Bloco de código
languagexml
titleUnitOfMeasure_XML_Envio
linenumberstrue
collapsetrue
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TOTVSMessage>
	<MessageInformation version="2.002">
		<BranchId>D MG 01 </BranchId>
		<CompanyId>T1</CompanyId>
		<DeliveryType>Sync</DeliveryType>
		<GeneratedOn>2018-04-12T18:57:48Z</GeneratedOn>
		<Product name="ERP" version="12"/>
		<SourceApplication>P12_DEV_SERVERT1</SourceApplication>
		<StandardVersion>1.000</StandardVersion>
		<Transaction>UNITOFMEASURE</Transaction>
		<Type>BusinessMessage</Type>
		<UUID>d2343590-e52b-377b-db58-b4fe08ca2fb8</UUID>
	</MessageInformation>
	<BusinessMessage>
		<BusinessEvent>
			<Entity>UnitOfMeasure</Entity>
			<Event>upsert</Event>
			<Identification>
				<key name="InternalID">T1|D MG|UN</key>
			</Identification>
		</BusinessEvent>
		<BusinessContent>
			<Code>UN</Code>
			<InternalId>T1|D MG|UN</InternalId>
			<Description>UNIDADE</Description>
			<ShortName>UNIDADE</ShortName>
		</BusinessContent>
	</BusinessMessage>
</TOTVSMessage>
Bloco de código
languagexml
titleUnitOfMeasure_XML_Retorno
linenumberstrue
collapsetrue
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TOTVSMessage>
	<MessageInformation version="2.002">
		<BranchId>D MG 01 </BranchId>
		<CompanyId>T1</CompanyId>
		<DeliveryType>Sync</DeliveryType>
		<GeneratedOn>2018-04-12T15:53:50</GeneratedOn>
		<Product name="PIMS" version="12.1.21"/>
		<SourceApplication>PIMSCONNECTOR</SourceApplication>
		<StandardVersion>1.000</StandardVersion>
		<Transaction>UNITOFMEASURE</Transaction>
		<Type>Response</Type>
		<UUID>25f969ec-3803-4c61-b42f-4a710161692b</UUID>
	</MessageInformation>
	<ResponseMessage>
		<ProcessingInformation>
			<ProcessedOn>2018-04-12T15:53:50</ProcessedOn>
			<Status>OK</Status>
		</ProcessingInformation>
		<ReceivedMessage>
			<MessageContent/>
			<SentBy>ERP</SentBy>
			<UUID>d2343590-e52b-377b-db58-b4fe08ca2fb8</UUID>
		</ReceivedMessage>
		<ReturnContent>
			<ListOfInternalId>
				<InternalId>
					<Destination>||1645600824977155300</Destination>
					<Name>UNITOFMEASURE</Name>
					<Origin>T1|D MG|UN</Origin>
				</InternalId>
			</ListOfInternalId>
		</ReturnContent>
	</ResponseMessage>
</TOTVSMessage>

...

Bloco de código
languagejs
titleUnitOfMeasure_JSON_Envio
linenumberstrue
collapsetrue
{
	"TOTVSMessage" : {
		"MessageInformation" : {
			"@version" : "2.002",
			"BranchId" : "D MG 01 ",
			"CompanyId" : "T1",
			"DeliveryType" : "Sync",
			"GeneratedOn" : "2018-04-12T15:53:50",
			"Product" : {
				"@name" : "PIMS",
				"@version" : "12.1.21"
			},
			"SourceApplication" : "PIMSCONNECTOR",
			"StandardVersion" : "1.000",
			"Transaction" : "UNITOFMEASURE",
			"Type" : "Response",
			"UUID" : "25f969ec-3803-4c61-b42f-4a710161692b"
		},
		"ResponseMessage" : {
			"ProcessingInformation" : {
				"ProcessedOn" : "2018-04-12T15:53:50",
				"Status" : "OK"
			},
			"ReceivedMessage" : {
				"MessageContent" : null,
				"SentBy" : "ERP",
				"UUID" : "d2343590-e52b-377b-db58-b4fe08ca2fb8"
			},
			"ReturnContent" : {
				"ListOfInternalId" : {
					"InternalId" : {
						"Destination" : "||1645600824977155300",
						"Name" : "UNITOFMEASURE",
						"Origin" : "T1|D MG|UN"
					}
				}
			}
		}
	}
}
Bloco de código
languagejs
titleUnitOfMeasure_JSON_Retorno
linenumberstrue
collapsetrue
{
	"TOTVSMessage" : {
		"MessageInformation" : {
			"@version" : "2.002",
			"BranchId" : "D MG 01 ",
			"CompanyId" : "T1",
			"DeliveryType" : "Sync",
			"GeneratedOn" : "2018-04-12T15:53:50",
			"Product" : {
				"@name" : "PIMS",
				"@version" : "12.1.21"
			},
			"SourceApplication" : "PIMSCONNECTOR",
			"StandardVersion" : "1.000",
			"Transaction" : "UNITOFMEASURE",
			"Type" : "Response",
			"UUID" : "25f969ec-3803-4c61-b42f-4a710161692b"
		},
		"ResponseMessage" : {
			"ProcessingInformation" : {
				"ProcessedOn" : "2018-04-12T15:53:50",
				"Status" : "OK"
			},
			"ReceivedMessage" : {
				"MessageContent" : null,
				"SentBy" : "ERP",
				"UUID" : "d2343590-e52b-377b-db58-b4fe08ca2fb8"
			},
			"ReturnContent" : {
				"ListOfInternalId" : {
					"InternalId" : {
						"Destination" : "||1645600824977155300",
						"Name" : "UNITOFMEASURE",
						"Origin" : "T1|D MG|UN"
					}
				}
			}
		}
	}
}

...