Absence Allowance
Last updated
Last updated
There are two types of allowances.
Global allowance
Absence Type Edit => Options
This is the global allowance for all users as long as they don’t have a personal allowance record. If the Global Allowance is 0, an unlimited allowance is assumed.
Personal allowance
User Profile Edit => Absences
This is the personal allowance record for a single user. If it exists and the personal allowance is 0, it means 0 (no allowance).
The Global Allowance value for an absence type can be set on the Absence Type Edit page, Options tag:
The Personal Allowance value for an absence type can be set in the User Profile Edit, Absences tab:
When a user enters an absence in his calendar, the following allowance checks are made:
If no personal allowance record exists
If a positive global allowance is set, check against that allowance
If global allowance is 0 (unlimited): Allow the absence
else (a personal allowance record exists)
Check against the personal allowance (here, 0 means 0 => not allowed)
A personal allowance record does not exist per default. It is created the first time the User Profile Edit is loaded by the following rules:
If the Global Allowance is 0 (unlimited)
The Personal Allowance is set to 365 (which is “unlimited” considering that the value is counted per year)
If the Global Allowance is not zero
The Personal Allowance is set to the value of the Global Allowance