Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Finds an approved BOM version record.
Syntax
client server public static BOMVersion findApproved(
ItemId _itemId,
BOMId _bomId,
boolean _active,
StartDate _fromDate,
[EndDate _toDate,
FromQty _fromQty,
boolean _forUpdate])
Run On
Called
Parameters
- _itemId
Type: ItemId Extended Data Type
A string that holds an item ID.
- _bomId
Type: BOMId Extended Data Type
The ID of the BOM to find.
- _active
Type: boolean
A Boolean value that indicates whether to search for an active BOM.
- _fromDate
Type: StartDate Extended Data Type
A date criteria for the FromDate field search of approved BOM version items.
- _toDate
Type: EndDate Extended Data Type
A date criteria for the ToDate field search of approved BOM version items; optional.
- _fromQty
Type: FromQty Extended Data Type
A value that specifies the FromQty field criteria for the search of approved BOM version items.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to select the record for update; optional.
Return Value
Type: BOMVersion Table
A BOMVersion record.