field missing OrdDate
Aldevinas Katkus
11-5-21
Operating system: Windows
A very strange issue. I am getting
Error in line:
ORr.SerNr=NextSerNr("ORVc",ORr.OrdDate,-1,false,"");
Error 1:Field missing: OrdDate

for the code

ORr.OrdDate = StringToDate(ImportField);
ORr.PlanShip = ORr.OrdDate;
ORr.SerNr = NextSerNr("ORVc",ORr.OrdDate,-1,false,"");

OrdDate is present in ORVc, I even check export/import format report.

Any ideas?
Aldevinas Katkus
11-5-21
Note that compiler does not complain about preceding lines with ORr.OrdDate.
David Delač
11-8-21
Hi Aldevinas,

I suggest to create a bug report in our Issue Tracker and attach HAL code that is causing compile errors. Just looking at your code I don't see anything wrong with it so it likely should be investigated.

Best Regards,
David Delač
Aldevinas Katkus
11-8-21
Sorry, please ignore this message, there was a typo error.
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
David Delač
Hi Gastón, Please report a bug in our issue tracker and attach test database that you can repeat this in so I can have a look. Paste subject here once done...
09:46 14 May 2025
Paul Timms
From what I've read, using these will store the updated records in memory and then write them to the database in bulk, instead of each record writing to the database in turn. So perhaps there&apo...
17:53 29 Apr 2025