Hi,
I am new to AX development and need to customize the print options form. I’ve managed to add a field, Mail Body, for the email recipient details. When I enter text to this field and then I press Ok button, the value of the Mail Body field is saved when I reopen the print options from the report dialog. However, when I reopen the report itself and then go to the print options, the Mail Body is empty. The Mail Subject, Mail To, and Mail CC field values are retained.
How do I save the contents of the Mail Body field so that when I open a report and go to print options, the previous contents are already entered to the field?
Additional Info:
I pass the contents of the Mail Body field to printJobSettings.copyDescription(1). When I call this method in Info/reportSendMail, I was expecting to retrieve the contents entered in Mail Body field but, I get an empty value.
Thanks in advance.