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

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Multiple message type in Table 9500 Email Item. Possible?

(0) ShareShare
ReportReport
Posted on by

Hello,

We define the customized message in the "Report Selection" page and it is unique (we can select only one message format even though we have several layouts in the "Custom Report Layout" page).

But I wanna have all the customized messages in the "Custom Report Layout" page to be displayed in the "Email Dialog" window so that I could select the message that I wanna send for different documents Is it possible to have multiple message options for the field "Message Type" in the Table 9500?

What I've tried so far :

1. Select the report layout manually before printing the report. (I use the below code just to print the report and not to send).

 0726.Capture.PNG

2. Here I have two different options to select the layout before sending the mail. but I needed to create multiple functions to have the multiple message options.

2783.Capture1.PNG

and in the "Document-Print" codeunit, I added the below code. 

5516.Capture2.PNG

But the worry in both of the cases I've tried is that if I wanna add another custom report layout, then I need to touch the code (which is not awesome). Is there a way to create automatically an option when a new layout is created?

Your suggestions and ideas are welcomed.

Thank you so much for your time.

*This post is locked for comments

I have the same question (0)

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans