UB> Maintenance> Query by Example

QBE Report Builder Tool

 

Summary

 

The QBE Builder reporting tool is used to create customized reports in the Utility Billing module. Reports are created in the QBE Builder by selecting columns, creating arguments to remove records (Transaction Date < 01/01/2021), selecting how the report will group and sort, and then defining the totals that will display on the report. After the report has been created, it can be printed out or exported into an MS Excel, MS Access, or CSV format. Reports that have been created using the QBE Builder tool can be saved and generated at any point.

 

This document will cover how to create a specific example report that provides an explanation of primary tables, secondary tables, arguments, and totals. When creating your own QBE reports, it is helpful to know the general structure of the database and how the information entered into the fields on a window will be stored in the database fields and tables.

 

The Table/Field help feature (Help> Table/Field) is designed to be used in conjunction with database security (SS> Security> DB Security), but it can be helpful when building QBE Reports to help you determine where the information entered into a field on a window is stored. This tool will not always be helpful because it will display the exact name of the table and field where the information is stored, but QBE Builder uses simplified and more intuitive field and table names. For example, turn on the Table/ Field help and open the Account Master Maintenance window (UB> Maintenance> Account). Open the Account tab and move the mouse over the Billing Cycle field. A bubble will display the following: Table Name: UB_Master, Field Name: Billing Cycle. On the QBE Maintenance window (UB> Maintenance> QBE Builder) the UB_Master table has been renamed to Account Master, so the Billing Cycle field will display in the Account Master primary table.

 

The example report created in this document will create a list of UB customer account from meter read route “65” with consumption greater than “100” during meter read period “12” and meter read year “2020.” You will also add a consumption report total to the report.

 

Step by Step

 

Click here for information on the Jobs Viewer window.

Click here for information on Table/Field help.

 

Step by Step