Notifications
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 451 Most Valuable Professional
André Arnaud de Cal... 428 Super User 2025 Season 2
BillurSamdancioglu 239 Most Valuable Professional