Subject: | User cannot Approve TNA Timesheet for ''Normal Hours''. We get a Conversion Error in the Event Logs. |
Summary: | 1. Problem Details
User cannot Approve TNA Timesheet for ''Normal Hours''. Every time the Approve button is clicked, nothing happens and a message is updated in the event logs
2. Error Message (Include screenshot of the error)
--- Event Log ---
LT_ESS_Time_StatusChangeValidation Conversion failed when converting the varchar value 'H' to data type int.
3. Environment Details
Version - 13.03.0917.GA |
Audit Notes: | Edited by sanjay on 19/10/21 09:53. Edited by sanjay on 19/10/21 09:53. Edited by sitla on 18/10/21 16:28. |
18 Oct 2021 | 04:28PM Comment 1 by Sitla (Edge Business Solutions) ETC was changed from 17/09/2021 to 18/10/2021 |
18 Oct 2021 | 04:39PM Comment 2 by Sitla (Edge Business Solutions) Assigned To: Sanjay (Link Technologies) Followup Date: 19-10-2021 10:28 PM Notes: Edited by sanjay on 19/10/21 09:54. Edited by sitla on 18/10/21 16:48. ETC extended from: 18/10/2021 to 19/10/2021 |
| Hi Sanjay, We have done the setup on QA3 and below are the details: - Server: LINKQA4\CP1
- Database Name: CLIENT-COKE-LINKSOFT
- Version: 13.03.0917.GA
- Link to Browse: http://linkqa3/linksoft
Steps to Reproduce Issue; - Navigate to Time Approval Menu
- Filter Record TSID 149237
- Select Record and Approve
- Processing in Progress with no effect
- Log is updated with this message: "Cannot change the status to Approved. Reason: Conversion failed when converting the varchar value 'H' to data type int."
Note: Username "admin" has been added as an approver in this workflow "PRODUCTION INDIRECT - Engineering TNA" |
|
18 Oct 2021 | 06:35PM Comment 3 by Sanjay (Link Technologies) Assigned To: Sitla (Edge Business Solutions) Followup Date: 18-10-2021 10:50 PM Time Taken: 6.00 Notes: Edited by sanjay on 19/10/21 09:57. |
| Hi Sitla, the cause of the issue is that the Time Entry has Invalid Start and End Dates in the table. The entries seem to be coming from the Biometric system, but I need to investigate this further. Table 1 below which has the invalid Dates. Table 1 - Entries with invalid Start and End dates
TSID | UserName | EntryDate | TimeStart | TimeEnd | Duration | Description | 149188 | 188439 | 2021-10-16 08:02:10 | H:02 AM | H:01 PM | 4.51 | NULL | 149343 | 188960 | 2021-10-14 08:07:02 | H:07 AM | H:09 PM | 8 | |
|
|
18 Oct 2021 | 06:43PM Comment 4 by Sitla (Edge Business Solutions) This comment has been removed |
19 Oct 2021 | 09:39AM Comment 5 by Sanjay (Link Technologies) Assigned To: Sanjay (Link Technologies) Followup Date: 19-10-2021 02:42 PM Time Taken: 6.00 |
| Hi Vineshwar, we have found the issue with the time conversion from Timesheet to Time Entry. The issue is caused by the incorrect use of Time Conversion. The correction is in Update 13.03.1019 which can be download from this link. This update includes data correction for time entries created with the incorrect Time values. |
|
19 Oct 2021 | 09:53AM Comment 6 by Sanjay (Link Technologies) Case L12578 added to project 13.03 |
19 Oct 2021 | 10:05AM Comment 7 by Sanjay (Link Technologies) Assigned To: Sanjay (Link Technologies) Followup Date: 19-10-2021 04:03 PM Time Taken: 4.00 |
| PART A - Development work for this case has been completed. 1. The change will be available in version:13.11.1019 and Patch 13.03.1019 2. The following changes were made(Include Database object names, Program classes, and any other relevant information): - Correct usage for Time conversion when creating Time Entry Records
3. Affected Areas: - TNA Import Timesheets into Time Entry.
4. The issue was caused by: - Programming Error
5. Other Relevant Notes: 6. Next Step (Review and System Test (Developer) -> UAT (Quality) -> Documentation): UAT Completed.
|
|
19 Oct 2021 | 10:44AM Comment 8 by Sanjay (Link Technologies) Assigned To: Sanjay (Link Technologies) Followup Date: 19-10-2021 04:42 PM Time Taken: 4.00 |
|
The following tests were performed: Table 1 - Test Results
# | Test Case Details | Pass/Fail | Comments | 1 | Approve Timesheet Entry to create Time Entry
| Pass
| Time entries created with correct Time value
| Environment Details - OS version: Win10
- Application version: 13.03.1019
- Setup on:
- Server: LinkQA4
- Database: DEMO-LinkSOFT
- LinkSOFT URL: HTTP://10.0.0.14/CLIENT-LINKSOFT
- Login Details: Standard username and password for user "admin"
Next Step: Closure
|
|