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).
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
Hi! The error message means "holding wrong Database Version" Why it happens, though, is something what has to be debugged......
15:51 1 July 2025
Arzu Erdogdu
Hello! You can mark it as closed as option. If document is connected with other documents you can not delete it so you will not be able to delete PO, as you will not be able to remove Goods receipt...
09:29 13 Jun 2025