Unfortunately Dynamics CRM 2013 does not have a roll up field which perfectly suits my requirement.
So I have a parent entity called Savings and a child entity called deposit.
So savings as many deposits.
On the deposit entity there is a currency field called amount deposited.
and on the savings entity there is a field called total amount deposited.
I need a plugin on update , delete or modify of the deposit amount field, it will roll up the deposit amount filed tied to the savings and update the field Total Amount deposited.
On the deposit entity the savings look up is a required field.
I just started learning plugins and have been able to fully understand the follow up plugin in the sample SDK and execute it myself.
will appreciate any help , already figured the plugin logic.
on the deposit entity anytime the change is made the code will do a look up to the savings then do a loop of the deposit amount associated the the savings and add it up, the loop is my challenge
Regards.
*This post is locked for comments