Salary types | Following Salary type for short and long-term absence |
Task #10346 | 5058.000
Short and long-term absences triggering daily allowances can be differentiated by means of resulting wage types. The functions below were adjusted/created: •Prior to inserting the journal row for the actual resulting wage type, the maximum interval is checked and additional lines are added if necessary. •Rows are created to fill in the interval. •The days to create an extra resulting wage type line for are determined based on the max. interval.
In addition, a re-factoring was carried out to factor “Filling” and “Writing” out to the database. •Resulting wage type data record is filled •The resulting wage type data record is written with a new primary key to the database and subordinate resulting wage types are checked for. There is a new field “Max. interval” in resulting wage types. A date formula can be entered in this field (e.g., 2T for 2 days). It is possible this way to automatically fill weekends and/or public holidays with a daily allowance type in the event of absences (e.g., illness, accident). Daily allowance is calculated for daily allowance insurance using calendar days. However, absences are usually only recorded in EasyRapport (or other time recording systems) on weekdays. This way, it is possible to automatically add a line with daily allowance wage types in the Report journal for weekends and/or public holidays. Max. interval = 2T Example: •The last day of absence was on April 30, 2021 •If May 3, 2021 is entered in the Report journal, May 1, 2021 and May 2, 2021 are filled with the resulting WT in the Report journal (the gap between April 30, 2021 and May 3, 2021 = 2 days) •If May 4, 2021 is entered in the Report journal, May 1, 2021, May 2, 2021 and May 3, 2021 are not filled in. (The gap between April 30, 2021 and May 4, 2021 = 3 days) |