SalesQuantity.pdsCWQtyInvent Method [AX 2012]

Calculates the catch-weight quantity during posting.

public container pdsCWQtyInvent(
    Common _common, 
   [SalesUpdate _specQty, 
    PdsCWInventQty _qty, 
    boolean _creditRemaining])

Run On



Type: Common Table
The transaction record.
Type: SalesUpdate Enumeration
The quantity specification to process.
Type: PdsCWInventQty Extended Data Type
The catch-weight quantity.
Type: boolean
A Boolean value that indicates whether the remaining quantity should be credited.

Return Value

Type: container
The container that holds catch weight quantities. The container will have the quantities in the following order: qty, remainBefore, remainAfter.