ProdUpdCostEstimation.createProdRoute Method [AX 2012]

Explodes the operations that are made on the phantom BOM onto the production route.

protected container createProdRoute(
    ProdTable _prodTable, 
    OprNum _oprNumOffset, 
    ProdRoute _phantomProdRoute, 
    BOMMap _phantomBOM, 
   [Factor _phantomUnitFactor, 
    InventTable _inventTable])

Run On

Server

Parameters

_prodTable
Type: ProdTable Table
The production order for which to create route records.
_oprNumOffset
Type: OprNum Extended Data Type
The offset from which the operation number should be generated.
_phantomProdRoute
Type: ProdRoute Table
The production operation where the phantom lines should be inserted.
_phantomBOM
Type: BOMMap Map
The phantom BOM.
_phantomUnitFactor
Type: Factor Extended Data Type
The unit conversion factor to use when creating the new operations.
_inventTable
Type: InventTable Table
The phantom BOM item.

Return Value

Type: container
A container that has the first and the last operation numbers inserted.

Community Additions

ADD
Show: