Skip to main content

Notifications

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

  • Martin Dráb Profile Picture
    233,658 Most Valuable Professional on at
    RE: object in debugger shows methods which are not actually the part of that object. How to access them?

    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,

  • dynamics developer Profile Picture
    2 on at
    RE: object in debugger shows methods which are not actually the part of that object. How to access them?

    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
    233,658 Most Valuable Professional on at
    RE: object in debugger shows methods which are not actually the part of that object. How to access them?

    Can you give us a concrete example?

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

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics AX (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 100 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 48

#3
shanawaz davood basha Profile Picture

shanawaz davood basha 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans