BusinessCentral.LinterCop icon indicating copy to clipboard operation
BusinessCentral.LinterCop copied to clipboard

LC0008 - Filter operators should not be used in SetRange

Open Arthurvdv opened this issue 1 year ago • 0 comments

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

The LC0008 rule should also be raised in this scenario.

Arthurvdv avatar Feb 14 '24 15:02 Arthurvdv