2
Since insider built BC17 I get the following CodeCop warning:

"code": "AA0233",
"severity": 4,
"message": "The 'FindFirst' method on the record 'xyz' must be used without the Next()

This is on a piece of code like"
xyz.FindFirst();
for i := 1 to NumberOfRecords do begin
if i > 1 then
xyz.Next();
DoSomething....
end;

According to rule
https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/analyzers/codecop-aa0233-usegetfindfirstandfindlastwithoutnext

The case is: I want to get a defined number of records, but not the whole set. That is why I prefer not to use FindSet.
So, a way to give FindFirst or FindSet a parameter with the number of records to retrieve would be nice.
The Query object already can do this. But I prefer not to create / use another object for this.
Category: Development
STATUS DETAILS
Needs Votes
Ideas Administrator

Thank you for this suggestion! Currently this is not on our roadmap. We are tracking this idea and if it gathers more votes and comments we will consider it in the future.

Best regards,
Business Central Team