This documentation is archived and is not being maintained.
ProdUpdCostEstimation.run Method [AX 2012]
Before the method is run, you should set up estimation parameters by using one of the following methods:
void estimateProduction(ProdId _prodId, NoYes _references)
{
ProdUpdCostEstimation prodUpdEstimation;
prodUpdEstimation = ProdUpdCostEstimation::newProdId(
_prodId,
ProdParameters::find().profitSet,
_references);
prodUpdEstimation.run();
}