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...
Suggested Answer

Attach document based on field value

(0) ShareShare
ReportReport
Posted on by 40

Hello!

I'm trying to send out an email from the "Send Email" button on a Sales Quote, but i want the attachment to differ based on a boolean value on the Sales Header.

pastedimage1662119834679v1.png

For instance, when i press the button and the boolean field is checked, the attachment will be a document Report A. When the button is pressed and the boolean field is left unchecked i want the attachment to be a document Report B.

I have tried different eventsubscriptions to try and point the reportselector around to make this work but i can't seem to figure it out. How can this be achieved?

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    Have you tried the method described here ?

    docs.microsoft.com/.../devenv-substituting-reports

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 727 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 512 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 321 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans