Table of Contents

XML Example of RCV-Shipment

Below XML Example contains the minimal mandatory fields when using namespaces in combination with XSD validation on the Message Type.

Basic setup of Connector Module needs to be done, to process this XML. The following master data is required:

  • Customer with GLN-code 8812423028886
  • Address with EANCode 8812423028886
  • Customer Item (related to this customer) with External No. EDIM001
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Message xmlns:ns0="www.boltrics.nl/receiveshipment:v1.00">
    <ns0:Header>
        <ns0:MessageID>001</ns0:MessageID>
        <ns0:CreationDateTime>2023-03-01T11:47:17</ns0:CreationDateTime>
        <ns0:ProcesAction>INSERT</ns0:ProcesAction>
        <ns0:FromTradingPartner>8812423028886</ns0:FromTradingPartner>
        <ns0:ToTradingPartner>8812423028746</ns0:ToTradingPartner>
    </ns0:Header>
    <ns0:Documents>
        <ns0:Document>
            <ns0:EANCode>8812423028886</ns0:EANCode>
            <ns0:ExternalDocumentNo>OUTB-EDI-00001</ns0:ExternalDocumentNo>
            <ns0:DocumentDate>2023-03-23</ns0:DocumentDate>
            <ns0:SenderAddress>
                <ns0:EANCode>8812423028886</ns0:EANCode>
            </ns0:SenderAddress>
            <ns0:ShipToAddress>
                <ns0:ExternalNo>SHPT0001</ns0:ExternalNo>
                <ns0:Name>ABBOTT LABORATORIES (M) SDN BHD</ns0:Name>
                <ns0:Address>Professor Tulpplein 33</ns0:Address>
                <ns0:City>Amsterdam</ns0:City>
                <ns0:PostCode>7008AD</ns0:PostCode>
                <ns0:CountryRegionCode>NL</ns0:CountryRegionCode>
            </ns0:ShipToAddress>
            <ns0:DocumentLines>
                <ns0:DocumentLine>
                    <ns0:ExternalNo>EDIM001</ns0:ExternalNo>
                    <ns0:OrderQuantity>20</ns0:OrderQuantity>
                    <ns0:OrderUnitofMeasureCode>PCE</ns0:OrderUnitofMeasureCode>
                </ns0:DocumentLine>
            </ns0:DocumentLines>
        </ns0:Document>
    </ns0:Documents>
</ns0:Message>

The XSD describes the XML Schema of this RCV-SHIPMENT

#Tips

  • The element BuildingCode (on Document level) can be implemented in 2 ways:

    by using the same Buildingcode as set on the Building 3PL Dynamics

        ...
        <ns0:BuildingCode>BLD-CODE</ns0:BuildingCode>
        ...
    

    by using first 10 characters of the GLN/EAN of the Building set in 3PL Dynamics.

        ...
        <ns0:BuildingCode>8712423</ns0:BuildingCode>
        ...
    

Document addresses (one-time ship-to address)

With the message type parameter IMPDOCADDRESS = YES, a DocumentAddresses element on the document creates a one-time ship-to address on the shipment without creating a permanent address. Only a DocumentAddress with AddressType ShipTo and a Name is processed; LinkedAddressNo links it to an existing address and HouseNo fills the house number. The element is optional in the XSD. See One-time Ship-to Address.

            <ns0:DocumentAddresses>
                <ns0:DocumentAddress>
                    <ns0:AddressType>ShipTo</ns0:AddressType>
                    <ns0:Name>One-time Receiver B.V.</ns0:Name>
                    <ns0:Address>Stationsstraat</ns0:Address>
                    <ns0:HouseNo>12</ns0:HouseNo>
                    <ns0:PostCode>6711 AB</ns0:PostCode>
                    <ns0:City>Ede</ns0:City>
                    <ns0:CountryRegionCode>NL</ns0:CountryRegionCode>
                    <ns0:Contact>J. Jansen</ns0:Contact>
                    <ns0:PhoneNo>+31 318 000000</ns0:PhoneNo>
                    <ns0:Email>receiving@example.com</ns0:Email>
                </ns0:DocumentAddress>
            </ns0:DocumentAddresses>
Tip

Basics and explanation are in the e-learning Integration with the standard in the Boltrics Academy: