Shift Code

Shift Code is under Master.

The Shift Code in HRPro is used to define and label specific work shifts within the organization. Each shift code corresponds to a set of working hours, allowing you to easily assign and manage shifts for employees. This feature helps in organizing work schedules, ensuring coverage, and simplifying payroll calculations based on the different shift timings.

Shift Code: Defines the shift plan for a work day, including work times, meal times, rest times, etc. Used with the roster table to set the monthly work schedule. Calculates attendance metrics like late arrivals, early departures, worked hours, absences, etc. Options are similar to Global Working Hours.

Active: To deactivate an obsolete Shift Code, uncheck the "Active" checkbox.

Description: The description of this Shift Code.

Shift Type: Defines whether a rest day is a paid day (depending on daily salary) or an unpaid day off.

Colour: Used for display purposes in the Roster Enquiry and Event Calendar in the Employee Portal.

Working Hours Settings

Work Time

Work Time is to define the Work Schedule for Start Time and End Time. 

Work In Time: The time when the employee begins their work shift.

Work Out Time: The time when the employee ends their work shift.

(The times in the Working Hours settings follow a 48-hour rotation and use the format HH:MM. Here, HH ranges from 00 to 48 (e.g., 25 means 01:00 the next day), and MM ranges from 00 to 59.)

Meal Time

The Meal Time panel is available only when Enable Meal Time for Global Working Hours/Shift Code is turned on (in Master Setup).  

Meal Time Check Attendance: When it is checked, Meal In/Meal Out time is required (in the Attendance Record). When it is not checked, the meal times in the attendance record are for reference only and will not be used for attendance tracking. 

Include Meal Hours as Work Hours: When it is checked, the meal hour is included to calculated Worked Hours, OT Minutes and Meal Break Pay

Meal Break with Pay: This check box is only to calculate Meal Break Pay in Below Minimum Wage Report and Hourly Wage Report.

Meal Out Time: The time when the employee begins their meal break and stops working.

Meal In Time: The time when the employee finishes their meal break and resumes working.

Rest Time

The Rest Time panel is available only when Enable Rest Time for Global Working Hours/Shift Code is turned on (in Master Setup).  

Rest Time Check Attendance: When it is checked, Rest In/Rest Out time is required (in the Attendance Record). When it is not checked, the rest times in the attendance record are for reference only and will not be used for attendance tracking. 

Include Rest Hours as Work Hours: When it is checked, the rest hour is included to calculate Worked Hours, OT Minutes and Rest Break Pay

Rest Break with Pay: This check box is only to calculate Rest Break Pay in Below Minimum Wage Report and Hourly Wage Report.

Rest Out Time: The time when the employee begins their rest break and temporarily stops working.

Rest In Time: The time when the employee finishes their rest break and resumes working.

Leave day count

The "Leave Day Count" option calculates leave days when you click the "Calc" button in the Leave application or Leave Entry:

For a normal day shift, it is typically set to 1 leave day.

Paid day count (when Daily Salary based on Roster Normal Days*)

The "Paid day count" option calculates the daily rate for monthly rate employees when the Paid Days are set to Roster Normal Days* (refer to the "Daily Salary based on" explanation). 

This setting has no effect if the Paid Days are not set to Roster Normal Days.

Working Hours

Daily Working Hours/Meal Hours are calculated from the above Work Time/Meal Time/Rest Time.

Overtime

Overtime Calculation

No Overtime Calculation: When it is turned on, the OT minutes in the Attendance Record for this Global Working Hours is always zero. 

Applies to OT Pay: When it is turned off, the OT Hours in the payroll record are always zero even if the OT minutes in the attendance Records are not zero.  

OT Hours based on Worked Hours - Regular Hours: When it is turned off, OT Hours is the time difference between the actual work-out time and the scheduled work-out time. If the option is turned on, OT Hours = Worked Hours– Regular  Hours

The Regular  Hours are the Working Hours (defined in Global Working Hours/Shift Code) of the day that the employee is supposed to attend (excluding Leave Time, if the date is taken leave, Scheduled Working Hours = 0)

Where Worked Hours is the time difference between the actual in-time and actual out-time (assumed lunch in/out time is on time) but consider the option OT Hours included Early-Work OT.

Overtime rounding

Minimum Overtime

Maximum Overtime

Deduct Meal Time

If the rule For workday overtime, deduct the meal time from overtime hours if the overtime hours are more than (0 for no deduction) is set (e.g., 6 hours), then the Meal Time (e.g., 1 hour) will be subtracted from the overtime hours if the employee works more than 6 hours of overtime (e.g., if they work 7 hours, the OT Hours become 6 hours, and OT Pay is calculated based on 6 hours). If the Meal Time cannot be defined on a non-normal day, it is assumed to be 1 hour. 

OT Rate

O.T. Type is to define the OT Rate of this shift. 

If it is Employee Default, OT Rates (Workday, Rest day, SH, PH -SH) depend on the Shift Type of this Shift code. 

