Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Compile Error in Nav 2016

(0) ShareShare
ReportReport
Posted on by

Dear all, 

I am getting compile error 

A maximum of 1 parameters must be used when calling the function.

For example: MyFunc( .. , .. , .. ) ROUND(MyVar) ROUND(MyVar,0.05)

*This post is locked for comments

  • Community Member Profile Picture
    on at
    RE: Compile Error in Nav 2016

    MS2013

  • Suggested answer
    Mohana Yadav Profile Picture
    60,228 Super User 2025 Season 1 on at
    RE: Compile Error in Nav 2016

    which version of office are you using?

    check whether all dll are properly placed under installed folders.

  • Community Member Profile Picture
    on at
    RE: Compile Error in Nav 2016

    I did manually still facing same issue

  • Tina Menezes Profile Picture
    2,582 on at
    RE: Compile Error in Nav 2016

    Hi,

    I think you are getting this error after upgradation of NAV. So navigate to C/AL locals and  check Dotnet variable 'OrientationValues' subtype. It must be old version of dotnet. So what you do is you select the Dotnet subtype again manually and compile it so that it refers to the new version.

  • Community Member Profile Picture
    on at
    RE: Compile Error in Nav 2016

    error_5F00_nav.png

  • Tina Menezes Profile Picture
    2,582 on at
    RE: Compile Error in Nav 2016

    Hi,

    Go to the object where the error comes up. It means that you need to pass one parameter to the function in order to call it. So pass the required parameter to the function and then compile again.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans