The PROJECTCOSTATCOMPLETION function calculates the cost at completion of one or more projects and tasks.
PROJECTCOSTATCOMPLETION(Connection, Project, Task, AccountGroup, CostCode, InventoryItem, UseProjectCurrency)
The PROJECTCOSTATCOMPLETION function uses the following parameters (see our article on including multiple parameter values):
The name of the connection as configured in the Connection Manager
The Project(s) to include
The Task(s) to include
The Account Group(s) to include
The Cost Code(s) to include
The Inventory Item(s) to include
TRUE/FALSE value indicating if the amount should be returned in the project's currency (default = FALSE)
=PROJECTCOSTATCOMPLETION("Demo","FLDEVELOP1","L01", "SUB", "09200", "<N/A>",TRUE)
Calculates the cost at completion of task L01 in project FLDEVELOP1 (filtered by the specified AccountGroup, CostCode, and InventoryItem) and returns the value in the Project's defined currency.