InventQualityOrderTable::findLastQualityOrder Method
Finds a quality order that matches the parameters and that is ordered by status.
Syntax
client server public static InventQualityOrderTable findLastQualityOrder(
InventTestReferenceType _referenceType,
[InventRefId _inventRefId,
InventTransId _inventTransId,
ItemId _itemId,
RouteOprId _routeOprId,
OprNum _oprNum,
boolean _includeRoutes])
Run On
Called
Parameters
- _referenceType
Type: InventTestReferenceType Enumeration
The required reference type for the quality order.
- _inventRefId
Type: InventRefId Extended Data Type
The required InventRefID field for the quality order; optional.
- _inventTransId
Type: InventTransId Extended Data Type
The required InventTransID field for the quality order; optional.
- _itemId
Type: ItemId Extended Data Type
The required item for the quality order; optional.
- _routeOprId
Type: RouteOprId Extended Data Type
The required route operation for the quality order; optional.
- _oprNum
Type: OprNum Extended Data Type
The required OprNum field for the quality order; optional.
- _includeRoutes
Type: boolean
A Boolean that controls whether quality orders on related routes are included; optional.
Return Value
Type: InventQualityOrderTable Table
An InventQualityOrderTable record; otherwise, an empty record.