PmfCoByProdCalcTrans::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
server public static void updateRealCalcBOM(
ProdTable _prodTable,
ProdBOM _prodBOM,
[TransDate _priceDate,
InventItemPrice _inventItemPrice,
boolean _updateBreakdown])
Microsoft Dynamics AX 2012 R2 (SYS)
server public static void updateRealCalcBOM(
ProdTable _prodTable,
ProdBOM _prodBOM,
[TransDate _priceDate,
InventItemPrice _inventItemPrice])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
server public static void updateRealCalcBOM(
ProdTable _prodTable,
ProdBOM _prodBOM,
[TransDate _priceDate,
InventItemPrice _inventItemPrice])
Microsoft Dynamics AX 2012 (FPK)
server public static void updateRealCalcBOM(
ProdTable _prodTable,
ProdBOM _prodBOM,
[TransDate _priceDate,
InventItemPrice _inventItemPrice])
Run On
Server
Parameters
- _prodTable
Type: ProdTable Table
The production order record for which the prodCalcTrans records should be updated.
- _prodBOM
Type: ProdBOM Table
The ProdBOM record for which the prodCalcTrans records should be updated.
- _priceDate
Type: TransDate Extended Data Type
The date to use to find the inventItemPrice record.
- _inventItemPrice
Type: InventItemPrice Table
The InventItemPrice record to use to calculate the further broken down cost for a standard cost item.
- _updateBreakdown
Type: boolean
Remarks
If no priceDate value is specified, the system date will be used. Passing the InventItemPrice record is done for performance reasons. It will only be used for standard cost items.