Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

Query based report change

(0) ShareShare
ReportReport
Posted on by 118
Hi all,
 
There's a standard query based SSRS report  - WHSWorkOrder.
 
I need to add 5 fields in it. All of them I can find with relations.
 
So for example I need to add Customer account and Customer name. So I can fine these from SalesTable using relation with WHSWorkTable.
I created 2 display methods in extension of WHSWorkTable. Now I can see those 2 display fields in Report dataset also, but when I run the report, the values are not there.
When I debugged, the display methods are not hitting.
 
So since it's a query based report, do I need to add anything else here?
Why my code/display methods not working?
 
Please advise.
 
Thanks,
Bhagyashree Dave  
  • Verified answer
    Hana Xue Profile Picture
    Hana Xue Microsoft Employee on at
    Query based report change
    Hi Bhagyashree,
    As Girish said, this post mentions the problem you describe and try to create a view and write a display method on this view to solve the problem:
    AX/D365 Technical Blog: Display methods in D365 Finance Forms SSRS reports (rahulmsdax.blogspot.com)
    Also, here is an old thread about this issue you can check it out:
    Dynamics Community Forum Thread Details
    Best Regards,
    Hana
  • Verified answer
    GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    Query based report change
    Hi Bhagyashree,
     
    This is the knows issue when you use the display method from the table and use it in SSRS report.
    To solve this issue, create view with required display methods and use that view in the query.
    Refer to the below blog.
     
    Thanks,
    Girish S.
  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,962 Most Valuable Professional on at
    Query based report change
    I can't find any resource on that, but I think you aren't the first one finding that this scenario (adding display methods to a query-based report through an extension) doesn't work.

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 Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,162 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans