Shift Type
Shift Type
You can define auto attendance for the shift and designate the different shift types in your organization via the Shift Type document.
- Auto attendance records attendance using Employee Check-in records for employees scheduled for a shift.
Type the start time, end time, and shift name
Save Shift Type

The Shift Type document has settings for auto attendance, as well as for specifying the different shifts within your company.
According to data in the "Employee Checkin" Document, auto attendance marks the attendance of the employees covered by this shift.
- Auto attendance is attempted each hour for all shift type records. By clicking the "Mark Attendance" button on the shift type document, you can also manually initiate the auto attendance for one shift type.
Auto Attendance Settings

1. Straightforward Configuration
Start Time: The time of day at which this shift starts. The time should be entered in 24-hour format.
End Time Time of day when this shift ends. Enter the time in 24-hour format.
Holiday List Select which holidays this shift is subject to here. If left blank, the company document or employee master default holiday list will be used. No attendance is recorded by the scheduler on holidays.
Enable Auto Attendance With their Employee Checkin history, you can employ this feature to automatically mark attendance for the staff allocated to this shift.
Note: The shift is assumed to be a night shift that starts on one calendar day and ends on the next day if the "End Time" is earlier than the "Start Time."
2. Auto Attendance Settings
To adapt Auto Attendance to your requirements, you can apply the following settings:
Determine the check-in and check-out times: This option determines how the auto attendance system processes your check-in records.
Entries during the same shift are alternately taken as IN and OUT: IN is one entry, OUT is the next, IN is the next, and so on. There might not always be an employee check-in IN/OUT log type.Log Type is not always returned by biometric devices. You can utilize this option in such cases.
Dependent only on the log type in the employee check-in The "Log Type" within the Employee Checkin record is the only driver to determine if the check-in is IN or OUT. If the logs being recorded in Frappe HR have precisely the same log type, this should be utilized.
Calculation of Working Hours Based on:
One of the ways to calculate working hours is by adding or subtracting the breaks that take place between shifts.
The following settings can be applied to adjust this:
Initial Check-in and Final Check-out: If you want to include breaks or all out/in entries in your working hours, use this option. By selecting this option, the working hours are computed considering the employee's first IN and last OUT check-in times for the shift. The real working hours are set as the time difference between the two.
For working hours purposes, the initial employee check-in is considered IN and the final employee check-in OUT if the IN/OUT is set by toggling entries.
Every single valid check-in and check-out:
By selecting this option, the employee check-out time is excluded.
That is, working hours are established based only on the check-in time of the employee.
Begin checking a few minutes before the shift: Workers would often check in a few minutes before the beginning of their shift. You can set this value to consider these check-ins when you're calculating work hours and logging attendance.
Allow check-out after the shift end (in minutes) Employees would often check out once their shift had ended. You can set this value to include these check-outs in attendance calculation for the shift.
Mark Auto Attendance on Holidays If auto attendance is active, it will be marked on holidays if there is employee check-in on that day. Auto attendance is skipped automatically on holidays.
Half Day Working Hours Threshold: Employee presence is marked as "Half Day" if the actual working hours are below the value in this field. You should enter 0 here if you never wish to flag half days based on working hours.
Threshold for Working Hours to be Absent Attendance is recorded as "Absent" if the actual working hours are below the value set in this field. You can set this value to zero if you never want anyone to be marked absent based on working hours.
Attendance at Process After: The date that "Auto Attendance" should start recording attendance. It should be put in the date that your employee check-in records for this shift are due.
Last Sync of Checkin This is the most recent time that records of employee check-ins have been synced.
When the Employee Checkin Records are created, the script or individual (in case of manual entry) will have to update this field. This timestamp will be refreshed for you automatically if you sync your logs using the sync tool and have your logs pushed automatically to Frappe HR. This would be done at a time and date consistent with the Employee Checkin.
Checkin: In the case of having a single biometric device or checking in through a mobile app, you can have the system automatically update your last check-in and avoid scripting or manual updating of timestamps.
3. Late Entry and Early Exit Configurations of Auto Attendance
Enable Late Entry Marking: Selecting this option marks attendance records with late entry when an employee is arriving more than is allowed.
Late Entry Grace Period: This applies a grace period in minutes to the Shift Start Time during which entries are deemed late.
Allow Early Exit Marking: This feature marks attendance records as Early Exit if the employee's out time is below the permitted out time.
Early Exit Grace Period: An additional grace period of minutes is provided before marking exits as early.