Share via


SalesQuantity.pdsCWCalcQtyInvent Method [AX 2012]

Calculates the catch-weight quantity during posting.

Syntax

protected abstract container pdsCWCalcQtyInvent(
    Common _common, 
   [SalesUpdate _specQty, 
    PdsCWInventQty _qty, 
    boolean _creditRemaining, 
    boolean _calcRemaining])

Run On

Called

Parameters

  • _creditRemaining
    Type: boolean
    A Boolean value that indicates whether the remaining quantity should be credited.
  • _calcRemaining
    Type: boolean
    A Boolean value that indicates whether the remaining quantities should be calculated.

Return Value

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

See Also

Reference

SalesQuantity Class