Subject: | Leave Application fails when multiple "Leave Allocation" is selected that spans multiple days |
Summary: | When applying for Leave in menu "Leave Management ~> Leave Application", an error is sometimes displayed when the Date range spans multiple days and when multiple leave codes are selected. See figure 1 below. Figure 1 - Leave Application fails when multiple "Leave Allocation" is selected that spans multiple days

|
Audit Notes: | |
11 Feb 2025 | 02:47PM Comment 1 by Sanjay (Link Technologies) Assigned To: Development Followup Date: 28-02-2025 08:24 PM |
| PART A - Development work for this case has been completed. 1. The change will be available in version: 15.60 and 15.51.250211 2. The following changes were made (Include Database object names, Program classes, and any other relevant information): - Corrected the "Leave Allocation" when "Multiple Allocations" is used for a single leave entry that spans multiple days
3. Affected Areas: - Leave Application form
4. The issue was caused by: - Programming Logic issue
5. Other Relevant Notes: 6. Next Step (Review and System Test (Developer) -> UAT (Quality) -> Documentation): UAT
|
|
13 Feb 2025 | 03:50PM Comment 2 by Sitla (Edge Business Solutions) Assigned To: Development Followup Date: 13-02-2025 09:43 PM Notes: ETC extended from: 11/02/2025 to 13/02/2025 |
| Hi Sanjay, Tested results as per snip below in Company 1003 - Employee GAL001

|
|
14 Feb 2025 | 05:18PM Comment 3 by Sanjay (Link Technologies) Assigned To: Development Followup Date: 14-02-2025 04:50 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.250214 2. The following changes were made (Include Database object names, Program classes, and any other relevant information): - Corrected "Multi Leave Allocation" script to handle user security feature "LE006 - User can change "hours taken" in "Leave Applications"
3. Affected Areas: - New Leave Application
4. The issue was caused by: - Allocating leave across multiple leave codes
5. Other Relevant Notes: 6. Next Step (Review and System Test (Developer) -> UAT (Quality) -> Documentation): UAT
Figure 1 - Multi Leave allocation

Figure 2 - Leave created from 1. above

|
|
26 Feb 2025 | 10:54AM Comment 4 by Sanjay (Link Technologies) Assigned To: Development Followup Date: 26-02-2025 04:51 PM Time Taken: 4.00 |
|
The following tests were performed:
Test Setup Instructions: - Standard Demo Environment
Table 1 - Test Results
No | Test Case | Expected Result | Pass/Fail | 1 | Create a new Leave application across multiple days that requires allocating multiple leave codes from the same category
| Validation should check if hours taken complies with security controls. If this is the case, the leave should be created, Otherwise, an error should explain the leave validation message.
| Pass
| Environment Details - OS version: Win11
- Application version: 15.60
- Setup on:
- Server: LinkQA5
- Database: LinkSOFT
- LinkSOFT URL: HTTP://LinkQA5/LinkSOFT
- Login Details: Standard username and password for user "admin"
Next Step: Closure
|
|