SUB ORDER

Description

The message describes a external system creating a supplier order, and a expected receiving at warehouse in Extend Commerce Backend. (called LXIRSUBORDER) 

Only new orders can be sent. No update or delete events.

Specifications

XML structure

LxirEnvelope(1)

LxirEnvelope/Header(1)

Element       

Code

Mand.

Explanation

DateTime
YDate and time when message was created.
DocumentName
YDocument name
DocumentNumber
YDocument number/identifier
DocumentVersion
YDocument version
FromPartner
YFixed internal value
FromPartnerUser
YFixed value that you will get from Extend Commerce
ToPartner
YFixed value that you will get from Extend Commerce
ToPartnerUser
YShortname [Name] of the client the message integration relates to. Agreed with Extend Commerce.

LxirEnvelope /Body(1)

LxirEnvelope /Body /SubOrders/LxirSubOrder(n)

LxirEnvelope /Body /SubOrders/LxirSubOrder/SubOrderHeader

Element       

Code

Mand.

Explanation

OperationCode1YFixed value of “1”
SupplierNumber
YThe Supplier number as registered in Extend Commerce Backend.
WarehouseShortName
YShortname of the warehouse where the receiving of goods are to be expected
SupplierAgreementNumber
YThe number (id) of the supplier agreement
SupplierAgreementName
YName on the supplier agreement.
ExternalOrderNumber
YA reference number that will identify the order. This must be unique, Backend will have a control of that the number has not been used before.
Reference
NAn aditional reference number
Notes
NNotes

LxirEnvelope /Body /SubOrders/LxirSubOrder/SubOrderHeader/SubOrderRows(n)

Element       

Code

Mand.

Explanation

OperationCode1YFixed value of “1”
SupplierProductNumber
YSuppliers product number. This number on the product must be registered in Extend Commerce Backend Masterdata on product/supplier agreement
SupplierProductName
NSupplier product number
ExternalPosition
NExternal position
ExternalSubPosition
NExternal sub position
OrderQuantity
YQuantity that are expected to be received
ProductUnit
NProduct unit
PurchaseUnitFactor
NPurchase unit factor based on product unit
Price
NPrice
Currency
NCurrency
ExpectedDeliveryDate
YDate when products are expected to be received at warehouse
Notes
NNotes on row
PurchaseUnit
NPurchase unit
PurchaseUnitQuantity
NPurchase unit quantity
Example

 <Header FromPartner="NAMEFromPartnerUser="NAMEToPartner="XOEToPartnerUser="NAMEDocumentName="LXIRSUBORDERDocumentVersion="1.0DocumentNumber="132456789DateTime="2018-08-16T08:30:00" />

      <Body>

        <SubOrders>

          <LxirSubOrder>

            <SubOrderHeader>

              <OperationCode>1</OperationCode>

              <SupplierNumber>123456</SupplierNumber>

              <WarehouseShortName>WH1</WarehouseShortName>

              <SupplierAgreementNumber>90001</SupplierAgreementNumber>

              <SupplierAgreementName>TestSupplieragreeement 1</SupplierAgreementName>

              <ExternalOrderNumber>132456789</ExternalOrderNumber>

             <Reference>132456789</Reference>

            </SubOrderHeader>

            <SubOrderRows>

              <Row>

                <OperationCode>1</OperationCode>

                <SupplierProductNumber>900001</SupplierProductNumber>

                <SupplierProductName>EUR-pall</SupplierProductName>

                <OrderQuantity>2</OrderQuantity>

                <ProductUnit></ProductUnit>

                <PurchaseUnitFactor></PurchaseUnitFactor>

                <ExpectedDeliveryDate>2018-08-16</ExpectedDeliveryDate>

              </Row>

               <Row>

                <OperationCode>1</OperationCode>

                <SupplierProductNumber>20005550</SupplierProductNumber>

                <SupplierProductName>DemoProduct Large</SupplierProductName>

                <OrderQuantity>64</OrderQuantity>

                <ProductUnit></ProductUnit>

                <PurchaseUnitFactor></PurchaseUnitFactor>

                <ExpectedDeliveryDate>2018-08-16</ExpectedDeliveryDate>

              </Row>

            </SubOrderRows>

          </LxirSubOrder>

        </SubOrders>

      </Body>

    </LxirEnvelope>

XSD LxirSubOrder1_0



Document version history

ersion

Date

Author/change

Commenct

A

2013-05-27

Martin Hagman

Document created


2016-06-08

 Martin HagmanAdded DeliveryWarehouse and additional data like more row data

2018-02-24Pontus CarmeReviewed and updated names on specification

2021-04-21Josefin KvillertChanged wording from Extend to Extend Commerce Backend and / or Extend Commerce

2022-03-11Zohaib Anees

Added

ExternalPosition
ExternalSubPosition
ProductUnit
PurchaseUnitFactor
Price
Currency
VatPercent
ExpectedDeliveryDate
Notes
PurchaseUnit
PurchaseUnitQuantity