Inconsistencies with Units
Paul Timms
7-24-20
Operating system: Windows
There is some inconsistency between UnitVc, and the Unittext field in INVc.

In UnitVc, Code is M4Code with a 5 character limit.
In INVc, Unittext (and Unittext2) are M4Str with a 10 character limit.

Is there any particular reason why these are different? On saving an item, it checks that the unit exists so it's not actually possible to save an item containing a unit with more than 5 characters, however it does allow saving with a lowercase unit code, which looks a bit odd.
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
Andis Blicāns, Grasko
Thank You for answer. In this case I used SSLNoCertificateValidation = true; SendWebRequest SSLNoCertificateValidation = false; ...
23:01 24 Mar 2026
Gatis Jansons
Hi, Paul. Sounds like you're talking about REST API. And that your are overwriting data with older values if B managed to read record before A finished to update it. Classic conflict resolution ...
14:53 19 Mar 2026