Hi,
We're looking for the best approach to updating values throughout the hierarchy of Accounts for our CRM 2013 solution.
The Account entity form has two custom numerical fields: 'Number of employees' and 'Group number of employees'.
Also, an Account entity record can have 'Parent' Account as well as a 'Grand Parent' Account.
'Group number of employees' is a sum of all 'Number of employees' values across all Accounts. We need to make sure that whenever the value of 'Number of employees' changes on any of the Accounts the 'Group number of employees' will be updated and the value redistributed across the hierarchy.
- If 'Number of employees' is updated on AC 1 from 0 to 50, the 'Group number of employees' number should be updated to 550 on all accounts - AC1, AC2, AC3, AC4, and AC5.
- If 'Number of employees' is updated on AC 2 from 250 to 350, the 'Group number of employees' number should be updated to 600 on all accounts - AC1, AC2, AC3, AC4, and AC5.
- If 'Number of employees' is updated on AC 4 from 100 to 500, the 'Group number of employees' number should be updated to 900 on all accounts - AC1, AC2, AC3, AC4, and AC5.
We've been trying to use the Generic Rollup solution (https://crmgenericrollup.codeplex.com/) however, this will work only when updating Parent records but not Child.
Any help and suggestions are appreciated.
Many thanks.
*This post is locked for comments
I have the same question (0)

Report
All responses (
Answers (