Export/import format shows different virtual register structure
Aldevinas Katkus
5-15-23
Operating system: macOS
What's wrong with this custom Virtual register definition?
Export/import format report shows only the first field StockBalDate and there is a silent crash when I try to assign something to ArtCode.

version 8.5 2023-02-08 (build 85510137)

RecordBegin(ItemDistributionVc,-,"");
VirtualRegister;
RecordField(StockBalDate,M4Date,0,0);
ArrayBegin(Math,-,1);
ArrayField(stp,M4Int,0,0);
ArrayField(ArtCode,M4Code,20,INVc);

ArrayField(Qty,M4Qty,0,0);
ArrayField(Description,M4Str,120,0);
ArrayField(Location,M4Code,20,LocationVc);
ArrayField(QtyInStock,M4Qty,0,0);
ArrayField(QtyToShip,M4Qty,0,0);
EndArray;
EndRecord;
Aldevinas Katkus
5-15-23
Stupid error: RecordField(Math,M4Matrix,0,0) missing.
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