web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

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

(0) ShareShare
ReportReport
Posted on by 1,087

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

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Use infologs.

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

  • vv1984 Profile Picture
    1,087 on at

    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
    on at

    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
    1,087 on at

    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

  • Rachit Profile Picture
    4,015 User Group Leader on at

    You can use info class to display your output.

    Thanks,

    Rachit Garg

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans