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 :
Small and medium business | Business Central, N...
Answered

Sales Report selection. Email body report is sent to printer.

(0) ShareShare
ReportReport
Posted on by 3,029

In Sales Report selections for invoice, we have standard report 206(rdl) and 1306 (Word). Report1306 is marked for email body. So when we send invoice by email, report 206 is attached as pdf and 1306 is the email Body.

The problem is that when a user prints an invoice, both reports are sent to the printer. Is there any way we can avoid this, and still keep both reports for sending by email? Basicallly, why does system print a report that is marked as email body?

I have the same question (0)
  • Suggested answer
    Dallefeld Profile Picture
    233 User Group Leader on at

    Do you have document layouts defined for your customers that sets the printed report and email report numbers along with the email address?

  • Suggested answer
    MahGah Profile Picture
    15,613 on at

    Hi

    The challenge is BC combined 2 Print/Email together. Basically when you select the report in setup page it means I want to print this report. Then by marking as Email body you define how email works.

    Kim provided one solution here.

    Also, what setup you have in Printer Selection? I mean have you setup both report to print for user? or you see PDF file then print? if you setup both report to print then remove 1306 and try. User may see message to print the PDF that can ignore. This is only helpful if you have minor print of those reports.

  • Ghetz Profile Picture
    3,029 on at

    We don't use layouts by customer, as it's the same for all. IMO we should be able to set this globally, instead of customer by customer, that's actually my point.

    Users don't send invoices directly to the printer; they generate the report to PDF or print it after getting the request page. It's unacceptable to have 2 request pages, as many times they will just hit print and get both layouts printed. It's a big department.

    I just don't get this design, what sense does it make to print an email body, this should be addressed IMO. Enable a global "printed report" or take the email configration out of the report selections.

  • Suggested answer
    MahGah Profile Picture
    15,613 on at

    Hi

    I agree with you. For the exact reason we have decided to use 3rd party app for all emailing. 

    You can submit your idea here and then share the link. Then we can vote. 

    experience.dynamics.com/.../

  • Ghetz Profile Picture
    3,029 on at

    Added a comment to this one that already has votes. Please vote

    experience.dynamics.com/.../

  • Suggested answer
    MahGah Profile Picture
    15,613 on at

    Great. I voted for this idea.

  • Ghetz Profile Picture
    3,029 on at

    We finally came with a small customization to avoid printing "Email Body" Reports

    Let me share it here:

        [EventSubscriber(ObjectType::Table, Database::"Report Selections", 'OnPrintDocumentsOnAfterSelectTempReportSelectionsToPrint', '', false, false)]
        local procedure OnPrintDocumentsOnAfterSelectTempReportSelectionsToPrint(RecordVariant: Variant; var TempReportSelections: Record "Report Selections" temporary; var TempNameValueBuffer: Record "Name/Value Buffer" temporary; var WithCheck: Boolean; ReportUsage: Integer; TableNo: Integer)
        var

        begin
            TempReportSelections.SetRange("Use for Email Body", false);
        end;

  • Verified answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Thank you for sharing. This is really helpful for others.

  • J Goudriaan Profile Picture
    on at

    Thanks for sharing your solution to this issue, Ghetz!

    I implemented in BC21 and it works.

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,216 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,471 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,369

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans