Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Suggested answer

[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

 

 

  • Rachit Profile Picture
    Rachit 4,011 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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,570 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,683 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans