Absences

This registry allows you to perform the maintenance of employees' leave. In this operation, if the leave month/year is the same as that of processing, the program updates the Employee Registry.
For this file, Absence Types must have been previously registered in the corresponding routine. Vacations, which are also a type of leave, are not included in this file. The corresponding records are automatically generated by the Calculation. |
OPERAND 1 |
OPERATOR |
OPERAND 2 |
RESULT |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Start Date |
Días_Hábiles |
End Date |
N |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Through this operator, the working days of a date range are obtained. In this module, 4 types of days are considered. Worked, Not Worked, Compensated, and Paid Weekly Rest (PWR). The working days are the only ones selected as worked and they are not in the calendar of holidays. For example: In a company, vacation is paid to all employees in the last week of December. However, only the working days can be considered vacation days.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Through this operator, the working days of a date interval concerning the payroll item in calculation are obtained.
For example, if the employee's vacation lasts several weeks with holidays among them, and if the salary or vacation is paid, vacation days must be defined in each period after each week payable. Considering that September 16, 2003 is a holiday and that the employee rests on Saturdays and Sundays, if the employees requests 10 days of vacation from September 11 on, vacation ends on September 23. Thus, 3 days of salary and 2 days of vacation must be paid in the first week; 4 days of vacation and 1 day of holiday must be paid in the second week; and 3 days of vacation and 2 days of salary must be paid in the third week.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{TODOS_LOS_DIAS} |
DIAS_DERECHO |
Date |
N |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{SIN_PROGRAMAR} |
DIAS_DERECHO |
Date |
N |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This operator calculates the remaining entitled days of the employee on a payroll item that validates these days. Such item is usually called vacation. Operator 1 TODOS_LOS_DIAS. Indicates to the operator DIAS_DERECHO that all remaining days must be calculated considering the scheduled ones, that is, even if they are not mentioned on the payroll. Example: Entitled days 10 SIN_PROGRAMAR Indicates to the operator DIAS_DERECHO that all remaining days must be calculated, however, deleting the scheduled days, that is, the ones not taken. Example: Entitled days 10 Operator 2 Date, transferable or auxiliary. End date to calculate entitled days. If a constant is captured, the format must be mm/dd/yyyy. For this payroll item, you do not need to indicate absenteeism reading in Payroll Items by Process. If indicated, the formula is repeated according to the number of absences in the period. Example: Using SIN_PROGRAMADOS Settlement: Enjoyed vacation 5 days for the absenteeism BALANCE. Paid vacation 3 days to be used in DIAS_DERECHO with SIN_PROGRAMADOS Propor. vacation x days to be used on the (re)hiring date due to seniority. Use the operator BUSCA_TABLAXXXX in days of vacation. Calculate the proportional days |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Example: For settlement payroll, get the days of vacation according to the service period plus one year (concerning the vacation to be expired, but not yet available). Add the days not taken and the scheduled/non-scheduled ones to these days in order to be paid.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Start Date |
DÍAS_FERIADOS |
End Date |
N |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This operator returns the number of holidays (SP3) in a date range. It is used to define the number of days of salary and holidays payable.
Example: Considering that the fortnight from 01/05 to 15/05 is paid.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This operator identifies the type of day for a specific date: S=Worked, D=Paid Weekly Rest, C=Compensated; N=NOT Worked. Example: In Costa Rica, if the payment is weekly, when an employee works on a holiday of NON-Mandatory Payment during a Working Day, the payment must be made in a simple way if longer than or equal to 8 hours, or 1.5 for the excess of 8 hours. When an employee works on a holiday of NON-Mandatory Payment during a PWR, the payment must be double.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Start Date |
HORAS_HABILES |
End Date |
N |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The operator DIAS_HABILES calculates the number of worked hours of a certain date range. Analyzes the standard time and defines the corresponding hours in a date range. If only one date is entered, the hours of this day are displayed. Even if the employee is absent, the day is still considered as a working day because it must have been worked. By analyzing the time, defines the hours of each day. For example, if Friday and Saturday are analyzed, and if only 4 hours are worked on Saturday, 12 working hours are considered. For the operator to work properly, configure the clock catalogs associated with the employee work period (shifts, working hours, time, type of days, and standard time) and make sure the employee has the fields of work period and sequence. Example 1: An employee works from Monday to Friday, from 8 am to 12 pm and from 1 pm to 5 pm, and on Saturdays from 8 am to 12 pm. Such employee has some leave due to disability from Thursday to Sunday. Define the working hours to be deducted for this absenteeism.
|
Formula Debug
OPERAND 1 |
OPERATOR |
OPERAND 2 |
RESULT |
|---|---|---|---|
|
TRACE_ON |
|
|
|
TRACE_OFF |
|
|
TRACE_ON activates the process of formula review. When the calculation finds this operator, each instruction and its mnemonic values are printed in the calculation status report until the operator TRACE_OFF is found, which deactivates the process of formula review, or until the formulas are over if TRACE_OFF does not exist. Such operators may be in different formulas or may be started in a formula and ended in another one. The employee, the payroll item and the formula to processed when each formula is started are printed in the report. In case of remote calculation, TRACE result can be viewed in the LOG file in the executable file server. In case of local calculation (as in the case of settlement calculation), TRACE result is in the trace.out file in a directory defined in the OPCI90 of general parameterization. If it has not been defined, the directory C:\ of customer's machine is considered as default. In each execution, the trace.out file is written again. You should use these operators and delete TRACE_ON and TRACE_OFF from all formulas when they are released by the production since they decrease the calculation performance. |
This routine can control leave periods of less than 15 days, either on sickness grounds or because of work-related accidents. The system automatically numbers the sequence of leave days, including those previously registered.
Those due to disease or work-related accidents must be registered in the Cont. Seq. field using codes P and O respectively, irrespective of the leave period length.
When a new leave period corresponds to the continuation of a previous one already registered, you must enter Yes in the Cont. Seq. field (Continuation of Previous Leave) and the sequence corresponding to the leave being continued in the Cont. Seq. field (Continue Sequence).
Procedures
Registering absences:
| 1. | In Absences, select Add. |
The system displays the add screen.
| 2. | Fill out the field according to the help instructions. |
| 3. | Check the information and confirm. |
| 4. | The option Caption is available in the menu, which displays the classification of the registered employees. |
When a vacation request is approved by the Conf. Req. Portal routine, the Absences screen is displayed for you to complement the required information. The fields (Date of Change, Start Date, Duration and End Date) are only for view and they are filled out with the request information. The vacation absence is added to the system after entering and confirming the required information, and the request becomes becomes Answered. |
See Also
To search the registered leave instances, see table SR8 - Leave in the Generic Registries Query topic.