ProdCalcTrans::updateRealCalcIndirect Method
Recalculates the cost sheet for a specified production order and updates records in ProdCalcTrans table and optionally in ProdIndirectTrans accordingly.
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 CostCalcTransData updateRealCalcIndirect(
ProdTable _prodTable,
[NoYes _updateProdIndirectTrans,
TransDate _transDate,
Voucher _voucher,
NoYes _calculatingWIP_RU])
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static CostCalcTransData updateRealCalcIndirect(
ProdTable _prodTable,
[NoYes _updateProdIndirectTrans,
TransDate _transDate,
Voucher _voucher,
NoYes _calculatingWIP_RU])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static CostCalcTransData updateRealCalcIndirect(
ProdTable _prodTable,
[NoYes _updateProdIndirectTrans,
TransDate _transDate,
Voucher _voucher])
Microsoft Dynamics AX 2012 (FPK)
client server public static CostCalcTransData updateRealCalcIndirect(
ProdTable _prodTable,
[NoYes _updateProdIndirectTrans,
TransDate _transDate,
Voucher _voucher])
Microsoft Dynamics AX 2012 (SYS)
client server public static CostCalcTransData updateRealCalcIndirect(
ProdTable _prodTable,
[NoYes _updateProdIndirectTrans,
TransDate _transDate,
Voucher _voucher])
Run On
Called
Parameters
- _prodTable
Type: ProdTable Table
A record in ProdTable table that represents the production order.
- _updateProdIndirectTrans
Type: NoYes Enumeration
True, if records in ProdIndirectTrans have to be updated; optional, default value is false.
- _transDate
Type: TransDate Extended Data Type
The date of the financial update; optional. Must be specified if _updateProdIndirectTrans is true.
- _voucher
Type: Voucher Extended Data Type
The financial voucher; optional. Must be specified if _updateProdIndirectTrans is true.
- _calculatingWIP_RU
Type: NoYes Enumeration
True in case of WIP cost calculation; optional, default value is NoYes::No
Return Value
Type: CostCalcTransData Class
An instance of the CostCalcTransData class that holds the details of the cost sheet calculation.