Business Requirement:
In my recent implementation, a new requirement arose where the approver needed to receive email notifications for purchase order approvals, and the sender needed to be notified of the purchase order's approval or rejection.
To achieve this, I configured the SMTP setup, approval user setup, and enabled the workflow for Purchase Order. Check out this blog for a detailed demonstration.
Configure SMTP:
To begin, it is necessary to configure the email setup, also known as SMTP setup, as Business Central cannot send email notifications without it.
Step 1:
Search Email Accounts by using tell me icon
Step 2:
Click on NEW and add email account
Step 3:
Select SMTP in the option or you can be based on your email domain
Step 4:
In the wizard select you email address and in the server URL – smtp-mail.outlook.com, server port – 25 and Authentication – Basic
Once you have configured your email accounts, you can easily test it by sending a test email directly from the Email Accounts page. This will ensure that your email is set up correctly and that you are able to send and receive emails without any issues.
By following above steps Email Accounts (SMTP) will configured.
Configure Approval user setup:
I added the BC user as the unlimited approver for user AKASH in the approval user setup.
Both users must have their email IDs mentioned, as the absence of an email ID will result in no email notifications being sent or received.
Configure Purchase Order Workflow: