Custom Report - Accounts Without Billing Contact Email Addresses
Summary
This custom report will show you all accounts in EngageIP that don't have email addresses on their billing contacts.
Configuration
Create view
Paste in the SQL
SELECT [USER].Name AS [USER], ContactType.Name AS [Contact TYPE] FROM [USER] INNER JOIN UserContactConnector ON [USER].ID = UserContactConnector.UserID INNER JOIN Contact ON UserContactConnector.ContactID = Contact.ID INNER JOIN ContactType ON Contact.ContactTypeID = ContactType.ID WHERE ([USER].Name NOT IN (SELECT User_1.Name FROM ContactPoint INNER JOIN Contact AS Contact_1 ON ContactPoint.ContactID = Contact_1.ID INNER JOIN ContactPointType ON ContactPoint.ContactPointTypeID = ContactPointType.ID INNER JOIN ContactType AS ContactType_1 ON ContactPointType.ContactTypeID = ContactType_1.ID RIGHT OUTER JOIN UserContactConnector AS UserContactConnector_1 ON Contact_1.ID = UserContactConnector_1.ContactID FULL OUTER JOIN [USER] AS User_1 ON UserContactConnector_1.UserID = User_1.ID WHERE (ContactPointType.Name = N'Email Address') AND (ContactType_1.Name = N'billing contact')))
Click Execute button to check that the query runs
Click Save, enter the name of the view - Remember the name of the view created as it will be used below
Click Setup
Select the Custom Reports option under the Configuration section
Click the Add button
Enter a Name (no special characters or spaces, under scores can be used in place of spaces) for the report. The value entered here will become a role permission enabling only accounts within that role to view the custom report. It is recommended that you name all your custom reports with a common prefix so that they will be easy to locate within the role permission list
Enter the following Connection String; replacing User ID and Password (XYZ) with the correct values:
server=localhost;Trusted_Connection=false;database=boss;uid=XYZ;pwd=XYZ
Enter name of custom view in the Table field (table name can also be a view name)
Click Save
Logout and then back in to EngageIP Billing. This will reset the role permission set and allow you to grant access to the report
Click Setup
Select the Roles option under the Account and Roles section
Select the role from the list to grant view permissions for this report
Scroll down to the Role Permissions section and locate the name of the report within the list
Select the LIST check box next to that permission
Scroll to the bottom of the permission set and click the Save button
Repeat steps 11-15 above until all applicable roles have been granted permission to view the report
Click Reports
Scroll to the bottom of the screen where you will see a new section entitled; Custom Reports
Click on the Name of your Custom Report to view the output
Like all other lists within the application, custom reports can be filtered, printed, and/or exported using the appropriate list icons.