# Shift

<p class="doc-lead">A Shift defines a block of working hours with start time, end time, and optional break details. Shifts are assigned to employees through shift maps and week templates for attendance and payroll processing.</p>

<div class="doc-toc">
<p class="doc-toc-title">On this page</p>
<div class="doc-toc-section">
<span class="doc-toc-group-title">Getting started</span>
<div class="doc-toc-links">
<a href="#/hr/shift-setup?id=overview">Overview &amp; List View</a>
<a href="#/hr/shift-setup?id=quick-start">Quick Start</a>
</div>
</div>
<div class="doc-toc-section">
<span class="doc-toc-group-title">Form reference</span>
<div class="doc-toc-links">
<a href="#/hr/shift-setup?id=header-fields">Header Fields</a>
</div>
</div>
<div class="doc-toc-section">
<span class="doc-toc-group-title">More</span>
<div class="doc-toc-links">
<a href="#/hr/shift-setup?id=actions">Actions</a>
<a href="#/hr/shift-setup?id=best-practices">Best Practices</a>
<a href="#/hr/shift-setup?id=faq">FAQ</a>
<a href="#/hr/shift-setup?id=related">Related</a>
</div>
</div>
</div>

<hr class="doc-section-divider">

<h2 id="overview">Overview &amp; List View</h2>

The Shift list shows all defined shifts with their timings and break settings.

<img src="hr/images/shift.webp" alt="Shift list" loading="lazy">

<b>List columns</b>

| **Column** | **Description** |
|------------|-----------------|
| Id | Record ID. |
| Name | Shift name (e.g. Morning Shift, Night Shift). |
| Description | Brief description of the shift. |
| Start time | Shift start time. |
| End time | Shift end time. |
| Is break mandatory | Whether a break is required during this shift. |

<b>List row actions</b>

| **Action** | **Available when** |
|------------|-------------------|
| Edit | All |
| Delete | All |
| View | All |

<hr class="doc-section-divider">

<h2 id="quick-start">Quick Start — Create a Shift</h2>

<h3>1. Navigate</h3>
Go to <b>HRMS → Shift Schedule → Shifts</b>.

<h3>2. Create new shift</h3>
Click <b>New</b>.

<img src="hr/images/shift-new.webp" alt="New Shift" loading="lazy">

<h3>3. Fill in details</h3>
<ul>
<li>Enter <b>Name</b> and <b>Description</b>.</li>
<li>Set <b>Start time</b> and <b>End time</b>.</li>
<li>If breaks are required, check <b>Is break mandatory</b> and enter break start and end times.</li>
</ul>

<h3>4. Save</h3>
Click <b>Save</b>.

<hr class="doc-section-divider">

<h2 id="header-fields">Header Fields Reference</h2>

| **Field** | **Description** |
|-----------|-----------------|
| Name * | Shift name. |
| Description | Purpose or type of the shift. |
| Start time | When the shift begins. |
| End time | When the shift ends. |
| Is break mandatory | Yes or No. When Yes, break times are required. |
| Break start time | Start of the mandatory break. Shown when break is mandatory. |
| Break end time | End of the mandatory break. Shown when break is mandatory. |

<hr class="doc-section-divider">

<h2 id="actions">Actions</h2>

<h3>View toolbar actions</h3>

| **Action** | **Description** |
|------------|-----------------|
| Edit | Opens shift for editing. |
| Delete | Permanently removes the shift. |
| Clone | Creates a copy. |
| Print | Prints shift details. |

<hr class="doc-section-divider">

<h2 id="best-practices">Best Practices</h2>

<ul>
<li>Create shifts before assigning them through <a href="#/hr/employee-shift-map">Employee Shift Map</a> or <a href="#/hr/employee-shift-week-template">Employee Shift Week Template</a>.</li>
<li>Enable break details for shifts where labor regulations require rest periods.</li>
<li>Use descriptive names (e.g. "Morning 8-4", "Night 10-6") to avoid confusion in shift maps.</li>
</ul>

<hr class="doc-section-divider">

<h2 id="faq">FAQ</h2>

<b>Can one employee have different shifts on different days?</b><br>
Yes. Use <a href="#/hr/employee-shift-map">Employee Shift Map</a> to assign different shifts per date, or <a href="#/hr/employee-shift-week-template">Employee Shift Week Template</a> for a repeating weekly pattern.

<b>Does the shift affect attendance automatically?</b><br>
Yes. When attendance is generated, shift in/out times are loaded from the assigned shift for that date.

<b>What is break time on a shift?</b><br>
Optional break in/out windows used when break entry is enabled on attendance — compare actual breaks to scheduled shift breaks on reports.

<b>Can overnight shifts cross midnight?</b><br>
Yes. Set out time on the next calendar day when defining the shift — attendance generation uses the assigned shift block for that date.

<b>Should salaried staff use Shift or Time Slot?</b><br>
Salaried employees with fixed weekly hours typically use <a href="#/hr/time-slot">Time Slot</a>. Shifts are for variable labour schedules via shift maps.

<b>Can I clone a shift to create a variation?</b><br>
Yes. Use Clone on the shift view, adjust times, then assign the new shift in maps or templates.

<hr class="doc-section-divider">

<h2 id="related">Related Topics</h2>

<ul>
<li><a href="#/hr/shift-schedule">Shift Schedule</a> — overview of shift scheduling features.</li>
<li><a href="#/hr/employee-shift-map">Employee Shift Map</a> — assign shifts to employees by date.</li>
<li><a href="#/hr/employee-shift-week-template">Employee Shift Week Template</a> — weekly shift patterns.</li>
<li><a href="#/hr/time-slot">Time Slot</a> — fixed weekly work schedules for salaried employees.</li>
</ul>
