Scheduler PM Forecasting in L2L Analytics

Last updated: November 23, 2026

This article explains how L2L Scheduler generates future PM occurrences and how to build a reliable forecast in L2L Analytics without conflicting with Scheduler logic.

When future PM occurrences are generated

For date-based schedules, L2L projects future occurrences forward using the site setting # Days To Project Schedules. This is the rolling forecast horizon for Scheduler-generated occurrences.

  • The default horizon is commonly 400 days.

  • Some sites use a different value, such as 375 days.

  • The horizon is measured from the site's current local date.

  • Scheduler extends this projection on its regular nightly processing.

How schedule type affects future occurrences

Fixed interval schedules

Fixed interval schedules keep the schedule anchored to the planned cadence.

  • Completing a PM does not shift future occurrences.

  • A monthly PM scheduled for a specific day stays on that recurring pattern.

  • Future occurrence rows generally remain stable unless the schedule itself is edited or rebuilt.

Floating interval schedules

Floating interval schedules recalculate from the actual completion date.

  • Completing a PM can cause future occurrences to be deleted and recreated under new IDs.

  • This is expected behavior because the next due date is recalculated from the last completion.

  • If you are reporting over time, do not assume an occurrence ID will remain stable for an unlaunched future row.

Cycle-based schedules

Cycle-based schedules do not naturally have a calendar-date anchor.

  • Future occurrence rows are generally not created the same way as date-based schedules.

  • If you need estimated future dates, use Scheduler Predictions.

  • Estimated cycle-based dates rely on production history or expected cycles per day rather than the normal projected occurrence logic.

What causes future occurrences to be created, updated, rescheduled, or removed

Future occurrence rows can be rebuilt when Scheduler recalculates the plan. Common causes include:

  • completing a floating-interval PM

  • editing schedule settings or schedule dates

  • resuming a suspended schedule

  • importing schedule changes

  • nightly horizon extension

Launched and completed occurrences are much more stable. Unlaunched future rows are best treated as the current plan, not as permanent records.

Best source for forecasting in L2L Analytics

For Scheduler-based PM forecasting in Analytics, use the occurrence table as your primary source:

  • event_schedule_machine_occurrence = the current projected occurrence plan

Use related tables to add stable business context:

  • event_schedule = the schedule definition

  • event_schedule_machine = the schedule-to-machine assignment

  • occurrence_type = names such as monthly, semi-annual, or annual

Recommended forecasting approach

Treat each Analytics refresh as a fresh snapshot of the current Scheduler plan.

  • Do not accumulate future rows by occurrence ID.

  • If you compare one refresh to another, match using a stable business key such as:

    • eventschedulemachine_id

    • the scheduled date

  • Include all relevant occurrence types when forecasting workload.

  • Exclude predicted rows if you want only Scheduler-generated date-based occurrences, or report them separately.

How to tell what state an occurrence is in

A practical pattern is:

  • Unlaunched / open future occurrence: dispatch_id is null

  • Launched occurrence: dispatch_id is populated

  • Completed occurrence: completed is populated

There is no dedicated cancelled status for occurrences in this workflow.

Timestamps and refresh behavior

Be careful with time zones when building Analytics datasets.

  • scheduled, due, and completed are stored in the site's local time.

  • created and lastupdated are stored in UTC.

  • Analytics data refreshes nightly.

  • Charts may remain cached for up to about six hours.

If your SQL session appears to operate in UTC, convert or interpret site-local timestamps consistently before assigning PMs to reporting periods.

PM materials and labor planning notes

For PM-specific spare-parts forecasting:

  • start from the schedule occurrence type's kit template

  • join from event_schedule_occurrence_types.kit_template_id to kit_template_parts

  • do not use the machine BOM as a substitute for PM-specific requirements

For labor planning:

  • estimated hours reflect the PM task estimate stored on the schedule or occurrence type

  • per-assignment technician/resource requirements may not be fully available in Analytics data for forecasting today

Important limitation beyond the projected horizon

Beyond the configured projection horizon, Scheduler may not yet have generated date-based occurrence rows.

If you need visibility farther out than the projected horizon:

  • use current occurrence rows inside the horizon as the system-of-record plan

  • project beyond that point from the schedule interval logic

  • treat those longer-range projections as analytical estimates, not Scheduler-generated occurrences

Summary

If you are building a rolling PM forecast in L2L Analytics:

  1. use event_schedule_machine_occurrence as the current plan

  2. expect floating schedules to rebuild future rows

  3. use stable schedule-level keys instead of future occurrence IDs

  4. handle cycle-based forecasting separately from date-based schedules

  5. account for site-local timestamps and nightly refresh behavior

If you also use Scheduler Predictions for cycle-based PMs, keep predicted dates separate from standard Scheduler-generated occurrences so your reporting stays clear.