Attendance Variables
Daftra helps in accurately tracking employees’ attendance through dedicated attendance variables. These variables, such as sign-in, sign-out, shifts, and leave types, ensure accurate working hours and absence recording.
This helps streamline payroll processing, track productivity, and maintain compliance with company policies, all while reducing manual errors and saving time.
This guide introduces you to Daftra HR variables and their usage. Please contact our technical support team if you need assistance or would like to learn how to customize and direct these variables to meet your business needs.
Attendance Flags
Any attendance flag count:
It will display the occurrence of the flag within a specific attendance sheet period.
Any attendance flag amount:
The system will display formula calculations for a specific attendance flag.
Attendance Flags
Attendance Day Sign-In (Timestamp):
The system will evaluate the sign-in for the attendance day using a timestamp format.
Attendance Day Sign-In (Hours):
The system will evaluate the sign-in time for the attendance day using a 24-hour format.
Attendance Day Sign-Out (Timestamp):
The system will evaluate the sign-out for the attendance day using a timestamp format.
Attendance Day Sign-Out (Hours):
The system will evaluate the sign-out time for the attendance day using a 24-hour format.
Attendance Day On-Duty (Hours):
The system will evaluate the shift on-duty time for the attendance day using a 24-hour format.
Attendance Day On-Duty (Timestamp):
The system will evaluate the shift on duty for the attendance day using a timestamp format.
Attendance Day Off-Duty (Hours):
The system will evaluate the shift off-duty time for the attendance day using a 24-hour format.
Attendance Day Off-Duty (Timestamp):
The system will evaluate the shift off duty for the attendance day using a timestamp format.
Attendance Day Start of Sign-In (Hours):
The system will evaluate the start of sign-in time for the attendance day using a 24-hour format.
Attendance Day Start of Sign-out (Timestamp):
The system will evaluate the start of sign-out for the attendance day using a timestamp format.
Attendance Day Start of Sign-out (Hours):
The system will evaluate the start of sign-out time for the attendance day using a 24-hour format.
Attendance Day End of Sign-In (Hours):
The system will evaluate the end of sign-in time for the attendance day using a 24-hour format.
Attendance Day End of Sign-In (Timestamp):
The system will evaluate the end of sign-in for the attendance day using a timestamp format.
Attendance Day End of Sign-out (Hours):
The system will evaluate the end of sign-out time for the attendance day using a 24-hour format.
Attendance Day End of Sign-out (Timestamp):
The system will evaluate the end of sign-out for the attendance day using a timestamp format.
Attendance Sheet Expected Working Hours:
The system will calculate the expected working hours for the attendance sheet in hours format.
Attendance Sheet Actual Working Hours:
The system will calculate the actual working hours for the attendance sheet in hours format.
Shift Type:
This placeholder will be used in the condition of any flag or component, not the formula itself, as we have two types for each shift: “Standard” or “Advanced.”
Shift Type (Key):
This placeholder will be used in the condition of any flag or component, not the formula itself, as we have two types for each shift: “Standard” or “Advanced.”
Shift Name:
The placeholder will display the shift name and will be used in the conditions of flags and components, not in formulas.
Leave Policy Status:
- This variable is used only in the condition of the attendance rule or salary item, not in the calculation formula. It refers to the current condition or state of the leave policy, such as whether it is Active or Inactive.
When the status of the leave policy in the condition matches the status of the leave policy assigned to the employee through their shift (if the condition is part of the attendance rules) or through their contract (if the condition is part of the salary item), the calculation formula (the result of the condition) is applied.
Leave Policy Name:
A label or description for the leave policy. It can be used in the attendance rules or salary components conditions, but it is not used in calculation formulas.
(Leave Type) Total Leaves Taken:
This represents the total number of leaves an employee has taken under a specific leave type (e.g., vacation, sick leave).
(Leave Type) Total Leaves Taken Before:
This shows the number of leaves taken before a specific time for the type of leave you specify in the condition.
(Leave Type) Total Leaves After:
This shows the number of leaves taken after a specific event or time.
(Leave Type) Leaves Credit Before:
The system calculates the total available leave balance for the employee from each type of leave before accounting for the current attendance record leave.
(Leave Type) Leaves Credit After:
The system calculates the total available leave balance for the employee from each type of leave after accounting for the current attendance record leave.
Attendance Day Status:
- This variable is used only in the condition of the attendance rule or salary components, not in the formula (the result of the condition). It checks whether the attendance day status is: Present, Absent, or On Leave.
When the specified attendance day status in the condition matches the employee’s attendance day status assigned by their shift (if the condition is part of the attendance rules) or by their contract (if the condition is part of the salary component), the calculation formula (the result of the condition) is applied.
Attendance Day Status (Key):
- This variable is used only in the condition of the attendance rule or salary item, not in the calculation formula (the result of the condition). It checks whether the attendance day status is: present, absent, or on leave.
When the specified attendance status in the condition matches the employee’s attendance day status assigned by their shift (if the condition is part of the attendance rules) or by their contract (if the condition is part of the salary item), the calculation formula (the result of the condition) is applied.
Attendance Day Calculation Type:
- This variable is used only in the condition of the attendance rule or salary component, not in the calculation formula (the result of the condition). It checks whether the attendance calculation type is manual or automatic.
When the specified attendance calculation type in the condition matches the attendance calculation type assigned to the employee by their shift (if the condition is part of the attendance rules) or by their contract (if the condition is part of the salary components), the calculation formula (the result of the condition) is applied. The attendance calculation type is determined for each day individually, even in an attendance record generated for a while, such as a month.
Attendance Day Calculation Type (Key):
- This variable is used only in the condition of the attendance rule or salary components, not in the calculation formula (the result of the condition). It checks whether the attendance calculation type is manual or automatic.
When the specified attendance calculation type in the condition matches the daily attendance calculation type assigned to the employee by their shift (if the condition is part of the attendance rules) or by their contract (if the condition is part of the salary components), the calculation formula (the result of the condition) is applied. The attendance calculation type is determined for each day individually, even in an attendance record generated for a while, such as a month.
Attendance Day Early Leave:
This indicates if an employee leaves work earlier than the scheduled end time.
Attendance Day Attendance Delay:
How late an employee was when signing in for work compared to their scheduled time.
Attendance Day Leave Count:
- The system calculates the number of leave days deducted from the leave balance for a day of leave. One day of leave may equal two days, or the employee’s attendance may be partial, in which case a day of leave is counted as only half a day from the leave balance.
The condition is validated, and the ‘Attendance Flag‘ is displayed if the system’s total calculation of the days deducted from the leave balance in the attendance record meets the attendance condition.