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).
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.
and in the "Document-Print" codeunit, I added the below code.
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)