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
Sonam PatilSonam Patil 

Look up formula

Hi,
I have a 2 object, Phamaceutical company and Drugs, where drug object is in look up relationship with Phamaceutical Company. I have Amount field in drugs and Total Amount in Pharamaceutical Company. Drug which is in lookup relationship with company, Amount of drugs should add up and get populated in total amount of pharmaceutical company.

Please can anyone help me to write formula
Thanks in advance
Srikanth Varma 10Srikanth Varma 10
You can do it by writing a trigger.
Rakesh51Rakesh51
You can also use Process Builder in combination with Flow for roll up. If you want to use app then use free app Roll up helper 
Sonam PatilSonam Patil
OK.
Can u help me with triggers