BOMLineConsumption.bomConsumptionInInventUnit Method [AX 2012]

Calculates the total consumption for the current BOM line.

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 InventQtyConsumption bomConsumptionInInventUnit(
            BOM _bom, 
            BOMCalcData _bomCalcData, 
           [Factor _accumulatedErrorFactor, 
            UnitOfMeasureSymbol _toUnitId, 
            PmfYieldPct _pmfYieldPct, 
            boolean _pmfApplyYieldPct, 
            BOMTable _bomTable])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public InventQtyConsumption bomConsumptionInInventUnit(
            BOM _bom, 
            BOMCalcData _bomCalcData, 
           [Factor _accumulatedErrorFactor, 
            UnitOfMeasureSymbol _toUnitId, 
            PmfYieldPct _pmfYieldPct, 
            boolean _pmfApplyYieldPct, 
            BOMTable _bomTable])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public InventQtyConsumption bomConsumptionInInventUnit(
            BOM _bom, 
            BOMCalcData _bomCalcData, 
           [Factor _accumulatedErrorFactor, 
            UnitOfMeasureSymbol _toUnitId])

  Microsoft Dynamics AX 2012 (FPK)
          public InventQtyConsumption bomConsumptionInInventUnit(
            BOM _bom, 
            BOMCalcData _bomCalcData, 
           [Factor _accumulatedErrorFactor, 
            UnitOfMeasureSymbol _toUnitId])

  Microsoft Dynamics AX 2012 (SYS)
          public InventQtyConsumption bomConsumptionInInventUnit(
            BOM _bom, 
            BOMCalcData _bomCalcData, 
           [Factor _accumulatedErrorFactor, 
            UnitOfMeasureSymbol _toUnitId])

Run On

Called

Parameters

  • _bom
    Type: BOM Table
    A BOM record that contains the BOM line data.
  • _bomCalcData
    Type: BOMCalcData Class
    A BOMCalcData object that contains the settings for the calculation and the parent item.

Return Value

Type: InventQtyConsumption Extended Data Type
A Real value that contains the total consumption in the inventory unit or the specified unit.

See Also

Reference

BOMLineConsumption Class