field missing OrdDate
Aldevinas Katkus
2021-11-05
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
2021-11-05
Note that compiler does not complain about preceding lines with ORr.OrdDate.
David Delač
2021-11-08
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
2021-11-08
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
Bror-Erik Kotiranta
0 = CONr M4Long 1 = COChildNr M4Long...
11:00 8 Jan 2026
Bror-Erik Kotiranta
Hello Lilian, its been received. I myself do not know the answer to this, i will see if i can find a person who can answer your question...
10:13 8 Jan 2026