SalesQuantity_Invoice.pdsCWCalcQtyInvent Method [AX 2012]
Calculates the catch-weight inventory quantity when you post an invoice.
Syntax
protected container pdsCWCalcQtyInvent(
Common _common,
[SalesUpdate _specQty,
PdsCWInventQty _qty,
boolean _creditRemaining,
boolean _calcRemaining])
Run On
Called
Parameters
- _common
Type: Common Table
A sales line record.
- _specQty
Type: SalesUpdate Enumeration
A sales quantity to process.
- _qty
Type: PdsCWInventQty Extended Data Type
A sales catch-weight quantity.
- _creditRemaining
Type: boolean
A Boolean value that indicates whether credit remains.
- _calcRemaining
Type: boolean
A Boolean value that indicates whether any quantities must still be calculated.
Return Value
Type: container
The catch-weight quantity.