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 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