Agile Developer

Error During Grid U...
 
Notifications
Clear all

Error During Grid Upload for Large Number of Line Items

10 Posts
2 Users
0 Reactions
560 Views
Posts: 602
Admin
(@axpertsupport)
Honorable Member
Joined: 2 years ago

In the Axpertlog table, we can track the duration of the import service. The browser typically waits up to 90 minutes before triggering a timeout error and stopping the process.

We need to analyze the SQL queries within the grid and evaluate their execution costs. During the import process, these queries are executed for each row, which can significantly increase the overall time required.

Alternatively you can check this in desktop as well and see how long it takes and we can analyze the trace file with few records to identify the SQLs to be optimized.

Reply
Posts: 609
Topic starter
(@banupriya)
Noble Member
Joined: 2 years ago

My situation is straightforward: I have a single transaction with 15 columns, which is a relatively simple query. The grid displays a maximum of 4 rows per entry, resulting in a total of around 500 records. In Excel, this amounts to fewer than 1,000 rows.


Reply
Posts: 602
Admin
(@axpertsupport)
Honorable Member
Joined: 2 years ago

Could we schedule a call for 11 a.m. today, if that works for you?


Reply
Posts: 602
Admin
(@axpertsupport)
Honorable Member
Joined: 2 years ago

As discussed in the meeting, the browser has a 90-second load time limit. If the data load exceeds this duration, a timeout error will occur. Please adjust the query to ensure that records load within this 90-second window on the web. Additionally, create a dummy screen to test the scenario as we discussed.


Reply
Posts: 602
Admin
(@axpertsupport)
Honorable Member
Joined: 2 years ago

There is a developer option called "WebService Timeout" that allows you to extend the timeout for a specific tstruct. The default value is set to 100,000 milliseconds, but you can increase it if needed.

To adjust this setting:

  1. Go to Settings  Developer Options.
  2. Select WebService Timeout in the Property Field.
  3. Enter the desired time in the Property Value field.
  4. Choose the relevant form name.
  5. Save the changes.

Please note that this setting should be used with caution, as it will extend the timeout for all calls within that tstruct, not just for imports.


Reply
Page 2 / 2
Share: