AL icon indicating copy to clipboard operation
AL copied to clipboard

AL0186 erroneous message

Open navdotnetreqs opened this issue 3 months ago • 0 comments

1. Describe the bug A clear and concise description of what the bug is.

Error that a standard field does not exist (it does), when linking a flowfilter using "filter()" instead of "field()".

src\tableext\TeamMemberCue.TableExt.al(13,127): error AL0186: Reference 'Starting Date' in application object 'Time Sheet Header' does not exist

2. To Reproduce Steps to reproduce the behavior:

        field(73901; "Active Time Sheets ASDF"; Integer)
        {
            CalcFormula = count("Time Sheet Header" where("Owner User ID" = field("User ID Filter"), "Starting Date" = filter("Active Date Filter ASDF")));
            Caption = 'Active Time Sheets';
            FieldClass = FlowField;
            Editable = false;
        }

3. Expected behavior Should give the real error.

4. Actual behavior Gives a nonsense error.

navdotnetreqs avatar Oct 01 '25 03:10 navdotnetreqs