Main key longer than 20 chars
Aldevinas Katkus
6-20-22
Operating system: macOS
Can we have item codes longer than 20 chars, e.g., 30 chars. We can do that by register redefinition in HAL. Will they index correctly?
David Delač
6-28-22
Hi Aldevinas,

Increasing length of a string field (in this case it is M4Code) is OK to do.

Best Regards,
David D.
Paul Timms
8-3-22
If ArtCode is increased in INVc definition to more than 20 characters, I presume it must be changed to the same length in every other register which has an item field?
David Delač
8-9-22
Hi Paul,

This is correct. It is very big change so I would personally advise against it.

Best Regards,
David D.
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
Andis Blicāns, Grasko
Hello! How this "HAL Code Quality Control with AI" can be set up/used in Hansa?...
17:10 8 Jun 2026
Hi there, Version 2025-08-11. When restoring data using the GUI client, we get a restore window that lists all the available text backup files. We have noticed that the date on the left hand side ...
13:20 3 Jun 2026