You need to sign in to do that
Don't have an account?
Andreas Christides
Counting the number of Events related to an Account then populating field on the Account.
Hi all,
I'm looking for a way to populate the sum of Events related to an Account (number of visits), over a period of time, probably fiscal year, and display this field on the Account Layout.
How would I be able to do that ? Roll-up summary, Trigger ? My dev skills are quite limited.
Thanks a lot.
I'm looking for a way to populate the sum of Events related to an Account (number of visits), over a period of time, probably fiscal year, and display this field on the Account Layout.
How would I be able to do that ? Roll-up summary, Trigger ? My dev skills are quite limited.
Thanks a lot.
You need to create a trigger of Event Object,
Reference
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_triggers.htm
Example:
https://developer.salesforce.com/forums/?id=906F00000008tHQIAY
Regards,
Gokula Krishnan