PlanActivityTimeCalculation::newStandard Method [AX 2012]

Initializes a new instance of the PlannActivityTimeCalculation class.

NoteNote

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.


  Microsoft Dynamics AX 2012 R3
          client server public static PlanActivityTimeCalculation newStandard(
            PlanActivityTime _planActivityTime, 
            ItemId _itemId, 
            InventQty _inventQty, 
            RefRecId _unitOfMeasure, 
           [LeanThroughputRatio _throughputRatio])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static PlanActivityTimeCalculation newStandard(
            PlanActivityTime _planActivityTime, 
            ItemId _itemId, 
            InventQty _inventQty, 
            RefRecId _unitOfMeasure)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static PlanActivityTimeCalculation newStandard(
            PlanActivityTime _planActivityTime, 
            ItemId _itemId, 
            InventQty _inventQty, 
            RefRecId _unitOfMeasure)

  Microsoft Dynamics AX 2012 (FPK)
          client server public static PlanActivityTimeCalculation newStandard(
            PlanActivityTime _planActivityTime, 
            ItemId _itemId, 
            InventQty _inventQty, 
            RefRecId _unitOfMeasure)

  Microsoft Dynamics AX 2012 (SYS)
          client server public static PlanActivityTimeCalculation newStandard(
            PlanActivityTime _planActivityTime, 
            ItemId _itemId, 
            InventQty _inventQty, 
            RefRecId _unitOfMeasure)

Run On

Called

Parameters

_planActivityTime
Type: PlanActivityTime Table
A PlanActivityTime table buffer used in the calculation.
_itemId
Type: ItemId Extended Data Type
An ItemId value that is used to determine conversion factors in the calculation.
_inventQty
Type: InventQty Extended Data Type
The quantity for which to calculate the time.
_unitOfMeasure
Type: RefRecId Extended Data Type
The unit in which the quantity is stated.
_throughputRatio
Type: LeanThroughputRatio Extended Data Type

Return Value

Type: PlanActivityTimeCalculation Class
An instance of the PlannActivityTimeCalculation class.

Use a blank item ID for nonitem specific unit conversions.

Show: