Production Work order general WO structure Issue Reservations screen Reservation screen Extended rules - robinfeng/beashelp GitHub Wiki

ζ‰©ε±•θ§„εˆ™


Navigation: Production > Work order general > WO structure > Issue / Reservations screen > Reservation screen: Extended rules No contents entries on this page Contents In reservation screen, material issue screen and in provision screen you can apply customer specific rules for automatic pre-allocation. These extended rules can be stored in the function workordermanagement.setres_reservation(). Depending on the window a specific function is called, for example for reservations setres_reservation()

The following variables are available (read and write):

Available areas Area Function Reservation function setres_reservation Allocation function setres_supply issue provision parts function setres_externalissue issue function issuewo

Pre-allocation e_res_dfltwhs = Default warehouse, from which goods are taken or reserved e_res_whscode_std = Warehouses, considered at pre-allocation The stored filter can be extended or replaced. It is the WHERE-clause of an SQL-statement

hmtoggle_plus1 Notes on the default warehouse By default the following value is stored case when ifnull(BEAS_FTSTL.WhsCode,'') <> '' then BEAS_FTSTL.WhsCode else OITM.DfltWh end

If always the same warehouse is to be set as default: setvar=e_res_dfltwhs=('01')

Important: brackets, otherwise the ' -character could be misinterpreted Alternatively setvar=e_res_dflthws="'01'"

Available tables BEAS_FTSTL, BEAS_FTPOS, BEAS_FTHAUPT, OITM, O2 (OITM from assembly), BEAS_ME, BEAS_AGTYP

hmtoggle_plus1 Notes on warehouses to be considered Available tables OITM, OWHS batch item : OBTN, OBTQ, serial number item OSRN, OSRQ

Withdrawal always with priority:

  1. Reservation (the switch has no effect)
  2. Allocation warehouse, if included in the list
  3. Default warehouse, which may be overwritten by a warehouse list. Extended definition of sorting is not possible. The withdrawal sorting set up in configuration wizard is applied for batches and serial numbers.

To consider additionally the default warehouse insert the place holder "" setvar=e_res_whscode_std=OWHS.WhsCode in ('','01','02')

(beas9.0-000-002-006)

hmtoggle_plus1 Example For user "1" only warehouses "01" and 02 are considered, the default warehouse is ignored.

workordermanagement.src function setres_reservation if = 1 then setvar=e_res_whscode_std=OWHS.WhsCode in ('01','02') end if end

Further information See: customized extensions


θΏ”ε›ž δΈ»ι‘΅