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
Reino Botha
Please check your version of android if it is the same as the server you are connecting too. ...
08:24 21 Nov 2024
Bror-Erik Kotiranta
In NC you hace operations>>ai chats. They are used for these Br, Bror-Erik...
05:12 21 Nov 2024