ProdUpdBOMCalc.run Method [AX 2012]

Used for the start of price calculation.

public void run()

Run On

Server

Before the start of price calculation, make sure that price calculation parameters have been set. Parameters are set in the following methods:

  • The parmParmBuffer method

  • The newProdTable method

  • The newParmBuffer method

The following example demonstrates the use of this method.

void startCalculation(ProdTable prodTable,  
    ProdParmCostEstimation prodParmCostEstimation) 
{ 
    ProdUpdBOMCalc::newProdTable( 
        prodTable,  
        prodParmCostEstimation.profitSet,  
        prodTable.DlvDate,   
        prodParmCostEstimation.References).run();  
}

Community Additions

ADD
Show: