Scheduling Revenue Forecasts

Revenue Forecasting enables you to run forecasts on demand or schedule them to run at set intervals, such as daily. These forecasts use the constantly changing "live" data in your org.

Tip:

To run a forecast on demand, click Recalculate Revenue Forecast on the Services Revenue Forecasting workspace. For more information, see Services Revenue Forecasting Workspace.

Prerequisites

You can only schedule Revenue Forecasting on the following projects and opportunities:

Setup

To exclude opportunities from revenue forecast scheduled jobs, select Exclude Opportunities under Forecast Batch Settings on the active revenue forecast setup record.

To exclude opportunity probability from revenue forecast scheduled jobs, select Exclude Probability on Opportunities under Opportunity Settings on the active revenue forecast setup record.

For more information on the settings available for running and scheduling revenue forecasts, see Revenue Forecast Setup Fields.

Permissions

To set or change the settings on the revenue forecast setup record, you must have been granted permission to configure the setup for a revenue forecast.

To schedule a revenue forecast, you must have been granted the following:

For more information, see Revenue Forecasting Permissions.

Scheduling a Revenue Forecast

To schedule a revenue forecast:

  1. From Setup, enter Apex in the Quick Find box, then select Apex Classes.
  2. Click Schedule Apex.
  3. Enter a job name, such as "Revenue Forecast".
  4. Use the lookup to search for and select the RevenueForecastScheduler Apex class.
  5. Choose the frequency at which you want to schedule the revenue forecast. The options are:
  6. Enter a start and end date for the scheduled job.
  7. Enter your preferred start time for the scheduled job.
  8. Click Save.

To view or delete the RevenueForecastScheduler job, from Setup, enter Jobs in the Quick Find box, then select Scheduled Jobs.

Troubleshooting

To find out whether any projects or opportunities in a scheduled job have failed:

You can then sort the entries in the Revenue Forecast Processing Status column on the list view to make it easy to identify projects or opportunities with Error in that field.

To view details of an error, navigate to the relevant project or opportunity and check the Revenue Forecast Batch Logs related list.

Tip:

If your scheduled jobs are failing, an administrator can create a temporary configuration option that enables you to change the batch size of the RFP_EnqueuerBatch scheduled job, which finds suitable projects and marks them as pending for Revenue Forecasting. For more information, see Revenue Forecasting Settings.

We recommend you contact FinancialForce Support if you want to use this temporary option, which will be replaced in Winter 2023 by a permanent solution.