How to identify records opened from Record History
Paul Timms
3-4-20
A user OKed a delivery, then opened the non-OKed version of the delivery from record history, in order to print a picking note. Some HAL is updating a field on the delivery each time it is printed, if it has not been OKed, and this caused the system to crash with a D4Index error.

Is there a simple way in HAL to check if the record on screen is an older version? Or do we have to compare against the stored record?
Piotr Resiak
3-5-20
Hello. Thank You for posting. We will get back to you with the answer shortly .
Dejan R.
3-6-20
Hi Paul,

I checked with developers and unfortunately there is no available functionality in HAL to check that.

Regards
Paul Timms
3-10-20
Hi Dejan

So we will have to compare the window record with the stored record and prevent certain actions if, for example, the stored record is OKed but the window record is not.

Thanks

Paul
Piotr Resiak
3-11-20
Hello Paul. We are expacting Dejan (or one of our PMs) to reply to You shortly.
Nejc R.
3-16-20
Yes this seems like it will work. If the record is changed by a background task run on the server there is no way for the client to know that. So best way is to run on update check that reads the servers record and compares the problematic fields.
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
Hello, Kindly please report the bug so that we can further investigate and resolve it. Thank you. Best regards, Benjamin...
11:31 3 May 2024
Hi, No changes should have been made that would increase client's HDB file. Please try to delete HANSA.HDB from client folder and reconnect to server and check if it will grow to 30MB again. ...
10:14 30 Apr 2024