ProdUpdCostEstimation.run Method [AX 2012]

Runs the estimation.

public void run()

Run On

Server

Before the method is run, you should set up estimation parameters by using one of the following methods:

  • The newProdId method.

  • The newParmBuffer method.

  • The initParmBufferFromSched method.

void estimateProduction(ProdId _prodId, NoYes _references) 
{ 
    ProdUpdCostEstimation prodUpdEstimation; 
 
    prodUpdEstimation = ProdUpdCostEstimation::newProdId( 
        _prodId, 
        ProdParameters::find().profitSet, 
        _references); 
    prodUpdEstimation.run(); 
}

Community Additions

ADD
Show: