Company: Link Technologies
Case No: L13257. Project: 16.04: LinkSOFT Version 16.04
Logged By: Sitla (Edge Business Solutions) on behalf of Sanjay (Link Technologies) on 10 Jun 2026 02:00PM
Priority: High
Product: Payroll & HR
Group: Enhancement
Time Taken: 18.00 (Weight: 4.00)
Assigned To: Sanjay (Link Technologies)
Circulation: Sanjay, Sitla
Resolve By: Monday, 15 June 2026 04:57 PM [20 days since logged date]
Status: Closed
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 202605:44PM Comment 1 by Vineshwar Prasad ETC was changed from 20/02/2026 to 15/03/2026
20 May 202612:52PM Comment 2 by Rishup Rinesh (Edge Business Solutions) Comment removed by sanjay
03 Jun 202603:31PM Comment 3 by Prashant Naidu (Edge Business Solutions) ETC was changed from 22/05/2026 to 05/06/2026
09 Jun 202610:54AM Comment 4 by Prashant Naidu (Edge Business Solutions) Comment removed by sanjay
09 Jun 202612:21PM Comment 5 by Prashant Naidu (Edge Business Solutions) Comment removed by sanjay
09 Jun 202601: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
  1. FileManager\TNA Timesheet\1004
    1. FileManager\TNA Timesheet\1004\Watch
    2. FileManager\TNA Timesheet\1004\Processing
    3. FileManager\TNA Timesheet\1004\Completed
Update the File Location under Integration Setup -> TNADevice -> TI001
  1. E:\WebSites\LinkSOFT-ChallengeEngineering\App_Data\FileManager\TNA Timesheet\1004\Watch
  2. E:\WebSites\LinkSOFT-ChallengeEngineering\App_Data\FileManager\TNA Timesheet\1004\Processing
  3. E:\WebSites\LinkSOFT-ChallengeEngineering\App_Data\FileManager\TNA Timesheet\1004\Completed
  4. Verified that process ESS021 is enabled and running.
  5. Under TNA Setup, Enabled Rule A001 & R013 - Refer Figure 1 below:
  6. Uploaded File TNASampleImport.csv, with status completed.

09 Jun 202602: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
    1. Method 1: Created TNA Timesheet from 01.06.2026 11.00 PM to 02.06.2026 8.00 AM - Successfully
    2. 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; 
      1. 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 202612: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 202612:58PM Comment 9 by Sanjay (Link Technologies) Case L13257 added to project 16.04
    12 Jun 202602: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 202602: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 202610:59AM Comment 12 by Sanjay (Link Technologies) ETC was changed from 12/06/2026 to 19/06/2026
    15 Jun 202601: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):

    1. Added error handling to point to the specific error when Datetime is invalid

    3. Affected Areas:

    1. T001 File import

    4. The issue was caused by:

    1. 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.


    Attachments:
    General Documents - Case: L13257:Rosteredtimeimport.csv
    If you have any queries regarding this support incident, please email Support@LinkTechnologies.com.au and include the Case No: L13257 in the subject line of all emails regarding this issue.

    Document size: 7.7 KB
    For call complaints, please contact the Managing Director of the company using this form