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>L<BranchId>D MG 01 01<</BranchId>
		<CompanyId>T2<<CompanyId>T1</CompanyId>
		<DeliveryType>Sync</DeliveryType>
		<GeneratedOn>2018-0304-20T1212T18:4957:39Z<48Z</GeneratedOn>
		<Product name="ERP" version="12"/>
		<SourceApplication>P12_DEV_SERVERT2<SERVERT1</SourceApplication>
		<StandardVersion>1.000</StandardVersion>
		<Transaction>UNITOFMEASURE</Transaction>
		<Type>BusinessMessage</Type>
		<UUID>69f90943<UUID>d2343590-9cfce52b-b5e9377b-b485db58-500f17604e38<b4fe08ca2fb8</UUID>
	</MessageInformation>
	<BusinessMessage>
		<BusinessEvent>
			<Entity>UnitOfMeasure</Entity>
			<Event>upsert</Event>
			<Identification>
				<key name="InternalID">T2>T1|LD MG|AR<UN</key>
			</Identification>
		</BusinessEvent>
		<BusinessContent>
			<Code>AR<<Code>UN</Code>
			<InternalId>T2<InternalId>T1|LD MG|AR<UN</InternalId>
			<Description>ARROBA<<Description>UNIDADE</Description>
			<ShortName>ARROBA_<<ShortName>UNIDADE</ShortName>
		</BusinessContent>
	</BusinessMessage>
</TOTVSMessage>
Bloco de código
languagejs
titleUnitOfMeasure_JSON_Envio
linenumberstrue
collapsetrue
{
	"TOTVSMessage" : {
		"MessageInformation" : {
			"@version" : "2.002",
			"BranchId" : "LD MG 01 ",
			"CompanyId" : "T2T1",
			"DeliveryType" : "Sync",
			"GeneratedOn" : "2018-0304-20T1212T18:4957:39Z48Z",
			"Product" : {
				"@name" : "ERP",
				"@version" : "12"
			},
			"SourceApplication" : "P12_DEV_SERVERT2SERVERT1",
			"StandardVersion" : "1.000",
			"Transaction" : "UNITOFMEASURE",
			"Type" : "BusinessMessage",
			"UUID" : "69f90943d2343590-9cfce52b-b5e9377b-b485db58-500f17604e38b4fe08ca2fb8"
		},
		"BusinessMessage" : {
			"BusinessEvent" : {
				"Entity" : "UnitOfMeasure",
				"Event" : "upsert",
				"Identification" : {
					"key" : {
						"@name" : "InternalID",
						"$" : "T2T1|LD MG|ARUN"
					}
				}
			},
			"BusinessContent" : {
				"Code" : "ARUN",
				"InternalId" : "T2T1|LD MG|ARUN",
				"Description" : "ARROBAUNIDADE",
				"ShortName" : "ARROBA_UNIDADE"
			}
		}
	}
}

Exemplo de Mensagens de Retorno

...