SalesLine::getInventQtyFromCWUnit Method [AX 2012]

Returns the inventory quantity for an PdsCWInventQty based on inventory transactions.

client server public static InventQty getInventQtyFromCWUnit(
    SalesLine _salesLine, 
    PdsCWInventQty _cWquantity, 
    InventDim _inventDim, 
    boolean isReturn)

Run On



Type: SalesLine Table
The SalesLine to find the inventory quantity for.
Type: PdsCWInventQty Extended Data Type
The PdsCWInventQty to find the inventory quantity for.
Type: InventDim Table
A InventDim buffer.
Type: boolean
Indicates whether the inventory quantity is found for an return order.

Return Value

Type: InventQty Extended Data Type
A InventQty.