ReportByEmail Notification Examples



Similar documents
Search help. More on Office.com: images templates

Advanced BIAR Participant Guide

Create a New Database in Access 2010

ODBC Group Policy Settings

MS Excel Template Building and Mapping for Neat 5

Tips and Tricks SAGE ACCPAC INTELLIGENCE

ing a large amount of recipients

2. Unzip the file using a program that supports long filenames, such as WinZip. Do not use DOS.

Excel Integrated Reporting

28 What s New in IGSS V9. Speaker Notes INSIGHT AND OVERVIEW

Before you may use any database in Limnor, you need to create a database connection for it. Select Project menu, select Databases:

Quick Start Guide. Highly customizable automated trading Automate your trades according to rules and models you create.

MAS 500 Intelligence Tips and Tricks Booklet Vol. 1

Simply Accounting Intelligence Tips and Tricks Booklet Vol. 1

ReportBy ODBC Connection setup

How To Create A Report In Excel

ACCESS Importing and Exporting Data Files. Information Technology. MS Access 2007 Users Guide. IT Training & Development (818)

The first thing to do is choose if you are creating a mail merge for printing or an merge for distribution over .

Importing TSM Data into Microsoft Excel using Microsoft Query

SLIDE SHOW 18: Report Management System RMS IGSS. Interactive Graphical SCADA System. Slide Show 2: Report Management System RMS 1

Chapter 4 Accessing Data

Migration Manager v6. User Guide. Version

TAMUS Terminal Server Setup BPP SQL/Alva

Note: With v3.2, the DocuSign Fetch application was renamed DocuSign Retrieve.

Sage Intelligence Report Designer Add-In

emarketing Manual- Creating a New

Instructions for Creating an Outlook Distribution List from an Excel File

Discoverer Training Guide

Setting Up ALERE with Client/Server Data

Tommy B. Harrington 104 Azalea Drive Greenville, NC

ODBC (Open Database Communication) between the ElevateDB Database and Excel

Decision Support AITS University Administration. Web Intelligence Rich Client 4.1 User Guide

ODBC Driver Version 4 Manual

Generating a Custom Bill of Materials

Microsoft. Access HOW TO GET STARTED WITH

emobile Bulk Text User Guide Copyright Notice Copyright Phonovation Ltd

How to Copy A SQL Database SQL Server Express (Making a History Company)

Create a PivotTable or PivotChart report

Vodafone Bulk Text. User Guide. Copyright Notice. Copyright Phonovation Ltd

Excel Reporting with 1010data

Rochester Institute of Technology. Oracle Training: Advanced Financial Application Training

Office of History. Using Code ZH Document Management System

BulkSMS Text Messenger Product Manual

Microsoft Excel 2007 Mini Skills Overview of Tables

Database Linker Tutorial

SAP BUSINESS OBJECT ANALYSIS FOR EXCEL DEVELOPER GUIDE

WEBFOCUS QUICK DATA FOR EXCEL

Catalog Creator by On-site Custom Software

Excel What you will do:

Linking Access to SQL Server

Monthly Payroll to Finance Reconciliation Report: Access and Instructions

Mail Chimp Basics. Glossary

EXCEL 2007 VLOOKUP FOR BUDGET EXAMPLE

Using FileMaker Pro with Microsoft Office

Jet Data Manager 2012 User Guide

Mitigation Planning Portal MPP Reporting System

Macros allow you to integrate existing Excel reports with a new information system

Microsoft Office System Tip Sheet

XMailer Reference Guide

Report Generator in ix Developer 2.0 KI00319A

Google Docs A Tutorial

Microsoft Office. Mail Merge in Microsoft Word

Hands-on Guide. FileMaker 8. Making FileMaker Pro 8 your Spreadsheet Companion. Making FileMaker Pro 8 your Spreadsheet Companion

Microsoft Excel 2010 Pivot Tables

Managing Contacts in Outlook

Excel Reports User Guide

How to Create a Spreadsheet With Updating Stock Prices Version 3, February 2015

