BusinessCentral.LinterCop
BusinessCentral.LinterCop copied to clipboard
LC0008 - Filter operators should not be used in SetRange
procedure MyProcedure()
var
SalesLine: Record "Sales Line";
begin
SalesLine.SetRange("No.", '%1', '');
end;
The LC0008 rule should also be raised in this scenario.