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

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans