PDSCompensationPrinciple.editActiveBOM Method
Gets or sets the active ingredient item for a BOM record.
Syntax
edit ItemId editActiveBOM(
boolean _set,
BOM _record,
ItemId _value)
Run On
Called
Parameters
- _set
Type: boolean
A Boolean value that determines whether the active ingredient should be set.
- _record
Type: BOM Table
The current BOM record.
- _value
Type: ItemId Extended Data Type
The ItemId value to set as the active ingredient. This parameter is ignored if the _set parameter is false.
Return Value
Type: ItemId Extended Data Type
The item ID of the active ingredient for the record that is specified by the _record parameter.