reservation window

 

Parameter of Reservation-window reservation_set_master.psr

(str_parm)

openwindow=reservation_set_master.psr<tab>as_pdoctype=issuewo<tab>...

 

as_pdoctype    (s_parm1)

planned-document-type, example "issuewo" for workorder-issue

issuewo  ->  Workorder - Issue

externalsend  ->  (for ai_externaldocentry) : move material to external Warehouse

externalissue -> (for ai_externaldocentry, ai_beas_fpq) : issue material from external Warehouse

 

as_basetype    (s_parm2)

if str_parm.s_parm5 is empty

Display document 17 Customer order, wo Workorder

else see s_parm5

as_menu     (s_parm3)

Menutype:

reservation = reservation

supply

issuewo = planned issuewo

externalissue = issue external operation

as_basefilter   (s_parm4)

filter: the display-Filter (SQL-Fragment)

you've follow tables

allocation: beas_shipping_line as r, beas_shipping_document as h, oitm

as_picsource (as_parm5)

Allocation, Reservation and Pick-List for a Scenario

Typ is in s_parm2: reservation, allocation, pick,

 

al_docentry

docentry (or belnr_id)

al_linenum

0 or beas_ftpos.belpos_id

al_linenum2

linenum or beas_Ftstl.pos_id

ac_quantity

Quantity (for planned document, 0=Full Quantity)

ai_externaldocentry

For external (as_pdoctype=externalsend and externalissue): Document-Base-Number for all Purchase + Move or Delivery + Issue - Transaction (beas_owing_supplies.docenty)

ac_quantity

Plan - Quantity = full Mateiral-Quantity / Assembly-Quantity (beas_ftpos.menge_verbrauch)  * ac_quantity. If ac_quantity = 0 then beas use the full Plan-Quantity.

if pdoctype is set to a fix base-document, example purchase order, then it will be set automatically.

ab_loadallentrys

if true, then all Entrys are loaded, not only with 0-Qty

ab_backflush

if true, then program is checking, if all entrys are filled (for normal backflush-procress)

 

 

 

 

 

Functions

loaddocumententry=dw_x

load the Entrys in dw_x. If you don't set the dw, then beas use "dw_2"

if s_parm1 <> "" then it create a new planned document from current str_parm

 

 

loadreservation

Load Reservation-List in dw_4 for current Entry from dw_2 (doctype,docentry,linenum,linenum2)

 

Object for reservation-Window

object=ue_reservation=reswindow=

delreservation

if focus on dw_4: Delete all marked Reservations
else delete all Reservation, which linked with all marked Lines in dw_2

transfer

Transfers all marked items

reservationlist

open a reservationlist for all in dw_2 marked positions. Open window "reservation_browse.psr"

issuewo

call issuewo-Function for all marked positions

getstagefreestock

set column dw_2.bwhstock = free Stock from stage warehouse

scenario

scenario-result from allocation