jamessimone / apex-rollup

Fast, configurable, elastically scaling custom rollup solution. Apex Invocable action, one-liner Apex trigger/CMDT-driven logic, and scheduled Apex-ready.
MIT License
222 stars 30 forks source link

Full recalculate isn't calculating all rollups correctly #630

Open baobao917 opened 1 month ago

baobao917 commented 1 month ago

I have upgraded to latest version 1.6.34. I have performed a full recalculate using the Recalculate Rollup tab and then validated the results. It appears that not all of the records are accurately calculating the rollup correctly.

When I go to some of the records and attempt to do a full recalculate using the Recalculate Rollups button, it still won't calculate correctly.

Below is a demo video https://www.loom.com/share/abe038f22208465f8374c0cc486dc4b8

jamessimone commented 1 month ago

I will have a look at this on Monday. Is this behavior different than what was happening on 1.6.33 when recalculating from the parent? I wonder if the fix for the #623 is having some sort of unintended side effect on other nested parenthetical where clauses...

baobao917 commented 1 month ago

I'm not exactly sure if it's something that is a result of the new version or if it's been an issue previously. I know that sometimes the calcs on ApexRollup are incorrect or that they can over time become incorrect (opened separate issue). That's why I always validate against actual detail to see if it's off.