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 |