projStatement.a300_Total_Cost Method [AX 2012]

Calculates and returns the total amount that is posted as cost for a particular project or for all projects that is used on any kind of project statement report.

public AmountMST a300_Total_Cost([boolean noElimination, ProjListStateType projListStateType])

Run On

Server

Parameters

noElimination
Type: boolean
Set to true to exclude eliminations that are posted for hour transactions or false to include eliminations; optional.
projListStateType
Type: ProjListStateType Enumeration
A particular type of ProjListStateType ; optional.

Return Value

Type: AmountMST Extended Data Type
The total amount posted as cost for a project or all projects.

This method can be used to determine either the actual amount or budgeted amount. It also caches this value and does not recalculate it if a value exists in the cache. The total cost is determined by the following summation: a305_Cost + a335_Accrued_Cost

Show: