Is this actually performing a Recalc? #454
-
Hey James, Love all your work, thank you for your contributions. Just a quick question - I've just installed v1.5.71 and jumped straight in. I set up the Org Custom Setting, and then created 2 CMDT based flows (UPSERT + DELETE) to see how it works. I didn't do a Full Recalc to start with - i just added a child record with values to see them rollup. Is this designed to do an actual rollup calculation - I'll call this FullCALC (get all children records and calculate the value to rollup), or is it just rolling-up a calculation of the changes - i'll call this DeltaCALC (i.e. this change is an UPDATE...old vs new = 50 vs 100 = +50....therefore parent field += 50?)? After this observation, i went and read more of your wiki and performed a Recalculate Rollup using my CMDT records and it correctly rolls-up all the children records into the Parent field.....so my immediate thought was maybe i should just use this every time? Is there a setting that chooses the FullCALC option everytime? Apologies if i am using things incorrectly...I'm going to read all the wiki pages now.... |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Ok - so to get a FullCALC every time, it looks like i can either:
does that sound right? P.S. it doesn't look like REFRESH works correctly with a Record Trigger Delete flow....i manually set the parent rollup field to an incorrect higher value, then deleted my only child record and the parent rollup field didn't update at all.....i then used the Recalculate Rollup tab/page and it recalculate the field correctly... |
Beta Was this translation helpful? Give feedback.
-
Hey! Thanks for reaching out. Let's walk through what's going on and hopefully I'll answer all your questions:
I hope that helps! |
Beta Was this translation helpful? Give feedback.
Hey! Thanks for reaching out. Let's walk through what's going on and hopefully I'll answer all your questions: