Hi Niranjan,
Unfortunately instead of script logic you provided the advanced DM script...
But anyway:
You have 3 Accounts: ABC, BCD and target XYZ.
The formula looks like:
XYZ=XYZ+ABC
May be you also have formula:
XYZ=XYZ+BCD - that's why I am asking about full script text.
After the result is calculated in XYZ how do you want to recalculate it with new value of ABC??? You have addition in the formula of the self value...
Please explain the business requirements and may be different logic can help.
B.R. Vadim