Share via


BOMVersion::selectBomVersion Method

Finds a BOM version record based on search criteria provided by the parameters.

Syntax

client server public static BOMVersion selectBomVersion(
    ItemId _itemId, 
    StartDate _date, 
    FromQty _fromQty, 
    InventDim _inventDimCriteria, 
   [boolean _includeActive, 
    boolean _includeInactive, 
    boolean _includeApproved, 
    boolean _includeUnapproved, 
    boolean _checkDate, 
    BOMId _bomId, 
    boolean _forUpdate])

Run On

Called

Parameters

  • _inventDimCriteria
    Type: InventDim Table
    An InventDim that contains an inventory dimension criteria for the search of active BOM version items.
  • _includeActive
    Type: boolean
    A Boolean value indicating if active versions should be included in the search; optional.
  • _includeInactive
    Type: boolean
    A Boolean value indicating if inactive versions should be included in the search; optional.
  • _includeApproved
    Type: boolean
    A Boolean value indicating if approved versions should be included in the search; optional.
  • _includeUnapproved
    Type: boolean
    A Boolean value indicating if unapproved versions should be included in the search; optional.
  • _checkDate
    Type: boolean
    A Boolean value indicating if the date range must be checked.
  • _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.

See Also

Reference

BOMVersion Table