| Subject: | TNA Import error - Procedure expects parameter '@statement' of type 'ntext/nchar/nvarchar'. Source: LT_ESS_TimesheetImport |
| Summary: | Event log error: Procedure expects parameter '@statement' of type 'ntext/nchar/nvarchar'. Source: LT_ESS_TimesheetImport. This job will process again in 10 minutes. [Company: 1004] |
| Audit Notes: | Edited by sanjay on 15/06/26 10:59. Edited by sanjay on 15/06/26 10:58. Edited by sanjay on 15/06/26 10:58. Edited by sanjay on 12/06/26 14:04. Edited by sanjay on 11/06/26 12:58. Edited by sanjay on 11/06/26 12:56. Edited by sanjay on 11/06/26 12:55. |
| 20 Feb 2026 | 05:44PM Comment 1 by Vineshwar Prasad ETC was changed from 20/02/2026 to 15/03/2026 |
| 20 May 2026 | 12:52PM Comment 2 by Rishup Rinesh (Edge Business Solutions) Comment removed by sanjay |
| 03 Jun 2026 | 03:31PM Comment 3 by Prashant Naidu (Edge Business Solutions) ETC was changed from 22/05/2026 to 05/06/2026 |
| 09 Jun 2026 | 10:54AM Comment 4 by Prashant Naidu (Edge Business Solutions) Comment removed by sanjay |
| 09 Jun 2026 | 12:21PM Comment 5 by Prashant Naidu (Edge Business Solutions) Comment removed by sanjay |
| 09 Jun 2026 | 01:39PM Comment 6 by Sitla (Edge Business Solutions) Assigned To: Sanjay (Link Technologies) Followup Date: 10-06-2026 12:56 PM Notes: Edited by sanjay on 11/06/26 14:06. |
| Bula Team, We have done the following setup to test the overlapping time entries via File Manager Import Setup Environment: URL: https://www.linktechnologies.com.au/LinkSOFT-ChallengeEngineering/Account/login.aspx
Create 3 new folders under Global Administration -> File Manager - FileManager\TNA Timesheet\1004
- FileManager\TNA Timesheet\1004\Watch
- FileManager\TNA Timesheet\1004\Processing
- FileManager\TNA Timesheet\1004\Completed
Update the File Location under Integration Setup -> TNADevice -> TI001 - E:\WebSites\LinkSOFT-ChallengeEngineering\App_Data\FileManager\TNA Timesheet\1004\Watch
- E:\WebSites\LinkSOFT-ChallengeEngineering\App_Data\FileManager\TNA Timesheet\1004\Processing
- E:\WebSites\LinkSOFT-ChallengeEngineering\App_Data\FileManager\TNA Timesheet\1004\Completed
- Verified that process ESS021 is enabled and running.
- Under TNA Setup, Enabled Rule A001 & R013 - Refer Figure 1 below:
- Uploaded File TNASampleImport.csv, with status completed.
|
|
| 09 Jun 2026 | 02:11PM Comment 7 by Sitla (Edge Business Solutions) Assigned To: Sitla (Edge Business Solutions) Followup Date: 10-06-2026 01:39 PM Time Taken: 2.00 Notes: Edited by sanjay on 11/06/26 14:08. |
|
Steps to create timesheet using different methods - Method 1: Created TNA Timesheet from 01.06.2026 11.00 PM to 02.06.2026 8.00 AM - Successfully
- Method 2: Imported file Rosteredtimeimport.csv via File Manager into 1004\watch folder for time (02.06.2026 11.00 PM to 03.06.2026 8.00 AM) - Did Not Import with;
- Event log error: Procedure expects parameter '@statement' of type 'ntext/nchar/nvarchar'. Source: LT_ESS_TimesheetImport. This job will process again in 10 minutes. [Company: 1004]
We will test this further with the Development team and update accordingly. EBS Support |
|
| 11 Jun 2026 | 12:57PM Comment 8 by Sanjay (Link Technologies) Assigned To: Sanjay (Link Technologies) Followup Date: 11-06-2026 06:56 PM Time Taken: 2.00 Notes: Edited by sanjay on 11/06/26 14:03. ETC extended from: 10/06/2026 to 11/06/2026 |
| Hi Sitla, I have cleaned up the case as it had a lot of irrelevant information. Please make sure cases have the issues clearly defined. |
|
| 11 Jun 2026 | 12:58PM Comment 9 by Sanjay (Link Technologies) Case L13257 added to project 16.04 |
| 12 Jun 2026 | 02:03PM Comment 10 by Sanjay (Link Technologies) Assigned To: Sanjay (Link Technologies) Followup Date: 12-06-2026 06:00 PM Time Taken: 8.00 Notes: Edited by sanjay on 12/06/26 14:30. Edited by sanjay on 12/06/26 14:11. ETC extended from: 11/06/2026 to 12/06/2026 |
| Hi Sitla, I have had a look at your case and the issue is that your TNA file has invalid Datetime. See line 2. You have entered a time as "7.30" instead of "7:30". "7.30" is not a universally accepted time format. After correcting the time from "7.30" to "7:30", I was able to import this file into the training environment. I will close this case as the issue is not with the LinkSOFT system. Table 1 - Invalid File data
Reader,Date,Time,Id,TACode,TAData 1,26/06/03,23:30,EPI100,1,0 1,26/06/03,7.30,EPI100,3,0 |
|
| 12 Jun 2026 | 02:11PM Comment 11 by Sanjay (Link Technologies) Assigned To: Sanjay (Link Technologies) Followup Date: 12-06-2026 08:11 PM Notes: Edited by sanjay on 15/06/26 10:58. |
| Next step: See how the error message can be improved. |
|
| 15 Jun 2026 | 10:59AM Comment 12 by Sanjay (Link Technologies) ETC was changed from 12/06/2026 to 19/06/2026 |
| 15 Jun 2026 | 01:52PM Comment 13 by Sanjay (Link Technologies) Assigned To: Sanjay (Link Technologies) Followup Date: 15-06-2026 04:57 PM Time Taken: 6.00 Notes: ETC extended from: 19/06/2026 to 15/06/2026 |
| PART A - Development work for this case has been completed. 1. The change will be available in version: 16.04 2. The following changes were made (Include Database object names, Program classes, and any other relevant information): - Added error handling to point to the specific error when Datetime is invalid
3. Affected Areas: - T001 File import
4. The issue was caused by: - Improvement to error handling
5. Other Relevant Notes: 6. Next Step (Review and System Test (Developer) -> UAT (Quality) -> Documentation): UAT Completed PART B - Development Reference (Place descriptor for objects changed):
Procedure toimport file data will raise an error when the time format is invalid. Error message: The conversion of a varchar data type to a datetime data type resulted in an out-of-range value. |
|