Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added xsds
Panel
titleDescription

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.

Panel
titleSpecifications

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 / LxirCustomerOrderDespatchAdvices LxirCustomerOrderDespatchAdvicesASN (1)

LxirEnvelope / Body / LxirCustomerOrderDespatchAdvices LxirCustomerOrderDespatchAdvicesASN / DespatchAdvice (s)

LxirEnvelope / Body / LxirCustomerOrderDespatchAdvices 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
NInvoice name
DeliveryName
NDelivery name
CustomerNumber
YCustomer number
CustomerGLN
NCustomer GLN
OrganizationNumber
NCustomer'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



transmission 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)

Pick Date


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   CodeMandExplanationComment
PackageNumber
JPackage 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   CodeMandExplanationComment
Quantity
J

Batchnumber
N

BestBeforeDate
N

SerialNumber
N

Panel
titleExamples

<? xml version = "1.0" encoding = "UTF-8"?>

< LxirEnvelope  xmlns: xsi = " http://www.w3.org/2001/XMLScheme-Instance ">

  < Header DocumentNumber = "String" DateTime = "String" ToPartnerUser = "text" FromPartnerUser = "text" DocumentVersion = "String"

ToPartner = "text" FromPartner = "text" DocumentName = "String" />

  < Body >

    < LxirCustomerOrderDespatchAdvicesLxirCustomerOrderDespatchAdvicesASN >

      < 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 >

            < CompanyOrName> -</ CompanyOrName>

            < LastName> -</ LastName>

            < InvoiceName> -</ InvoiceName>

            < DeliveryName> -</ DeliveryName>

            < CustomerNumber > 86000 </ CustomerNumber >

            < OrganizationNumberCustomerGLN> -</ > Org1 <CustomerGLN>

            < 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 > Donor </ ForwarderName >

            < TransportModeName > Donor 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 >

            < Packages >

                 < Package >

                         < PackageNumber> str1234</ PackageNumber>

                         < PackageType> str1234 </ PackageType>

                         < PackageWeight> 0 </ PackageWeight>

                         < PackageHeight> 1 </ PackageHeight>

                         < PackageLenght> 1 </ PackageLenght>

                         < PackageWidht> 1 </ PackageWidht>

                         < Contents>

                            < Content>

                                < Quantity> 256 </ Quantity>

                                < Batchnumber> str1234 </ Batchnumber>

                                < BestBeforeDate> 2012-12-13 </ BestBeforeDate>

                                < SerialNumber> str1234 </ SerialNumber>                      

                            </ Content>         

                        </ Contents>

                    </ Package >         

               </ Packages >

          </ Row >

        </ Rows >

      </ DespatchAdvice >

    </ LxirCustomerOrderDespatchAdvicesLxirCustomerOrderDespatchAdvicesASN >

  </ Body >

</ LxirEnvelope >

XSD files 

View file
nameLxirCustomerOrderDespatchAdviseASN.xsd
height250
View file
nameLxirEnvelope_1.2.xsd
height250
View file
nameBasicTypes.xsd
height250



Panel
titleDocument version history

Version

Date

Author/change

Commenct

A

2016-03-23

Martin Hagman

Document created

A.12019-11-18Muhammad JawadAdded ASN info

Include Page
Google Analytics
Google Analytics