In this article we send emails on releasing and posting of purchase order, sales order and journal. We send emails with attachments in .pdf format to the respective users. For Purchase order the email is sent to the respective Vendor regarding the successful posting of orders. For Sales order email with attachment is sent to customers and in General journal the email is sent to the users.
The purpose of this setup is to send emails with attachments on releasing and posting of purchase and sales order and on Posting of General journal in NAV 2017.
Here SendEmailWithAttachment is a function in the codeunit.
This codeunit Fetches the Customer email address. Using SMTP Mail it attaches the attachment in .pdf format and then sends the email.
The same procedure is applied for Purchase order and General Journal.
The Email automatically is send to the customer, vendor or user with the attachment on Posting and on release action.
The post Email on Releasing and Posting of Purchase Order, Sales Order and Journal appeared first on CloudFronts - Microsoft CRM | AX | BI | Azure.