Basic Pivot Tables. To begin your pivot table, choose Data, Pivot Table and Pivot Chart Report. 1 of 18

BID2WIN Workshop. Advanced Report Writing

Excel Intermediate Session 2: Charts and Tables

Business Intelligence Getting Started Guide

Use the Microsoft Office Word Add-In to Create a Source Document Template for Microsoft Dynamics AX 2012 WHITEPAPER

Sage Intelligence Reporting. Microsoft FRx to Sage Intelligence Report Designer Add-In Conversion Guide. Sage 100 ERP

Errors That Can Occur When You re Running a Report From Tigerpaw s SQL-based System (Version 9 and Above) Modified 10/2/2008

Search help. More on Office.com: images templates. Here are some basic tasks that you can do in Microsoft Excel 2010.

Quick Start Policy Patrol Mail Security 9

How To Manage Your Storage In Outlook On A Pc Or Macintosh Outlook On Pc Or Pc Or Ipa On A Macintosh Or Ipad On A Computer Or Ipo On A Laptop Or Ipod On A Desktop Or Ipoo On A

How to Excel with CUFS Part 2 Excel 2010

Getting Started Guide

Web Intelligence User Guide

Jump Start: Aspen Simulation Workbook in Aspen HYSYS V8

Mail Merge Creating Mailing Labels 3/23/2011

Budget Process using PeopleSoft Financial 9.1

Sage Accpac ERP 5.6A. CRM Analytics for SageCRM I User Guide

1. To start Installation: To install the reporting tool, copy the entire contents of the zip file to a directory of your choice. Run the exe.

REUTERS/TIM WIMBORNE SCHOLARONE MANUSCRIPTS COGNOS REPORTS

How To Create A Powerpoint Intelligence Report In A Pivot Table In A Powerpoints.Com

IBM FileNet eforms Designer

Google Docs: Share and collaborate

HowTo. Planning table online

Quick Start Policy Patrol Mail Security 10

Frequently Asked Questions

Microsoft Expression Web Quickstart Guide

How to use MS Excel to regenerate a report from the Report Editor

Transitioning from TurningPoint 5 to TurningPoint Cloud - LMS 1

Results CRM 2012 User Manual

Intellect Platform - Tables and Templates Basic Document Management System - A101

Transcription:

ReportByEmail Notification Examples

Page 2 of 36 Content RBE Examples... 3 RBE Example 1 RBE Example 1 test with subject field tagging... 3 RBE Example 2 - Notification with Excel sheet... 6 Setup basic notification values... 6 Upload Sheet to RBE Server... 6 Verify... 8 Recipients... 8 RBE Example 3 - recipients parameter transfer between RBE and Excel... 10 Excel functionality with parameter transfer... 12 RBE Example 4 SQL-recipients with output in HTML... 15 RBE Example 5 Report in PDF Format... 17 RBE Example 6 HTML report for more recipients... 19 RBE SQL Query Employees RBE SQL Query Employees... 23 RBE Returned Parameters... 30 ReportByEmail notification... 31 RBE Return subject... 33

Page 3 of 36 RBE Examples This manual shows different examples are listed and can be followed easily. Screen dumps of the sheets are supplied. If you are in doubt how things work, please check the sections earlier in this manual to see detailed information about how things work. The examples presented here can also be downloaded from ftp.reportbyemail.com, where a large number of standard templates are located. RBE Example 1 RBE Example 1 test with subject field tagging It s time to test the first notification. Send a simple notification to yourself and follow the following example data. Right-click and create a new notification: Fill in the values in the first sheet:

Page 4 of 36 Press the Test notification button and if you have included yourself in the recipient list or in the CC: or BCCfields, check your email client:

Page 5 of 36 Notice that the subject field value was picked up by using the name of the notification.

Page 6 of 36 RBE Example 2 - Notification with Excel sheet This example requires the Microsoft Access 2007 Northwind database and the excel sheet as specified earlier. Setup basic notification values Upload Sheet to RBE Server From any sheet click on Upload in the upper right corner and browse to the folder, where you have downloaded the Excel sheet to:

