addreservationfromplan

Add a Reservation from 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

Itemcode

whscode

warehouse-code

batchnum

Batchnumber

bincode

warehouse-bincode

rfid

warehouse-bin-rfid-code

quantity

the quantity

docentry

the docentry, normaly the workorder-number beas_ftpos.belnr_id

linenum

the docentry, normaly the workorder-number beas_ftpos.belpos_id

 

this function don't make any check and call 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

 

reservationtype:

P = Plan-Reservation

S = Stock-Reservation

A = Archiveed Reservation