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
Nishant Prajapati 10Nishant Prajapati 10 

Roll up summary upto top level in Hierarchy

Hi,
Account have self lookup relationship. I have following Hierarchy of Parent child Accounts using self lookup:
A
    A1
        A11
            A111
            A112
        A12
        A13
    A2
        A21
        A22
        A23
            A231
    A3
        A31
        A32
        A33
            A331
I need to roll up a amount field to the top most level of Account in hierarchy, following the hierarchy.