ProdJournalCheckPostBOM.addProdBOMMapEntry Method [AX 2012]

Collects the ProdBOM records for later obtained cost amounts update.

protected void addProdBOMMapEntry(
    ProdId _prodId, 
    ProdBOM _prodBOM, 
    TransDate _priceDate, 
    InventItemPrice _inventItemPrice)

Run On

Called

Parameters

_prodId
Type: ProdId Extended Data Type
The production identifier.
_prodBOM
Type: ProdBOM Table
The production BOM line record.
_priceDate
Type: TransDate Extended Data Type
The consumed item price date.
_inventItemPrice
Type: InventItemPrice Table
The item price record.

This is a performance improvement measure. If one production BOM line is referenced by multiple records in the Picking List journal, the obtained cost amounts for this line will be updated only one time. The updateRealCalcBOM is finally called when all journal lines are processed.

Community Additions

ADD
Show: