The discrepancy is not caused by an error in the production calendar, but by the fact that the program, when calculating working days, primarily relies on the employee's work schedule rather than the production calendar. Even if the production calendar is filled in correctly, an incorrect or inconsistent work schedule (or holiday schedule) will override its data.
What to check
Please note: production calendar accounting gives priority to the work schedule. Therefore, you need to check:
- the holiday schedule — whether it correctly reflects the weekends and holidays of May;
- the employee's work schedule (or the work schedule assigned to the department/organization) — whether it matches the production calendar and does not contain discrepancies by day.
If the days in the work schedule are set differently from the production calendar, the system will use the schedule, and the final number of working days will be incorrect — as in your case with 18 days.
How to fix it
Find the work schedule being used, compare it month by month with the production calendar for May, and bring any discrepancies into alignment — both in the work schedule itself and in the holiday schedule, if it is used separately. After the data is synchronized, the recalculation will show the correct number of working days.
Frequently Asked Questions
Why doesn't the production calendar directly affect the calculation if it is filled in correctly?
Because the system gives priority to the work schedule. The production calendar is used as the basis for generating schedules, but if a schedule is created or edited separately and does not match the calendar, the schedule is applied instead.
Do I need to fix both the holiday schedule and the work schedule, or is one enough?
You need to check both — the holiday schedule and the employee's work schedule — since the discrepancy may be in either one or in both at the same time.
