PurchQuantity_PackingSlip.pdsCWCalcQtyInvent Method [AX 2012]

Calculates the PdsCWReceiveNow, PdsCWRemainBefore and PdsCWRemainAfter quantities.

protected container pdsCWCalcQtyInvent(
    PurchLine _purchLine, 
   [PurchUpdate _specQty, 
    PdsCWInventQty _qty, 
    boolean _creditRemaining, 
    boolean _calcRemaining])

Run On

Called

Parameters

_purchLine
Type: PurchLine Table
The PurchLine record used in the calculation.
_specQty
Type: PurchUpdate Enumeration
The quantity qualifier used to determine the quantity; optional.
_qty
Type: PdsCWInventQty Extended Data Type
The catch weight quantity update; optional.
_creditRemaining
Type: boolean
A Boolean value that determines whether the remaining quantity should be credited; optional.
_calcRemaining
Type: boolean
A Boolean value that determines whether the remaining quantity should be calculated; optional.

Return Value

Type: container
The calculated values for PdsCWReceiveNow, PdsCWRemainBefore and PdsCWRemainAfter.

Community Additions

ADD
Show: