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
Gastón Salomone
Hi David, Since this happend in a timed task and its a memory problem, system crash and there are not any messages in hansa.log In hansa log. last lines are following: 2025-04-24 22:48:20 runn...
16:15 25 Apr 2025
Paul Timms
Thanks David! I'll give that a go and confirm if that works. Paul...
10:54 23 Apr 2025