Any page can be sent to email as an attachment by using style sheets. The style sheet used is the one for Internet Explorer as an HTML-formatted page is generated. The same style sheet is used when the “print page” action is invoked.
The demonstration database contains default style sheets, but other style sheets can be imported and applied to a specific page.
For example, for the customer card, a style sheet can be set up that contains a default letter, with the address of the customer automatically filled in together with some default sentences.
To send a sales order to email as an attachment, follow these steps:
1. On the Navigation Pane, click Home and then click Sales Orders.
2. Select any sales order, for example, 101017, and then click Edit.
3. Click Microsoft Dynamics NAV > Print & Send > Email as Attachment.
Your default mail program opens. It displays a mail message generated with the name of the page as the subject. It will also include an HTML-formatted document attached according to the default layout/ style sheet that was set up. In this case, an overview of all FastTabs and available fields with their value is shown.