
Business Requirement:
To only allow application of unpaid leave if there's no more annual leave balance left.
Prerequisite:
Resolution:
This can be achieved by creating a validation rule that checks the remaining balance of annual leave and restricting application of unpaid leave.
Create message definition:
Here, we'll be creating the error message where system displays the remaining annual leave balance. Alerting users to use them instead.
Create Validation Rule:
We create a variable to check & store the remaining balance of annual leave time type as of unpaid leave application date. If there's still balance left, error message displays.
Assign this validation rule to Unpaid Leave Time Type
Testing:
Employee still have 10 days Annual Leave Balance.
Employee cannot proceed to unpaid leave application as there's still Annual Leave balance left. Remaining balance is also displayed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
3 | |
2 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 |