AL icon indicating copy to clipboard operation
AL copied to clipboard

Wrong AA0189 Warning about Missing ApplicationArea

Open pri-kise opened this issue 8 months ago • 0 comments

Please include the following with each issue:

1. Describe the bug The warning AA0189 is incorrect when the ApplicationArea is definied in a dependency app.

2. To Reproduce Create first app with tablextension on the ApplicationAreaSetup

tableextension 50100 "PTE Application Area Setup" extends "Application Area Setup"
{
    fields
    {
        field(50100 ; "PTE Feature XXX"; Boolean)
        {
            Caption = 'Feature XXX';
            DataClassification = SystemMetadata;
        }
    }
}

Then try to use this application area (PTEFeatureXXX) in another app with a dependency on this app.

Note: Because the developers need to copy and paste the code snippet, including a code snippet as a media file (i.e. .gif) is not sufficient.

3. Expected behavior The compiler should check the dependencies

4. Actual behavior Currently we receive an warning.

5. Versions:

  • AL Language:16.0.1463980

pri-kise avatar Apr 30 '25 06:04 pri-kise