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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

ReportController classes, how to get the generated file?

(2) ShareShare
ReportReport
Posted on by 81
Hi everyone!
I need to send a PDF report through a service in D365FO. To do this, I must generate an invoice report, configure the report as a file (since mostly in the system it is configured for all cases as 'display on screen'), and then send that PDF via the server. My question is whether this is achieved through development using an instance of the LedgerJournalController class. I have researched a bit and many suggestions make use of this class to generate a new report. In my case, I don't need to create a new report, but only to obtain that generated PDF to return it in the response. Any guidance would be appreciated. Thank you very much./
I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    238,789 Most Valuable Professional on at
    You can use SRSProxy.renderReportToByteArray() to get a prinout of an SSRS report (and then send it where needed). Use renderReportToByteArray in a search engine to find blog posts with examples.

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 521 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 438

#3
Adis Profile Picture

Adis 261 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans