BOMReportFinish.updateBOMConsumption Method [AX 2012]
Creates an InventJournalTrans record from a bill of materials line.
Syntax
public InventQty updateBOMConsumption(
BOMSearch search,
BOMCalcData parentBOMCalcData,
InventTable inventTable,
RouteId routeId,
InventDim parentInventDim)
Run On
Server
Parameters
- search
Type: BOMSearch Class
A BOMSearch object that is used to iterate through a specific bill of materials.
- parentBOMCalcData
Type: BOMCalcData Class
A BOMCalcData object that holds parameters as series size in order to calculate consumption of each bill of materials line.
- inventTable
Type: InventTable Table
An inventTable record that relates to the selected bill of material line.
- routeId
Type: RouteId Extended Data Type
A string that holds the route ID.
- parentInventDim
Type: InventDim Table
A InventDim record that holds inventory dimensions for the reported as finished item.
Return Value
Type: InventQty Extended Data Type
An InventQty object that holds the consumption for the bill of materials line.