LXIR PRODUCT
The flow shows layout of article, as well as change and cancellation of article.
No feedback is made from the EWS and you cannot ask for information.
When designing a new article, the article itself is first sent and then the packaging is sent to the article. When changing an item, these can be sent separately.
If an article is uploaded in LXIR and linked to an EWS-controlled layer, the information is sent to the EWS according to flow NY. Changes to such article are also sent to the EWS and then all information is always sent again.
NEW
CHANGE
CANCEL
All triggerings are made by events in LXIR.
New Article: When creating an article-warehouse link to the EWS-managed warehouse for the client.
Change Article: If the item-layer link to EWS-controlled stock exists, the article must be changed regardless of which fields are changed.
Cancel Article: If the merchandise link-warehouse link to the EWS managed warehouse for the client is canceled / deleted, notification is sent to the EWS for cancellation.
- In order to be able to change or cancel an article, the unique identity must be stored before.
- In order to cancel an item, the physical balance must be 0.
- ProductGroup must be set up in the EWS for each client. The only one used is the short name for each client.
LXIRProduct (1)
Envelope (1) LXIRProduct
Element | Code | Mand | Explanation | Lxir | EWS | Comment |
FromPartner | J | From system | X | X | ||
FromPartnerUser | J | Users from system / client | X | X | ||
ToPartner | J | To system | X | X | ||
ToPartnerUser | J | User System / Client | X | X | ||
DateTime | N | Time to create the message (YY-MM-DD hh: mm) | X | X | ||
ReferensNumber | J | The reference number of the message | X | X | ||
InterchangeTest | N | Indicates test message | deleted | |||
LogonUser | N | loged in user | ||||
LogonPassword | N | Logged in user password | ||||
WebServiceUrl | N | WebServiceUrl |
Header (1-999)
HeaderInfo (1)
Element | Code | Mand | Explanation | Lxir | EWS | Comment |
DocumentNumber | J | Order number reference number | X | X | ||
DocumentName | Product | J | Name of order: Product | X | X | |
CreationDate | N | Date of creation | X | X |
Product (1)
Product Info (1) LXIRProduct
Element | Code | Mand | Explanation | Lxir | EWS | Comment |
ProductId | J | Item number | X | X | ||
ProductName | J | Product name | X | X | ||
ProductGroup | N | Product | X | X | ||
OwnerNumber | J | Client affiliation, ex.NASE (WMI) | X | |||
IntrastatCost | N | Customs value | X | |||
ItemLoadType | N | X | X | |||
ProductType | N * | Must be 3 for "Value added service" | X | X | * Mandatory for "Value added service" | |
UNNumber | N | UNNumber, dangerous goods | X | X | ||
EAN | N | EAN number | X | X | ||
ThermoTransport | False | J | Heat transport The | X | X | |
ThermoDescription | N | Free text field for heat transfer | X | X | ||
ClassAdr | N | Classification, dangerous goods | X | X | ||
LimitedQuantity | False | N | Limited quantity, dangerous goods | X | ||
MarinePollutant | False | N | Dangerous goods, shipping | X | X | |
ClassAdrFreeQuantity | False | N | Limited Quantity, Dangerous Goods (Classification) | X | X | |
ClassAdrDescription | N | Classification, free text field, dangerous goods | X | X | ||
IMDG | N | IMDG code, dangerous goods | X | X | ||
ClassAdrPackageGroup | X | X | ||||
CountryOfOrigin | N | Country of origin | X | X | ||
CustomsCommodityCode | N | Customs Tax Number | X | X | ||
CompanyGroupId | N | Short name Goods owner / group | X | X | New 2013-05-17 | |
WarehouseInstruction | false | N | Instruction for the product to the warehouse | X | X | New 2014-05-08 |
ClassAdrFlashpoint | N | Flash point in degrees Celsius | X | X | New 2016-03-29 | |
ClassAdrTransportCategory | N | Transport category ADR E0 E1 E2 E3 E4 | X | X | New 2016-03-29 | |
VisibilityType | N | values AlwaysVisible nonpublic | X | X | New 2017-01-18 Only for ProductType 3 "Value added service" | |
Description | N | X | X | New 2018-05-07 | ||
InternalPartNumber | N | X | X | New 2018-05-07 | ||
ManufacturePartNumber | N | X | New 2018-05-07 | |||
ImageUrl | N | |||||
ClassAdrTunnelRestrictionCode | N | |||||
ManufacturerName | N | X | New v10.10 |
LxirProduct \ header \ Product \ ProductDescriptions (0-x)
Element | Code | Mand | Explanation | Lxir | EWS | Comment |
Function Description 1 Description 2 Description 3 Description 4 | HandleDate handle Serial HandleIdlabel PickInPackageUnitOnly | J J J J N | Shop Date (best before date) Batch number management Serial number management Id Label () PickInPackageUnitOnly (BasePackageQuantity) 1/0 = (true / false) "" | X X X X X | X X X X X |
Product Additions (1) LXIRProduct
Element | Code | Mand | Explanation | Lxir | EWS | Comment |
OperationCode |
| J | Operation 1 = new draft of Article | X | X |
Package (0-1) LXIRProduct
LXIRProduct \ header \ Package \ Package Info (1)
Element | Code | Mand | Explanation | Lxir | EWS | Comment |
ProductId | J | Item number | X | X | ||
PackageId | J | packaging unit ST = piece | X | X | ||
BasePackageId | ST | N | Base Unit | X | X | |
BasePackageQuantity | N | Packaging size, eg the number of bottles in a carton | X | X | ||
Weight | J | Weight in grams | X | X | ||
Length | N | Length in centimeters | X | X | ||
width | N | Width in cm | X | X | ||
height | N | Height in cm | X | X | ||
PackageName | J | Packaging name eg FLASK | X | X | ||
MeasurePackageId | N | Measurement unit | X | X | ||
MeasurePackageQuantity | N | Unit Number | X | X |
LXIRProduct Header Product PackagesAdditions (1)
Element | Code | Mand | Explanation | Lxir | EWS | Comment |
OperationCode |
| J | Operation 1 = new packaging design for article | X | X |
Package (0-1) LXIRProduct
LXIRProduct \ header \ Structure\ StructureInfo(1)
Element | Code | Mand | Explanation | Lxir | EWS | Comment |
ChildProductId | J | Child Item number | X | X | ||
Quantity | J | Quantity | X | X |
LXIRProduct Header Product StructureAdditions(1)
Element | Code | Mand | Explanation | Lxir | EWS | Comment |
OperationCode |
| J | Operation 1 = new packaging design for article | X | X |
LXIRProduct\Header\Supplier (0-1)
LXIRProduct\Header\Supplier\SupplierInfo(1)
Attribut | Kod | Man | Förklarande text | Lxir | EWS | Kommentar |
SupplierName | N | Supplier name | X | |||
SupplierAgreementName | N | Supplier Agreement name | X | |||
Cost | N | Product supplier agreement cost | X | |||
CurrencyId | N | Currency id | X |
One must have the same basic packaging in LXIR and EWS for it to work.
The unit that EWS receives is cm and grams without a decimal point
Minimum pickable unit. For example, the number of bottles in a carton.
If an article is stocked both one-piece and in packaging, if several are handled this as two separate article numbers.
When canceling an item, only the Product element is sent. The package element is then canceled automatically
LXIRProduct
<?xml version=”1.0” encoding=”utf-8” ?>
<LXIRProduct>
<Envelope FromPartner=”XOE” FromPartnerUser=”KERAKOLL” ToPartner=”EWS” ToPartnerUser=”KERAKOLL” DateTime=”2008-02-06 14:08” ReferensNumber=”1” />
<Header>
<HeaderInfo DocumentNumber=”0011” DocumentName=”Product” />
- <Product>
<ProductInfo ProductId=”005144” ProductName=”HINK 20 L VIT” ProductGroup=”Tillbehör och verkty” OwnerNumber=”KERAKOLL”
IntrastatCost=”11.5000” ItemLoadType=”” ProductType=”” UNNumber=”” EAN=”” ThermoTransport=”False” ThermoDescription=””
ClassAdr=”” LimitedQuantity=”False” MarinePollutant=”False” ClassAdrFreeQuantity=”False” ClassAdrDescription=”” IMDG=””
ClassAdrPackageGroup=”” CountryOfOrigin=”SE” CustomsCommodityCode=”” CompanyGroupId=”GRP01” WarehouseInstruction=”Måste packas i kartong” ClassAdrFlashpoint=”” ClassAdrTransportCategory=”” />
<ProductDescriptions Function=”HandleDate” Description1=”0” Description2=”0” Description3=”0” Description4=”” />
<ProductDescriptions Function=”HandleBatch” Description1=”0” Description2=”0” Description3=”0” Description4=”” />
<ProductDescriptions Function=”HandleSerial” Description1=”0” Description2=”0” Description3=”0” Description4=”” />
<ProductDescriptions Function=”HandleIdLabel” Description1=”0” Description2=”0” Description3=”0” Description4=”” />
<ProductAdditions OperationCode=”2” />
</Product>
- <Package>
<PackageInfo ProductId=”005144” PackageId=”ST” BasePackageId=”ST” BasePackageQuantity=”1” Weight=”0” Length=”0” Width=”0” Height=”0”
PackageName=”ST” />
<PackageAdditions OperationCode=”2” />
</Package>
</Header>
</LXIRProduct>
XSD file
Version | Date | Author/change | Comment |
A | 2003-02-17 | Joakim Petersson | Move the document to LXIRNG with new document no. |
B | 2003-02-16 | Erik Sylvan | Changed the document to describe the message flow between LXIR and LWS / EWS. Added example message. |
PC | 2008-03-18 | Björn Johansson | Adjusted from lXIR3 and EWS |
C | 2008-03-31 | Martin Fransson | Accepted |
D | 2008-04-15 | Lasse Sääf | LxirProduct \ header \ Product \ ProductDescriptions (0-x) |
D1 | 2008-05-05 | Lasse Sääf | Set ReferenceNumber to Mandatory |
E | 2010-09-10 | Björn Johansson | Adjusted off LWS relations and published on sharepoint |
F | 2012-02-27 | Lasse Sääf | Added IntrastatCost |
G | 2013-05-17 | Lasse Sääf | Added CompanyGroupId |
hrs | 2014-05-08 | Lasse Sääf | Added WarehouseInstruction |
IN | 2014-06-23 | Lasse Sääf | Supplemented with codes for ... are Product ProductDescriptions |
J | 2015-09-08 | Lasse Sääf | Added MeasurePackageId and MeasurePackageQuantity |
K | 2015-11-03 | Lasse Sääf | Added PickInPackageUnitOnly |
L | 2016-03-29 | Lasse Sääf | Added ClassAdrFlashpoint and ClassAdrTransportCategory |
M | 2017-01-18 | Lasse Säf | Added VisibilityType and Value added service |
N | 2018-05-07 | Lasse Sääf | Description, InternalPartNumber and ManufacturePartNumber |
O | 2022-02-05 | Zohaib Anees | Added LogonUser, LogonPassword, WebServiceUrl in Envelope Added CreationDate in Header info Added ImageUrl and ClassAdrTunnelRestrictionCode in LxirProduct section |
P | 2022-02-17 | M Jawad | Added Supplier info section |