projStatement::newListProjConsumption Method [AX 2012]

Creates an instance of the projStatementConsumption class and initializes it with values from the input parameters passed in.

server public static projStatement newListProjConsumption(
    ProjListProjTrans_Consumption _listProjConsumption, 
   [ProjActualBudget _actualBudget, 
    ProjAmountQty _projAmountQty, 
    ForecastModelId _forecastModelId])

Run On

Server

Parameters

_listProjConsumption
Type: ProjListProjTrans_Consumption Class
An instance of the ProjListProjTrans_Consumption class.
_actualBudget
Type: ProjActualBudget Enumeration
A ProjActualBudget enumeration that determines whether actuals or budget should be reported; optional.
_projAmountQty
Type: ProjAmountQty Enumeration
A ProjAmountQty enumeration that determines whether hours should be reported as an amount or quantity; optional.
_forecastModelId
Type: ForecastModelId Extended Data Type
The unique identifier of the forcast model used; optional.

Return Value

Type: projStatement Class
An instance of the projStatementConsumption class.
Show: