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
Gastón Salomone
Hi, I cannot find any information on about this feature on hansamanual. That is the purpose, is it working, how it works or how must be configured to work ? For REST API many web request per...
23:47 3 Oct 2024
Paul Timms
Thanks Bror-Erik, it's hard to replicate so we won't know for sure until we upgrade the customer with this issue....
10:37 30 Sep 2024