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
Thanks David! I'll give that a go and confirm if that works. Paul...
10:54 23 Apr 2025
David Delač
Hi Aldevinas, You need to customise ReadImportTaguser2 since it was added between mentioned versions, to support the changes. Best regards, David D....
14:11 15 Apr 2025