General Settings Parameters for Reports
The Miscellaneous Billing Invoice report is available in Crystal Reports. For information on customizing this report, see Customizing a Report on page 4. Otherwise, the following setup is required.
To define the General Settings:
- Launch GNA.
- Select Parameters > General Settings Editor.
- Select Report from the Registry Filter.
- Select the Use Crystal Report option.
- Enter the path to the Reports folder for your deployment in the Standard Reports Path parameter.
- Enter the path to the Custom Reports folder if you have created one. For details, see Customizing a Report on this page.
- Enter the path to the log file in the Standard Log Path folder.
- Click Save.
For further details, refer to the GNA documentation.
Configuring the Report
The following report must be available in your deployment, before you can print invoices from the Miscellaneous Billing form:
101-rpt-003.rpt Miscellaneous Billing Invoice
This report is included with the FormReference.xml file and imported by the GNA > Import/Export Tool. The changes that you apply to the report in GNA, such as adding an alternative connection key and adding prompts, are not overwritten during the import process. If you want to create a new custom report in Crystal Report or SSRS, follow the procedure under Customizing a Report on page 4.
You can perform the following configuration to add a second datasoure connection key, prompts and criteria to the report. However, this is not a required step.
To configure the report:
- Launch GNA.
- Select Parameters > Report Parameters Editor.
- Select 101_rpt_003.rpt – Miscellaneous Billing Invoice in the tree view.
This Report Editor reads the report and lists all the datasources referenced.
- Click Report Criteria to add a prompt or other criteria to the report. This is an optional step.
- Click Save.
Refer to the documentation on the Report Parameters Editor for further details.
Customizing a Report
You can create a custom report to use in place of the standard Miscellaneous Billing Invoice report. The custom report can be created in either Crystal Reports or SSRS. You can save this report to any network directory. You need to enter the path on the OpenForms General Settings > Report form Whenever you launch the report, it is executed from the Custom folder.
Use the following procedure:
- Create a new network directory for all your custom reports.
- Create the custom report in Crystal Reports or SSRS.
- Save your custom cash collection receipt report to this folder.
- Ensure that the custom report has the same name as the standard report:101-rpt-003.rpt Miscellaneous Billing Invoice.
- Launch GNA.
- Select Parameters > General Settings Editor.
- Select Report from the Registry Filter.
- Select one of the following:
- Use Crystal Report
- Use SSRS
- Enter the path to the custom reports folder that you created in the Custom Report Path parameter.
- Enter the path to the Reports folder for the standard reports.
- Enter the path to the log file in the Standard Log Path folder.
- Click Save.
Refer to the documentation on the Report Parameters Editor for further details.
Printing the Receipt
The receipt can be printed on any printer, either automatically or manually.
The information added to the receipt includes the following:
Account Details
- Invoice Date
- Due Date
- Invoice No.
- Account No.
- Reference
Invoice Details
- Description
- Quantity
- Amount / Qty
- Sales Tax
- Total per itm
- Invoice Total
Configuring the Miscellaneous Billing Action Button
The following procedure describes how to add the Report Printing action button to the Miscellaneous Billing form. However, by default, this button is included on the form.
To add this action button:
- Launch the Govern OpenForms Designer (OFD).
- Open the Miscellaneous Billing (MB001) form.
- Select the Invoice Posted entity.
- Select the Action Button in the Controls explorer.
- Drag it to the top of the form.
- Click the ellipsis button beside Action text box.
This opens the Extension Selector.
- Select Only show classes that implement the custom control interface.
MsGovernOpenForms.CustomControls.dll is displayed under Assembly.
- Select ExportCrystalReports_Action on the right.
- Click OK.
This information MSGovernOpenForms.CustomControl.dllExportCrystalReports_Action is displayed in the Properties tab for the Action button on the Miscellaneous Billing form.
- Expand the Misc. property and configure the following:
- Enter the printer name in the PrinterName property.
- Select 101-rpt-003.rpt – Miscellaneous Billing Invoice from the ReportCode property.
- Select the export type that you want to generate, such as PDF or Crystal Reports from the ReportExportFormat property.
- Expand the Tooltip property.
- Enter a tooltip to appear when the user hovers the mouse over the Miscellaneous Billing Invoice Print action button on the Cash Collection form.
- Click Save.
- Launch Govern and open the Miscellaneous Billing > Invoice Posted form to view the button.
The Miscellaneous Billing Invoice Print button is located on the tab at the top of the form.
Launching the Report from Govern
You can print the report directly from the Miscellaneous Billing form in Govern.
To print the report:
- Launch Govern.
- Open a Profile that includes the Miscellaneous Billing form.
- Open the Miscellaneous Billing form.
- Perform a search and load the required Miscellaneous Billing record.
- Open the Invoice Posted entity.
- Click the Miscellaneous Billing Invoice Print action button.
The report is printed on the printer configured in the Cash Collection Parameters form.