--- alias: user-guide-calendar-index description: "A calendar defines operational schedules, shifts, and reporting dimensions within a manufacturing system" --- # Calendar :lock: Calendar.**Show** ## Overview A **Calendar**, in the context of Critical Manufacturing, refers to a company fiscal or reporting calendar and it is used to map civil calendar days and times to the company calendar operational and reporting structures. A **Calendar** defines the year start day, the day start time and the default working shift for each day of the week. A **Calendar** is associated to a set of **Calendar Days**, which provide specific instantiations for each day. Each **Calendar Day** defines the **Shift Definition** for that day as well as the Team that works in each *Shift Definition Shift*. Each **Facility** can be associated to a default **Calendar** and each **Area** has its own attached **Calendar**. An **Employee** and a **Team** are associated with a **Calendar**. A **Calendar** can be marked as being an *Enterprise wide reporting dimension*, which means that date for all areas will be consolidated at day, week, month, quarter and year level for that **Calendar**. In the **Calendar**, it is possible to define the Time Zone, and this setting will later be used to find the timezone details and apply date conversions accordingly. !!! info All dates are stored internally as UTC (coordinated universal time) dates. ## Tying Everything Together ```mermaid graph LR A6[Shift Definition] --- Main[Calendar] A6 ---- L1[Calendar Day] A1[Shift Plan] --- Main A3[Facility] --- Main A4[Employee] --- Main A5[Area] --- Main Main === L1 === L2[Calendar Day Shift Definition Shift] A2[Team] --- Main A2 --- L2 classDef mermaid_title color:#000, fill:#fafafa, stroke:#fafafa, stroke-width:0x, font-size:100%, font-weight:200; classDef mermaid_start color:#000, fill:#fafafa, stroke:#fafafa, color:#fafafa, stroke-width:0x, font-size:100%, visibility: hidden; classDef mermaid_businessdata color:#000, fill:#65CDE8, stroke:#65CDE8, stroke-width:0px, font-size:100%; classDef mermaid_nonbusinessdata color:#000, fill:#B7DEE8, stroke:#B7DEE8, stroke-width:0px, font-size:100%; classDef mermaid_entity color:#000, fill:#FB9F53, stroke:#FB9F53, stroke-width:0px, font-size:100%; classDef mermaid_entitylinked color:#000, fill:#FCD5B5, stroke:#FCD5B5, stroke-width:0px, font-size:100%; classDef mermaid_context color:#000, fill:#B9CDE5, stroke:#B9CDE5, stroke-width:0px, font-size:100%; classDef mermaid_optional color:#000, fill:#B7DEE8, stroke:#65CDE8, stroke-width:1px, font-size:100%, stroke-dasharray: 5 5; class Main mermaid_entity class A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 mermaid_businessdata class L1,L2,L3,L4,L5,L6 mermaid_entitylinked class C1,C2,C3,C4,C5,C6 mermaid_context class N1,N2,N3,N4,N5,N6 mermaid_nonbusinessdata click Main "../../business-data/calendar" click A1 "../../business-data/shift-plan" click A2 "../../business-data/team" click A3 "../../business-data/facility" click A4 "../../business-data/employee" click A5 "../../business-data/area" click A6 "../../business-data/shift-definition" ``` ## Sequence Of Steps The necessary steps for correctly configuring and using a Calendar are the following: 1. Create any desired default **Shift Definitions**. 2. Create the **Calendar**. 3. Associate the **Shift Definition** with the **Calendar**. 4. Generate the **Calendar Days** for the **Calendar**. !!! info The generation of **Calendar Days** is a recurring administration task which must not be forgotten. {{ generate_index() }}