You need to sign in to do that
Don't have an account?
Francesca Ribezzi 2
issues with self lookup - getting child records of parent
Hi everyone,
I need to get the sum of all the child records associated with the parent. So, for each parent I need to get the sum of its children.
Mine is a custom object with a self lookup with the parent Id (and this is where the problems begin!!).
How can I do this? I would rather not use triggers or lots of queries..
Thanks a lot for your help!
Cheers
Francesca
I need to get the sum of all the child records associated with the parent. So, for each parent I need to get the sum of its children.
Mine is a custom object with a self lookup with the parent Id (and this is where the problems begin!!).
How can I do this? I would rather not use triggers or lots of queries..
Thanks a lot for your help!
Cheers
Francesca
Steven Nsubuga
Install Declarative Lookup Rollup Summaries (http://install Declarative Lookup Rollup Summaries) or use Visual Work Flow (http://www.salesforceweek.ly/2015/02/how-to-create-roll-up-summaries-using-flow-part-2.html)