CostTmpCostRollup.initFromProdCalcTrans Method
Initializes a record with values from a ProdCalcTrans record.
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 void initFromProdCalcTrans(PmfProdCalcTransMap _prodCalcTrans, CostSheetProdCalcMode _costSheetProdCalcMode)
Microsoft Dynamics AX 2012 R2 (SYS)
public void initFromProdCalcTrans(PmfProdCalcTransMap _prodCalcTrans, CostSheetProdCalcMode _costSheetProdCalcMode)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
public void initFromProdCalcTrans(PmfProdCalcTransMap _prodCalcTrans, CostSheetProdCalcMode _costSheetProdCalcMode)
Microsoft Dynamics AX 2012 (FPK)
public void initFromProdCalcTrans(ProdCalcTrans _prodCalcTrans, CostSheetProdCalcMode _costSheetProdCalcMode)
Microsoft Dynamics AX 2012 (SYS)
public void initFromProdCalcTrans(ProdCalcTrans _prodCalcTrans, CostSheetProdCalcMode _costSheetProdCalcMode)
Run On
Called
Parameters
- _prodCalcTrans
Type: PmfProdCalcTransMap Map
A ProdCalcTrans record.
- _costSheetProdCalcMode
Type: CostSheetProdCalcMode Enumeration
A CostSheetProdCalcMode enumeration value that determines which amount fields to use from the ProdCalcTrans records.
Exceptions
Exception | Condition |
---|---|
Error | An unexpected CostSheetProdCalcMode value is used. |