This documentation is archived and is not being maintained.
ProdUpdBOMCalc.run Method [AX 2012]
Used for the start of price calculation.
Before the start of price calculation, make sure that price calculation parameters have been set. Parameters are set in the following methods:
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();
}