InventQualityOrderTable::findLastClosedQualityOrder Method
Finds a quality order that matches the specified parameters and that was closed last.
Syntax
client server public static InventQualityOrderTable findLastClosedQualityOrder(
InventTestGroupId _testGroupId,
InventRefId _inventRefId,
InventTransId _inventTransId,
ItemId _itemId,
InventTestReferenceType _referenceType,
[RouteOprId _routeOprId,
OprNum _oprNum])
Run On
Called
Parameters
- _testGroupId
Type: InventTestGroupId Extended Data Type
The required test group for the quality order.
- _inventRefId
Type: InventRefId Extended Data Type
The required InventRefID field for the quality order.
- _inventTransId
Type: InventTransId Extended Data Type
The required InventTransID field for the quality order.
- _itemId
Type: ItemId Extended Data Type
The required item for the quality order.
- _referenceType
Type: InventTestReferenceType Enumeration
The required reference type for the quality order.
- _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.
Return Value
Type: InventQualityOrderTable Table
An InventQualityOrderTable record; otherwise, an empty record.