ProdCalcTrans::updateRealCalcBOM Method
Recalculates the prodCalcTrans records that belong to a prodBOM 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
client server public static ProdCalcTrans updateRealCalcBOM(
ProdTable _prodTable,
ProdBOM _prodBOM,
[TransDate _priceDate,
InventItemPrice _inventItemPrice,
boolean _updateBreakdown])
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static ProdCalcTrans updateRealCalcBOM(
ProdTable _prodTable,
ProdBOM _prodBOM,
[TransDate _priceDate,
InventItemPrice _inventItemPrice])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static ProdCalcTrans updateRealCalcBOM(
ProdTable _prodTable,
ProdBOM _prodBOM,
[TransDate _priceDate,
InventItemPrice _inventItemPrice])
Microsoft Dynamics AX 2012 (FPK)
client server public static ProdCalcTrans updateRealCalcBOM(
ProdTable _prodTable,
ProdBOM _prodBOM,
[TransDate _priceDate,
InventItemPrice _inventItemPrice])
Microsoft Dynamics AX 2012 (SYS)
client server public static ProdCalcTrans updateRealCalcBOM(
ProdTable _prodTable,
ProdBOM _prodBOM,
[TransDate _priceDate,
InventItemPrice _inventItemPrice])
Run On
Called
Parameters
- _prodTable
Type: ProdTable Table
The prodTable record for which the prodCalcTrans records will be updated.
- _prodBOM
Type: ProdBOM Table
The prodBOM record for which the prodCalcTrans records will be updated.
- _priceDate
Type: TransDate Extended Data Type
The date that is used to find the inventItemPrice record; optional.
- _inventItemPrice
Type: InventItemPrice Table
The inventItemPrice record that should be used to calculate the broken down cost for a standard cost item; optional.
- _updateBreakdown
Type: boolean
Return Value
Type: ProdCalcTrans Table
An updated prodCalcTrans record.
Remarks
If no value is specified for the _priceDate parameter, the system date will be used.Specifying the inventItemprice record is performed for performance reasons. It will only be used for standard cost items.