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
Aldevinas Katkus
same v. 2025-02-24. New DB. Just forward balances (purchase, sales invoices) from 2024 and later. In your case does turnover per period differs or just fwd. balance differs and turnover is identical i...
09:56 20 Mar 2025
Aldevinas Katkus
RecordAddBegin(UserVc,"UserVc_fuel"); RecordField(EmployeeCode, M4Code, 10,0); KeyBegin(EmployeeCode); KeySegment(EmployeeCode); KeySegment(Code); EndRecordAdd; ...
12:32 26 Feb 2025