How To: Setup Emails to be sent based on your Purchase Order Line Status


WARNING icon
Creating and Editing Emails based on your Purchase Order Line Status is an Advanced User feature.

Emails can be sent out to customers to inform them of the status of their back ordered stock items, based on the status of their associated purchase order line. There are two steps required to setup the system to send these emails and once setup they can be used, see How To: Send Emails based on your Purchase Order Line Status.
Note: this option only works for purchase order items that have been created as a back order item for a specific customer, but also works when you create associations and then email customers, see How To: Create an Association between a Sales Order and Back Order/Purchase Order.

Setup the Email Template

  1. Open an Email Manager screen (show me how).
  2. Click on the Templates radio button.
  3. Press Ctrl+N or click the New item icon is the button bar's NEW button .
  4. Add a template code for example Received.
  5. Add a template description Order Received.
  6. Select a trigger type of BACK ORDER.
  7. Tick the 'Add to Comm Log when sent' checkbox. (Optional)
  8. Tick the HTML Format checkbox if your message body is going to be written in HTML. (Optional)
  9. Add the from address, for example sales@thebestcompany.co.uk. (Optional)
  10. Add the subject Your order has been received.
  11. Create your Item Template:
    1. Focus on the blue Available Tag you wish to add.
    2. Click on the BtnEmailArrow.jpg button next to the Item Template field.
    3. Repeat as required remembering to add linking words and spaces.
  12. Create your Message Template remembering to add the yellow $ITEM_TEXT tag where you want the list of back ordered stock items to be displayed in the body of the email, see the example below.
  13. Press Ctrl+S or click the disk icon is the button bar's SAVE button to save.

Note: due to the way in which the data is generated into the Back Order emails, the following tags can only be used in the 'Item Template' section of the Back Order Email Template:
$INV_CON_FORENAME
$INV_CON_SURNAME
$INV_CON_TITLE
$SORDER_CODE

Setup Emails to be sent based on your Purchase Order Line Status message template

Setup the Purchase Order Status

The different message templates are listed in System Data so they can appear in a drop-down list in the grid in the On Order screen.

  1. Open a System Data screen (show me how).
  2. Open the [ Others | Purchase Order Line Statuses ] screen.
  3. Press Alt+E or click the green triangle icon is the buttonbar's EDIT button to enter edit mode.
  4. Press F3 or click the NEW ITEM button has an icon that shows two sheets of paper (identified by having the top right corner folded down), arranged diagonally on the icon from top left to bottom right to add a new item.
  5. Enter the description for your message template, for example Order Received, Your item has been shipped, Your item will be finished on (date) etc.
  6. Focus in the 'Email Template' field.
  7. F4 and select the message template from the list.
  8. Enter the number to define the order you wish the list of templates to appear in the drop down list.
  9. Press Ctrl+S or click the disk icon is the button bar's SAVE button to save.

Did you find this article helpful?