Import procedure freezes server on RecordNew
Aldevinas Katkus
5-24-21
Operating system: Windows
I have this code in file import procedure which runs via Technics>>settings>>timed operations>>HAL routine each 180 secs.

record NotepadVc Noter;
...
LogText(0,"1");
OpenFile(filename);
LogText(0,"2");
RecordNew(Noter);
LogText(0,"3");
RecordNew(IVr);
LogText(0,"4");
LogText(0,"file opened testf=" & testf);


An excerpt from the log log:
2021-05-24 15:22:38 1
2021-05-24 15:22:38 2
[no more lines here until I force close the server]


Q: Why it does not like RecordNew(Noter) and freezes here

I have tried to run in single user and server modes. No difference.
version 8.5 2021-04-18 (build 85360453).
Aldevinas Katkus
5-25-21
Problem solved.
It was a side effect of duplicate global procedures with different number of arguments.
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
Paul Timms
SendWebRequest3 is a boolean function, so if this returns true and the reply header has an accepted status, you can assume that the data was sent successfully and perform some actions on the record th...
11:12 4 Apr 2025
Aldevinas Katkus
same v. 2025-02-24. New DB. Just forward balances (purchase, sales invoices) from 2024 and later. In your case does turnover per period differs or just fwd. balance differs and turnover is identical i...
09:56 20 Mar 2025