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
David Delač
Hi Aldevinas, Please post your customisations so I can help you....
11:40 20 Feb 2025
Piotr Wycichowski
The register for Order Classes is common for Sales orders and Service orders. When I set an Order Class to create an Activity - it works for Sales Order, while for Service Orders - not. Is any setting...
09:30 18 Feb 2025