Notifications

39 views

Description

Project workbench shows the error "{{formatAmount(task.cost.value) }}" on the Financials Tab,

 

Cause

The code in the script include "PmFinancialsAPI" aggregates the actuals on the Cost Plan Breakdown and it breaks if there are expense lines that are of Custom other than Capex/Opex.

while(cp.next()){
result[cp.getValue('expense_type')+'_actual'].value = cp.getAggregate('SUM','actual');
}

Resolution

Customize the script Include "PmFinancialsAPI" is needed to accommodate the custom Expense types to calculate the aggregates on the Cost Plan Breakdown of a Cost Plan associated to a Project.

Note:

Customization is suggested only if they are supposed  to have the Expense lines that are not categorized as Capex/Opex 

Article Information

Last Updated:2020-05-18 20:34:40
Published:2020-04-30