{"id":4800,"date":"2022-06-30T20:21:32","date_gmt":"2022-06-30T18:21:32","guid":{"rendered":"https:\/\/dynamicseip.com\/docs\/invoice-mail-queue-eng\/3-application-settings\/3-2-1-document-templates\/"},"modified":"2022-06-30T20:50:08","modified_gmt":"2022-06-30T18:50:08","slug":"3-2-1-document-templates","status":"publish","type":"docs","link":"https:\/\/dynamicseip.com\/docs\/invoice-mail-queue-eng\/3-application-settings\/3-2-email-accounts-email-templates-document-templates\/3-2-1-document-templates\/","title":{"rendered":"3.2.2\tEmail Templates"},"content":{"rendered":"
Another area that needs to be set for the functionality to work properly is the Email Templates table. Templates are used to build a message format that will be automatically generated after the documents are posted – you can enter the message, subject of the message and, if Body is used in HTML, map the variables to the fields from Business Central.<\/p>\n
To create a new template, press the New<\/strong> button:<\/p>\n <\/p>\n The following window will be displayed:<\/p>\n <\/p>\n It is worth setting the Code<\/strong> and Description<\/strong> fields so that it will be easy to assign an Email Template<\/strong> to a Document Template<\/strong> later (e.g. using identical values for the Code<\/strong>, Description<\/strong> or Code and Description<\/strong> fields).<\/p>\n The Subject Pattern<\/strong> field is used to enter the formula generating the message subject. You can set them up in any way, also using formulas used in the BC system (e.g.% 1).<\/p>\n <\/p>\n Another important field to be completed is Table No.<\/strong> and Table Name<\/strong>:<\/strong><\/p>\n In HTML Body<\/strong>, enter the content of the Email message that will be generated after posting. The use of variables (when creating Body in HTML) can be used in the next step to map and insert values from the system in messages, e.g. it is possible to map the Remaining Amount<\/strong> field in the message body, which allows the customer to see what total amount still has to pay for a given invoice.<\/p>\n <\/p>\n Finally, in FastTab Lines, you can map Mail Body variables to fields with BC.<\/p>\n <\/p>\n <\/p>\n","protected":false},"featured_media":0,"parent":4799,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"yoast_head":"\n\n
\n