The message describes a external system creating a supplier order, and a expected receiving at warehouse in Extend. (called LXIRSUBORDER)
Only new orders can be sent. No update or delete events.
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 | |
ToPartner | Y | Fixed value that you will get from Extend | |
ToPartnerUser | Y | Shortname [Name] of the client the message integration relates to. Agreed with Extend. |
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 registred in Extend. | |
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, Extend will have a control of that the number has not been used before. | |
Reference | N | An aditional reference number |
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 registred in Extend Masterdata on product/supplier agreement | |
SupplierProductName | N | Phone number | |
OrderQuantity | Y | Quantity that are expected to be received | |
ProductUnit | N | ||
PurchaseUnitFactor | N | ||
ExpectedDeliveryDate | Y | Date when products are expected to be received at warehouse |
<Header FromPartner="NAME" FromPartnerUser="NAME" ToPartner="XOE" ToPartnerUser="NAME" DocumentName="LXIRSUBORDER" DocumentVersion="1.0" DocumentNumber="132456789" DateTime="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>
</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>
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 |