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