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
Pankaj Sharma 53Pankaj Sharma 53 

Roll up trigger on Opportunity

I have a custom Object Target. It is related to opportunity by lookup. Opportunity is child and Target is parent and Target have custom field Target Amount and want to sum of all opportunities amount related that target in this field. I know i have to write a trigger for that please help me to solve this.

Thanks in Advance
Arun KumarArun Kumar
Hi Pankaj,

Have you tried with Process Builder.

Refere exmaple: