The message describes delivery response message from a supplier to Lxir, either representing a response of a purchase order or a suborder (Purchaseorder is a direct delivery from supplier to end customer. Suborder is from supplier to warehouse).
- Delivered quantity is reported on row level. Partial delivery of row as well as supplier order is possible.
- Quantity must relate to originally communicated quantity unit.
- The unique supplier order and row are identified via Number-element as well as Position and SubPosition.
1.1 XML structure
LxirEnvelope(1)
LxirEnvelope/Header(1)
Element | Data | Mandatory | Description | Example |
DateTime | Y | Date and time when message was created. | 2011-12-05T13:43:24 | |
DocumentNumber | Y | Document number/identifier | ||
DocumentVersion |
| Y | Document version | 1.0 |
DocumentName | Y | Document name | LxirSupplierOrderResponse | |
ToPartnerUser | Y | Shortname [Name] of the client the message integration relates to. Agreed with Lxir integration technicians. Must relate to the original supplier order once communicated to supplier |
| |
ToPartner | Y | [Name] | Ex. GBG | |
FromPartnerUser | Y | [Name] | Ex. GBG | |
FromPartner | Y | Fixed internal value | XOE |
LxirEnvelope /Body(1)
LxirEnvelope /Body /LxirSupplierOrderResponse(n)
Element | Data | Mandatory | Description | Example |
OrderType | ”Purchase”; ”Suborder” | Y | XML Attribute defining if the supplier order is of type purchase or suborder |
|
Number | Y | Internal purchase number or suborder number – used as reference number to find which transaction to repond to. | RP-15 / PO-12 | |
CreateDate | Y | Message creation date | Ex. 2011-12-05T13:43:24 | |
DeliveryNote | N | Supplier’s delivery note (if any) | ||
|
|
|
|
|
LxirSupplierOrder/Transport(1)
Element | Data | Mandatory | Description | Example |
TransportCondition |
| N | Transport condition | Incoterms 2010 |
DeliveryMethod |
| N | Method of delivery |
|
ForwarderName |
| N | Forwarder name |
|
ShipmentNumber |
| N | Tracking number at forwarder, if any |
|
LxirSupplierOrder/OrderRows(1)/Row(n)
Element | Data | Mandatory | Description | Example |
Position |
| Y | Original supplier order position (row number) | 10 |
SubPosition |
| Y | Original supplier order sub position | 0 |
Notes |
| N | Supplier’s note (if any) |
|
SupplierProductNumber |
| N | Supplier’s product number |
|
SupplierProductName |
| N | Supplier’s product name |
|
ProductNumber |
| N | Lxir’s product number |
|
ProductName |
| N | Lxirs product name |
|
DeliveredQuantity |
| Y | Delivered quantity | Ex. 0.00 |
Unit |
| N | Unit for delivered quantity | Ex. PCS, must be same as communicated in supplier order message. |
TotalGrossWeight |
| N | Gross weight per row in total (kg) |
|
DeliveryDate |
| N | Confirmed delivery date | System will default to time of message processing |
<LxirEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<Header DocumentNumber="4050659" DateTime="2013-10-06T15:23:27" ToPartnerUser="TEST" FromPartnerUser="PARTNER" DocumentVersion="1.0" ToPartner="XOE" FromPartner="PARTNER" DocumentName="LxirSupplierOrderResponse"/>
<Body>
<LxirSupplierOrderResponse OrderType="Purchase">
<Number>PC-207</Number>
<CreateDate>2013-10-06T15:23:27</CreateDate>
<Transport/>
<OrderRows>
<Row>
<Position>10</Position>
<SubPosition>0</SubPosition>
<DeliveredQuantity>1</DeliveredQuantity>
<DeliveryDate>2013-10-06T15:23:27</DeliveryDate>
</Row>
<Row>
<Position>20</Position>
<SubPosition>0</SubPosition>
<DeliveredQuantity>1</DeliveredQuantity>
<DeliveryDate>2013-10-06T15:23:27</DeliveryDate>
</Row>
</OrderRows>
</LxirSupplierOrderResponse>
</Body>
</LxirEnvelope>