Rubrik 1
1. Beskrivning
Balance adjustment message could be generated by the event ProductEventCreated
2. Specifikationer
2.1 XML struktur
LxirEnvelope (1)
LxirEnvelope/Header (1)
Element | Kod | Oblig. | Förklarande text | Kommentar |
DateTime | J | Datum- och tidstämpel när meddelandet skapades | 2011-12-05T13:43:24 | |
DocumentNumber | J | Räknare för dokumentnummer | ||
DocumentVersion |
| J | Dokumentversion | 1.0 |
DocumentName | J | Dokumentnamn | LxirBalanceAdjustment | |
ToPartnerUser | J | Kortnamnet [KORT] på den klient meddelandet avser. Kod fås från kontaktperson för integrationen. | Ex. GBG | |
ToPartner | J | [KORT] | Ex. GBG | |
FromPartnerUser | J | [KORT] | Ex. GBG | |
FromPartner | J | Fast värde, kortnamn inläsande system | XOE |
LxirEnvelope /Body (1)
LxirEnvelope /Body /LxirBalanceAdjustment (1)
LxirEnvelope /Body / LxirBalanceAdjustment /LxirBalanceAdjustmentHeader (1)
Element | Kod | Oblig. | Förklarande text | Kommentar |
CreationDate | J | Message creation date | ||
DocumentNumber |
| J | Document number |
|
Warehouse | J | Warehouse short name |
LxirBalanceAdjustment /BalanceAdjustmentRows (1)
LxirBalanceAdjustment /BalanceAdjustmentRows /Row (n)
Element | Kod | Oblig. | Förklarande text | Kommentar |
---|---|---|---|---|
UpdateDateTime |
| J | DateTime of balance adjustment |
|
ProductNumber |
| J | Product number |
|
BalanceAdjustmentCode |
| J | Balance adjustment code |
|
BalanceAdjustmentDescription |
| N | Description |
|
OrderNumber | N | Order number | ||
BatchNumber | N | Batch number | ||
BalanceAdjustmentQuantity |
| J | Adjusted quantity |
|
BlockedQuantity |
| J | Blocked quantity |
|
ProductUnit |
| J | Product unit |
|
3. Exempel
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xmb="http://schemas.extend.se/xmb/messageenvelope" xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<xmb:Document>
<xmb:Id>56e3819b-6539-4a16-88c1-437ae38fed49</xmb:Id>
<xmb:Name>LxirBalanceAdjustment</xmb:Name>
<xmb:Version>1.0</xmb:Version>
<xmb:CreateDate>2011-01-26T14:23:24</xmb:CreateDate>
<xmb:Priority>5</xmb:Priority>
<xmb:SequenceNumber>0</xmb:SequenceNumber>
<xmb:Test>false</xmb:Test>
<xmb:ContentType>XML</xmb:ContentType>
</xmb:Document>
<xmb:To>
<xmb:System>*</xmb:System>
<xmb:Address />
<xmb:Party>SELECTA</xmb:Party>
<xmb:PartyId>00000000-0000-0000-0000-000000000000</xmb:PartyId>
</xmb:To>
<xmb:From>
<xmb:System>XOE</xmb:System>
<xmb:Address>LAB-XMB1</xmb:Address>
<xmb:Party>SELECTA</xmb:Party>
<xmb:PartyId>00000000-0000-0000-0000-000000000000</xmb:PartyId>
</xmb:From>
</soap:Header>
<soap:Body>
<LxirBalanceAdjustment>
<LxirBalanceAdjustmentHeader>
<CreationDate>2012-12-13T12:12:12</CreationDate>
<DocumentNumber>str1234</DocumentNumber>
<Warehouse>str1234</Warehouse>
</LxirBalanceAdjustmentHeader>
<LxirBalanceAdjustmentRows>
<Row>
<UpdateDateTime>2012-12-13T12:12:12</UpdateDateTime>
<ProductNumber>str1234</ProductNumber>
<BalanceAdjustmentCode>1234</BalanceAdjustmentCode>
<BalanceAdjustmentDescription>str1234</BalanceAdjustmentDescription>
<OrderNumber>str1234</OrderNumber>
<BatchNumber>str1234</BatchNumber>
<BalanceAdjustmentQuantity>str1234</BalanceAdjustmentQuantity>
<BlockedQuantity>1234</BlockedQuantity>
<ProductUnit>str1234</ProductUnit>
</Row>
</LxirBalanceAdjustmentRows>
</LxirBalanceAdjustment>
</soap:Body>
</soap:Envelope>
4. Schema (XSD)
5. Versioner
Ver. | Datum | Gjord av | Kommentar |
A | 2014-07-01 | Muhammad Jawad | Dokumentet skapat |