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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Display methods on SSRS report AX7

(0) ShareShare
ReportReport
Posted on by 278

Hi,

I need to know how can we use display methods in SSRS reports. I am having an issue. I have created extension class for an existing table. and under that class I have written my display method. 

[SysClientCacheDataMethodAttribute(true)]
public display CustAccount CustAccount(ProdTable _prodTable)
{
    CustAccount custAccount;

    if (_prodTable.InventRefType == InventRefType::Sales)
    {
        custAccount = SalesTable::find(_prodTable.InventRefId).CustAccount;
    }

    return CustAccount;
}

My report is a query based report. 

I am able to see the display method in report and also I have dropped the field into the report design. But there is no value on the report.

Please guide me though this. 

*This post is locked for comments

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    304,553 Super User 2026 Season 1 on at

    Hi Vishal,

    What datasources is the report based on? Also the ProdTable? Did you deploy the report to the SSRS server?

  • Vishal Jevtani Profile Picture
    278 on at

    Hi Andre,

    I am referring to the query (ProdReport) which has ProdTable as its root datasource. Yes i have deployed the report it is showing other additional fields I have added on query, but no any value in display method field.

  • André Arnaud de Calavon Profile Picture
    304,553 Super User 2026 Season 1 on at

    Hi Vishal,

    I'm not that familiar with SSRS report customizations. I assume you had done a correct build. Can you verify if the control has the correct properties for the datasource and the field?

    When you create a simple form with the ProdTable as datasource and the new display method, is it then showing the correct value?

  • Vishal Jevtani Profile Picture
    278 on at

    The control on SSRS has correct properties. I have tried it with form. It is working fine. Can't figure out what is the problem with report.

  • Suggested answer
    Hichem.Chekebkeb Profile Picture
    3,371 on at

    I had similar issue when display method not showing its value. I fixed it with SSRS Server restart.

    What I found is that if I use a display method from my own tables, it works fine. but when I use a display method from an extended out-of-box table this doesn't show any value. Still couldn't resolve this issue. 

  • Suggested answer
    faheem Ahmed Profile Picture
    450 on at

    issue is with the model you are sitting in.

    example: I have created one new model MyModel and i want to use display method from HcmWorker Empname although in my report datasource it will show me method to select but will not return any information because its in application suit model to access value from that method i need to write delegate method.

  • Vishal Jevtani Profile Picture
    278 on at

    in my case model was the same. I tried using that query in a form to see if display value shows any value, it worked. but not in SSRS.

    well i had to go for another solution and a join on query worked for me. Still I am in search of the answer for why the display method in extension would not work with SSRS

  • Mariano Gracia Profile Picture
    on at

    In platform update 10 display methods in forms has changed, the problem is the same, the method doesn't exists for the table (in the report design), only for the extension class, so you have to use a static method, you can see it in this link from Kurt Hatlevik’s AX Blog may be is the same problem in ssrs reports?

  • Adrian Pascari A Profile Picture
    1,683 on at

    Did you find a solution for this? Using Application version 7.3 and the display method is not returning anything in the SSRS report.

  • Ansar Basha Profile Picture
    1,584 on at

    Hi All,

    Did any one able to resolve the issue, kindly share your thoughts, data is not appearing on Report.

    Thanks & Regards,

    Ansar Basha.S

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans