How to: Schedule LS Forecast Calculation

LS Forecast can be set up to calculate forecasts periodically with scheduler jobs. The full process includes the following tasks:

  • Synchronization of Master data (LS Forecast Batches, LS Forecast Items, and LS Forecast Locations)
  • Forecast Calculation
  • Download of LS Forecast entries.

To set up calculation check timeout interval and timeout duration

  1. Click the icon, enter LS Forecast Setup, and select the relevant link.
  2. Fill in the relevant fields in the Calculation FastTab:
Field Description
Timeout Check Interval (Sec.) This field specifies the interval in seconds to repeat the check on whether the Forecast Calculation has been completed or not.
Calculate Forecast Timeout Duration (Min.) This field specifies the timeout duration in minutes for the Calculate Forecast task. When the processing time exceeds this value, the task will be considered as timed out.

To set up the Scheduler Job

  1. Click the icon, enter Scheduler Job List, and select the relevant link.
  2. Create a new scheduler job by clicking the New action or select an existing job.
  3. In the General FastTab, define the Job ID and Description.
  4. Select or create a new Scheduler Job Type Code.
  5. In the Object Setup FastTab, select Codeunit in the Object Type field and assign the Object No. with 10012332 (LS Forecast Calculation).
  6. Go to the Schedule Details FastTab, define the date and time when you would like the job to be executed. This includes Time Units, Time Between Check, Next Check Date, and Next Check Time.
  7. Click the icon, enter LS Forecast Batches, and select the relevant link.
  8. On the relevant LS Forecast Batch, assign the Scheduler Job ID field with the Scheduler Job you created in previous steps. You can assign the same Scheduler Job to multiple LS Forecast Batches, and they will be executed sequentially.

The synchronization of Master Data can be scheduled to run independently. This is useful if you want to run the synchronization task more frequently to minimize each synchronization workload.

All forecast calculation details are logged into the LS Forecast Calculation Logs.

It is possible to prevent LS Forecast calculation from exceeding the usage limit by setting up the LS Forecast calculation limit via LS Forecast Setup.

Note: For LS Forecast Batches with Forecast Bucket set to Weekly, the LS Forecast entries will be downloaded and broken down to daily entries based on the Weekly Sales Bucket Setup.

The following table describes a list of related tasks with links to the topics that describe them.

To See
Schedule the synchronization of the master data independently. How to: Schedule Master Data Synchronization
View the forecast results downloaded from LS Forecast. How to: View LS Forecast Entries
View the LS Forecast Calculation Logs. How to: View LS Forecast Calculation Logs
Set up LS Forecast calculation limit. How to: Set Up LS Forecast Calculation Limit
Learn more about Weekly Sales Bucket calculation. Weekly Sales Bucket Calculation

See Also

Basic LS Forecast Setup

LS Forecast