InventQualityOrderTable::findOpenQualityOrder Method
Finds a quality order that matches the parameters and that is still open.
Syntax
client server public static InventQualityOrderTable findOpenQualityOrder(
InventTestGroupId _testGroupId,
InventRefId _inventRefId,
InventTransId _inventTransId,
ItemId _itemId,
InventTestReferenceType _referenceType,
[RouteOprId _routeOprId,
OprNum _oprNum,
boolean _forUpdate])
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 operation num for the quality order; optional
- _forUpdate
Type: boolean
A Boolean value that indicates whether to select found record for update; optional.
Return Value
Type: InventQualityOrderTable Table
An InventQualityOrderTable record; otherwise, an empty record.