BOMVersion::findActive Method
Finds an active BOM version record.
Syntax
client server public static BOMVersion findActive(
ItemId _itemId,
StartDate _date,
FromQty _fromQty,
InventDim _inventDimCriteria,
[boolean _forUpdate])
Run On
Called
Parameters
- _itemId
Type: ItemId Extended Data Type
A string that holds an item id.
- _date
Type: StartDate Extended Data Type
A date criteria for the FromDate and ToDate fields search of active BOM version items.
- _fromQty
Type: FromQty Extended Data Type
A real that specifies the FromQty field criteria for the search of active BOM version items.
- _inventDimCriteria
Type: InventDim Table
An InventDim that contains an inventory dimension criteria for the search of active BOM version items.
- _forUpdate
Type: boolean
A Boolean value that is assigned to the BOMVersion.selectForUpdate field; optional.
The default is false.
Return Value
Type: BOMVersion Table
A BOM version record.
Remarks
For the _inventDimCriteria parameter, the field inventDimId does not have to be specified.