Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

how to resolve AL0186 compilation errors

(1) ShareShare
ReportReport
Posted on by 68
ReunPageLink = /No./=field(/No./), /Active Budget Vesion PGS/ = field(/Active Budget Vesion PGS/);
I had this runpage link in page action.
 
Here I am unable to resolve this issue, the errors says:
error AL0186: Reference 'Active Budget Version PGS' in application object 'Job' does not exist.
but the field was there in the table.
Can any got issues like this, please let me know the how can we resolve this.
 
 
I am working on BC24 container
  • Suggested answer
    Alex L. Profile Picture
    Alex L. 15 on at
    how to resolve AL0186 compilation errors
    Microsoft is already working on it.
  • Alex L. Profile Picture
    Alex L. 15 on at
    how to resolve AL0186 compilation errors
    With which Base App Version are you working?
    I have the same problem when publishing a package to a BC24 container.
    Some actions are not able to "see" fields that the same package adds to a table via a table extension.
    The problem suddenly occured on Monday I think.

    At the moment I suspect Microsoft changed something that causes this, but I have no clue or solution for it.

    Regards,
     
    Alex
  • how to resolve AL0186 compilation errors

     
    I added a field in Job table, and which is in same project, then I don't need to add the dependencies to access this field, I got the AL0186 error only in the actions but didn't get any issues with remaining places. and the field also coming in the suggestions when I click "cntl+space" but when I declared, I'm getting the error.
  • YUN ZHU Profile Picture
    YUN ZHU 75,673 Super User 2024 Season 2 on at
    how to resolve AL0186 compilation errors
    Hi, It looks like you're going to extend the app for other partners outside of the standard. You need to set the dependencies attribute in app.sjon and then download the Symbol file again.
    There is also a simple example in the post below.
     
    In addition, if this third-party partner sets the 'resourceExposurePolicy', you cannot complete the customization.
     
    Hope this helps.
    Thanks.
    ZHU

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,661 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,379 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans