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)

object in debugger shows methods which are not actually the part of that object. How to access them?

(0) ShareShare
ReportReport
Posted on by 2

Hi,

I have a SysReportRun object which when watched in the debugger shows many methods related to the actual report data. But when I try to access them or find them using 'SysTest::hasMethod' for that object the system never seems to find those methods(because I can't find them in the AOT aswell). Is there any way to access those methods?

Thanks

Haris.

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,884 Most Valuable Professional on at

    Can you give us a concrete example?

    Note that methods added in reports are physically defined in SysReportRun class in AOT.

  • dynamics developer Profile Picture
    2 on at

    Thanks for the reply Martin.

    Sorry cannot give you a concrete example as my clients are using the Dyxon email tool. And the object is basically the tool's object i.e. 'DYX_SysReportRun' which extends the standard 'SysReportRun'.

    But you can help me by telling if there is a way to get the datasource or just say report data using the 'SysReportRun' object?

  • Martin Dráb Profile Picture
    237,884 Most Valuable Professional on at

    I'm sorry, but I can't comment on the methods you expect if you don't tell us anything about them. It's also not clear how it's related to a child of SysReportRun. If the methods are defined in the child, then you already have the answer. If not, the fact that you're using a subclass is likely irrelevant.

    If you want to see what you can do with SysReportRun class, look at its methods. queryRun() may be what you're looking for in the moment,

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