BOMCalcProd_PmfCoProduct::newCoProduct Method [AX 2012]
Instantiates a new instance of the BOMCalcProd_PmfCoProduct class based on input parameters.
Syntax
server public static BOMCalcProd_PmfCoProduct newCoProduct(
PmfProdCoBy _prodCoBy,
[CostProfitSet _profitSet,
TransDate _calcDate,
NoYes _calcReferences,
boolean _showProgress])
Run On
Server
Parameters
- _prodCoBy
Type: PmfProdCoBy Table
The PmfProdCoBy record that is used to run the calculation.
- _profitSet
Type: CostProfitSet Enumeration
A CostProfitSet object that is used to calculate price.
- _calcDate
Type: TransDate Extended Data Type
The date the calculation is being generated.
- _calcReferences
Type: NoYes Enumeration
A Boolean value that indicates whether the references are also calculated.
- _showProgress
Type: boolean
A Boolean value that indicates whether the progress bar is displayed during the calculation.
Return Value
Type: BOMCalcProd_PmfCoProduct Class
A new instance of the BOMCalcProd_PmfCoProduct class.