Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

[NEWBIE] How to have a "readable" print output?

Posted on by 1,085

Hi,

i'm putting the result of a query inside a print statement. 

 

But the print's output is outside the window, so i can't read it. 

Is there a way to have a more readable output? Do you have some tips for getting output

during tests?

 

Thank you

 

 

*This post is locked for comments

  • Rachit Profile Picture
    Rachit 4,015 User Group Leader on at
    Re: [NEWBIE] How to have a "readable" print output?

    You can use info class to display your output.

    Thanks,

    Rachit Garg

  • vv1984 Profile Picture
    vv1984 1,085 on at
    Re: [NEWBIE] How to have a "readable" print output?

    Yes, i already use pause  to stop the job, but  the output is completely out of sight. And it seems there's no way to navigate through the output window.

    Thank you for your help

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: [NEWBIE] How to have a "readable" print output?

    What do you mean by read the output of a print?

    Use "pause" after you use print so it stops execution and you can read it.

    static void pauseAfterPrint(Args _args)
    {
        ;
        print "hello";
        pause;
    }

  • vv1984 Profile Picture
    vv1984 1,085 on at
    Re: [NEWBIE] How to have a "readable" print output?

    Ok,

    already knew it. But, is there a way to read the output of a print? It doesn't look so. :-)

    Thank you

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: [NEWBIE] How to have a "readable" print output?

    Use infologs.

    See here:  msdn.microsoft.com/.../aa878552%28v=ax.10%29.aspx

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