SPM: Cost plan issue when data is huge

Kartik Choudha1
Tera Guru

I'm working on the SPM (Strategic Portfolio Management) module in ServiceNow and facing an issue with cost plan calculations.

In a demand record where there are already around 40 existing cost plans, when a user creates a new cost plan, some calculation logic runs automatically. This calculation is supposed to consider all existing cost plans and update some values accordingly.

The issue is that when the total number of cost plans is small (e.g., 4–5), the calculation works perfectly. But when there are already many cost plans (e.g., 40–50), and a new one is added, the calculation sometimes produces incorrect results.

 

Need suggestions on this.

1 REPLY 1

Mark Manders
Mega Patron

Haven't seen this before (also never seen 40-50 cost plans on a demand before), but can you elaborate what exactly isn't going correctly. "The calculation sometimes produces incorrect results" is a bit vague. Because it also means that at other times it is correct. What is the difference between it being correct and not? What kind of differences between expected and actual are we talking about? Is it just ignoring 25 cost plans, or is it a difference of 3 cents on the total? 


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark