Trigger if system create a bill of material position after trigger of variant system
Only while creation work order, not pre calculation 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. |
Additional variables:
All table fields from BEAS_FTSTL with prefix e_
Example: The Material: "e_art1_id"
All this fields changeable !
If you cancel the process, the BoM Position don't will 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