PurchLine::returnedLotQty Method
Calulates the returned quantity and catch weight quantity for a purchase order line.
These quantities include other open return lines as well partially or fully processed return lines (current purchase order line is not included).
Syntax
server public static container returnedLotQty(InventTransId _inventTransId, [InventTransId _inventTransIdCurrent])
Run On
Server
Parameters
- _inventTransId
Type: InventTransId Extended Data Type
The inventTransId which identifies a purchase order line (lot id of the initial purchase order line).
- _inventTransIdCurrent
Type: InventTransId Extended Data Type
The inventTransId which identifies the current return purchase order line (Reference Lot id); optional.
Return Value
Type: container
A container with the quantity and the catch weight quantity that is already returned for the current purchase order line.