SUB ORDER

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

Y

Date and time when message was created.

DocumentName

Y

Document name

DocumentNumber

Y

Document number/identifier

DocumentVersion

Y

Document version

FromPartner

Y

Fixed internal value

FromPartnerUser

Y

Fixed value that you will get from Extend Commerce

ToPartner

Y

Fixed value that you will get from Extend Commerce

ToPartnerUser

Y

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

OperationCode

1

Y

Fixed value of “1”

SupplierNumber

Y

The Supplier number as registered in Extend Commerce Backend.

WarehouseShortName

Y

Shortname of the warehouse where the receiving of goods are to be expected

SupplierAgreementNumber

Y

The number (id) of the supplier agreement

SupplierAgreementName

Y

Name on the supplier agreement.

ExternalOrderNumber

Y

A 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

N

An aditional reference number

Notes

N

Notes

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

Element       

Code

Mand.

Explanation

OperationCode

1

Y

Fixed value of “1”

SupplierProductNumber

Y

Suppliers product number. This number on the product must be registered in Extend Commerce Backend Masterdata on product/supplier agreement

SupplierProductName

N

Supplier product number

ExternalPosition

N

External position

ExternalSubPosition

N

External sub position

OrderQuantity

Y

Quantity that are expected to be received

ProductUnit

N

Product unit

PurchaseUnitFactor

N

Purchase unit factor based on product unit

Price

N

Price

Currency

N

Currency

ExpectedDeliveryDate

Y

Date when products are expected to be received at warehouse

Notes

N

Notes on row

PurchaseUnit

N

Purchase unit

PurchaseUnitQuantity

N

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

Added DeliveryWarehouse and additional data like more row data

2018-02-24

Pontus Carme

Reviewed and updated names on specification

2021-04-21

Josefin Kvillert

Changed wording from Extend to Extend Commerce Backend and / or Extend Commerce

2022-03-11

Zohaib Anees

Added

ExternalPosition
ExternalSubPosition
ProductUnit
PurchaseUnitFactor
Price
Currency
VatPercent
ExpectedDeliveryDate
Notes
PurchaseUnit
PurchaseUnitQuantity