Defining an organization’s calendars
You can define an organization’s working calendar. A working calendar is a span of dates for a defined period for which you can define any working shifts (for example, Day Shift, Night Shift), exception shifts (for example, extra shifts on the last day of the month for performing inventory stock), and exception days (for example, Fourth of July, New Years Day).
A node or an organization can choose its calendars as well as the calendars of its primary enterprise as its business calendar, shipping calendar, or receiving calendar.
A node or an organization can also inherit calendar definition from its primary enterprise when creating calendars. If a calendar is inherited from another calendar, the parent calendar’s components such as Effective Periods, Shifts, Calendar Day Exceptions, and Exception Shifts can be used by the child calendar during runtime. This implies that the inherited calendars cannot specify their own effective periods or shifts. However, a child calendar has the ability to specify its own set of Calendar Day Exceptions and Exception Shifts. These are used in conjunction with the parent calendar’s components while retrieving the day details of the child calendar during runtime.
The following limitations are assumed when inheriting calendars:
- A calendar of an organization or a node can only be inherited from a calendar of the primary enterprise and from its own calendar.
- The parent calendar cannot be an inherited calendar.
- An inherited calendar is not allowed to change to a non-inherited calendar and vice-versa.
- An inherited calendar is not allowed to specify its own effective periods and standard shifts.
- If a calendar is inherited from another calendar:
- only Calendar Day Exceptions and Exception Shifts can be defined for the inherited calendar.
- the exception dates must fall under one of the effective periods of the parent calendar. Moreover, the start time and end time of the exception shifts must match the start time and end time of a shift within that effective period.