Skip to Content

Function DaysSeniority

Functions are used in the formulas for calculating the rate and amount of the Salary Types, as well as in the calculated columns of the Settlements.

DaysSeniority(parameter)

Type returned Number
Context Salary Types, Settlements
Parameters Type Description
parameter Number 1 or 2
Description

The number of working days (30 per month) from the date of the employee’s start date to the accounting date (parameter = 1) or the end of the month (parameter = 2) of the pay slip.

Examples

DaysSeniority(1)

returns 51 for an employee entered on 10.1.27, if the accounting date is 29.2.27.

Table(BONUS "Special Bonus";DaysSeniority(2))

allows a bonus to be awarded based on the employee’s seniority.

Function DaysSeniority