Grandparent Rollups & Ultimate Parent Rollups #504
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Apologies for the confusion. You don't need an ultimate parent rollup for this - that's for when you're rolling up on a self-referential (hierarchy) field like Parent Account. The basic grandparent rollup you described should suffice. You only need to call Apex Rollup on the intermediate objects for situations where reparenting the intermediate objects wouldn't recall automation on the children; in your case, I think you should be fine as is since it's a true master detail. I will update the README and associated docs to make this clearer |
Beta Was this translation helpful? Give feedback.
-
Thanks @jamessimone ! One quick follow-up....so in a GP rollup, will it bypass the intermediate object altogether? (i.e. won't perform unnecessary SOQL queries against the work order object) |
Beta Was this translation helpful? Give feedback.
Apologies for the confusion. You don't need an ultimate parent rollup for this - that's for when you're rolling up on a self-referential (hierarchy) field like Parent Account. The basic grandparent rollup you described should suffice.
You only need to call Apex Rollup on the intermediate objects for situations where reparenting the intermediate objects wouldn't recall automation on the children; in your case, I think you should be fine as is since it's a true master detail. I will update the README and associated docs to make this clearer