Delivery order message EWS - LXIR Suborder LXIRSuborder result

Delivery order message EWS - LXIR Suborder LXIRSuborder result

Description

The flow describes the arrangement of new purchase order and return order, as well as change and cancellation.

Return orders are handled as a customer order type in LXIR and as a purchase order type in the EWS. Everything that is called the purchase order or row below also applies to return orders.

Purchase orders are called Call-off orders in LXIR.

Addition of new purchase order line / return order line cannot be done.

Change of purchase order / return order can be made. This occurs when changing the delivery date and or number. Cancellation can be made by full purchase order / return order but not line. However, cancellation of the purchase order line / return order line takes place during partial storage as the old line is replaced with a new one and this in order to reduce the risk of mis-storage. If DELVRY arrives at the ready-marked line, it must be rejected and alerted.

No feedback is made from the EWS in addition to the submission of registration.

A PURORD does not have to mean that there will be a DELVRY in response to all purchase order lines / return order lines, but the answer to these can come in several separate DELVRY messages. This happens when certain lines in a PURORD are answered but not all simultaneously. There should be no more answers with reference to the same POR and associated sequence number in different messages. If this happens, the answer must be rejected and an alarm added to the error log. On the other hand, there may be several answers to the same purchase order line / return order line and sequence number in the same message.

 

LXIR EWS only works with balances, not the term "be".

 

Simple flow chart


PURCHASE ORDER

CHANGE PURCHASE ORDER

 

CANCEL PURCHASE ORDER

 

NEW RETURNS

 

CHANGE RETURNS

CANCEL RETURNS

 

 

Message Triggering

Purchase Order

All triggerings are created by events in LXIR.

  • New : Call-off orders against EWS-controlled warehouses are created. Call-off orders are sent immediately to LWS / EWS.

  • Change : When changing the above call order (the entire order or single line) in the ArrivalDate and OrderQuantity fields, a modified purchase order is immediately sent to the EWS.

  • Cancellation : Upon cancellation of the above call-off order, a cancellation is sent to the EWS immediately. Only entire user interface purchase orders can be canceled.

 

Return order

All triggerings are created by events in LXIR.

  • New : Return order against EWS controlled stock is created. Return orders are sent immediately to the EWS.

  • Change : When changing the above order (the entire order or single line) in the ArrivalDate and OrderQuantity fields, a changed return order is sent to the EWS immediately.

  • Cancellation : Upon cancellation of the above return order, a cancellation is sent to the EWS immediately. Only whole return order from user interface can be canceled.

 

Requirements

  • Purchase orders and return orders always start from LXIR.

  • The article must be posted

  • The supplier must be registered

  • The client must be registered as a supplier (for return orders)

  • Upon return order, client is sent as supplier number (SupplierId)

 

Specifications

XML structure

 LXIRSubOrder (1)

 Envelope (1) LXIRSubOrder

 

Attribute

Code

Mand

Explanation

Lxir

EWS

Comment

FromPartner

 

Y

From system

X

X

 

FromPartnerUser

 

Y

Users from system / client

X

X

 

ToPartner

 

Y

To system

X

X

 

ToPartnerUser

 

Y

User System / Client

X

X

 

DateTime

 

N

Time to create the message (YY-MM-DD hh: mm)

X

X

 

ReferensNumber

 

Y

The reference number of the message

X

X

 

InterchangeTest

 

N

 

-

-

deleted

 

LXIRSubOrder Header (1-999)

HeaderInfo (1) LXIRSubOrder

Attribute

Code

Mand

Explanation

Lxir

EWS

Comment

DocumentNumber

 

Y

Callback reference number

X

X

 

DocumentName

PURORD

Y

Call-off name: PURORD

X

X

 

CreationDate

 

N

 

-

X

 

Header SubOrderHeader (1)

LXIRSubOrder Header SubOrderHeader SubOrderHeaderInfo (1)

Attribute

Code

Mand

Explanation

Lxir

EWS

Comment

OrderNumber

 

Y

Purchase order number alt. Return Order Number. See note below.

X

X

 

OrderType

 

IN 
RV 
KR

Y

Purchase Order Type 
IN = Normal 
RV 
= Claim Order KR = Return Order

X

X

X

X

X

X

-

X

 

SupplierId

 

Y

Supplier Number. For return orders, client time is sent (see requirement)

X

X

 

SupplierName

 

N

Name of supplier

X

X

 

WarehouseId

ass

Y

Warehouse short name in / EWS

X

X

 

ArrivalDate

 

Y

Expected delivery date (YY-MM-DD hh: mm)

X

X

 

SupplierOrderNumber

 

N

Order number from supplier

 

X

 

Reference

 

N

Reference

 

X

 

Notes

 

N

Public notes

X

X

 

InternalNotes

 

N

Internal notes

X

X

 

SequenceNumber

 

N

 

 

 

 

WarehouseSection

 

N

 

 

 

 

ExternalOrderNumber

 

N

 

 

 

 

 

HeaderAds (1) LXIRSubOrder

Attribute

Code

Mand

Explanation

Lxir

EWS

Comment

OperationCode

 

1

2

3

0

Y

Type 
New purchase order / return order 
Change purchase order / return order Cancel 
purchase order / return order 
No handling. Used when the purchase order line / return order line is changed

X

X

X

X

X

X

X

X

X

X

 

 

LXIRSubOrder Header SubOrderHeader SubOrderRow (1-99999)

SubOrderRowInfo (1) LXIRSubOrder

Attribute

Code

Mand

Explanation

Lxir

EWS

Comment

OrderPosition

 

Y

Purchase order line alt. Returorderrad

X

X

 

OrderSubPosition

 

Y

Sub-item to the purchase order line / return order line.

X

X

 

OwnerNumber

 

Y

Client affiliation, ex.NASE (VMI)

X

X

 

ArticleId

 

Y

Article

X

X

 

PackageId

 

ST

M

Y

Unit 
ST = Piece

M = Meter

X

X

 

OrderQuantity

 

Y

Ordered quantity

X

X

Always in stock unit

RevisionCode

 

N

 

-

-

 

SupplierArticleId

 

N

The supplier's item number. Not sent on return orders

X

X

 

ArrivalDate

 

Y

Expected delivery date (YY-MM-DD hh: mm)

X

X

 

SubOrderRowAdditions (1) LXIRSubOrder

Attribute

Code

Mand

Explanation

Lxir

EWS

Comment

OperationCode

 



3