Note: This page was translated using automation resources with the purpose of providing content in your language more quickly. Consequently, it may have grammatical errors and similar situations. If the content is not useful in this state, in the page footer you can access the original material in Brazilian Portuguese and also give us opinions on this translation.
Tables / Calculations / Time and Cafeteria Control Module / Integration / Definitions

Integration Definition

In this option are defined in which events will be sent the normal hours, day and night hours for the monthly and in which events will be calculated the DSR and the form that will be calculated for the payroll.

General

Generate Admitted in the Period
Indicate whether or not employee events in the period should be generated.

Note

Will also be considered employees admitted to the last day of the period. Employees allowed between the end of the calculation period and the last day of the period of the sheet will have the hours.

Generate Dismissed in the Period
Indicate whether the employee events dismissed in the period should be generated or not.

Note

Using the "N" option, the fields Calculate for Termination Personnel Administration and Resignation date, available in the Integration calculation screen, will not be visible.

Normal Daytime Hours Event
and Event Night Standard Hours Enter the event code for normal daytime / night time.

Note

If the informed event is in one of these fields and have in your record the Design field empty, the system will inform to you check the event and enter this field.


Separate Monthly DSR Notify "S" If employees pass holders should have the DSR calculated in DSR event or notify "N" for which DSR hours are considered as normal.

Recalculate Previous Months
Inform if the company uses routine for recalculation of previous months.

When is marked "S" in this field will be enabled the following options:

Note

To generate the differences to the sheet you will need to use import and export.


First Week Rule This rule is used to check the days prior to the beginning of the current period to DSR or similar specific calculations.

And there is the rule of first week registered, the control of point and Cafeteria will return in days to find the latest DSR of the previous period. From there it will run this rule. Are used the same variables of the Generation Period rule.

Generation Period Rule
Enter the code for the rule to be executed in generating, calculating variables that can be used by integration.

This rule is executed once for each day, every day, for each employee. Runs after the first week, and in some cases may have the same code.

Rule Period Projection
It is a rule that will be enforced in all days of the period. The projected period starts at the start date of the Sheet Period and goes through the date reported in the "Generate" option.

Is performed after the rule of the period, and in a few days you can run the two rules, if there is overlap between the period of Investigation and the period.

Final Calculation Rule
Enter the code for the rule to be executed in generating, calculating and adjusting the values of the events. This rule is executed once for each employee, after all other rules. Usually this rule gets calculated variables in the first week, rules generation and Projection Period, to launch events.

Note

You can not manipulate the values ​​in the Sheet Moves table (R044MOV) directly via cursor or ExecSQL in this rule. For this, one must use the variables that add up in the events, such as CodEvt, SomaEvtRat, among others.


Events To generate a report automatically after the Integration calculation, enter the name of the template in this field.

Recalculation Report Events Sheet
To generate a report automatically after the Recalculation of Integration, enter the name of the template in this field.

Generate Differences in Recalculation
Informed "S" in this field, the batch job will compare the differences between the standard calculus (which was for sheet) which is in the R044MOV table, and what was recalculated (table R044REC).

Differences will be recorded in the table R044FEC with the active calculation code at the time of execution of the routine. The generated differences can be found in Calculations> Integration> Queries> Recalculation, informing "P" in the field Type or listed on report through the HRIN006.GER template.

To send the differences that are in the R044FEC table for the sheet, you must use the import and export. If the value of an event of the R044MOV table is greater than the value of the same event in the R044REC table, the difference generated will be negative.

Note

The option to Generate Differences in Recalculation, will only be enabled to change, if in the Integration Settings it is informed "S" in the field Recalculate Previous Months.

Integrate with success pending

Integrate with unchecked days

Important

Event Overtime Bank of Hours
Enter the overtime event code for calculation integration.

Event Hours Compensated Bank of Hours
Enter the missing-time event code for calculation integration.

With this configuration of the overtime and missed events for integration, the time bank information is sent to the sheet which, consequently, meets the requirements of eSocial.

In the first month of the compulsory use of eSocial, when there is balance in the bank of hours, it is necessary to send it to the corresponding events, extras or faults. After this month, the sending will be made of the total amount of overtime and negative (only one of the events will be generated, with the difference between the positive and negative hours).

Note

The registration of events must be done in Tables> Events> Events> Registration (FR008EVC), with the characteristics 58E - Extraordinary Hours - Bank of Hours and 58F - Hours Compensated - Bank of Hours, in the Personnel Administration module. It is necessary that the events are different from those already used in the registration of the bank of hours for payment of the hours.

The rule to be used is the 066 - Calculation Basis x Informed Value x Calculation Value. In addition, in the Incidents tab, it is necessary to configure, in the current history, the field ESocial Nature, which must be adjusted according to the type of event being registered, as well as the events that must be configured as "N - No".

The beginning of eSocial's obligation is verified in the field Home Newspapers, located under Companies> eSocial Settings, in the Personnel Administration module.

WPRP

Event Pagto. Daytime DSR
Tell where event code will be calculated the day DSR.

Event Pagto. DSR Night
Tell where event code will be calculated the DSR. If the company does not differentiate the DSR's night day enter the same code of the previous data.


Event Day DSR Loss Tell where event code will be calculated the hours of lost DSR diurnal.


Event Night DSR Loss Tell where event code will be calculated the time DSR loss at night.

If the company didn't differentiate DSR loss of daytime nocturnal, enter the same code of the previous data.

Note

If the event reported in the fields Payment Day DSR Event or Event or Night Pay DSR DSR Loss Event or Day DSR Loss Event at Night your registration fields Design, Reduce Hours and empty Unit, the system will inform you that check the event and enter these fields.


