Subject: | Leave Adjustments Validations to prevent users from making adjustment mistakes |
Summary: | Add the following Leave Adjustments Validations to prevent users from making adjustment mistakes: - Do not allow Leave adjustments for Leave codes that are not in the "Current Leave Allocation" form
- Do not allow "Void" of leave codes that have Negative Balances. Only allow Void of Zero Balance codes
|
Audit Notes: | Edited by sanjay on 17/02/25 14:24. Edited by sanjay on 06/02/25 15:32. |
06 Feb 2025 | 07:17PM Comment 1 by Sanjay (Link Technologies) Assigned To: Development Followup Date: 13-02-2025 07:14 PM Time Taken: 8.00 Notes: Edited by sanjay on 07/02/25 12:11. ETC extended from: 06/02/2025 to 13/02/2025 |
| PART A - Development work for this case has been completed. 1. The change will be available in version: 15.60, 15.51.250207 2. The following changes were made (Include Database object names, Program classes, and any other relevant information): - Added the following validations on "Adjustment Approve"
- Adjustment does not take the Hours to Negative
- Adjustments can only be performed if the Employee has a Leave Allocation in the "Pay Control" year (Pay Control ~> Financial Year)
- When validations fail, we change the status to "Failed" and mark the entry in RED
- Log entry is created with failure details
- User can then EDIT and make necessary changes
3. Affected Areas: - Approve Leave Adjustments
4. The issue was caused by: - Enhancement
5. Other Relevant Notes: 6. Next Step (Review and System Test (Developer) -> UAT (Quality) -> Documentation): UAT
|
|
07 Feb 2025 | 02:20PM Comment 2 by Sanjay (Link Technologies) Assigned To: Development Followup Date: 13-02-2025 02:16 PM Time Taken: 12.00 |
| PART A - Development work for this case has been completed. 1. The change will be available in version: 15.60 and 15.51.250207 2. The following changes were made (Include Database object names, Program classes, and any other relevant information): - Changed Leave Allocation VOID function as follows:
- When the leave Balance is ZERO AND there are no transactions, we allow the leave code to be DELETED.
- If there are Transactions for a Leave Code, and the Balances are Zero, we allow the user to VOID the leave code.
- We do not allow VOID if there are balances on the leave code. Previously we allowed VOID if the balance was less than zero
3. Affected Areas: - Leave Allocation - VOID function
4. The issue was caused by: - Added validations to Leave VOID function
5. Other Relevant Notes: 6. Next Step (Review and System Test (Developer) -> UAT (Quality) -> Documentation): REVIEW and UAT
|
|
13 Feb 2025 | 01:36PM Comment 3 by Sitla (Edge Business Solutions) Assigned To: Development Followup Date: 20-02-2025 11:24 AM Notes: Edited by sitla on 13/02/25 17:45. Edited by sitla on 13/02/25 17:42. |
|
The following tests were performed:
Test Setup Instructions: - Standard Demo Environment
Table 1 - Test Results
No | Test Case | Expected Result | Pass/Fail | Comments |
1 | Adjustment does not take the Hours to Negative
| Failed | Pass | Company 1003 - Employee GAL001 |
2 | Adjustments can only be performed if the Employee has a Leave Allocation in the "Pay Control" year (Pay Control ~> Financial Year)
| Failed | Pass | Company 1003 - Employee GAL001 |
3 | When validations fail, we change the status to "Failed" and mark the entry in RED | The line changed to red | Pass | Company 1003 - Employee GAL001 |
4 | A log entry is created with failure details | Log Message: Leave Entry is invalid. Check Employee "Current Leave Allocation" for this leave code. Leave Adjustment Date: 13/02/2025, Current Year: 2022 Employee Code: GAL001, Leave Code: AL2, CompanyID: 1003 | Pass | Company 1003 - Employee GAL001 Enhance the Log Message as the current one doesn't explain what the issue is. |
5 | User can then EDIT and make necessary changes | Able to edit | Pass | Company 1003 - Employee GAL001 |
6 | When the leave Balance is ZERO (on all columns-Priveldge, Brought Forward, Accrued, Taken) AND there are no transactions, we allow the leave code to be DELETED. | | Pass | Company 1003 - Employee GAl004 Allocated leave and manually changed all columns to zero
|
7 | If there are Transactions for a Leave Code, and the Balances are Zero(on all columns-Priveldge, Brought Forward, Accrued, Taken), we allow the user to VOID the leave code. |
| Pass | Company 1003 - Employee GAL003 |
8 | We do not allow VOID if there are balances on the leave code. Previously we allowed VOID if the balance was less than zero | Cannot Void | Pass | Company 1003 - Employee GAL003 |
Environment Details - OS version: Win11
- Application version:15.51.250212GA
- Setup on:
- LinkSOFT URL: https://linktechnologies.com.au/DEMO-LinkSOFT-EDGE
- Login Details: Standard username and password for user "admin"
Next Step: Closure
|
|
25 Feb 2025 | 01:51PM Comment 4 by Sanjay (Link Technologies) Assigned To: Development Followup Date: 28-02-2025 01:50 PM Time Taken: 1.00 |
| Thanks Sitla |
|