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)

Report fetch method

(0) ShareShare
ReportReport
Posted on by

Hello,

I declare some variables in the report classDeclaration method.  I then do some processing and set those variables in the reports fetch method.  I then have a display method that returns those variables to display on the report.

It seems as if the display method is returning before the fetch method is complete.  I tested this by putting output statements in the display method and the fetch method.

The display method output is BEFORE the fetch method output.

Is this because in the fetch method there are calls to this.send(); before I process and set my variables?

Thanks in advance.

Kind regards.

*This post is locked for comments

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

    Hi,

    This seems to be the case, please disregard and have a nice week.

  • Suggested answer
    MOHAMED MOHAMED Profile Picture
    245 on at

    To bypass this you will have to put your code in send method instead and most propably you will have to do it after the super() call not before

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