Lucity Web allows users to run Crystal Reports in each module. Lucity provides a number of reports, and customers often make their own custom reports. The Reports tool lets users see all of the reports that are configured to work with Lucity Web.
Tools
Module Selection Drop-downs
Control what types of reports are displayed in the grid. Select a program, a module, and one of its components. List of available modules
New Report
Creates a new report.
Edit
Enables the user to modify a custom report selected in the grid. Lucity-provided reports cannot be edited.
Delete
Deletes the report selected in the grid.
Report Groups
Collect reports togetherso that Lucity Web users can filter reports to see only a specific group.
Custom reports created for Lucity Desktop will NOT work in the Web application as is. To convert a report from a standard Lucity report to a Web report, complete the following steps:
Make a copy of the desktop report and rename it.
Example: Desktop report WOSumGrProb.rpt would be copied and renamed WOSumGrProbWeb.rpt for the Web.
Open the new Web report in Crystal Reports.
Go to Database>>Set Datasource Location.
SQL Server Clients select OLE DB (ADO)>>Make New Connection.
Oracle Clients select Oracle Server.
If you are using SQL Server you will then be prompted to select a provider. Use the Microsoft OLE DB Provider for SQL Server as shown below.
Next, enter the Connection Information.
ForSQL Server, include the SQL Server Name, User ID, Password, and Database. The Database is specific to the report database that it was created with, such as GBAWork or GBAEquip.
ForOracle, include the Service, User ID, and Password.
Once you create a connection, individually (manually) map every table from the report, one table at a time.
To do this, click on a table in the top box (Current Data Source) and click the same table in the bottom box (Replace with). Then, click Update. Repeat these steps for each table, even those listed under Subreports. Note: "Properties" is not a table to be updated.
After the report is converted for Web use, it must be loaded into Lucity Web.
In Lucity Web open the module the report should be added to.
click the on the toolbar.
To add a new report, click the Add button . The following dialog appears:
Enter the Report Name and Report Description.
In the Report File Path, enter the name of the folder to which you want to upload the report file.
Note: Reports are automatically uploaded to the location specified in the Lucity Administration Tool's Path where Reports are stored setting, which may be found in the System > Settings > Documents tab.
Note: If the folder name entered does not exist, the system will create a folder with that name within the folder to which the reports are uploaded.
Under Choose File to Upload, click ... and select the .rpt file you would like to upload to the web server.
Note: The name of the .rpt file being uploaded cannot match any other .rpt files.
Assign the report to a Group (optional).
Choose or change the Type of report:
Standard Report - The report is generated when the user clicks the Report tool, selects the report and chooses how to run it.
Quick Report - All Records - Adds the report to the Quick Report drop-down list, located next to the Report tool. The report always runs against all records.
Quick Report - Filtered Set - Adds the report to the Quick Report drop-down list, located next to the Report tool. The report always runs against the current filter set.
Quick Report - Current Record Only - Adds the report to the Quick Report drop-down list, located next to the Report tool. The report always runs against the current record.
Click Save.
When editing a report, the Save button is replaced with an Update button.
Note: While reports can be added here it is suggested to add the report through the reports tool in Lucity Web.
Click the New Report button at the bottom of the Report Manager dialog. The following window appears:
Enter the Report Name.
Enter the Report File Path. This should be the folder specified under the System > Settings > Documents TabPath where Reports are stored setting.
Enter the Report Description.
Select a Report Group if desired. Groups allows Web users to filter the list of reports.
Click Save. The new report is added to the Report Manager.
Note: The Report Manager does not provide a way to upload reports. Reports must be posted in the folder specified under the System > Settings > Documents TabPath where Reports are stored setting. However, the process of uploading a report file and adding a report can be completed through Lucity Web.
Highlight a custom report listed in the Report Manager grid.
Click the Edit button at the bottom of the dialog. The following window appears:
Edit the desired fields.
Report Name - The unique name that will identify the report in Lucity Web.
Report File Name - The location of the report in the Custom Report folder.
Note: Above the field, the system identifies the location of the Custom report folder. To put the report in a subfolder, add the subfolder as part of the name. In the example above, the MyCustomWODetailWeb.rpt is in the Work subfolder of the Custom report folder.
Report Description - A general description of the report.