Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Is there a way to Calculate "Completion Estimates Project" on all the cost plans lined to the project. - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Is there a way to Calculate "Completion Estimates Project" on all the cost plans lined to the project.
KB0792516

Is there a way to Calculate "Completion Estimates Project" on all the cost plans lined to the project.


2075 Views Last updated : Jul 24, 2025 public Copy Permalink
KB Summary by Now Assist

Issue

Is there a way that you can run the 'Calculate Completion Estimates' process for all cost plans on a project at once.

Seems there are two options - run the 'Calculate Completion Estimates' from Project form Related Links and this updates the Project Financials fields Estimate at completion (pm_project.forecast_cost) and Estimate to completion (pm_project.estimate_to_completion).

The Cost Plan column for Estimate at Completion (cost_plan.forecast_cost_default_currency) and the Estimate to Completion (cost_plan.etc_cost_default_currency) doesn't update unless you click on the individual Cost Plan record and click Related Link 'Calculate Completion Estimates'.

Although the Project EAC and ETC values are correct it is nice to see the breakdown in the cost plans but if you have 20+ cost plans this will become tedious to run each month one by one.

What is the best option to get all Cost plans updated each month?

Cause

In OOB, the cost plans which are directly linked with the project are updated, but the cost plans which are linked to the project tasks of the project are not updated when selected 'Calculate Completion Estimates' on the project.

Resolution

Currently, in OOB there is no functionality to update all the cost plans related to the project, as the script queries the cost plans related to the project.

The UI Action 'Calculate Completion Estimates' on Project, calls a function in the script includes "ProjectCalculateAJAX which calls "_updateEACCostPlans" function.

In this function, the glide query on "cost_plan" check if the "task" is the sys_id of the project, so only the cost plan which is directly linked to the project is updated.

As a workaround, updating the OOB script include by adding an OR query to check if the "top_task" as a project sys_id, will query all the project task records. This will check and update the records of the cost plan for the project task also.

 


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.