Reflex Event Overtime on DSR Inform the code of the event in which the Reflection of Extras on DSR hours will be generated, which must be previously registered in Tables> Events> Registration, informing in the tab Base the codes of the Extra Hours events that should generate the reflection.

The formula used by the system to calculate this event is as follows: Reflection = ((HE * VC) / HT) * HDSR, where:

Important


Event fine DSR day payment Enter the code for the daytime DSR fine payment event.


Event payment fine night DSR Enter the code for the night DSR fine event payment.

Note

Event fine DSR day payment and Event payment fine night DSR:

For integration to the Point Control and Dining, it is necessary to register the Additional Event Released in Hours (39H Rule 66) in the Personnel Administration module.

The setting made for these fields will work in conjunction with the Pay a fine for work in the DSR the Branches screens (FR030FIL) and Trade Unions ( FR014SIN).

Calculation of Mixed DSR
Refer to the Time and Cafeteria Control how to calculate the hours of DSR when timetables diurnal, nocturnal and/or mixed in the same week.

For the calculation of the Proportional and the largest, the Time and Cafeteria Control seeks the daylight hours and at night, as the time registered on the day. Are not considered cleared situations.

Night Converter for DSR Calculation
Valid option when the DSR is Proportional or the highest.

If it is informed "S", performs the conversion of the night hours only to calculate the apportionment of DSR (proportional) or to check if there are more daylight hours or at night (in the case).


Calculate DSR as Scale Tell how to calculate the DSR event.

Notes


Pay DSR of Last Week Indicate how the company treats the payment discount of DSR when the developer lacks the last week of the period, being the day of DSR is in the next period.

Holiday loss will be incurred in the fault period, along with loss of DSR.

In the next period, if it has not been done in the past integration, it will not be lost, since it should have already been discounted for the system. That is, for the system, the holiday loss has the same behavior as the loss of DSR, check the field Pay DSR of Last Week in the definition of integration, "DSR" tab.

If "A" is set, the DSR and Holiday discount will occur within the current month.


Pay holiday on day off Indicate whether the company considers the holiday occurred on day off (9996) as DSR or not.

Paying a Holiday on a Compensated Day
Indicate whether the company considers the holiday to be cleared (time 9998) as DSR or not.

Note

This signaling only takes effect if in the Consider Holiday Hours is informed "D".


Consider Faults for Holiday Loss Please inform us if any shortages will cause the loss of the holiday:

Note

Whenever you use the above tag with value 3 or 4, the holiday will be discounted as parameterized in the Project field of the DSR payment event register.


Consider Holiday Hours When meeting a holiday, the Point Control and Dining may consider the DSR hours reported on the employee's scale or the hours scheduled for work on the day.

Discounting Followed Dsrs
Determine whether the DSRs followed should be discounted regardless of the type of employee scale.


Discounting only from relay scales Determine whether the DSRs followed should be discounted only on relay scales previously determined through the Scale Classes screen (FR006CLE). Disabled when Discounting Followed Dsrs is set to "N - No".

DSR loss

Defines the situations in which the DSR will be lost. If these situations are cleared and exceed the limits established in this guide, the system will generate in the Integration the Day or Night DSR loss events defined in Calculations> Integration> Settings, DSR tab. You can enter up to 100 situations in the grid.

Situation
Code of the situations that cause the loss of DSR.

Code and Description (Miss Cmp)
This is related to the data type and quantity. Indicate the period in which this situation must occur for the DSR is lost.

Note

Allows it to be reported the same situation and the same competence, but with different limits.

Code and Description (Threshold Limit)
Indicate if this situation causes loss of the DSR only when it is complete or for some amount of hours, within the period indicated in Description (Miss Cmp).

Lim. Hours
Enter the amount that the employee must have within the period indicated in the absence competence, above which the DSR will be lost.

This information is requested only when the type is "H" or "the". In the case of occurrences, if report "1", the developer should take over a week. When informed "0" the DSR loss is generated normally.

Note

When the boundary type is set to monthly, it works in parallel with the other boundary types.

 

Holidays Faults

Defines the situations that can cause missed leave to lose vacation through the integration calculation. You can report up to 100 situations in the grid.

This option may only be used when there is more than one occurrence of a particular situation in the period in question. That is, if the employee has a delay in the period, it is not considered as a fault to accumulate in the calculation of the loss of vacations, but if the employee has five delays in the period, then the system should generate a absence of absence, which will count for loss of vacation.

Another possibility is when you want to generate a fault for the loss of vacation only if the sum of the hours of the situation is greater than the limit set.

In the case of full absences, if a missed day is already considered to accumulate for the calculation of the loss of vacation days, it is recommended to use the field Lose holiday, in the register of the situation.

Note

The calculation of the holiday entitlement days is carried out by the Personnel Administration module. The Point Control and Canteen will only generate the missed trips that will serve for this module to control the holiday entitlement.

Situation Away Missing Holidays
Please state the code of the situation with which you will be removed from the holiday absence. The calculation of integration will generate a removal with this situation.


Limit of Hours Enter the hours limit for a foul for vacation. In the generation of the hours for the sheet, the system will generate a day of loss for holidays on the date where the balance reaches this limit.


Occurrence Limit Enter the limit of occurrences (times) for a foul for vacation. In the generation of the hours for the sheet, the system will generate a day of loss for holidays on the date where the balance reaches this limit.

Grid Situations Missing Holidays

Important

 

(missing or bad snippet)