Share via


IntrastatTransferMap.qty Method

Converts the quantity of a specified unit of measure to an inventory quantity or to an additional unit provided by the AdditionalQtyUnit field of the IntrastatItemCode table.

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
          public Qty qty(
            Qty _qty, 
           [UnitOfMeasureSymbol _unit, 
            boolean _outputInAdditionalUnit])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public Qty qty(
            Qty _qty, 
           [UnitOfMeasureSymbol _unit, 
            boolean _outputInAdditionalUnit])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public Qty qty(Qty _qty, [UnitOfMeasureSymbol _unit])

  Microsoft Dynamics AX 2012 (FPK)
          public Qty qty(Qty _qty, [UnitOfMeasureSymbol _unit])

  Microsoft Dynamics AX 2012 (SYS)
          public Qty qty(Qty _qty, [UnitOfMeasureSymbol _unit])

Run On

Called

Parameters

  • _outputInAdditionalUnit
    Type: boolean
    A Boolean value that indicates whether to output the quantity in an additional unit provided by the AdditionalQtyUnit field of the IntrastatItemCode table.

Return Value

Type: Qty Extended Data Type
The calculated quantity.

See Also

Reference

IntrastatTransferMap Map