How to: Schedule LS Recommend Calculation

To set up calculation check timeout interval and timeout duration

To set up the Scheduler Job

LS Recommend can be set up to calculate recommendations periodically with Scheduler jobs. The full process includes the following tasks:

  • Synchronization of master data (LS Recommend Batches, LS Recommend POS Terminals, and LS Recommend Items).
  • Recommendation calculation.
  • Loading of LS Recommend Batch.

To set up calculation check timeout interval and timeout duration

  1. Click the icon, enter LS Recommend 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 Recommendation Calculation has been completed or not.
Calculate Recomm. Timeout Duration (Min.) This field specifies the timeout duration in minutes for the Calculate Recommendation task. When the processing time exceeds this value, the task will be considered as timed out. This limit is applied for each batch's calculation and not the total processing time of all batches when they are run by one Scheduler job.

To set up the Scheduler Job

  1. Click the icon, enter Scheduler Job List, and select the relevant link.
  2. Click the New action to create a new Scheduler job, 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 10016258 (LSC Recomm. Calculation).
  6. Go to the Schedule Details FastTab, define the date and time for 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 Recommend Batches, and select the relevant link.
  8. On the relevant LS Recommend 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 Recommend Batches, and they will be executed sequentially. If the calculation of any batch fails, the job will write to the calculation log and move on to the next batch in the queue.

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 recommendation calculation details are logged into the LS Recommend Calculation Logs.

You can prevent LS Recommend calculation from exceeding the usage limit by setting up the LS Recommend calculation limit via LS Recommend 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 LS Recommend Calculation Logs. How to: View LS Recommend Calculation Logs
Set up LS Recommend calculation limit. How to: Set Up LS Recommend Calculation Limit

See also

Basic LS Recommend Setup

LS Recommend