LXIR, CUSTOMER ORDER DESPATCH ADVICE ASN
The message represents an announcement that an order has been delivered receipt-linked to an order in Smartwork Backend that has come in from an external system. The message is normally created immediately after the order has been received in Smartwork.
Configuration-wise, the message can be set up to be communicated by customer, warehouse or client. That is, some customers may choose to have a reply message but others do not, etc.
XML structure
LxirEnvelope (1)
LxirEnvelope / Header (1)
Element | Code | Mand. | Explanation | Comment |
|---|---|---|---|---|
DateTime |
| Y | Date and time stamp when the message was created | 2011-12-05T13: 43: 24 |
DocumentNumber |
| Y | Document number counter |
|
DocumentVersion |
| Y | document Version | 1.0 |
DocumentName |
| Y | document Name | LxirCustomerOrderResponse |
ToPartnerUser |
| Y | The short name [CARD] on the client the message refers to. Code is obtained from the contact person for the integration. | Ex. GBG |
ToPartner |
| Y | [SHORT] | Ex. GBG |
FromPartnerUser |
| Y | [SHORT] | Ex. GBG |
FromPartner |
| Y | Fixed value, short name reading system | XOE |
LxirEnvelope / Body (1)
LxirEnvelope / Body / LxirCustomerOrderDespatchAdvicesASN (1)
LxirEnvelope / Body / LxirCustomerOrderDespatchAdvicesASN / DespatchAdvice (s)
LxirEnvelope / Body / LxirCustomerOrderDespatchAdvicesASN / DespatchAdvice / Header
Element | Code | Mand. | Explanation | Comment |
|---|---|---|---|---|
OrderNumber |
| Y | Internal order number |
|
OrderDate |
| Y | External order number |
|
AskedDeliveryDate |
| Y | Desired delivery date (YYYY-MM-DD tt: mm) (according to incoterms) |
|
CreateDate |
| Y | Date created orders |
|
Notes |
| N | listing |
|
Shippingmark |
| N | Shipping market |
|
OurReference |
| N | Our reference |
|
YourReference |
| N | Your reference |
|
DeliveryAdviceToPhone |
| N | Notice to tel. no. |
|
OrdererPhone |
| N | The client's number no. |
|
PaymentTermsNoOfDays |
| N | Payment terms, number of days |
|
CurrencyId |
| N | Currency ISO |
|
ExternalOrderNumber |
| Y | External order number |
|
EndCustomerOrderNumber |
| N | End customer's order number |
|
ShipmentSequenceNumber |
| N | Sequence order for delivery from warehouse, ie which in the order of partial deliveries of orders is this (1st, 2nd, etc.) | Integer. Works only in case of stock delivery. In the case of direct delivery, no data is obtained here, not even the element itself. |
ExternalFreeTextData | N | External free text data as possible. was registered when the origin order was loaded into SW Backend. | Max 1600 characters |
|
CustomerOrderResponse / Customer (1)
Element | Code | Mand. | Explanation | Comment |
|---|---|---|---|---|
CompanyOrName |
| Y | Customer name |
|
LastName |
| N | Customer last name | Blank if value is missing. |
InvoiceName |
| N | Invoice name |
|
DeliveryName |
| N | Delivery name |
|
CustomerNumber |
| Y | Customer number |
|
CustomerGLN |
| N | Customer GLN |
|
OrganizationNumber |
| N | Customer's organization number if existant |
|
CustomerOrderResponse / Customer / Addresses / Address (s)
Element | Code | Mand. | Explanation | Comment |
|---|---|---|---|---|
Type |
| Y | Valid values "Delivery" "Invoice" ("Delivery" is mandatory) | XML attribute |
Address1 |
| Y | Address field 1 |
|
Address2 |
| N | Address field 2 |
|
Address3 |
| N | Address field 3 |
|
PostalCode |
| Y | Valid postcode | Ex 57132 |
City |
| Y | City |
|
State |
| N | State |
|
CountryCode |
| Y | Country code (SE = Sweden) (ISO 3166-1) |
|
CustomerOrderResponse / Transport (1)
Element | Code | Mand. | Explanation | Comment |
|---|---|---|---|---|
ForwarderNumber |
| Y | Customer number |
|
ForwarderName |
| Y | Customer's potential. corporate | Blank if value is missing. |
TransportModeName |
|
| Name of mode of transport |
|
TransportModeShortName |
|
| The short name of the mode of transport |
|
TransportCondition |
|
| transport Conditions |
|
ShipmentNumber |
|
| Shipment or packing number |
|
CustomerOrderResponse / Rows (1) / Row (n)
Element | Code | Mand. | Explanation | comment |
|---|---|---|---|---|
OrderRowStatusId |
| Y | Orderradstatus | Internal status Lxir |
Position |
| Y | Position (row number) | Internal position Lxir |
SubPosition |
| Y | Sub-position (row) | Internal subpos Lxir |
ExternalPosition |
| Y | Line position in external system so that the order arrived at Lxir |
|
ProductNumber |
| Y | Item number |
|
ProductName |
| Y | product Name |
|
Notes |
| Y | Orderradsnotering |
|
ExpectedDeliveryDate |
| Y | Expected delivery date at customer (calculated) |
|
PickDate |
| Y | Actual picking date, ie the time when the order was received in Smartwork Backend |
|
DeliveredProductUnitQuantity |
| Y | Delivered quantity in product unit |
|
DeliveredSalesUnitQuantity |
| Y | Delivered quantity in sales unit |
|
ProductSalesUnit |
| Y | Sales unit |
|
ProductUnit |
| Y | product unit |
|
Price |
| Y | Price per ordered sales unit excluding VAT | Ex. 0.0000 |
VatPercent |
| Y | VAT rate, percent |
|
SupplyModeShortName | Stocks LL Direct delivery DL Flow logic FL Service TJ Package KL Flow logic - dist DA Freight FR Discount DI
|
| Content | LL; DL etc |
IsFinalDelivery |
| Y | Flag for if the delivery is the last, final on the order |
|
ExternalFreeTextData |
|
| External free text data as possible. was registered when the origin order was loaded into SW Backend. | Max 1600 characters |
CustomerOrderResponse / Rows (1) / Row / Packages (0-1) / Package (1-99999)
Element | Code | Mand | Explanation | Comment |
|---|---|---|---|---|
PackageNumber |
| J | Package number, semicolon separated |
|
PackageType |
| J |
|
|
PackageWidth |
| J |
|
|
PackageLength |
| J |
|
|
PackageHeight |
| J |
|
|
PackageWeight |
| J |
|
|
CustomerOrderResponse / Rows (1) / Row / Packages (0 - 1) / Package (1-9999) / Contents (1) / Content (1-9999)
Element | Code | Mand | Explanation | Comment |
|---|---|---|---|---|
Quantity |
| J |
|
|
Batchnumber |
| N |
|
|
BestBeforeDate |
| N |
|
|
SerialNumber |
| N |
|
|