RecordCheckError Information programatically
Gastón Salomone
2-11-20
Hi,

After calling any record insert, save, update or delete function any error could happend.

But this error only appears to user or is logged in hansa.log

Is there any way to get the error, with any hal function, that could happend when those functions, for example RecordInsert return false.

I found RecordCheckLastErrorNo but I want not only the number, also de field, the message and the row Id of the error.

Regards
Edgars Dzenis
2-12-20
Hi, there's no universal tool to do that.
What You can do is edit needed functions to log in the message if there's an error(for example XXVcRecordSave/XXVcRecordUpdate/XXVcRecordRemove)
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 Piotr, The log entry:
2024-12-14 08:40:43 0.000 CallHal(IsHansaWorldCustomer) appears because the server is running with the verbosity=debug-detailed setting in its parameters.txt file. Thi...
09:43 16 Dec 2024
Brittany McGrath
Hi Vaughn, I can confirm this has been fixed now and is live in Standard ERP 2024-11-20 Version: 85556786. Thank you. ...
10:04 10 Dec 2024