Work Shifts
In this routine, work shifts are registered, corresponding to the working hours of the employees.
Typical office working hours may be: 9:00 13:00 14:00 18:00, i.e, arrival at 9 AM., lunch break from 1 PM to 2 PM, and departure at 6 PM.
Work shift data are used for calculations pertaining to Payroll, Prepayment, Vacation, Termination, shift premium, among others, used in the Personnel Management.
Work shifts determine the length of the workday, i.e., the number of hours to be worked in a given period of time.
For example:
An eight-hour workday means that the employee must work for eight hours per day.
Workdays may be carried out in different shifts, as per the examples below, which illustrate an eight-hour workday in three different shifts:
| Shifts/Time | Clock in | Interval | Clock out | |
| 1st Shift | 7:00 | 11:00 | 12:00 | 16:00 | 
| 2nd Shift | 8:00 | 12:00 | 13:00 | 17:00 | 
| 3rd Shift | 9:00 | 13:00 | 14:00 | 18:00 | 
The shifts are classified in:
| • | Ordinary work day: The maximum of hours from the original agreement the employer demands from the employee per day or week, according to article 58 from Costa Rica Political Constitution, the articles 88, 135 and the following Labor Code from Costa Rica and the article 88 from Code of Childhood and Adolescence. | 
| • | Extraordinary work day: Corresponds to the time worked by the collaborator out of the ordinary shift or free day. | 
| • | Partial work day: The compensation is proportional to the time worked, that is, part time or a quarter of the period; in this case, 50% or 25% from the salary is waived. | 
The payment per hour is determined according to the worked hours. In the Shift table, the hours per shift are calculated, instead of indicating whether it is night, mixed or daily shift.
| Key | Description | Hours per Day | Hours per week | Notes | 
| 01 | Day | 8 | 48 | 
 | 
| 02 | Mixed Afternoon -> Night | 7 | 42 | 
 | 
| 03 | Mixed Night -> Day | 7 | 42 | 
 | 
| 04 | Night | 6 | 36 | 
 | 
| 05 | Part-time | 4 | 20 | 8:00 to 12:00 | 
The Work Shifts register is divided in folders, as follows:
| • | General | 
| • | Payroll Information | 
| • | Attendance Information | 
General
It displays the data of the work shift code and its respective description.
Example:
Shift: N01
Description: Night 01 - 18:00 to 05:30
Mandatory completion are fields.
Payroll Information
This tab displays data referring to payroll information, such as the number of hours worked in the shift, rest hours etc.
For the calculation of the Transportation Allowance, data completed in the Shift register (SR6 table) were used, according to the shift registered for the employee, and if it did not exist, data completed in the Periods related to Shift register (RCF table) were used.
For Microsiga Protheus® version 12, data completed in Periods register (RCF and RCG tables) are used in order to improve the calculation of days to use the transportation allowance, considering the admission, vacation, absences and leaves date.
| • | Regular Hours: enter the number of worked hours by the current month shift employees. | 
| • | Resting Hours: enter the number of resting hours the employees from the shift are entitled in the current month. | 
Attendance Information
This tab contains information which defines the Default Schedule Table and the annotations to the Electronic Attendance Control.
The Default Schedule Table uses this information to determine the time limits of records pertaining to a given day and to determine the use of reduced hour for night shift, when calculating the number of hours worked and intervals.
Annotation uses the following information:
| • | Hour Before: you must enter the number of hours that, if you subtract from the Table arrival, it establishes a limit for employee arrival in the company. | 
| • | Hour After: you must enter the number of hours that, if you add to the Table exit, it establishes a limit for employee arrival in the company. | 
| • | 1st S. Spare Time: It determines that the first absence of the week is converted into paid weekly rest. | 
| • | Ninth Hour: It determines that the minutes of the first overtime hour are annotated as ninth hour. This field's content is used as start value for registering the Default Schedule Table. | 
| • | Only Shift Premium It determines that, for calculating nighttime hours, the minutes complementing the reduced hour are annotated in as an independent event. | 
| • | Regular OT Tp.: It determines the default content for the type of day overtime hours to be used when registering the Default Schedule Table. | 
| • | Night OT Tp.: It determines the default content for the type of night overtime hours to be used when registering the Default Schedule Table. | 
| • | Vac. OT Authorization: It determines whether the employee may work overtime during vacation time. When Yes is selected, the rules for authorizing overtime are taken into account in the annotation referring to the employee's vacation period. | 
| • | Night Time Start and Night Time End: Defines night time period. | 
| • | Min. Night Time: It determines the minutes corresponding to night time and its use to calculate absences, delays and overtime during night time. The completion is mandatory. | 
| • | Auto Rec. D.n.W.: It generates automatic records for days not worked. | 
| • | Opt. Shift: It registers alternative schedules to the default shift, so as to control optional shifts and those with schedules different from the ones determined in the shift changes. | 
For example:
Work shift for relief workers.
For the system to automatically identify these shifts, configure the MV_TNOOPC parameter.
| • | Wk Hr, Wk Hr Inter OT Tp and Wk Hr Int Day Tp: It defines the number of resting hours, establishes the type of days to be considered for calculating overtime and the respective table to be use to process inter-shifts (in the attendance control identifier 029A - Attendance Control Identifiers Table). | 
| • | Unit. Shift. Rec. - Registers and defines records for uninterrupted shifts. This field determines the odd amount of records of a day to be complemented with the next arrival record (usually, the next day's). | 
For example:
For the 24 X 24 uninterrupted shifts, when the employee works overtime in such a way that the last record is beyond the day's limits, it is normally considered the arrival record of the following day, in which case the previous day gets an odd number of records.
With this field's setting, it is possible to determine that the last record is indeed considered as the workday's departure.
| • | Night Increase Id.: This field indicates the night increase is displayed in a specific event. To do so, the Only Night Inc. field must be filled out with S. | 
Requirements
Before adding work shifts, the following parameters must be configured:
| • | MV_HORMAIS - It determines the number of hours (between 00.00 and 12.00) which is added to the departure time so as to determine the maximum departure limit for the employee. | 
| • | MV_HORMENO - It determines the number of hours (between 00.00 and 12.00) which is subtracted from the arrival time so as to determine the minimum arrival limit for the employee. | 
| 
 Uninterrupted shifts are handled differently by the system and, thus, its fields and parameters are to be configured in the Electronic Attendance Control module. | 
Procedures
Registering work shifts:
| 1. | In Work Shifts, select Add. | 
| 2. | Fill in the data according to the field help instructions. | 
| 3. | Check data and click Save. | 
| 
 To delete a work shift, check if there are no references to it in the Employee Register. | 
Parameters
Tables
| • | SP9 - Events | 
| • | SR6 – Work Shifts | 
See Also
To consult the data of this process, see table SR6 - Work Shifts, in the General Register Query topic.
| • | Periods | 
| • | Clocks | 
| • | Records |