Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleScenario 2 - Order is Changed
collapsetrue
<?xml version="1.0" encoding="UTF-8"?>
<tns:Pip3A4PurchaseOrderConfirmation xmlns:tns="OTRSP">
	<tns:fromRole>
		<tns:PartnerRoleDescription>
			<tns:ContactInformation>
				<tns:contactName>
					<tns:FreeFormText lang="EN">Sales Department contact</tns:FreeFormText>
				</tns:contactName>
				<tns:EmailAddress>Sales@onetrail.com</tns:EmailAddress>
				<tns:facsimileNumber>
					<tns:CommunicationsNumber>+31 30 697 3289</tns:CommunicationsNumber>
				</tns:facsimileNumber>
				<tns:telephoneNumber>
					<tns:CommunicationsNumber>+31 30 697 3288</tns:CommunicationsNumber>
				</tns:telephoneNumber>
			</tns:ContactInformation>
			<tns:GlobalPartnerRoleClassificationCode>Distributor</tns:GlobalPartnerRoleClassificationCode>
			<tns:PartnerDescription>
				<tns:BusinessDescription>
					<tns:GlobalBusinessIdentifier>8714253023236</tns:GlobalBusinessIdentifier>
					<tns:GlobalSupplyChainCode>Information Technology</tns:GlobalSupplyChainCode>
					<tns:businessName>
						<tns:FreeFormText lang="EN">Onetrail B.V. - XML Test Seller</tns:FreeFormText>
					</tns:businessName>
				</tns:BusinessDescription>
				<tns:GlobalPartnerClassificationCode>Seller</tns:GlobalPartnerClassificationCode>
			</tns:PartnerDescription>
		</tns:PartnerRoleDescription>
	</tns:fromRole>
	<tns:GlobalDocumentFunctionCode>Response</tns:GlobalDocumentFunctionCode>
	<tns:PurchaseOrder>
		<tns:AccountDescription>
			<tns:accountName>
				<tns:FreeFormText lang="EN">Onetrail B.V. - XML Test Buyer</tns:FreeFormText>
			</tns:accountName>
			<tns:AccountNumber>8714253023366</tns:AccountNumber>
			<tns:billTo>
				<tns:PartnerRoleDescription>
					<tns:ContactInformation>
						<tns:contactName>
							<tns:FreeFormText lang="EN">Finance Department contact</tns:FreeFormText>
						</tns:contactName>
						<tns:EmailAddress>Finance@onetrail.com</tns:EmailAddress>
						<tns:facsimileNumber>
							<tns:CommunicationsNumber>+31 30 697 3289</tns:CommunicationsNumber>
						</tns:facsimileNumber>
						<tns:telephoneNumber>
							<tns:CommunicationsNumber>+31 30 697 3288</tns:CommunicationsNumber>
						</tns:telephoneNumber>
					</tns:ContactInformation>
					<tns:GlobalPartnerRoleClassificationCode>Reseller</tns:GlobalPartnerRoleClassificationCode>
					<tns:PartnerDescription>
						<tns:BusinessDescription>
							<tns:GlobalBusinessIdentifier>8714253023397</tns:GlobalBusinessIdentifier>
							<tns:businessName>
								<tns:FreeFormText lang="EN">Onetrail B.V. - XML Test Buyer</tns:FreeFormText>
							</tns:businessName>
						</tns:BusinessDescription>
						<tns:GlobalPartnerClassificationCode>Buyer</tns:GlobalPartnerClassificationCode>
					</tns:PartnerDescription>
				</tns:PartnerRoleDescription>
			</tns:billTo>
		</tns:AccountDescription>
		<tns:remarks>
			<tns:remark context="Onetrail OrdRsp Scenario 2" lang="EN">Order is confirmed with Changes</tns:remark>
		</tns:remarks>
		<tns:DocumentReference>
			<tns:DateTimeStamp>20190429T114822</tns:DateTimeStamp>
			<tns:GlobalDocumentReferenceTypeCode>Purchase Order</tns:GlobalDocumentReferenceTypeCode>
			<tns:ProprietaryDocumentIdentifier>Standard WH 2</tns:ProprietaryDocumentIdentifier>
		</tns:DocumentReference>
		<tns:DocumentReference>
			<tns:DateTimeStamp>20190429T115346</tns:DateTimeStamp>
			<tns:GlobalDocumentReferenceTypeCode>Sales Order</tns:GlobalDocumentReferenceTypeCode>
			<tns:ProprietaryDocumentIdentifier>SO WareHouse 002</tns:ProprietaryDocumentIdentifier>
		</tns:DocumentReference>
		<tns:GlobalPurchaseOrderStatusCode>Change</tns:GlobalPurchaseOrderStatusCode>
		<tns:GlobalPurchaseOrderTypeCode>Standard</tns:GlobalPurchaseOrderTypeCode>
		<tns:OrderShippingInformation>
			<tns:GlobalSpecialFulfillmentRequestCode>Partial</tns:GlobalSpecialFulfillmentRequestCode>
		</tns:OrderShippingInformation>
		<tns:ProductLineItem>
			<tns:buyerLineItem>
				<tns:LineNumber>1</tns:LineNumber>
			</tns:buyerLineItem>
			<tns:DocumentLineReference>
				<tns:DateTimeStamp>20190429T114822</tns:DateTimeStamp>
				<tns:GlobalDocumentReferenceTypeCode>Purchase Order</tns:GlobalDocumentReferenceTypeCode>
				<tns:ProprietaryDocumentIdentifier>Standard WH 2</tns:ProprietaryDocumentIdentifier>
			</tns:DocumentLineReference>
			<tns:DocumentLineReference>
				<tns:DateTimeStamp>20190429T115346</tns:DateTimeStamp>
				<tns:GlobalDocumentReferenceTypeCode>Sales Order</tns:GlobalDocumentReferenceTypeCode>
				<tns:ProprietaryDocumentIdentifier>SO WareHouse 002</tns:ProprietaryDocumentIdentifier>
			</tns:DocumentLineReference>
			<tns:GlobalProductUnitOfMeasureCode>EACH</tns:GlobalProductUnitOfMeasureCode>
			<tns:GlobalPurchaseOrderStatusCode>Change</tns:GlobalPurchaseOrderStatusCode>
			<tns:isDropShip>
				<tns:AffirmationIndicator>No</tns:AffirmationIndicator>
			</tns:isDropShip>
			<tns:LineNumber>1</tns:LineNumber>
			<tns:OrderQuantity>
				<tns:requestedQuantity>
					<tns:ProductQuantity>30</tns:ProductQuantity>
				</tns:requestedQuantity>
				<tns:scheduledShipQuantity>
					<tns:ProductQuantity>30</tns:ProductQuantity>
				</tns:scheduledShipQuantity>
			</tns:OrderQuantity>
			<tns:ProductIdentification>
				<tns:GlobalProductIdentifier>AP8853</tns:GlobalProductIdentifier>
				<tns:PartnerProductIdentification>
					<tns:GlobalPartnerClassificationCode>Manufacturer</tns:GlobalPartnerClassificationCode>
					<tns:ProprietaryProductIdentifier>AP8853</tns:ProprietaryProductIdentifier>
				</tns:PartnerProductIdentification>
				<tns:PartnerProductIdentification>
					<tns:GlobalPartnerClassificationCode>Seller</tns:GlobalPartnerClassificationCode>
					<tns:ProprietaryProductIdentifier>SellerPN1</tns:ProprietaryProductIdentifier>
				</tns:PartnerProductIdentification>
				<tns:PartnerProductIdentification>
					<tns:GlobalPartnerClassificationCode>Buyer</tns:GlobalPartnerClassificationCode>
					<tns:ProprietaryProductIdentifier>BuyerPN1</tns:ProprietaryProductIdentifier>
				</tns:PartnerProductIdentification>
				<tns:PartnerProductIdentification>
					<tns:GlobalPartnerClassificationCode>EAN</tns:GlobalPartnerClassificationCode>
					<tns:ProprietaryProductIdentifier>8712345678920</tns:ProprietaryProductIdentifier>
				</tns:PartnerProductIdentification>
			</tns:ProductIdentification>
			<tns:proprietaryInformation>
				<tns:FreeFormText lang="EN">Partnumber AP8853 product description</tns:FreeFormText>
			</tns:proprietaryInformation>
			<tns:requestedEvent>
				<tns:TransportationEvent>
					<tns:DateStamp>20190429T000000</tns:DateStamp>
					<tns:GlobalTransportEventCode>Ship</tns:GlobalTransportEventCode>
				</tns:TransportationEvent>
			</tns:requestedEvent>
			<tns:scheduledEvent>
				<tns:TransportationEvent>
					<tns:DateStamp>20190503T000000</tns:DateStamp>
					<tns:GlobalTransportEventCode>Ship</tns:GlobalTransportEventCode>
				</tns:TransportationEvent>
			</tns:scheduledEvent>
			<tns:ShippedQuantityInformation>
				<tns:shippedQuantity>
					<tns:ProductQuantity>0</tns:ProductQuantity>
				</tns:shippedQuantity>
			</tns:ShippedQuantityInformation>
			<tns:TaxSummary>
				<tns:NationalTax>
					<tns:FinancialAmount>
						<tns:GlobalCurrencyCode>EUR</tns:GlobalCurrencyCode>
						<tns:MonetaryAmount>2047.50</tns:MonetaryAmount>
					</tns:FinancialAmount>
					<tns:NationalBusinessTaxIdentifier>
						<tns:BusinessTaxIdentifier>HIGH</tns:BusinessTaxIdentifier>
						<tns:GlobalCountryCode>NL</tns:GlobalCountryCode>
					</tns:NationalBusinessTaxIdentifier>
				</tns:NationalTax>
			</tns:TaxSummary>
			<tns:totalLineItemAmount>
				<tns:FinancialAmount>
					<tns:GlobalCurrencyCode>EUR</tns:GlobalCurrencyCode>
					<tns:MonetaryAmount>9750.00</tns:MonetaryAmount>
				</tns:FinancialAmount>
			</tns:totalLineItemAmount>
			<tns:unitPrice>
				<tns:FinancialAmount>
					<tns:GlobalCurrencyCode>EUR</tns:GlobalCurrencyCode>
					<tns:MonetaryAmount>325.00</tns:MonetaryAmount>
				</tns:FinancialAmount>
			</tns:unitPrice>
		</tns:ProductLineItem>
		<tns:ProductLineItem>
			<tns:buyerLineItem>
				<tns:LineNumber>2</tns:LineNumber>
			</tns:buyerLineItem>
			<tns:DocumentLineReference>
				<tns:DateTimeStamp>20190429T114822</tns:DateTimeStamp>
				<tns:GlobalDocumentReferenceTypeCode>Purchase Order</tns:GlobalDocumentReferenceTypeCode>
				<tns:ProprietaryDocumentIdentifier>Standard WH 2</tns:ProprietaryDocumentIdentifier>
			</tns:DocumentLineReference>
			<tns:DocumentLineReference>
				<tns:DateTimeStamp>20190429T115346</tns:DateTimeStamp>
				<tns:GlobalDocumentReferenceTypeCode>Sales Order</tns:GlobalDocumentReferenceTypeCode>
				<tns:ProprietaryDocumentIdentifier>SO WareHouse 002</tns:ProprietaryDocumentIdentifier>
			</tns:DocumentLineReference>
			<tns:GlobalProductUnitOfMeasureCode>EACH</tns:GlobalProductUnitOfMeasureCode>
			<tns:GlobalPurchaseOrderStatusCode>Change</tns:GlobalPurchaseOrderStatusCode>
			<tns:isDropShip>
				<tns:AffirmationIndicator>No</tns:AffirmationIndicator>
			</tns:isDropShip>
			<tns:LineNumber>2</tns:LineNumber>
			<tns:OrderQuantity>
				<tns:requestedQuantity>
					<tns:ProductQuantity>15</tns:ProductQuantity>
				</tns:requestedQuantity>
				<tns:scheduledShipQuantity>
					<tns:ProductQuantity>15</tns:ProductQuantity>
				</tns:scheduledShipQuantity>
			</tns:OrderQuantity>
			<tns:ProductIdentification>
				<tns:GlobalProductIdentifier>OT66552233</tns:GlobalProductIdentifier>
				<tns:PartnerProductIdentification>
					<tns:GlobalPartnerClassificationCode>Manufacturer</tns:GlobalPartnerClassificationCode>
					<tns:ProprietaryProductIdentifier>OT66552233</tns:ProprietaryProductIdentifier>
				</tns:PartnerProductIdentification>
				<tns:PartnerProductIdentification>
					<tns:GlobalPartnerClassificationCode>Seller</tns:GlobalPartnerClassificationCode>
					<tns:ProprietaryProductIdentifier>SellerPN2</tns:ProprietaryProductIdentifier>
				</tns:PartnerProductIdentification>
				<tns:PartnerProductIdentification>
					<tns:GlobalPartnerClassificationCode>Buyer</tns:GlobalPartnerClassificationCode>
					<tns:ProprietaryProductIdentifier>BuyerPN2</tns:ProprietaryProductIdentifier>
				</tns:PartnerProductIdentification>
				<tns:PartnerProductIdentification>
					<tns:GlobalPartnerClassificationCode>EAN</tns:GlobalPartnerClassificationCode>
					<tns:ProprietaryProductIdentifier>8723456789122</tns:ProprietaryProductIdentifier>
				</tns:PartnerProductIdentification>
			</tns:ProductIdentification>
			<tns:proprietaryInformation>
				<tns:FreeFormText lang="EN">Partnumber OT66552233 product description</tns:FreeFormText>
			</tns:proprietaryInformation>
			<tns:requestedEvent>
				<tns:TransportationEvent>
					<tns:DateStamp>20190429T000000</tns:DateStamp>
					<tns:GlobalTransportEventCode>Ship</tns:GlobalTransportEventCode>
				</tns:TransportationEvent>
			</tns:requestedEvent>
			<tns:scheduledEvent>
				<tns:TransportationEvent>
					<tns:DateStamp>20190618T000000</tns:DateStamp>
					<tns:GlobalTransportEventCode>Ship</tns:GlobalTransportEventCode>
				</tns:TransportationEvent>
			</tns:scheduledEvent>
			<tns:ShippedQuantityInformation>
				<tns:shippedQuantity>
					<tns:ProductQuantity>0</tns:ProductQuantity>
				</tns:shippedQuantity>
			</tns:ShippedQuantityInformation>
			<tns:TaxSummary>
				<tns:NationalTax>
					<tns:FinancialAmount>
						<tns:GlobalCurrencyCode>EUR</tns:GlobalCurrencyCode>
						<tns:MonetaryAmount>787.47</tns:MonetaryAmount>
					</tns:FinancialAmount>
					<tns:NationalBusinessTaxIdentifier>
						<tns:BusinessTaxIdentifier>HIGH</tns:BusinessTaxIdentifier>
						<tns:GlobalCountryCode>NL</tns:GlobalCountryCode>
					</tns:NationalBusinessTaxIdentifier>
				</tns:NationalTax>
			</tns:TaxSummary>
			<tns:totalLineItemAmount>
				<tns:FinancialAmount>
					<tns:GlobalCurrencyCode>EUR</tns:GlobalCurrencyCode>
					<tns:MonetaryAmount>3749.85</tns:MonetaryAmount>
				</tns:FinancialAmount>
			</tns:totalLineItemAmount>
			<tns:unitPrice>
				<tns:FinancialAmount>
					<tns:GlobalCurrencyCode>EUR</tns:GlobalCurrencyCode>
					<tns:MonetaryAmount>249.99</tns:MonetaryAmount>
				</tns:FinancialAmount>
			</tns:unitPrice>
		</tns:ProductLineItem>
		<tns:purchaseOrderIdentifier>
			<tns:ProprietaryDocumentIdentifier>Standard WH 2</tns:ProprietaryDocumentIdentifier>
		</tns:purchaseOrderIdentifier>
		<tns:requestedEvent>
			<tns:TransportationEvent>
				<tns:DateStamp>20190429T000000</tns:DateStamp>
				<tns:GlobalTransportEventCode>Ship</tns:GlobalTransportEventCode>
			</tns:TransportationEvent>
		</tns:requestedEvent>
		<tns:scheduledEvent>
			<tns:TransportationEvent>
				<tns:DateStamp>20190503T000000</tns:DateStamp>
				<tns:GlobalTransportEventCode>Ship</tns:GlobalTransportEventCode>
			</tns:TransportationEvent>
		</tns:scheduledEvent>
		<tns:shipTo>
			<tns:PartnerDescription>
				<tns:BusinessDescription>
					<tns:GlobalBusinessIdentifier>8714253023380</tns:GlobalBusinessIdentifier>
					<tns:GlobalSupplyChainCode>Information Technology</tns:GlobalSupplyChainCode>
					<tns:businessName>
						<tns:FreeFormText lang="EN">Onetrail B.V. - XML Test Buyer Warehouse 1</tns:FreeFormText>
					</tns:businessName>
				</tns:BusinessDescription>
				<tns:GlobalPartnerClassificationCode>Buyer</tns:GlobalPartnerClassificationCode>
				<tns:ContactInformation>
					<tns:contactName>
						<tns:FreeFormText lang="EN">Warehouse Department contact</tns:FreeFormText>
					</tns:contactName>
					<tns:EmailAddress>Warehouse@onetrail.com</tns:EmailAddress>
					<tns:telephoneNumber>
						<tns:CommunicationsNumber>+31 30 697 3288</tns:CommunicationsNumber>
					</tns:telephoneNumber>
				</tns:ContactInformation>
			</tns:PartnerDescription>
			<tns:PhysicalAddress/>
		</tns:shipTo>
		<tns:totalAmount>
			<tns:FinancialAmount>
				<tns:GlobalCurrencyCode>EUR</tns:GlobalCurrencyCode>
				<tns:MonetaryAmount>13499.85</tns:MonetaryAmount>
			</tns:FinancialAmount>
		</tns:totalAmount>
	</tns:PurchaseOrder>
	<tns:requestingDocumentDateTime>
		<tns:DateTimeStamp>20190429T114822</tns:DateTimeStamp>
	</tns:requestingDocumentDateTime>
	<tns:requestingDocumentIdentifier>
		<tns:ProprietaryDocumentIdentifier>PurchaseOrderUniqueID456fdsf75647</tns:ProprietaryDocumentIdentifier>
	</tns:requestingDocumentIdentifier>
	<tns:thisDocumentGenerationDateTime>
		<tns:DateTimeStamp>20190429T120136</tns:DateTimeStamp>
	</tns:thisDocumentGenerationDateTime>
	<tns:thisDocumentIdentifier>
		<tns:ProprietaryDocumentIdentifier>ThisDocUniqueID-Counterg47dskdfgj0-2</tns:ProprietaryDocumentIdentifier>
	</tns:thisDocumentIdentifier>
	<tns:toRole>
		<tns:PartnerRoleDescription>
			<tns:ContactInformation>
				<tns:contactName>
					<tns:FreeFormText lang="EN">Purchase Department contact</tns:FreeFormText>
				</tns:contactName>
				<tns:EmailAddress>Purchase@onetrail.com</tns:EmailAddress>
				<tns:facsimileNumber>
					<tns:CommunicationsNumber>+31 30 697 3289</tns:CommunicationsNumber>
				</tns:facsimileNumber>
				<tns:telephoneNumber>
					<tns:CommunicationsNumber>+31 30 697 3288</tns:CommunicationsNumber>
				</tns:telephoneNumber>
			</tns:ContactInformation>
			<tns:GlobalPartnerRoleClassificationCode>Reseller</tns:GlobalPartnerRoleClassificationCode>
			<tns:PartnerDescription>
				<tns:BusinessDescription>
					<tns:GlobalBusinessIdentifier>8714253023366</tns:GlobalBusinessIdentifier>
					<tns:GlobalSupplyChainCode>Information Technology</tns:GlobalSupplyChainCode>
					<tns:businessName>
						<tns:FreeFormText lang="EN">Onetrail B.V. - XML Test Buyer</tns:FreeFormText>
					</tns:businessName>
				</tns:BusinessDescription>
				<tns:GlobalPartnerClassificationCode>Buyer</tns:GlobalPartnerClassificationCode>
			</tns:PartnerDescription>
		</tns:PartnerRoleDescription>
	</tns:toRole>
</tns:Pip3A4PurchaseOrderConfirmation>

...