Page 7 of 36 Click Open: Notice the filename is now filled into the template -field.

Page 8 of 36 This operation copies the Excel sheet from your usually development area into the RBE server, so that the RBE server can read the file locally. Verify After uploading the Excel sheet, test that the Excel sheet is in working order and the number of queries within it. The window should show exactly the number of queries, which are defined within the Excel sheet. Notice that you can drag and thereby adjust the width of each field in order to better read the values. Recipients

Page 9 of 36 Fill out the Recipients field with your email-adress and press Test notification. You ll receive an email with the result of the query: Notice that: The subject field was defined as [Notgroup] [Notname], which was converted into the string in the subject field using the path of the notification and the name of it. The Excel sheet is attached, e.g. the user can open it and work with it. The Excel sheet contains random values! The last fact is because this Excel sheet has been designed to get a number of input parameters, specified in the notification. See the following example to get more meaningful values out of the sheet. The data returned by ReportByEmail will, when no parameters are specified typically be the parameters used within the Excel sheet during the design process. Notice that it s very important to design Excel sheets correctly (With a number of parameters) in order to use the product in an optimal way.

Page 10 of 36 RBE Example 3 - recipients parameter transfer between RBE and Excel If more parameters are needed in Excel in order to perform an operation, these can be transferred from the Recipients window. It s compulsory to have a column named Email, but more columns can be added: Create a new notification, by pointing to the same Excel sheet as in the previous example: Change to the recipients sheet and fill in the same recipient again:

Page 11 of 36 Right-click on Email and choose Add column. Right click in the column2 column. Choose Edit header text. Enter a name like startdate. You can add many fields, but usually two to three values are needed. Enter Startdate:

Page 12 of 36 You now need to insert date-values for the recipient. This demo-sheet needs three parameters, so insert more columns and name them as described above. Excel functionality with parameter transfer

Page 13 of 36 In Excel you need to name fields with the same names as defined in RBE. In the example Excel sheet the following fields are necessary: Emailemployee Startdate Enddate Cells within the Excel sheet is filled out with these values initially, the Excel sheet calculates all the queries and the output sent according to the RBE Settings. Add the last columns and enter data as shown below: Notice that there always has to be an Email -field to specify an recipient. The other parameters are optionally. Within the Excel sheet you need to use the defined names functionality to name a cell in Excel the same as listed above. Use test notification to get the following email:

Page 14 of 36 The Excel sheet looks like this: Notice that only sales for Anne is listed.

Page 15 of 36 RBE Example 4 SQL-recipients with output in HTML Make a notification exactly similar to the RBE Example 3 and change the output to HTML: The output in HTML is readable straight away:

Page 16 of 36

Page 17 of 36 RBE Example 5 Report in PDF Format Define the same report again as in the previous example, but select output in PDF format: Test notification:

Page 18 of 36 Inspect the attachment: This report is output in PDF format. See the tips & tricks manual how to optimize the layout of the report.

Page 19 of 36 RBE Example 6 HTML report for more recipients Create a similar notification, which have more recipients with output in HTML: Notice the use of [Emailemployee]. This way the manager receiving a number of these notifications as a CC or BCC recipient can easily distinguish between the different employees.

Page 20 of 36 Use the Test notification button. You ll receive three emails, but since no data exists for john@northwindtraders.com, the email is empty and useless: Therefore go back to the notification and change to the Send-if sheet:

Page 21 of 36 Change the Send Always to Send If data : Since there is only one query in the Excel sheet, only one query can be selected. Select the query.

Page 22 of 36 Now use the Test notification to run the query again. You will not receive the report for John, because the result of the query was empty.

Page 23 of 36 RBE SQL Query Employees RBE SQL Query Employees The examples above works fine, if the company always has the same employees and no-one is hired etc., but that s not the real world. Therefore ReportByEmail supports looking up the recipients in data tables. In the Northwind database a table consists of the employees in the company. Therefore the best way of designing a report, that will work in future (If the employee table is updated will new employees etc.) is to lookup the recipients in the table. Make a new notification called RBE SQL Query Employees: Only send reports if data:

