Subject: | Employees can apply and take Leave with a zero balance |
Summary: | 1. Problem Details
Employees can apply and take Leave with a zero balance
2. Environment Details - Version - 15.51.241107.GA
|
Audit Notes: | Edited by sanjay on 30/01/25 12:14. Edited by sanjay on 30/01/25 12:06. Edited by sanjay on 14/01/25 17:41. Edited by sanjay on 14/01/25 17:41. Edited by sanjay on 14/01/25 12:15. |
19 Dec 2024 | 12:18PM Comment 1 by Vineshwar Prasad (Edge Business Solutions) Assigned To: Vineshwar Prasad (Edge Business Solutions) Followup Date: 20-12-2024 12:01 PM Time Taken: 2.00 Notes: ETC extended from: 19/12/2024 to 20/12/2024 |
| Setup Details;- Created Employee
- Emp Code: 109999
- Start Date: 19/12/2024
- Pay Team: MTH
- Calendar: 2024 & 2025 Active
- Pay Team
- MTH
- Next Pay Date: 31/12/2024
- Next Pay No: 12
- Leave Code Setup
Code | Leave Details | Type | Privilege | Min Balance | Min | Max | Service Yrs | Entitle After | Years Valid | Apply Days | Accrual | Rollover Details |
AAL | Annual Leave | Annual | 80.00 | | | 9,999.00 | | | 1.00 | | Standard (Max: 80.00) | Anniversary (Carry Over: 9,999.00) |
ASL | Sick Leave | Sick | 80.00 | | | 80.00 | | | 1.00 | | Standard (Max: 80.00 - One Time) | Calendar (Carry Over: 0.00) |
- Leave Allocation
- AAL - 0 Hrs
- ASL - 80 Hrs
Step to Replicate Issue- Create Leave Transaction - HRL000118 - Annual Leave. 20/12/2024 to 20/12/2024 - 8 Hrs
- Create Leave Transaction - HRL000119 - Sick Leave. 23/12/2024 to 23/12/2024 - 8 Hrs
- Approved the Leave
- Process to Pay
- Created Pay
- Payrun ID: 512
- Payrun Date: 31/12/2024
- Pay Type: Normal
- Year: 2024
- Pay No: 12
- Leave is processed in the Pay
- Closed the Pay
Image 1: Leave Allocation screen after Pay showing Negative Balance
Environment Details- URL: https://linktechnologies.com.au/DEMO-LinkSOFT-EDGE
- Company: 1001
Next Step - The development team to diagnose the issue. Regards Vineshwar Prasad
|
|
09 Jan 2025 | 03:26PM Comment 2 by Sanjay (Link Technologies) Case L13088 added to project 15.60 |
14 Jan 2025 | 12:15PM Comment 3 by Sanjay (Link Technologies) ETC was changed from 09/01/2025 to 28/02/2025 |
14 Jan 2025 | 12:58PM Comment 4 by Sanjay (Link Technologies) Assigned To: Development Followup Date: 14-01-2025 06:17 PM Time Taken: 16.00 |
| PART A - Development work for this case has been completed. 1. The change will be available in version: 15.60 and 15.51.250114 2. The following changes were made (Include Database object names, Program classes, and any other relevant information): - Corrected "Projected Leave available AS AT" function so that we account for EMPLOYEE START DATE
3. Affected Areas: - Leave Application (Future Dated) and "Projected Leave" report
4. The issue was caused by: - Leave Available function was not allowing for Employee Start Date
5. Other Relevant Notes: 6. Next Step (Review and System Test (Developer) -> UAT (Quality) -> Documentation): UAT
|
|
28 Jan 2025 | 01:25PM Comment 5 by Sanjay (Link Technologies) Assigned To: Development Followup Date: 28-01-2025 07:23 PM |
| Patch is pending |
|
29 Jan 2025 | 03:08PM Comment 6 by Sanjay (Link Technologies) Assigned To: Development Followup Date: 29-01-2025 08:50 PM Time Taken: 3.00 Notes: Edited by sanjay on 29/01/25 15:08. |
|
The following tests were performed:
Test Setup Instructions: - Standard Demo Environment
Table 1 - Test Results
No | Test Case | Expected Result | Pass/Fail | Comments | 1 | Apply for leave where leave has Zero Balance
| Leave should not change status to "Applied"
| Pass
|
| Environment Details - OS version: Win11
- Application version: 15.51.250129
- Setup on:
- Server: LinkQA5
- Database: LinkSOFT
- LinkSOFT URL: HTTP://LinkQA5/LinkSOFT
- Login Details: Standard username and password for user "admin"
Next Step: Closure
|
|
30 Jan 2025 | 10:16AM Comment 7 by Vineshwar Prasad (Edge Business Solutions) Assigned To: Development Followup Date: 30-01-2025 04:07 PM Time Taken: 1.00 |
|
The following tests were performed: Test Setup Instructions:- Created Employee L001
- Allocated Leave Code AAL10 - 0 Hrs
Table 1 - Test Results
No | Test Case | Expected Result | Pass/Fail | Comments | 1 | Apply for Annual Leave for 8 hrs where Leave has zero balance Transaction ID: HRL000125
| Leave should not change status to "Applied"
| Pass
| Log Message: Leave balance exceeded. Available: 0.00. Leave: AAL10 Balance Limit: 0.00 Date: 05/01/2026 08:00AM to 05/01/2026 05:00PM Hours: 8.00. | 2 |
|
|
|
| Environment Details - OS version: Win11
- Application version: 15.51.250129.GA
- Setup on:
- Server: LINKAD
- Database: DEMO-LinkSOFT-EDGE
- LinkSOFT URL: https://linktechnologies.com.au/DEMO-LinkSOFT-EDGE
- Login Details: Standard username and password for user "admin"
Next Step: Closure
|
|
30 Jan 2025 | 07:35PM Comment 8 by Sanjay (Link Technologies) Assigned To: Development Followup Date: 31-01-2025 01:35 AM |
| THanks Vineshwar |
|