SalesQuantity_PickingList.pdsCWCalcQtyInvent Method [AX 2012]
Calculates the catch-weight quantity during posting.
Syntax
protected container pdsCWCalcQtyInvent(
Common _common,
[SalesUpdate _specQty,
PdsCWInventQty _qty,
boolean _creditRemaining,
boolean _calcRemaining])
Run On
Called
Parameters
- _common
Type: Common Table
The transaction record.
- _specQty
Type: SalesUpdate Enumeration
The quantity specification to process.
- _qty
Type: PdsCWInventQty Extended Data Type
The catch-weight quantity.
- _creditRemaining
Type: boolean
A Boolean value that indicates whether to credit the remaining quantity.
- _calcRemaining
Type: boolean
A Boolean value that indicates whether to calculate the remaining quantities.
Return Value
Type: container
The container that holds catch-weight quantities.
Remarks
The container has the quantities in the following order: qty, remainBefore, remainAfter.