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 route version record that matches the provided parameters.
Syntax
client server public static RouteVersion selectRouteVersion(
ItemId _itemId,
StartDate _date,
FromQty _fromQty,
InventDim _inventDimCriteria,
[boolean _includeActive,
boolean _includeInactive,
boolean _includeApproved,
boolean _includeUnapproved,
boolean _checkDate,
RouteId _routeId,
boolean _forUpdate])
Run On
Called
Parameters
- _itemId
Type: ItemId Extended Data Type
A string that contains an item ID.
- _date
Type: StartDate Extended Data Type
A date used to find a valid route version.
- _fromQty
Type: FromQty Extended Data Type
A real that holds a quantity used to select the correct route version record.
- _inventDimCriteria
Type: InventDim Table
An InventDim record that contains inventory dimensions used to select the correct route version record.
- _includeActive
Type: boolean
A Boolean value that indicates whether active versions should be included in the search; optional.
- _includeInactive
Type: boolean
A Boolean value that indicates whether inactive versions should be included in the search; optional.
- _includeApproved
Type: boolean
A Boolean value that indicates whether approved versions should be included in the search; optional.
- _includeUnapproved
Type: boolean
A Boolean value that indicates whether unapproved versions should be included in the search; optional.
- _checkDate
Type: boolean
A Boolean value that indicates whether the date range must be checked.
- _routeId
Type: RouteId Extended Data Type
The route ID to find; optional.
- _forUpdate
Type: boolean
A Boolean value that indicates whether the selected record or records should be selected for update.
Return Value
Type: RouteVersion Table
A route version record.