Page 24 of 36 Lookup recipients: First change Data to SQL. Click on the button to the right of the Datasource -field:

Page 25 of 36 All your datasources should be defined as DSN (See manual regarding ODBC connections), so click on the listbox ODBC and select RBEDEMO and select Use trusted connection : You can test using the test button: If not successful, check the manual regarding ODBC-connections and setup of rights. Click ok:

Page 26 of 36 Now the datasouce is selected, the Query needs to be inserted. Here you need to have information how the database is designed. See the tips & tricks manual of how to design these queries. A easy way to start is the insert the following: select * from Employees This will show all data from the Employees table. Insert the text in the Query field and push the Show Result button: All the fields are represented:

Page 27 of 36 The field we need as a parameter for the Excel sheet is the users email address. To select only this, modify the Query field to the following: Select E-mail Address from Employees

Page 28 of 36 Now that all the email addresses are visible, we need to add the parameters, Excel needs to run. Add these as static values as shown in previous examples: Select 'heer@reportbyemail.com' as email, "E-mail Address" as EmailEmployee, '1-1-2006' as Startdate, '31-12-2006' as Enddate from Employees Now all the columns have same names as in the previous examples and it s time to test the notification. You ll receive 8 reports, although the Northwindtraders company has 9 employees, because one person didn t sell anything within the specified period. Click on the Log sheet:

Page 29 of 36 One of the recipients didn t get an email, because the workbook was invalid or the validation query returned no data. This last part is the Send-If check, that results in no email to this person.

Page 30 of 36 RBE Returned Parameters You can use Excel to return parameters to ReportByEmail to format the subjectline and/or add dynamic results into the subject field and the body of the ReportByEmail notification. This feature gives more flexibility to the end user when it comes to extending the generated Email Subject and Body. If a cell in the Excel workbook is named, its value can be retrieved after the report is generated so that it can be used in formatting the email. For example, we define a worksheet to have B3 named as input1, C3 named as input2, and D3 named as output. Furthermore, the last cell has a formula of =SUM(C3, D3) which means that its value will be derived by summing up input1 and input2. Excel sheet: Named fields:

Page 31 of 36 ReportByEmail notification Notice that the named field Output is NOT listed on the Recipients input list. input1 is 2 and input2 is 3. Once RBE processes the worksheet, it gets these two values and places them in the cell that they are named after. Following that, output would then have a value of 5 (2+3).

Page 32 of 36 The values will then be reused to format the Email s subject and body, resulting in the following: Notice that the body is listed first in the email, before the HTML output of the Excel sheet. If you only need calculations in the subject and/or body field, you can design the Excel sheet with an empty sheet as the first sheet and have the calculations done on other sheets. This would blank out the Input1. Input2. And 2.3. lines in the report above, only showing the body line of The sum of 2 and 3 is: 5. You can see this in the RBE Return subject example.

Page 33 of 36 RBE Return subject This example shows how to construct a subjectline in Excel. Sheet1 is empty in this example, but usually some kind of result would be used. Excel sheet: Named fields

Page 34 of 36 Months is the input value. Calculations in the Excel sheet: Today is the builtin Excel function to return the date today. Lastmonth is calculation of the last day of previous month: =EOMONTH(DATE(YEAR(B3);MONTH(B3)-1;1);0) X months back is calculation of the first day Months back: =DATE(YEAR(B4);MONTH(B4)-B2+1;1) The values to the right of the two previous values are: =TEXT(B5;"mmmm")&" "&TEXT(B5;"åååå") When using English formats åååå should be yyyy Now text versions of the startmonth and endmonth are available in C4 and C5. Subjectline is calculated: =IF(B2=1;C4;C5&" - "&C4) If only one month, the Subjectline named field looks like this: september 2009 If months is 4: juni 2009 - september 2009

Page 35 of 36 Notification Email Output of the two notifications:

Page 36 of 36