Reservation-Object ue_reservation
declare=reservation=ue_reservation
after_sap_documents=object=docentry |
Call this after an SAP document is created. This function deletes the reservations for this document. Example: After delivery object=ue_reservation=after_sap_documents=15=10 This function works with objects: •15 (dln1) = Delivery notes •60 (ige1) = receipts •59 (ign1) = issue |
addreservation=<properties> |
Add a reservation. See addreservation. |
delreservation=<properties> |
Delete one ore more reservations. For the parameters, see addreservation. Note: More than 4 parameters must be provided. If the quantity is not set, Beas deletes all reservation entries.
Example: object=ue_reservation=delreservation=itemcode=A005<char 9>whscode=BW<char 9>....basetype=WO<char 9>base_docentry=500<char 9>base_linenum=10<char 9>base_linenum2=20 |
movereservation=<properties> |
Move the reservation to an other warehouse / bincode object=ue_reservation=movereservation=from_whscode=..<tab>to_whscode=..<tab>itemcode=...<tab>from_bincode=...<tab>to_bincode=...<tab>distnumber=..<tab>linked=<where-sql-fragment for base-document><tab>quantity=...
If not the full quantity is moved, then Beas creates a second entry. beas9.0-000-001-007 |
addreservation_for_workorder |
Insert reservation type P or A for work orders which are linked with open customer orders. (no parameter) object=ue_reservation=addreservation_for_workorder |
delivery_load=<parameters with tab> |
Load the document with textfield in dw_2. Use shipping_delivery_line.psr. delivery_load=docentry=<docentry>=doctype=<doctype><tab>[picklist=<pkl1.absentry>] <tab>as_type=picklist<tab>al_absentry=<str_parm.c_parm1,#0> |
delivery_create=<docentry>=<doctype>=<additional parameters with tab> |
Create delivery. Returns docentry in value "e_docentry". If there is an error, then e_docentry=0. Property list: you can set properties Commands: <docentry>=<doctype>=<additional parameter> Additional parameters: cardcode,numatcard,trackno,comments,trnspcode,documentsowner For more details, see delivery create. |
transfer=<properties> |
Create transfer for the reservation. For more details, see Transfer. |
Workorder
setreservation |
Set reservation or booking list for a work order. |
issuewo |
Create an issue from a planning document for production. |
backflushcheck |
Only for reservation window: Check, if chosen quantity is correct and set the ib_ok variable to true/false. |
Purchase
incomminggoods |
Create incoming goods from a purchase order or a preinvoice from a planning document. See incomminggoods for more details. |
Reservation window (see reservation window)
loaddocumententry |
Set reservation or booking list for a work order. |
Example Video:
Create issue document from a work order bill of material window
To check the reservation for each document:
setvar=ll_docentry=4
setvar=ll_linenum=0
setvar=ls_type=17
select sum(quantity) from beas_reservation_line where base_docentry=<ll_docentry> and base_linenum=<ll_linenum> and base_type=<ls_type> and reservationtype='S'
message=reservation for this document: <wert1>
Displaythe reserved entries for this document:
setvar=ll_docentry=4
setvar=ll_linenum=0
setvar=ls_type=17
tools=isql=select whscode,bincode,batchnum,quantity from beas_reservation_line where base_docentry=<ll_docentry> and base_linenum=<ll_linenum> and base_type=<ls_type> and reservationtype='S'