External system product balance for consumption

Description 

This integration is used to create customer order based on consumption, product balance by the external system. The specification is illustrated as the number 5 below. 

Specification

Balance, LxirExternalBalanceForConsumption - XMLstructure

LxirEnvelope\Header(1)

Element       

Code

Mand.

Explanation

FromPartner
YFrom system
FromPartnerUser
YUser from system / Client
ToPartner
YTo system
ToPartnerUser
YUser of from system / Client
DocumentName
Y

Document name

DocumentVersion
NVersion of a document
DocumentNumber
N

Document number

DateTime
NDate and time stamp when the message was created
LxirEnvelope \Body\ItemBalance (1-999)

Element       

Code

Mand.

Explanation

ProductNumber
NProduct number handled in Extend Commerce Backend
Warehouse
YWarehouse short name
Balance
YNew balance
Note
NNotes
LogDate
NDate of update balance
CustomerProductNumber
NCustomer Product Number
Reference
NReference


XSD files


Example - Balance

<?xml version="1.0encoding="utf-8"?>

<LxirEnvelope>

  <Header FromPartner="anySimpleTypeFromPartnerUser="anySimpleTypeToPartner="anySimpleTypeToPartnerUser="anySimpleTypeDocumentName="LxirExternalBalanceDocumentVersion="DocumentVersion1DocumentNumber="DocumentNumber1DateTime="DateTime1" />

  <Body>

    <ItemBalance>

      <ProductNumber>1511857</ProductNumber>

      <Warehouse>2008200</Warehouse>

      <Balance>20</Balance>

      <Note>Note1</Note>

      <LogDate> 2016-08-08T12:12:12</LogDate>

     <CustomerProductNumber> 1511857</CustomerProductNumber>

     <Reference> Str123</Reference>

    </ItemBalance>

    <ItemBalance>

      <ProductNumber> 1511858</ProductNumber>

      <Warehouse> 2008200</Warehouse>

      <Balance>25</Balance>

      <Note>Note1</Note>

      <LogDate> 2016-08-08T12:12:12</LogDate>

     <CustomerProductNumber> 1511857</CustomerProductNumber>

     <Reference> Str123</Reference>

    </ItemBalance>

  </Body>

</LxirEnvelope>

Document version history

Version

Date

Author/change

Commenct

A

2016-09-19

Muhammad Jawad

Integration specification for LxirExternalBalanceForConsumption