The application of Pay Rules involves the processing of ATTENDANCE data to compute Regular, Overtime, and Double Time hours. The Pay Rules are retrieved from the employee's home Pay Rule as defined in EMPLOYEE_FACILITY.PayRule.
The daily calculations involve the items described below.
The daily Work Shift and Work Period rules are retrieved from the ATTENDANCE record from one of the sources below, in the following order:
The attendance record is adjusted for start (early, late) and stop (early, late) variances. If the Pay Rule’s Use Shift Windows attribute is true (1), the variances are read from the Work Shift. If the Use Shift Window attribute is false (0), the variances are read from the Work Period.
The attendance break record is adjusted for start (early, late), and stop (early, late) variances. If the Pay Rule’s Use Shift Windows attribute is true (1), the variances are read from Work Shift Break. If the Use Shift Windows attribute is false (0), the variances are read from the Work Period Break.
The attendance record is adjusted for the Clock Tick setting. Time stamps (start, stop) are adjusted backward based on the Clock Tick setting. A Clock Tick is the number of minutes that must pass before the clock advances. If the Clock Tick is set to 6 minutes, all times will fall on 6 minute increments (e.g., 07:00, 07:06, 07:12, 07:18, etc.).
The attendance break record is adjusted for the Clock Tick. Time stamps (start, stop) are adjusted backwards based on the Clock Tick setting. A Clock Tick is the number of minutes that must pass before the clock advances. If the Clock Tick is set to 6 minutes, all times will fall on 6 minute increments (e.g., 07:00, 07:06, 07:12, 07:18, etc.).
The total hours for each attendance is calculated here.
Total Hours = (adjusted stop time – adjusted start time) – total break hours:
Daily Overtime rules are applied to the attendance records for the Payday. If an attendance record has Calculation Overridden set to true, the record’s hours will not be recomputed. However, if the Pay Rule’s Include Override in Calculations attribute is true (1), the attendance record’s hours will be used for computing other attendance records for the day.
The Pay Period calculations involve the following items: