Report Results

Report Results

General

You need a working knowledge of SQL to build reports.

Developing reports is a two step process:
  1. Define the report on the report list
  2. Enter the SQL program to retrieve the data

Create a NEW Report

To create a new report requires that you have a working knowledge of SQL.
If you have editor permission you will see a button ADD NEW.
Click on this button and complete the fields (all are required):
Report Name: Short report name
Report Group: Enter a name for grouping reports
Description: Enter a long description to explain the report
Role Permissions: Enter a list of roles separated by commas that have access to the report.  
Once you click SAVE the report will be added to the list.
TIP - when reports are being developed use a permission of Draft that doesn't exist in the role setup.  This will make sure no one except those with EDITOR permission can see the report on the list.  Once the report is finalized, change the permissions to the roles required.

Once the report is listed, then check Select Report.  The report will open in a new tab.

Report SQL Editor

Click on the OPEN EDITOR button.
This will open a window where you can enter the SQL program.
Best practice is to develop the program in an outside SQL editor then paste the code into the top text box.

Once you have pasted the SQL click REFRESH.  This will run the SQL and return the results in the lower half of the screen.
Any messages such as errors are displayed in the SQL Message Log tab.
Once you have a working report click SAVE.

Modifying Column Headings

When the report runs it will return column names as defined in the database.  Sometimes these column headings are difficult to understand for users or less than ideal.  You can modify the column headings as follows:
  1. Click on COLUMNS button on the right.
  2. Select a column using the drop down. You can then change the label.

Creating Parameters

You can create a parameter that can be inserted into the SQL when it runs.

First you need to modify your where clause by putting {} brackets around a parameter name.
For example if you have a where clause:
      Where Customer_code = '123'
Change this to:
      Where Customer_code = {Customer Number}

The system will create the parameter input field on the top of the screen.

You can then click on the PARAMETERS button on the right and define various settings for the parameter:
  1. Define the Parameter Label
  2. Make the entry field required before the report will run
  3. Set the parameter type to one of Text, Date, Number.
  4. Set a default value for the parameter
Enter the parameters and click REFRESH to test your report.
Once everything is working click SAVE.

If you still have the report in DRAFT role, go back to the report list and assign the correct roles.
Your report is now active.






    • Related Articles

    • Custom Reports List

      This is a list of all the custom reports available to a user based on permissions. Run a Report The reports can be launched by clicking on the box in the SELECT REPORT column. The report will run immediately. If there are selection parameters ...
    • Screen Views

      General The application provides a way to customize the screens to suit the user. Once you have the screen adjusted to the view you wish, then you can save the view with a name. This is a very powerful capability. What is a view? A view is screen ...
    • Company Setup

      These are the main setup entries for your company. The top section shows some basic information about your company. These cannot be edited. ERP System Setup This section is used by JSF to connect to your Spectrum ERP system. Data Filters Setup This ...
    • Release Notes - April 2024

      The following updates have been done. Labor and Cost Analysis The company setup now includes two new settings: Include Time Cards. [ x ] Include Committed Cost [ x ] These settings will affect the Job Labor Analysis screen and the Job Cost Analysis ...
    • Release Notes August 2022

      Notifications System A new notification system is available.  This will send email reminders to user when percent complete of production units reporting is overdue.  There are two report styles available:  Summary or Detailed. You can control what ...