I have a Field Amount__c in contact and TotalAmount__c in Account, Where ever a new contact record is created with some value like100 in Amount and insert another contact record for the same account now i need to show 200 in related account(i need to sum)
This is an Arabic language keyboard driver that supports most brands of Arabic language keyboards, and it's now available for download. This driver makes it easy to type Arabic using a QWERTY keyboard. The driver comes in handy when you need to type text consisting mostly of Arabic alphabetical characters into documents, browsers, email apps, and more. ( http://clavierrarabe.com/ (http://clavierrarabe.com/))
You can implement this without any code. Create a Master-Detail in Contact and select Account as Parent. Now, create a Roll-up summary field in Account and Select SUM and select the child field.
If you find your Solution then mark this as the best answer.
Salesforce provide standard relationship between Account & Contact. But for this you can create another relationship of Master- Detail. And then create a Rollup Summary on Account to calculate the Sum for Contact Object.
Try Below Trigger Please Mark It As Best Answer If It Helps
Thank You!
Greetings!
You can implement this without any code.
Create a Master-Detail in Contact and select Account as Parent.
Now, create a Roll-up summary field in Account and Select SUM and select the child field.
If you find your Solution then mark this as the best answer.
Thank you!
Regards,
Suraj Tripathi
Hi Khaja,
Salesforce provide standard relationship between Account & Contact. But for this you can create another relationship of Master- Detail. And then create a Rollup Summary on Account to calculate the Sum for Contact Object.
Link to create Master Detail Relationship :-
https://trailhead.salesforce.com/content/learn/modules/data_modeling/object_relationships
Regards,
Priya Ranjan