Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Compile Error in Nav 2016

Posted on by Microsoft Employee

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
    Community Member Microsoft Employee on at
    RE: Compile Error in Nav 2016

    MS2013

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,139 Super User 2024 Season 2 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
    Community Member Microsoft Employee on at
    RE: Compile Error in Nav 2016

    I did manually still facing same issue

  • Tina Menezes Profile Picture
    Tina Menezes 2,576 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
    Community Member Microsoft Employee on at
    RE: Compile Error in Nav 2016

    error_5F00_nav.png

  • Tina Menezes Profile Picture
    Tina Menezes 2,576 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans