CreateWorkOrderBom

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

 

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.

 

 

beasscript-logo-small

function CreateWorkOrderBom
if <e_art_id> = "RM" then
  setvar=e_udf1="RM-Item"
end if
end function