Reports

Purpose

View and print a SSRS Report or generate an Analyser report to interrogate the On Key database and present the results to the User.

Where to find

The Reports function is available from the Analysis and Monitoring menu.

Reports Window Layout

The Reports window comprises two frames and each frame has its own set of tools.

How to… View available reports

1.   Click Analysis and Monitoring - Reports, and then click .

     The Reports window opens:

     

2.   Click “Other” or another folder to view reports.

Data fields

These data fields appear on the Reports window.

Field

Setting

Code

A unique code that identifies the Report.
For example “WOURG” or “USERS”.

Description

The name of the Report.
For example, “Work Orders - Urgent” or “Users”.

Report Type

A for an Analyser report designed in On Key.

S for a SSRS (SQL Server Reporting Services) report, designed in SSRS Designer and imported into On Key.

Type

A description of the Report Type; “Analyser” or “SSRS Report”.

Report Rights

Business rules

 

SELECT W.Id, W.Code, W.WorkPerformed, ... {other required fields}
FROM wrkWorkOrders W JOIN usrUserRights UR
ON ((W.SiteId = UR.SiteId) AND (UR.UserId = @UserId) AND (UR.RightId = @RightId))


Where:
  • The SELECT part contains the complete list of fields retrieved and displayed in the report prefixed by the alias table name specified in the FROM clause.

  • The FROM specifies the master table with alias e.g. “W” for Work Order.

  • The JOIN is always to the usrUserRights table which MUST always have the alias “UR”.

  • The ON in the JOIN MUST look like this:
    ((W.SiteId = UR.SiteId) AND (UR.UserId = @UserId) AND (UR.RightId = @RightId))

 

 

Please note!

What can I do?

These non-standard tools are available in the toolbar on the reports navigation frame of the Reports window.

Click…

To…

Add a new folder in the reports navigation tree hierarchy.

Delete the selected folder.

Edit the selected folder.

Synchronise all reports in the On Key database with the reports in the Reporting Services.

These non-standard tools are available in the toolbar on the reports selection frame of the Reports window.

Click…

To…

View the highlighted report.

+

Add a new report.