PurchTotals.updateQuantities Method [AX 2012]

Updates the total order quantities, inventory quantities, and measurements.

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 void updateQuantities(
            UnitQty _unitQty, 
            InventQty _inventQty, 
           [PdsCWInventQty _cwQty])

  Microsoft Dynamics AX 2012 R2 (SYS)
          protected void updateQuantities(
            UnitQty _unitQty, 
            InventQty _inventQty, 
           [PdsCWInventQty _cwQty])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          protected void updateQuantities(
            UnitQty _unitQty, 
            InventQty _inventQty, 
           [PdsCWInventQty _cwQty])

  Microsoft Dynamics AX 2012 (FPK)
          protected void updateQuantities(UnitQty _unitQty, InventQty _inventQty)

  Microsoft Dynamics AX 2012 (SYS)
          protected void updateQuantities(UnitQty _unitQty, InventQty _inventQty)

Run On

Server

Parameters

_unitQty
Type: UnitQty Extended Data Type
A UnitQty value that represents the order line quantity in order line units.
_inventQty
Type: InventQty Extended Data Type
A InventQty value that represents the order line quantity in inventory units.
_cwQty
Type: PdsCWInventQty Extended Data Type
A PdsCWInventQty value that represents the order line quantity in catch weight units.

There is only a unit of measure difference between the parameters. Therefore the _inventQty parameter can be non-zero for non-inventoried lines.

Community Additions

ADD
Show: