Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Overload for method

Posted on by Microsoft Employee

---------------------------
Microsoft Dynamics NAV Development Environment
---------------------------
There is no overload for method 'CallPrintOut' that takes '4' arguments.
---------------------------
OK

overload.png

*This post is locked for comments

  • Verified answer
    Marcellus Profile Picture
    Marcellus 2,735 on at
    RE: Overload for method

    Hi Arun,

    I had a look in earlier builds, 45243 where the object version is: NAVW19.00 and 46621 where the object version is: NAVW19.00.00.46621 and I found that the method is called with 2 parameters.

    COD9651.png

    In build 48316, object version NAVW19.00.00.47256 the method is called with 4 parameters: WordHelper.CallPrintOut(WordDocument,PrinterName,Collate,Copies);

    The questions is what is the build number that you used for your object upgrade? Can you check in Codeunit 1 in the ApplicationBuild() method?

    Can you install the latest cumulative update?
    You could replace your object with an older version but I think you need to check your system, compile all objects to make sure you don't have other issues.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Overload for method

    9.00.457782474.temp.png

  • Marcellus Profile Picture
    Marcellus 2,735 on at
    RE: Overload for method

    What is your 2016 build number?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Overload for method

    I am also facing same issue, please give a solution.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Overload for method

    form 2009sp1 to 2016

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Overload for method

    Yes, its same version

  • Marcellus Profile Picture
    Marcellus 2,735 on at
    RE: Overload for method

    Hi,

    What is your build no and what is your old version?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Overload for method

    local.png

  • Marcellus Profile Picture
    Marcellus 2,735 on at
    RE: Overload for method

    Hi Arun,

    I can see that your cursor is on the name of the method, click somewhere in the code in the method instead (for example before the "IF GetWordApplication(WordApplication) ") and then try to access the locals please.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Overload for method

    Yes, i did upgrade.

    it's not showing 

    loc.png

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans