How to Automatically Email a Report in Sage X3

By: | Category: ERP

sagx3-destinations-1

During the implementation cycle, we’re often asked if we can set it up so a company can automatically email a report in Sage X3 – sales order confirmations when someone places an order, for example, or confirmation invoices when goods are shipped.

By leveraging the destination management and workflow capabilities of Enterprise Management, it’s very possible – easy, in fact – to set it up so that you can click just one button and send an automatically generated email.

As an example, we’ll try to create an environment where we can simultaneously create the invoice from the delivery screen and email the confirmation to our customer.

First, you’ll have to create the email destination and make sure that the parameters are configured to be able to email within the parameter values.

sagex3-destinations-2

This is where you’ll define the email server IP or mask.

The Return of Sage X3 Tips, Tricks & Tactics to Make Your Life Easier

Second, you must define a new report code and its default values. This will allow you to specify which print destination to use.

sagex3-reportdictionary-4

Note that you can also do that using the destination by user functionality.
These are the default values under setup > destinations > default values.

email a report in Sage X3

Next, create the print code for this new report code. Please make sure that it allows for direct print, as that bypasses the print parameters screen and assumes you’ll use all the default print parameters.

email a report in Sage X3 - print codes

You’ll also need to configure the workflow rule and the entry transaction to allow each action to be automated.
email a report in Sage X3

And the entry transaction setup as follows:

The only setup you need to worry about is the report code and the auto print flag.

To get this to work with just one click, you need to have only one entry transaction set up. Otherwise, you’ll have to pick the appropriate transaction code before it gets sent.

Sales Invoice

Now, as soon as you click on the invoice button from the delivery function, it will automatically pop up the print parameters as well as an email to the contact with the buyer function from this specific customer when you choose to print.

Sage x3 Report Parameters

It will automatically attach the document to the email like this:

Sage X3 Report in Email

We hope this blog answers your questions regarding how to automatically email a report in Sage X3. For other questions, please contact us.

 

Net at Work and COVID-19: Resources for Sage X3 Users