Scenario
There are scenarios when a user needs to indicate the Amount of the Purchase Order and Vendor Bill when sending an email to their respective recipients. The Amount should be reflected in the body of the email.
Solution
- Navigate to Customization > Workflow > Workflows > New
- Basic Information:
- Name: Enter Name
- Record Type: Select Transaction
- Sub Types: Select Vendor Bill and Purchase Order
- Execute as Admin: Enter Checkmark
- Released Status: Select Released
- Keep Instance and History: Select Always
- Enable Logging: Enter Checkmark
- Event Definition:
- On Create: Enter Checkmark
- On View or Update: Enter Checkmark
- Event Types: Select Create
- Context: Select User Interface
- Click Save
- Click State 1
- Bottom right corner: Click New Action
- Click Send Email Action
- Basic Information:
- Trigger On: Select After Record Submit
- Parameters:
- Sender:
- Specific Sender: Select Preferred Sender
- Recipient:
- Specific Recipient: Select Preferred Recipient
- Content:
- Select Custom
- Subject: Enter Subject
- Body: Enter Purchase Order amount: {appliedtotransaction.total} and Vendor Bill Amount: {usertotal}
- Click Save