SalesLine::getInventQtyFromCWUnit Method
Returns the inventory quantity for an PdsCWInventQty based on inventory transactions.
Syntax
client server public static InventQty getInventQtyFromCWUnit(
SalesLine _salesLine,
PdsCWInventQty _cWquantity,
InventDim _inventDim,
boolean isReturn)
Run On
Called
Parameters
- _salesLine
Type: SalesLine Table
The SalesLine to find the inventory quantity for.
- _cWquantity
Type: PdsCWInventQty Extended Data Type
The PdsCWInventQty to find the inventory quantity for.
- _inventDim
Type: InventDim Table
A InventDim buffer.
- isReturn
Type: boolean
Indicates whether the inventory quantity is found for an return order.
Return Value
Type: InventQty Extended Data Type
A InventQty.