Hi everyone,
I’m working on upgrading some legacy NAV code to the latest versions of Dynamics 365 Business Central, and I ran into an issue related to document distribution.
In older versions, we used the following internal procedure from Codeunit 452 – “Report Distribution Management”:
[Scope('Internal')]
procedure SendDocumentReport(
var TempDocumentSendingProfile: Record "Document Sending Profile" temporary;
This procedure handled printing, emailing, saving to disk, and electronic document sending based on the Document Sending Profile.
In newer Business Central versions, this method no longer exists.
However, I still found legacy/custom code calling it like this:
My question What is the modern equivalent of SendDocumentReport in recent Business Central versions?
Any guidance, documentation links, or real-world examples would be much appreciated 🙏
Thanks!

Report
All responses (
Answers (