Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LC0005 variables on CalcFormula #475

Closed
Arthurvdv opened this issue Jan 2, 2024 · 0 comments
Closed

LC0005 variables on CalcFormula #475

Arthurvdv opened this issue Jan 2, 2024 · 0 comments
Labels
enhancement New feature or request Resolved

Comments

@Arthurvdv
Copy link
Collaborator

The LC0005 should also check on variables in a CalcFormula.

table 50102 MyTable
{
    fields
    {
        field(1; "MyField"; Integer) { }
        field(2; "Customer No."; Code[20])
        {
            FieldClass = FlowField;
            CalcFormula = lookup(customer."No."); // Should raise the rule here on customer without a capital C
        }
    }
}
@Arthurvdv Arthurvdv added the enhancement New feature or request label Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Resolved
Projects
None yet
Development

No branches or pull requests

1 participant