projStatement::newProjListProfitLoss Method [AX 2012]

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

server public static projStatement newProjListProfitLoss(
    ProjListProjTrans_ProfitLoss _listProjProfitLoss, 
   [ProjListStateProjType _stateProjType, 
    ProjActualBudget _actualBudget, 
    ProjAmountQty _amountQty, 
    ForecastModelId _forecastModelId])

Run On

Server

Parameters

_listProjProfitLoss
Type: ProjListProjTrans_ProfitLoss Class
An instance of the ProjListProjTrans_ProfitLoss class.
_stateProjType
Type: ProjListStateProjType Enumeration
The type of project statement report; optional.
_actualBudget
Type: ProjActualBudget Enumeration
A ProjActualBudget enumeration that determines whether actuals or budget should be reported; optional.
_amountQty
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 projStatementProfitLoss class.
Show: