StefanMaron / BusinessCentral.LinterCop

Community driven code linter for AL (MS Dynamics 365 Business Central)
https://stefanmaron.com
MIT License
77 stars 31 forks source link

LC0008 - Filter operators should not be used in SetRange #541

Closed Arthurvdv closed 5 months ago

Arthurvdv commented 8 months ago
procedure MyProcedure()
var
    SalesLine: Record "Sales Line";
begin
    SalesLine.SetRange("No.", '%1', '');
end;

The LC0008 rule should also be raised in this scenario.