The message represents that an order has been acknowledged. This is for orders in Extend that has been received from external system.
The message is normally created immediately after the order has been delivered in Extend.
This message is optional to use
Lxir below = Extend
XML Struktur
LxirEnvelope(1)
LxirEnvelope/Header(1)
Element | Code | Man. | Explanation |
DateTime | Y | Date and time stamp when the message was created | |
DocumentNumber | Y | Counter for document number | |
DocumentVersion |
| Y | Document version |
DocumentName | Y | Document name | |
ToPartnerUser | Y | The short name [SHORT] on the client the message refers to. Code available from contact person for integration | |
ToPartner | Y | [SHORT] | |
FromPartnerUser | Y | [SHORT] | |
FromPartner | Y | Fixed value, short name loading system |
LxirEnvelope /Body(1)
LxirEnvelope /Body / LxirCustomerOrderDespatchAdvices (1)
LxirEnvelope /Body / LxirCustomerOrderDespatchAdvices /DespatchAdvice(n)
LxirEnvelope /Body / LxirCustomerOrderDespatchAdvices / DespatchAdvice /Header
Desired delivery date (YYYY-MM-DD tt: mm) (according to incoterms)
End customer order no
Element |
| Code | Man. | Explanation
|
OrderNumber |
| Y | Internal order no | |
OrderDate |
|
| Y | External order no |
AskedDeliveryDate |
| Y | Desired delivery date (YYYY-MM-DD tt: mm) (according to incoterms) | |
CreateDate |
|
| Y | Date for when order was created |
Notes |
| N | Note | |
Shippingmark |
|
| N | Shipping mark |
OurReference |
| N | Our reference | |
YourReference |
|
| N | Your reference |
DeliveryAdviceToPhone |
|
| N | Notification phone no
|
OrdererPhone |
|
| N | Client tel no |
PaymentTermsNoOfDays |
|
| N | Terms of payment, no of days |
CurrencyId |
|
| N | Currency ISO |
ExternalOrderNumber |
|
| Y | External order no
|
EndCustomerOrderNumber |
|
| N | Endcustomer order no |
ShipmentSequenceNumber |
|
| N | Sequence ordering for delivery from stock, ie which in the order of partial deliveries of orders is this (1st, 2nd, etc.) |
ExternalFreeTextData |
| N | Extern fritextdata som ev. registrerats när ursprungsordern lästs in i SW Backend. | Max 1600 characters |
CustomerOrderResponse /Customer(1)
Element | Code | Man. | Explanation
|
CustomerNumber | Y | Customer no | |
OrganizationNumber | N | Corperate no |
CustomerOrderResponse /Customer/Addresses/Address(n)
Element | Code | Man. | Explanation |
Type | Y | Valid values "Delivery" "Invoice" ("Delivery" is mandatory) | |
Address1 | Y | Adress field 1 | |
Address2 | Y | Adress field 2 | |
Address3 | Y | Adress field 3 | |
PostalCode | Y | Valid postal code
| |
City | Y | City | |
State | N | State | |
CountryCode | Y | Country code (SE=Sverige) (ISO 3166-1) |
CustomerOrderResponse /Transport(1)
Element | Code | Man. | Explanation
|
ForwarderNumber | J | Customer no | |
ForwarderName | J | Customer corporate no | |
TransportModeName |
|
| Mode of transportation name |
TransportModeShortName |
|
| Mode of transportation short name |
TransportCondition |
|
| Transport condition |
ShipmentNumber |
|
| Shipment no |
CustomerOrderResponse /Rows(1)/Row(n)
Actual pick date, that is, when the order has been delivered in Extend Backend
Delivered quantity in product unit
Delivered quantity in sales unit
Element | Code | Man. | Explanation
|
OrderRowStatusId |
| Y | Order row status |
Position |
| Y | Position (row no) |
SubPosition |
| Y | Sub position (row) |
ExternalPosition |
| Y | Row position in external system as the order arrived in Extend |
ProductNumber |
| Y | Product no |
ProductName |
| Y | Product name |
Notes |
| Y | Order row note |
ExpectedDeliveryDate |
| Y | Expected delivery date with customer (calculated) |
Pickdate |
| Y | Actual pick date, that is, when the order has been delivered in Extend Backend |
DeliveredProductUnitQuantity |
| Y | Delivered quantity in product unit |
DeliveredSalesUnitQuantity |
| Y | Delivered quantity in sales unit |
ProductSalesUnit |
| Y | Product sales unit |
ProductUnit |
| Y | Product unit |
Price |
| Y | Price per ordered sales unit excluding VAT |
VatPercent |
| Y | VAT rate, percent |
SupplyModeShortName | Warehouse LL Direct order DL Flow lodgic FL Service TJ Package KL Flow logic – dist DA Freight FR Discount DI
|
|
|
IsFinalDelivery |
| Y | |
ExternalFreeTextData |
|
| Flag for if delivery is the final, final of the order |
<?xml version="1.0" encoding="UTF-8"?>
<LxirEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Header DocumentNumber="String" DateTime="String" ToPartnerUser="text" FromPartnerUser="text" DocumentVersion="String" ToPartner="text" FromPartner="text" DocumentName="String"/>
<Body>
<LxirCustomerOrderDespatchAdvices>
<DespatchAdvice>
<Header>
<OrderNumber>O1-1</OrderNumber>
<OrderDate>2013-03-05</OrderDate>
<AskedDeliveryDate>2013-03-18</AskedDeliveryDate>
<CreateDate>1967-08-13</CreateDate>
<Notes>Header note</Notes>
<ShippingMark>Header shipping mark</ShippingMark>
<OurReference>our ref</OurReference>
<YourReference>you ref</YourReference>
<DeliveryAdviceToPhone>Advice to phone no</DeliveryAdviceToPhone>
<OrdererPhone>08-123456789</OrdererPhone>
<PaymentTermsNoOfDays>30</PaymentTermsNoOfDays>
<CurrencyId>SEK</CurrencyId>
<ExternalOrderNumber>Order-1</ExternalOrderNumber>
<EndCustomerOrderNumber>MyOrder-1</EndCustomerOrderNumber>
<ShipmentSequenceNumber>1</ShipmentSequenceNumber>
<Customer>
<CustomerNumber>86000</CustomerNumber>
<OrganizationNumber>Org1</OrganizationNumber>
<Addresses>
<Address Type="Invoice">
<Address1>InvAdr1</Address1>
<Address2>InvAdr2</Address2>
<Address3>InvAdr3</Address3>
<PostalCode>55533</PostalCode>
<City>Jönköping</City>
<State>State</State>
<CountryCode>SE</CountryCode>
</Address>
<Address Type="Delivery">
<Address1>DelAdr1</Address1>
<Address2>DelAdr2</Address2>
<Address3>DelAdr3</Address3>
<PostalCode>12345</PostalCode>
<City>Levstad</City>
<State>State</State>
<CountryCode>SE</CountryCode>
</Address>
</Addresses>
</Customer>
<Transport>
<ForwarderNumber>F1</ForwarderNumber>
<ForwarderName>Schenker</ForwarderName>
<TransportModeName>Schenker parcel</TransportModeName>
<TransportModeShortName>SchPo</TransportModeShortName>
<TransportCondition>con1</TransportCondition>
<ShipmentNumber>5533221122</ShipmentNumber>
</Transport>
</Header>
<Rows>
<Row>
<OrderRowStatusId>256</OrderRowStatusId>
<Position>10</Position>
<SubPosition>0</SubPosition>
<ExternalPosition>1</ExternalPosition>
<ProductNumber>P1</ProductNumber>
<ProductName>Product name</ProductName>
<Notes>Row note1</Notes>
<ExpectedDeliveryDate>2013-05-03</ExpectedDeliveryDate>
<Pickdate>2013-04-28</Pickdate>
<DeliveredProductUnitQuantity>2</DeliveredProductUnitQuantity>
<DeliveredSalesUnitQuantity>1</DeliveredSalesUnitQuantity>
<ProductSalesUnit>KRT</ProductSalesUnit>
<ProductUnit>ST</ProductUnit>
<Price>100.0</Price>
<VATPercent>25.0</VATPercent>
<SupplyModeShortName>LL</SupplyModeShortName>
<IsFinalDelivery>true</IsFinalDelivery>
</Row>
<Row>
<OrderRowStatusId>256</OrderRowStatusId>
<Position>20</Position>
<SubPosition>0</SubPosition>
<ExternalPosition>2</ExternalPosition>
<ProductNumber>P2</ProductNumber>
<ProductName>Product name</ProductName>
<Notes>Row note2</Notes>
<ExpectedDeliveryDate>2013-05-01</ExpectedDeliveryDate>
<Pickdate>2013-04-28</Pickdate>
<DeliveredProductUnitQuantity>2</DeliveredProductUnitQuantity>
<DeliveredSalesUnitQuantity>1</DeliveredSalesUnitQuantity>
<ProductSalesUnit>KRT</ProductSalesUnit>
<ProductUnit>ST</ProductUnit>
<Price>120.0</Price>
<VATPercent>25.0</VATPercent>
<SupplyModeShortName>LL</SupplyModeShortName>
<IsFinalDelivery>true</IsFinalDelivery>
</Row>
</Rows>
</DespatchAdvice>
</LxirCustomerOrderDespatchAdvices>
</Body>
</LxirEnvelope>