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 Aldevinas, Please post your customisations so I can help you....
11:40 20 Feb 2025
Piotr Wycichowski
The register for Order Classes is common for Sales orders and Service orders. When I set an Order Class to create an Activity - it works for Sales Order, while for Service Orders - not. Is any setting...
09:30 18 Feb 2025