You need to sign in to do that
Don't have an account?
![E L E L](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
Need help making trigger
Hi,
I am not new to salesforce but I am to apex. Can anyone help me make trigger.
The object is named Object1
This object needs to get a sum of hours in the Hours field in all records in another object (Object2) that is non-master detail to it so I can not use a roll up field.
Once it has the sum, put the sum in Total Hours field which is on Object1.
How to set this up?
Thanks
I am not new to salesforce but I am to apex. Can anyone help me make trigger.
The object is named Object1
This object needs to get a sum of hours in the Hours field in all records in another object (Object2) that is non-master detail to it so I can not use a roll up field.
Once it has the sum, put the sum in Total Hours field which is on Object1.
How to set this up?
Thanks
http://andyinthecloud.com/2013/07/07/new-tool-declarative-rollups-for-lookups/ (http://andyinthecloud.com/2013/07/07/new-tool-declarative-rollups-for-lookups/" target="_blank)