Add an item to the reservation-List
object=ue_reservation=addreservation=<propiertie>=<value><tab><propertie>=<value> ...
Example:
object=ue_reservation=addreservation=itemcode=A001<tab>whscode=01<tab>&
quantity=10<tab>doctype=17<tab>docentry=20<tab>linenumber=1
Properties
itemcode |
Itemcode |
whscode |
warehouse-code |
distnumber |
Batchnumber (OBTN.DistNumber) Or Serial Number (OSRN.DistNumber) |
sysnumber |
Batch/Serial SysNumber (use it for issue / transfer process) |
bincode |
warehouse-bincode (Beas/WMS/SAP BinCode) |
rfid |
warehouse-bin-rfid-code ur UID (WMS) |
quantity |
the quantity |
setquantity |
for "Planing/Archive" - Original Quantity |
reservationtype (rtype) |
the type S = Stock P = Planing (Purchase request, wo, 22) if you using "P", then you must insert the link-Information |
supplierbatch |
Supplierbatch-Number (for purchase order and other...) |
base_docentry, docentry |
set the reference-document (= target-Document) (exmaple: rdr1.docentry, beas_ftpos.belnr_id)
|
base_linenum, linenum, |
line-number example: rdr1.linenum, beas_ftpos.belpos_id
|
base_linenum2, linenum2 |
second line-number, only bom of workorders, example beas_ftstl.pos_id |
base_type base_doctype) |
Object-Type from Reference-Document 17 = customer order wo = work order
Purchase 13 = Purchase Reserve Invoice 22 = Purchase Order 540000006 = Purchase Quotation purchaserequest= Purchase Request |
link_type |
you must the linked-Document only for rtype="P", for planed-Reservations Example: the Workorder is linked to the customer Type: wo = workorder (beas_ftpos), 22 = Purchase Order, purchaserequest = Purchase Request
Picklist: Link_type = "picklist" link_docentry and link_linenum the pkl1.absentry, pickentry if you set this, beas decrease the relqtty, increase the pickqtty in pkl1 and set correct line status |
link_docentry |
the docentry or beas_ftpos.belnr_id |
link_linenum |
the linenom or beas_ftpos.belpos_id |
automatic=Y |
generate automatically the reservation if whscode is empty, then from all free warehouses if batchnumber is empty, then from all batchnumbers |
external |
Check Bom for external labor-Positions Y=Yes, N=No, all other "no check" |
createmessage |
only for planned document create message if stock not enough and send a cancelation if the user cancel the procress |
this object insert a line in table beas_reservation_line without any check!
beas set a reservation-document-entry and line.
this document-entry you can set and read in variable "reservation_docentry"
if you want a new number, set the variable to 0 (setvar=reservation_docentry=0)