PlanActivityTimeCalculation::newPlanActivity Method [AX 2012]
Initializes a new instance of the PlannActivityTimeCalculation class.
Note |
|---|
|
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 newPlanActivity(
PlanActivity _planActivity,
ItemId _itemId,
InventQty _inventQty,
[RefRecId _unitOfMeasure,
LeanThroughputRatio _throughputRatio])
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static PlanActivityTimeCalculation newPlanActivity(
PlanActivity _planActivity,
ItemId _itemId,
InventQty _inventQty,
[RefRecId _unitOfMeasure])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static PlanActivityTimeCalculation newPlanActivity(
PlanActivity _planActivity,
ItemId _itemId,
InventQty _inventQty,
[RefRecId _unitOfMeasure])
Microsoft Dynamics AX 2012 (FPK)
client server public static PlanActivityTimeCalculation newPlanActivity(
PlanActivity _planActivity,
ItemId _itemId,
InventQty _inventQty,
[RefRecId _unitOfMeasure])
Microsoft Dynamics AX 2012 (SYS)
client server public static PlanActivityTimeCalculation newPlanActivity(
PlanActivity _planActivity,
ItemId _itemId,
InventQty _inventQty,
[RefRecId _unitOfMeasure])
Run On
CalledParameters
- _planActivity
- Type: PlanActivity Table
A PlanActivity table buffer used in the calculation.
- _itemId
- Type: ItemId Extended Data Type
An ItemId value used to determine the 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 ClassAn instance of the PlannActivityTimeCalculation class.
Show:
Note