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
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