If it is Employee O.T. Type (Workday), Employee O.T. Type (Rest day), Employee O.T. Type (Saturday), Employee O.T. Type (SH), Employee O.T. Type (PH -SH), Employee O.T. Type (Callback), Employee O.T. Type 7 Description (e.g. Middle Shift) or Employee O.T. Type 8 Description. (e.g. Night Shift), if the employee worked overtime on this shift, the OT Rates are depending on the corresponding O.T. Type in Employee Master, Salary Info tab of the employee.

Other Settings

This page defines various properties including Late-In, Early Out and Short.

Late-In

If No Late-In Calculation is turned on, the Late-In Minutes in Attendance Record becomes zero. 

The payroll deduction applies only if the Apply Late-In Deduction is turned on. 

For the usage of If last day OT worked over (Hrs), see Global Working Hours

If Late-In is zero if In Time is equal to or later than the Scheduled Out time is checked, if the employee work-in time is on or after the scheduled out time (i.e. After-work work in), will not treat it as late in and the late-in minutes becomes zero. 

The options for Late-In Minutes rounding are

Early-Out

If No Early-Out Calculation is turned on, the Early-Out Minutes in Attendance Record becomes zero. 

The deduction in payroll is applicable only if the Apply Early-Out Deduction is turned on. 

The options for Early-Out Minutes rounding are

Short

If No Short Calculation is turned on, the Short Minutes in Attendance Record becomes zero. 

The deduction in payroll is applicable only if the Apply Short Deduction is turned on. 

The options for Short Minutes rounding are

Worked Hours

Worked Hours are the actual hours worked, as recorded by the In/Out times in the Attendance Record, that qualify for payment.

Flexible Working Hours

When defined, the following functions consider these settings,

For example, assuming the regular In-time is 09:00, the Earliest In Time is 08:00 and daily working hours are 8. If an employee takes leave from 08:00 to 10:00, the system counts 2 hours ÷ 8 hours = 0.25 days.

For example, assuming the regular In-time is 09:00, the Latest In Time is 10:00. If an employee's work-in time is 10:30, the system counts 30 minutes late.

For example, assuming the regular Out-time is 18:00, the Earliest Out Time is 17:00. If an employee's work-out time is 16:30, the system counts 30 minutes early out.

For example, assuming the regular Out-time is 18:00, the Latest Out Time is 19:00. If an employee's work-out time is 19:30, the system counts 30 minutes of overtime. 

Leave them blank if it is not applicable.

Flexible Meal Time

When Meal Hours is Flexible is checked, the Meal hours to calculate worked hours is based on the Meal Time Duration (Hrs) (i.e. If Meal Time is less than Meal Time Duration, use Meal Time Duration). Meal-out time and Meal-in time defined in the Working Hours Settings tab are for Meal Late-In and Meal Early-out purposes.  

Flexible Rest Time

When Rest Hours is Flexible is checked, the Rest hours to calculate worked hours is based on the Rest Time Duration (Hrs) (i.e. If Rest Time is less than Rest Time Duration, use Rest Time Duration). Rest out time and Rest in time defined in the Working Hours Settings tab are for Rest Late-In and Rest Early-out purposes.  

Others

When Not Absent is checked, even if the employee has no attendance for this shift, Attendance Record will not show the Shift as Absent. Which is good for As-Call employees. 

Attendance Allowance

The Attendance Allowance Formula is a User Definable Formula Field.  Please see How to define User-Defined Formula

If per day is selected, the total Attendance Allowance paid for the payroll period is the number of attended days in Attendance Records in the Attendance Period x the Attendance Allowance Formula

If per hour is selected, the total Attendance Allowance paid for the payroll period is the number of worked hours in Attendance Records in the Attendance Period x the Attendance Allowance Formula

In/Out Time Cut-Off Hour for Attendance Import

This panel is available when the Treat In/Out Time after In-Time Cut-Off Hour as the next day's attendance records when import or Treat In/Out Time before Out Time Cut-Off Hour as last day's attendance records when import (in Attendance Module Setup) is turned on. 

In Time Cut-Off Hour is defined as the time that is treated as the next day's attendance record during attendance import. e.g. If the Work-In is 22:01, it becomes the next day's attendance (because of the overnight shift). 

See What is "Treat In/Out Time after Check-In Cut Off Hour as next days' attendance records when import"? 

Out Time Cut-Off Hour is defined as the time that is treated as the previous day's attendance record during attendance import.  e.g. If the Work-Out is 26:00, it becomes the previous day's attendance (because of the overnight shift or overnight overtime). 

See What is "Treat In/Out Time before Check-Out Cut-Off Hour as last days' attendance records when import"? 

For Enable Shift Differential Pay for Daily Rate Employee

See Enable Shift Differential Pay for Daily Rate Employee Explanation to see how to define different Daily Rates for different shifts. 

For Enable Shift Differential Pay for Hourly Rate Employee

See Enable Shift Differential Pay for Hourly Rate Employee Explanation to see how to define the different hourly rates for different shift sessions.

Attendance Record Scan Range

This panel is available when Enable Scan Range for Global Working Hours/Shift Code in Master Setup, General tab, and Master Management panel is turned on. 

If applicable (depending on the In Out Mode of Attendance Import), these scan ranges are to determine whether the time read from the attendance device is In Time, Out Time, Meal In Time, or Meal Out Time. etc.