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

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

(0) ShareShare
ReportReport
Posted on by 2,999

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?

  • J Goudriaan Profile Picture
    on at
    RE: Sales Report selection. Email body report is sent to printer.

    Thanks for sharing your solution to this issue, Ghetz!

    I implemented in BC21 and it works.

  • Verified answer
    Marco Mels Profile Picture
    on at
    RE: Sales Report selection. Email body report is sent to printer.

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

  • Ghetz Profile Picture
    2,999 on at
    RE: Sales Report selection. Email body report is sent to printer.

    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;

  • Suggested answer
    MahGah Profile Picture
    15,445 on at
    RE: Sales Report selection. Email body report is sent to printer.

    Great. I voted for this idea.

  • Ghetz Profile Picture
    2,999 on at
    RE: Sales Report selection. Email body report is sent to printer.

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

    experience.dynamics.com/.../

  • Suggested answer
    MahGah Profile Picture
    15,445 on at
    RE: Sales Report selection. Email body report is sent to printer.

    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
    2,999 on at
    RE: Sales Report selection. Email body report is sent to printer.

    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,445 on at
    RE: Sales Report selection. Email body report is sent to printer.

    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.

  • Suggested answer
    Dallefeld Profile Picture
    175 User Group Leader on at
    RE: Sales Report selection. Email body report is sent to printer.

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

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans