10
Could we please have an Event added to Codeunit 1509: Notification Entry Dispatcher, function GetHTMLBodyText, so that we can change the layout of the Notification emails.
My suggestion is OnGetHTMLBodyText(var NotificationEntry, var HtmlBodyFilePath, var BodyTextOut, var Handled)
Alternatively please remove the line that says so we can set a Custom layout:
ReportLayoutSelection.SetTempLayoutSelected('');
Or let us select the Report specified in the next line from a Setup field rather than hardcoding it:
IF NOT REPORT.SAVEASHTML(REPORT::"Notification Email",HtmlBodyFilePath,NotificationEntry)
My suggestion is OnGetHTMLBodyText(var NotificationEntry, var HtmlBodyFilePath, var BodyTextOut, var Handled)
Alternatively please remove the line that says so we can set a Custom layout:
ReportLayoutSelection.SetTempLayoutSelected('');
Or let us select the Report specified in the next line from a Setup field rather than hardcoding it:
IF NOT REPORT.SAVEASHTML(REPORT::"Notification Email",HtmlBodyFilePath,NotificationEntry)
STATUS DETAILS
Declined
Comments
I just wonder if Report Substitution cannot help here?
Category: General
Business Central Team (administrator)