...
Code Block |
---|
title | Coolblue DesAdv XML Example |
---|
|
<?xml version="1.0" encoding="UTF-8"?>
<Pip3B2AdvanceShipmentNotification xmlns="http://www.onetrail.net">
<AdvancedShipmentNotification>
<BuyingPartner>
<PartnerRoleDescription>
<ContactInformation>
<contactName>
<FreeFormText>Purchase Department</FreeFormText>
</contactName>
<EmailAddress>EDI@coolblue.nl</EmailAddress>
<facsimileNumber>
<CommunicationsNumber>+31-104506184</CommunicationsNumber>
</facsimileNumber>
<telephoneNumber>
<CommunicationsNumber>+31-107988972</CommunicationsNumber>
</telephoneNumber>
</ContactInformation>
<GlobalPartnerRoleClassificationCode>Reseller</GlobalPartnerRoleClassificationCode>
<PartnerDescription>
<BusinessDescription>
<GlobalBusinessIdentifier>8713783707524</GlobalBusinessIdentifier>
<businessName>
<FreeFormText>Coolblue B.V.</FreeFormText>
</businessName>
</BusinessDescription>
<GlobalPartnerClassificationCode>Buyer</GlobalPartnerClassificationCode>
</PartnerDescription>
</PartnerRoleDescription>
</BuyingPartner>
<OriginatingPartner>
<PartnerRoleDescription>
<ContactInformation>
<contactName>
<FreeFormText>Sales Department</FreeFormText>
</contactName>
<EmailAddress>acceptance@onetrail.com</EmailAddress>
<facsimileNumber>
<CommunicationsNumber>+31-302465141</CommunicationsNumber>
</facsimileNumber>
<telephoneNumber>
<CommunicationsNumber>+31-302464000</CommunicationsNumber>
</telephoneNumber>
</ContactInformation>
<GlobalPartnerRoleClassificationCode>Distributor</GlobalPartnerRoleClassificationCode>
<PartnerDescription>
<BusinessDescription>
<GlobalBusinessIdentifier>8714253023236</GlobalBusinessIdentifier>
<GlobalSupplyChainCode>Information Technology</GlobalSupplyChainCode>
<businessName>
<FreeFormText>Onetrail B.V.</FreeFormText>
</businessName>
</BusinessDescription>
<GlobalPartnerClassificationCode>Seller</GlobalPartnerClassificationCode>
</PartnerDescription>
</PartnerRoleDescription>
</OriginatingPartner>
<SellingPartner>
<PartnerRoleDescription>
<ContactInformation>
<contactName>
<FreeFormText>Sales Department</FreeFormText>
</contactName>
<EmailAddress>acceptance@onetrail.com</EmailAddress>
<facsimileNumber>
<CommunicationsNumber>+31-302465141</CommunicationsNumber>
</facsimileNumber>
<telephoneNumber>
<CommunicationsNumber>+31-302464000</CommunicationsNumber>
</telephoneNumber>
</ContactInformation>
<GlobalPartnerRoleClassificationCode>Distributor</GlobalPartnerRoleClassificationCode>
<PartnerDescription>
<BusinessDescription>
<GlobalBusinessIdentifier>8714253023236</GlobalBusinessIdentifier>
<GlobalSupplyChainCode>Information Technology</GlobalSupplyChainCode>
<businessName>
<FreeFormText>Onetrail B.V.</FreeFormText>
</businessName>
</BusinessDescription>
<GlobalPartnerClassificationCode>Seller</GlobalPartnerClassificationCode>
</PartnerDescription>
</PartnerRoleDescription>
</SellingPartner>
<Shipment>
<GlobalShippingServiceLevelCode>Regular</GlobalShippingServiceLevelCode>
<numberOfShippingContainers>
<CountableAmount>1</CountableAmount>
</numberOfShippingContainers>
<ReceivingPartner>
<shipTo>
<PartnerDescription>
<BusinessDescription>
<GlobalBusinessIdentifier>8713783719657</GlobalBusinessIdentifier>
<businessName>
<FreeFormText>Coolblue Parcel Autostore</FreeFormText>
</businessName>
</BusinessDescription>
<GlobalPartnerClassificationCode>Buyer</GlobalPartnerClassificationCode>
<ContactInformation>
<contactName>
<FreeFormText>Warehouse Department</FreeFormText>
</contactName>
<EmailAddress>tilburginboundplanning@coolblue.nl</EmailAddress>
<facsimileNumber>
<CommunicationsNumber>+31-104506184</CommunicationsNumber>
</facsimileNumber>
<telephoneNumber>
<CommunicationsNumber>+31-107988972</CommunicationsNumber>
</telephoneNumber>
</ContactInformation>
</PartnerDescription>
<PhysicalAddress/>
</shipTo>
</ReceivingPartner>
<shipmentIdentifier>
<ProprietaryReferenceIdentifier>8076565493</ProprietaryReferenceIdentifier>
</shipmentIdentifier>
<ShipmentTransportationEvent>
<confirmedEvent>
<TransportationEvent>
<DateStamp>20211020T000000</DateStamp>
<GlobalTransportEventCode>Ship</GlobalTransportEventCode>
</TransportationEvent>
<TransportationEvent>
<DateStamp>20211019T000000</DateStamp>
<GlobalTransportEventCode>Delivery</GlobalTransportEventCode>
</TransportationEvent>
</confirmedEvent>
</ShipmentTransportationEvent>
<ShippingContainer>
<shippingContainerIdentifier>
<ProprietarySerialIdentifier>387193362078955392</ProprietarySerialIdentifier>
</shippingContainerIdentifier>
<PackageType>CONTAINER</PackageType>
<numberOfShippingContainers>
<CountableAmount>1</CountableAmount>
</numberOfShippingContainers>
<ShippingContainer>
<shippingContainerIdentifier>
<ProprietarySerialIdentifier>3871933620789553921</ProprietarySerialIdentifier>
</shippingContainerIdentifier>
<PackageType>PALLET/UNIT LOAD</PackageType>
<numberOfShippingContainers>
<CountableAmount>2</CountableAmount>
</numberOfShippingContainers>
<ShippingContainerItem>
<DocumentSubLineReference>
<GlobalDocumentReferenceTypeCode>Purchase Order</GlobalDocumentReferenceTypeCode>
<LineNumber>19</LineNumber>
<ProprietaryDocumentIdentifier>PURCHASEORDERIDENTIFIER</ProprietaryDocumentIdentifier>
</DocumentSubLineReference>
<DocumentSubLineReference>
<GlobalDocumentReferenceTypeCode>Sales Order</GlobalDocumentReferenceTypeCode>
<LineNumber>190</LineNumber>
<ProprietaryDocumentIdentifier>7077320361</ProprietaryDocumentIdentifier>
</DocumentSubLineReference>
<DocumentSubLineReference>
<GlobalDocumentReferenceTypeCode>DesAdv</GlobalDocumentReferenceTypeCode>
<LineNumber>10</LineNumber>
<ProprietaryDocumentIdentifier>8076565493</ProprietaryDocumentIdentifier>
</DocumentSubLineReference>
<GlobalProductUnitOfMeasureCode>EACH</GlobalProductUnitOfMeasureCode>
<ProductIdentification>
<PartnerProductIdentification>
<GlobalPartnerClassificationCode>Seller</GlobalPartnerClassificationCode>
<ProprietaryProductIdentifier>5028396</ProprietaryProductIdentifier>
</PartnerProductIdentification>
<PartnerProductIdentification>
<GlobalPartnerClassificationCode>Buyer</GlobalPartnerClassificationCode>
<ProprietaryProductIdentifier>870902</ProprietaryProductIdentifier>
</PartnerProductIdentification>
<PartnerProductIdentification>
<GlobalPartnerClassificationCode>Manufacturer</GlobalPartnerClassificationCode>
<ProprietaryProductIdentifier>DTX/128GB</ProprietaryProductIdentifier>
</PartnerProductIdentification>
<PartnerProductIdentification>
<GlobalPartnerClassificationCode>EAN</GlobalPartnerClassificationCode>
<ProprietaryProductIdentifier>740617309928</ProprietaryProductIdentifier>
</PartnerProductIdentification>
</ProductIdentification>
<proprietaryInformation>
<FreeFormText>128GB DT Exodia USB 3.2 Gen 1</FreeFormText>
</proprietaryInformation>
<shippedQuantity>
<ProductQuantity>50</ProductQuantity>
</shippedQuantity>
</ShippingContainerItem>
</ShippingContainer>
</ShippingContainer>
<TrackingReference>
<GlobalTrackingReferenceTypeCode>Carrier</GlobalTrackingReferenceTypeCode>
<ProprietaryShipmentTrackingIdentifier>NL12378130</ProprietaryShipmentTrackingIdentifier>
</TrackingReference>
<transportedBy>
<PartnerRoleDescription>
<BusinessDescription>
<businessName>
<FreeFormText>BARSAN BENELUX</FreeFormText>
</businessName>
</BusinessDescription>
<GlobalPartnerClassificationCode>Carrier</GlobalPartnerClassificationCode>
</PartnerRoleDescription>
</transportedBy>
</Shipment>
</AdvancedShipmentNotification>
<fromRole>
<PartnerRoleDescription>
<ContactInformation>
<contactName>
<FreeFormText>Sales Department</FreeFormText>
</contactName>
<EmailAddress>acceptance@onetrail.com</EmailAddress>
<facsimileNumber>
<CommunicationsNumber>+31-302465141</CommunicationsNumber>
</facsimileNumber>
<telephoneNumber>
<CommunicationsNumber>+31-302464000</CommunicationsNumber>
</telephoneNumber>
</ContactInformation>
<GlobalPartnerRoleClassificationCode>Distributor</GlobalPartnerRoleClassificationCode>
<PartnerDescription>
<BusinessDescription>
<GlobalBusinessIdentifier>8714253023236</GlobalBusinessIdentifier>
<GlobalSupplyChainCode>Information Technology</GlobalSupplyChainCode>
<businessName>
<FreeFormText>Onetrail B.V.</FreeFormText>
</businessName>
</BusinessDescription>
<GlobalPartnerClassificationCode>Seller</GlobalPartnerClassificationCode>
</PartnerDescription>
</PartnerRoleDescription>
</fromRole>
<GlobalDocumentFunctionCode>Notification</GlobalDocumentFunctionCode>
<thisDocumentGenerationDateTime>
<DateTimeStamp>20211019T205005</DateTimeStamp>
</thisDocumentGenerationDateTime>
<thisDocumentIdentifier>
<ProprietaryDocumentIdentifier>01234RANDOM56789</ProprietaryDocumentIdentifier>
</thisDocumentIdentifier>
<toRole>
<PartnerRoleDescription>
<ContactInformation>
<contactName>
<FreeFormText lang="EN">Purchase Department </FreeFormText>
</contactName>
<EmailAddress>EDI@coolblue.nl</EmailAddress>
<facsimileNumber>
<CommunicationsNumber>+31-104506184</CommunicationsNumber>
</facsimileNumber>
<telephoneNumber>
<CommunicationsNumber>+31-107988972</CommunicationsNumber>
</telephoneNumber>
</ContactInformation>
<GlobalPartnerRoleClassificationCode>Reseller</GlobalPartnerRoleClassificationCode>
<PartnerDescription>
<BusinessDescription>
<GlobalBusinessIdentifier>8713783707524</GlobalBusinessIdentifier>
<businessName>
<FreeFormText lang="EN">Coolblue B.V.</FreeFormText>
</businessName>
</BusinessDescription>
<GlobalPartnerClassificationCode>Buyer</GlobalPartnerClassificationCode>
</PartnerDescription>
</PartnerRoleDescription>
</toRole>
</Pip3B2AdvanceShipmentNotification> |
XML Required Fields Explained
Within the Shipment element, the Shipment and Delivery dates can be set as follows:
- The first TransportationEvent in ShipmentTransportationEvent should have 2 fields; <DateStamp> and <GlobalTransportEventCode>.
- The <DateStamp> field should be filled with the EarliestDelivery date in the format [YYYY/MM/DD<T>HH/MM/SS].
- The GlobalTransportEventCode field should contain the type of TransportationEvent it is, such as 'EarliestDelivery', 'Requested Delivery', etc. For Coolblue DesAdv messages in should have the value 'EarliestDelivery'. [It doesn't currently accept 'EarliestDelivery' as a value, use 'Delivery' instead temporarily].
Code Block |
---|
title | Shipping Delivery Specifications |
---|
|
<ShipmentTransportationEvent>
<confirmedEvent>
* This is the Required field.
<TransportationEvent>
<DateStamp>20211019T000000</DateStamp>
<GlobalTransportEventCode>Delivery</GlobalTransportEventCode>
</TransportationEvent> *
<TransportationEvent>
<DateStamp>20211020T000000</DateStamp>
<GlobalTransportEventCode>Ship</GlobalTransportEventCode>
</TransportationEvent>
</confirmedEvent>
</ShipmentTransportationEvent> |
Also within the Shipment element, the ShippingContainer values should be set as follows:
- Inside <ShippingContainer> add another <ShippingContainer> element.
- This element should contain 3 fields: <shippingContainerIdentifier>, <PackageType> and <numberOfShippingContainers>
- <shippingContainerIdentifier> should contain the field <ProprietarySerialIdentifier>, the value of which should be the ID / Reference number specific to the shipping container.
- <PacketType> should have the value such as 'PALLET' or 'UNIT LOAD'
- <numberOfShippingContainers> should contain the field <CountableAmount>, the value of which should be the number of shipping containers.
Code Block |
---|
title | Shipping Container Specifications |
---|
|
<ShippingContainer>
<shippingContainerIdentifier>
<ProprietarySerialIdentifier>387193362078955392</ProprietarySerialIdentifier>
</shippingContainerIdentifier>
<PackageType>CONTAINER</PackageType>
<numberOfShippingContainers>
<CountableAmount>1</CountableAmount>
</numberOfShippingContainers>
<ShippingContainer>
* This is the required field.
<shippingContainerIdentifier>
<ProprietarySerialIdentifier>3871933620789553921</ProprietarySerialIdentifier>
</shippingContainerIdentifier> *
<PackageType>PALLET/UNIT LOAD</PackageType>
* This is the required field.
<numberOfShippingContainers>
<CountableAmount>2</CountableAmount>
</numberOfShippingContainers> *
<ShippingContainerItem> |
For Contact information, An valid email address is required; It can be set up as follows:
- In the <SellingPartner> element, contact information should be specified.
- A valid email address should be included here under the <ContactInformation> element in a field called <EmailAddress>.
Code Block |
---|
title | Selling Partner Contact Info |
---|
|
<SellingPartner>
<PartnerRoleDescription>
<ContactInformation>
<contactName>
<FreeFormText>Sales Department</FreeFormText>
</contactName>
* This is the required field
<EmailAddress>acceptance@onetrail.com</EmailAddress> *
<facsimileNumber>
<CommunicationsNumber>+31-302465141</CommunicationsNumber>
</facsimileNumber>
<telephoneNumber>
<CommunicationsNumber>+31-302464000</CommunicationsNumber>
</telephoneNumber>
</ContactInformation>
<GlobalPartnerRoleClassificationCode>Distributor</GlobalPartnerRoleClassificationCode>
<PartnerDescription>
<BusinessDescription>
<GlobalBusinessIdentifier>8714253023236</GlobalBusinessIdentifier>
<GlobalSupplyChainCode>Information Technology</GlobalSupplyChainCode>
<businessName>
<FreeFormText>Onetrail B.V.</FreeFormText>
</businessName>
</BusinessDescription>
<GlobalPartnerClassificationCode>Seller</GlobalPartnerClassificationCode>
</PartnerDescription>
</PartnerRoleDescription>
</SellingPartner> |