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

false positive Error LC0003/LC0014 for NextMajor [BC26, Sandbox]

Open ralf-escher opened this issue 1 month ago • 4 comments

I set rule LC0003 to been shown as an error. This works fine for my BC25 Azure DevOps pipeline, but shows now many errors for my NextMajor pipeline run:

it's always the same issue, AccessByPermission = TableData xxx on a Page is shown as an error

page/AutomotiveSalesOrder.Page.al(319,42): error LC0003: Do not use an Object ID for properties or variables declaration. Use TableData "Responsibility Center" = R instead.

However this Page uses the correct code:

field("Responsibility Center"; Rec."Responsibility Center")
{
    AccessByPermission = TableData "Responsibility Center" = R;
    ApplicationArea = Basic, Suite;
}

Any idea? Same problem like in #824 ?

ralf-escher avatar Jan 21 '25 07:01 ralf-escher