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.
  • _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.

See Also

Reference

BOMCalcProd_PmfCoProduct Class