Describe the bug
Warning AA0022 in line 1 of app.json when a codeunit have the parameter TableNo
To Reproduce
use this settings.json:
{
"al.enableCodeAnalysis": true,
"al.codeAnalyzers": [
"${CodeCop}",
"${PerTenantExtensionCop}",
"${UICop}"
]
}
AL Code to reproduce the issue
create this codeunit:
codeunit 50000 "Test AA0072"
{
TableNo = "Customer";
trigger OnRun()
begin
end;
}
Expected behavior
Not to get the warning
Screenshots
If applicable, add screenshots to help explain your problem.

5. Versions:
- Business Central: 17.2.19367.19525
Describe the bug
Warning AA0022 in line 1 of app.json when a codeunit have the parameter TableNo
To Reproduce
use this settings.json:
{
"al.enableCodeAnalysis": true,
"al.codeAnalyzers": [
"${CodeCop}",
"${PerTenantExtensionCop}",
"${UICop}"
]
}
AL Code to reproduce the issuecreate this codeunit:
codeunit 50000 "Test AA0072"
{
TableNo = "Customer";
}
Expected behavior
Not to get the warning
Screenshots

If applicable, add screenshots to help explain your problem.
5. Versions: