PurchQuantity.pdsCWCalcQtyInvent Method [AX 2012]

Calculates updated quantity, old remainder quantity and new remainder quantity in catch weight unit.

NoteNote

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.


  Microsoft Dynamics AX 2012 R3
          protected abstract container pdsCWCalcQtyInvent(
            PurchLine _purchLine, 
           [PurchUpdate _specQty, 
            PdsCWInventQty _qty, 
            boolean _creditRemaining, 
            boolean _calcRemaining])

  Microsoft Dynamics AX 2012 R2 (SYS)
          protected abstract container pdsCWCalcQtyInvent(
            PurchLine _purchLine, 
           [PurchUpdate _specQty, 
            PdsCWInventQty _qty, 
            boolean _creditRemaining, 
            boolean _calcRemaining])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          protected container pdsCWCalcQtyInvent(
            PurchLine _purchLine, 
           [PurchUpdate _specQty, 
            PdsCWInventQty _qty, 
            boolean _creditRemaining, 
            boolean _calcRemaining])

  Microsoft Dynamics AX 2012 (FPK)
          protected container pdsCWCalcQtyInvent(
            PurchLine _purchLine, 
           [PurchUpdate _specQty, 
            PdsCWInventQty _qty, 
            boolean _creditRemaining, 
            boolean _calcRemaining])

Run On

Called

Parameters

_purchLine
Type: PurchLine Table
A PurchLine table record.
_specQty
Type: PurchUpdate Enumeration
An update type.
_qty
Type: PdsCWInventQty Extended Data Type
An update quantity.
_creditRemaining
Type: boolean
A Boolean value that indicates whether remainder quantity should be credited.
_calcRemaining
Type: boolean
A Boolean parameter that specifies if remainder quantity should be calculated.

Return Value

Type: container
A container with the updated quantity, old remainder quantity and new remainder quantity in catch weight unit.

Community Additions

ADD
Show: