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;