function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
cloud47cloud47 

Can you auto update product schedule dates?

A Opportunity Product has a Start date.

 

If a Product Opportunity has Revenue and Quantity schedules can you make the dates dependent on the Opportunity Product Start Date.

 

So, if the Product Opportunity Start Date is changed, all the schedule dates change automatically.

 

For Example  Product Opportunity Start Date - 8/24/2010

 

Schedule dates are set over 3 installments starting on 9/01/2010, 10/01/2010 and 11/01/2010

 

If the Product Opportunity Start Date is CHANGED to 9/24/2010, can the schedule dates automatically change to 10/01/2010, 11/01/2010 and 12/01/2010?

 

Thanks, Mike.

forcedotcomforcedotcom

Yes I've done exactly as you described allowing the user to enter a start date, number of instlalments and the period of installments (daily, weekly, monthly etc..) - this can be achieved using an Apex trigger (or class).