TradeTotals.updateQuantities Method [AX 2012]
Updates the total order quantities, inventory quantities, and measurements.
Syntax
Note
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
The order line quantity.
- _inventQty
Type: InventQty Extended Data Type
The order line quantity in inventory units.
- _cwQty
Type: PdsCWInventQty Extended Data Type
The order line quantity in catch weight units.
Remarks
The _inventQty parameter can be nonzero for non-inventoried lines.