Announcements
No record found.
Hello, I am working on an SSRS report with D365 Finance & Operations using X++.
I am in a scenario where I have a journal with a header and lines, and the particular requirement of the report is that I need to select N number of lines within the journal and send only the selected lines to the printed report.
From the header, I am passing the journal ID through my Data Contract class, so I have no problem retrieving the header information in my DP (Data Provider). However, for the lines, I am not able to pass at least the RecId of the selected lines and then retrieve them in my DP.
How could this be achieved?
Thank you in advance. Best regards.
Sorry for the confusion, let me provide more context.
In my Controller, using a MultiSelectionHelper, I retrieve the RecId values of the selected lines in order to pass only those selected line RecIds to my DP class. However, I don’t know how to properly send them to the DP.
I have tried using a parm method in the Data Contract, sending them as a string, list, or container, but when I retrieve the contract in the DP, the journal/header ID arrives correctly, while the RecIds of the selected lines always arrive empty.
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.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Giorgio Bonacorsi 659
André Arnaud de Cal... 465 Super User 2026 Season 1
Syed Haris Shah 304 Super User 2026 Season 1