PurchQuantity_Invoice4Paym_RU.calcQtyInvent Method [AX 2012]

Calculates updated quantity, old remainder quantity and new remainder quantity in inventory unit.

protected container calcQtyInvent(
    PurchLine _purchLine, 
   [PurchUpdate _specQty, 
    InventQty _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: InventQty 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
A container with the updated quantity, old remainder quantity and new remainder quantity in inventory unit.

Community Additions

ADD
Show: