IntrastatTransferMap.qty Method [AX 2012]

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.

NoteNote

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

_qty
Type: Qty Extended Data Type
The quantity to calculate.
_unit
Type: UnitOfMeasureSymbol Extended Data Type
The unit of measure for the input quantity; optional.
_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.

Community Additions

ADD
Show: