---
title: "Troubleshooting “Calendar is not available before/after” Errors in Business Central"
app: "Graphical Scheduler"
section: "Troubleshooting"
last_updated: "2026-09-22"
url: "https://insight-works.com/kb/graphical-scheduler/troubleshooting-calendar-is-not-available-before-after-errors-in-business-central/"
---

# Troubleshooting “Calendar is not available before/after” Errors in Business Central

This article is intended to help troubleshoot the following errors:

> **Error when calculating backward. Calendar is not available before [Date] for Machine Center [Machine Center].**
>
>
>
> **Error when calculating forward. Calendar is not available after [Date] for Machine Center [Machine Center].**
>
>
>
> **Error when calculating backward. Calendar is not available before [Date] for Work Center [Work Center].**
>
>
>
> **Error when calculating forward. Calendar is not available after [Date] for Work Center [Work Center].**

These errors occur when Business Central cannot schedule the production operation because the required calendar does not cover the necessary date range.

These are base Business Central scheduling errors, they can occur when refreshing a production order, or when using planning tools such as Graphical Scheduler to drag and drop.

## Why This Happens

Business Central schedules production operations using the calculated calendars for Work Centers and Machine Centers.

If the required calendar has not been calculated far enough backward or forward, Business Central cannot determine when the operation can run.

This can also prevent a production order from refreshing successfully. If routing lines are not created, Graphical Scheduler has no production routing lines to display.

## Calculate the Work Center Calendar

1. In Business Central, search for **Work Centers**.
2. Choose **Calculate Work Center Calendar**.
3. Enter a **Starting Date** and **Ending Date** that cover the required production period.
4. Choose **OK**.

It is usually best to calculate enough calendar coverage before and after the expected production dates rather than using only the exact date shown in the error.

## Calculate the Machine Center Calendar

If the routing uses Machine Centers, calculate those calendars as well.

1. Search for **Machine Centers**.
2. Choose **Calculate Machine Center Calendar**.
3. Enter the appropriate **Starting Date** and **Ending Date**.
4. Choose **OK**.

After calculating the calendars, return to the production order and run **Refresh Production Order** again.

## Check the Shop Calendar

If the calculated calendars already cover the required date range, review the Shop Calendar assigned to the affected Work Center.

Check:

- Working days
- Shift start and end times
- Holidays
- Unexpected non-working periods

After changing the Shop Calendar, recalculate the Work Center and Machine Center calendars.

## Check Holidays and Absences

A holiday or resource absence can remove available capacity from a date range.

Review:

- Shop Calendar Holidays
- Work Center absences
- Machine Center absences
- Maintenance or downtime entered for the wrong dates

## Check the Date Shown in the Error

If the error references a date earlier than expected, Business Central may be scheduling the operation backward from the production order due date.

Routing values such as:

- Setup Time
- Run Time
- Wait Time
- Move Time
- Queue Time

can require an operation to begin earlier than the production order due date.

If the error date is much earlier or later than expected, review the production order dates and routing times before extending the calendar unnecessarily.

## Why This Can Make Graphical Scheduler Appear Empty

Graphical Scheduler displays production routing lines created by Business Central.

If refreshing the production order fails because of a calendar error:

1. Business Central cannot finish scheduling the production order.
2. Production routing lines may not be created.
3. Graphical Scheduler has nothing to display.

Resolve the Business Central calendar error first, refresh the production order, and then refresh or reopen Graphical Scheduler.

## Troubleshooting Checklist

1. Calculate the Work Center Calendar for the required date range.
2. Calculate the Machine Center Calendar for the same period.
3. Verify the assigned Shop Calendar.
4. Check Shop Calendar Holidays.
5. Check Work Center and Machine Center absences.
6. Review routing and queue times if the requested date looks unexpected.
7. Refresh the production order again.
8. Confirm that routing lines are created before troubleshooting Graphical Scheduler further.

## References

[Set up shop calendars – Microsoft Learn](https://learn.microsoft.com/en-us/dynamics365/business-central/production-how-to-create-work-center-calendars)

[Set up work centers and machine centers – Microsoft Learn](https://learn.microsoft.com/en-us/dynamics365/business-central/production-how-to-set-up-work-and-machine-centers)

[How to Visualize Work Center Capacity and Load in Graphical Scheduler](/kb/graphical-scheduler/how-to-visualize-work-center-capacity-and-load-in-graphical-scheduler/)
