setres_reservation

Define rules for Pre-Assign in Reservation window

preassign

 

More information see PreAssign

 

 

 

Variable

Read

Write

Description

e_res_dfltwhs

x

x

e_res_whscode_std

x

x

e_res_filter

x

x

 

Why  WoDocEntry / WoLineNumber not available?

Reason:  In the reservation list you can have more then one work order. You must define the rules in the SQL query

 

// reservation: User "1" has only access to warehouse 01 and 02
function setres_reservation
if <currentuser> = "1" then
  setvar=e_res_whscode_std="OWHS"."WhsCode" in ('01','02')
end if
end function