Re: RecordSave() crashes
Aldevinas Katkus
2-1-22
I could not repeat it in a separate hal.


I am not sure what I did so it does not crash anymore. It could be I made a queued function call like this:

external updating procedure IVImportIn();

global
procedure DoIVImportTask(string args)
begin

queued.IVImportIn; //call a function which has some qupdating function calls
return;

end;

global
procedure InitIVImportTask()
begin
//used to crash in NewContactCUDsmRemote() when used as Periodic Task: Damaged database: D4DiskStore dvp!=gp->MasterDVp D4DiskStore
NewPeriodicTask2("IVImportTask","IVImportTask","DoIVImportTask","",60,"");

return;
end;
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
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