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
Aldevinas Katkus
same v. 2025-02-24. New DB. Just forward balances (purchase, sales invoices) from 2024 and later. In your case does turnover per period differs or just fwd. balance differs and turnover is identical i...
09:56 20 Mar 2025
Aldevinas Katkus
RecordAddBegin(UserVc,"UserVc_fuel"); RecordField(EmployeeCode, M4Code, 10,0); KeyBegin(EmployeeCode); KeySegment(EmployeeCode); KeySegment(Code); EndRecordAdd; ...
12:32 26 Feb 2025