web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Automate send email of report generated as excel attachment in Business Central

(0) ShareShare
ReportReport
Posted on by 55

Hi,

Can anyone know how to send generated report via email as an excel attachment from Business Central. We need similar solution as we subscribe SSRS reports in SQL reporting Services.

Please let me know if this can be done in BC if yes how, if there is any sample code will be helpful.

Thanks,

Amit Bansal.

I have the same question (0)
  • Suggested answer
    Marco Mels Profile Picture
    on at

    Hello,

    We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist.  If you need assistance with debugging or coding I would recommend discussing this on one of our communities.

    www.yammer.com/dynamicsnavdev

    dynamicsuser.net/.../developers

    I will open this up to the community in case they have something to add.

    Thanks.

  • Suggested answer
    Community Member Profile Picture
    on at

    I have 2 solutions for you:

    first:

    check the following link:

    https://docs.microsoft.com/en-us/dynamics365/business-central/ui-how-send-documents-email

    just need to customize and add excel type.

    second:

    create a process report and do the following steps:

    1. filter the data

    2. call the main report and save it as Excel file on disk

    3. create an SMTP instance, set the emails, the body of the mail, and add the attachment from step 2. then send the email.

    then create a job queue entry and run this report

  • Verified answer
    keoma Profile Picture
    32,729 on at

    create a codeunit for that, follow www.mynavblog.com/.../.

    then create a new job queue entry, add that new codeunit, set the recurrancy.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,229

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,867 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,153 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans