Share via


InventCostProdRecalc::newFromProdTable Method [AX 2012]

Initializes a new instance of this class for a given ProdTable 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 InventCostProdRecalc newFromProdTable(ProdTable _prodTable, [boolean _updateBreakdown])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static InventCostProdRecalc newFromProdTable(ProdTable _prodTable)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static InventCostProdRecalc newFromProdTable(ProdTable _prodTable)

  Microsoft Dynamics AX 2012 (FPK)
          client server public static InventCostProdRecalc newFromProdTable(ProdTable _prodTable)

  Microsoft Dynamics AX 2012 (SYS)
          client server public static InventCostProdRecalc newFromProdTable(ProdTable _prodTable)

Run On

Called

Parameters

  • _prodTable
    Type: ProdTable Table
    The ProdTable record that should be recalculated

Return Value

Type: InventCostProdRecalc Class
An initialized instance of this class.

Exceptions

Exception Condition
Error

No ProdTable record is given

Error

No ProdTable record is given

See Also

Reference

InventCostProdRecalc Class