addreservationfromplan

Add a Reservation of a plan-Reservation

Example: Create a Reservation Customer order to work order (plan-Reservation)

if you receipt the work order, then you move the plan-Reservation or a part of plan-reservation to the stock-reservation

 

object=ue_reservation=addreservationfromplan=<propiertie>=<value><tab><propertie>=<value> ...

 

Example:

object=ue_reservation=addreservationfromplan=itemcode=A001<tab>whscode=01<tab>quantity=10<tab>doctype=17<tab>docentry=20<tab>linenumber=1

 

Properties

itemcode

Item code

whscode

Warehouse code

batchnum

Batch number

bincode

Warehouse-bincode

rfid

Warehouse-bin-rfid-code

quantity

the quantity

docentry

the docentry, normally the work order number beas_ftpos.belnr_id

linenum

the docentry, normally the work order number beas_ftpos.belpos_id

 

This function does not make any check and calls the function addreservation()

If a plan-reservation is full delivered, then the plan-reservation is set to a Archive-Reservation (reservationtype=A)

 

Used Tables:

beas_reservation_line

 

reservation type:

P = Plan-Reservation

S = Stock-Reservation

A = Archiveed Reservation