Hi All,
I have a requirement to calculate the currency field in CRM 2016. I have 3 fields named as Program fee, Amount recent Paid and Remaining Amount.
For eg,if Program fee = 5000
the amount recent paid = 1000
Remaining amount = ( 5000 - 1000) = 4000.
My Problem here is when the student is paying his amount after a month say 500$, the remaining amount = (4000-500) = 3500. I have created a new field Net amount to be paid = ( remaining amount - the amount recent paid) (ie 4000 -500).
This field is working on the very first instance when the student first pays his initial amount. I wanted this field to work on the 2nd time student pays his fee/ override the value in amount recent paid. This is how it is working right now.
Program fee = 5000
amount Recent paid = 1000
remaining amount(thry calculation) = 4000
Net amount to be paid (thru calculation) = 3000 ===> this should also be 4000 on the first instance and later when student pays 500 , the net amount should show 3500
How can I achieve this? Or how can I do cumulative in the amount whenever the student pays?
Would be great if anyone helps me here.







