You need to sign in to do that
Don't have an account?
BAGEL
How to modify Product Revenue Schedule Date Fields by AJAX Toolkit?
Hi all, I am new to salesforce.com. However I already need to make some
modification, and I am not sure where to begin. If anyone can give me a
hand, that would be great. What I need to do is to able to modify
schedule dates on revenue schedule for each of the products on the
opportunity programmically. If you have an idea/solution, please let me
know. Thanks.
This might help. I had to recalculate the schedule dates when the opportunity closed date changed so that the first shedule date is the closed date and all the others follow with the same monthly interval. This assumes that the schedule has been created with monthly intervals.
The routine gets passed the opportunity id and an HTML element (I use a DIV) where it writes any messages.
Code: