Change which record opens with F2
David Smerdel
10-16-17
Is there a way to change which record opens when you hit F2 in a field?

For example, if I select item TEST on a sales order, I wish to open the recipe with the code TEST and not the item.

I tried changing the field in datadef, but it didn't work:
ChangeMatrixField(ArtCode,M4Code,20,RecVc);

Thanks!
David
Björn Schwab
10-17-17
nope. It is the SClass used in windows def that will do the trick
In the database definition this is used when running import and you have set up that change from old to new codes. (items, customers etc).

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
Paul Timms
I would like to know what BackgroundHALShouldPause does, and how to use it. While it's listed in the HAL Primitives report, it is not used in source code and it doesn't appear in the LMS HAL...
18:15 30 Jan 2026
Bror-Erik Kotiranta
Please create a bugreport on the problems...
10:38 26 Jan 2026