To set up despatch notes to send via email: Report Designer Set up the email options for your despatch note layout in Report Designer. To email the layout to the delivery address contact or the preferred customer contact email address: - Select the group that contains header section of the layout from the 'Email should contain' drop-down list. For the SOP despatch note (Single) layout, select the group that contains the SOPDespatchReceiptID - this can be group 4,5 or 6.
- Add the following expression as the 'To' address, to send the email to the delivery address contact on the order or to the customer contact when there is no delivery address:
(SOPOrderReturns.CustomerTypeID=0) ?SLCustomerAccounts.ContactEmailAddress: (SOPOrderReturns.UseInvoiceAddress=0 ? SOPDocDelAddresses.EmailAddress :SLCustomerAccounts.ContactEmailAddress) Sage 200 - Add the new despatch note layout on the Choose Layouts window.
- Set up a customer role from the Customer and Supplier Roles window in Accounting System Manager and select this role for the Sales despatch note document type from the Customer and Supplier Document Types window.
- Set up a preferred contact for the role in your customer account on the Contacts tab.
- Make sure you have entered an email address for your delivery address contact on the Customer Delivery Addresses window.
- Print your despatch notes to the spooler or as a preview. Click Email from the Preview pane.
Detailed instructions can be found on our online help system. Click here for the online helpfiles. Alternatively, please refer to Ask Sage Article Note: If you are viewing this article from the Sage website, a list of Sage 200 Report designer articles are available now. |