Trigger if the system creates a bill of material position after trigger of variant system
Only while creation of work order, not in the case of precalculation or new item.
Variable |
Read |
Write |
Description |
---|---|---|---|
e_WoDocEntry |
x |
|
Work order Document Number (only number) |
e_WoLineNumber |
x |
|
Work order position line |
e_WoLineNumber2 |
x |
|
Bill of Material position |
e_Refresh |
x |
|
In refresh mode the work order will be created in parallel for synchronization the changes. But this work order is not saved in database. It's only temporally. |
createworkorder |
x |
|
It is called after corder2worder., regardless of Manufacturing order type Variable setvar=makeonelevel=true: create all order related assemblies as pseudo-items - make all to one level Important: the event is not called when a WO is created directly from the Work order structure view. |
Additional variables:
All table fields from BEAS_FTSTL with prefix e_
Example: The Material: "e_art1_id"
All these fields are changeable !
If you cancel the process, the BoM Position will not be inserted or will be inserted as inactive position.
function CreateWorkOrderBom
if <e_art_id> = "RM" then
setvar=e_udf1="RM-Item"
end if
end function