function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
aj4aj4 

Roll up Multi-level Child

Here is a situation.
 
We have parent account and two level of child accounts. Like child1 is parent to child2 and child1 is child to parent account. each of these account have #member field.  I want to rollup child1 and child2 #members to Parent account.
 
This is the standard account object with parent account id is look up field.
 
Is there solution?
 
 
Thanks in advance.
 
 
RickyGRickyG
Rollup Summary Fields can only be used in a master-detail relationship, and since a child in an M-D relationship cannot be the parent of another, you will not be able to use RSFs for this.  You could, though, use RSFs from one level and Apex triggers to go the last level. 

Hope this helps.