ProdUpdHistoricalCost_Process.updateCalcBOM Method [AX 2012]

Updates the cost calculation for a BOM.

NoteNote

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.


  Microsoft Dynamics AX 2012 R3
          public container updateCalcBOM(
            ProdBOM _prodBOM, 
            InventUpd_Financial _financial, 
           [TransDate _priceDate])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public container updateCalcBOM(
            ProdBOM _prodBOM, 
            InventUpd_Financial _financial, 
           [TransDate _priceDate])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public CostAmount updateCalcBOM(
            ProdBOM _prodBOM, 
            InventUpd_Financial _financial, 
           [TransDate _priceDate])

  Microsoft Dynamics AX 2012 (FPK)
          public CostAmount updateCalcBOM(
            ProdBOM _prodBOM, 
            InventUpd_Financial _financial, 
           [TransDate _priceDate])

Run On

Server

Parameters

_prodBOM
Type: ProdBOM Table
The production BOM.
_financial
Type: InventUpd_Financial Class
The inventory financial update object.
_priceDate
Type: TransDate Extended Data Type
The date for price calculation; optional.

Return Value

Type: container
A container with 2 elemets, first one is the calculated cost in the main currency, the second element is the cost in the secondary currency.

The return type has been changed to a container to return calculated cost in the secondary currency in addition to the cost in the main currency.

Community Additions

ADD
Show: