How to add custom fields in Maintenance Reports

Adding custom fields in the Maintenance Reports could be useful if you want to display additional information, for example, the service cost or the replaced parts in the maintenance event, etc. To add custom fields in the Maintenance Reports, follow this guide.


Steps
  1. Install Maintenance plugin
  2. Modify the copy of MT1000/1 report
  3. Test your report
  4. Enable the new report into your application

1. Install Maintenance Plugin

If you haven’t done it yet, follow these steps to setup the Maintenance Plugin. Follow Custom fields in Maintenance in the previous link, to add your custom fields to the system.

2. Modify the copy of MT1000/1 report

  1. Go to Site Admin > Reporting > Manage Reports > New and select any of the MT reports. In the example we will use the MT1000.
  2. Click on Query Editor
  3. Click on the top-left MaintenanceQ2 query and add the following statement in the SQL code:
  4. Click on Save
  5. Go back to the Report layout editor and add 2 additional columns (one for the variable [Name] and another for the variable [Value]). These two columns will display the data of the custom fields.

3. Test your report

You can preview the results directly in the Report editor by clicking on Preview.
If you have previously added Custom Fields and logged some events, they should display on the screen as in the following example:

4. Enable the new report into your application

To enable the report into your application follow these steps

Related guides

  Discuss this blog post on the forum please



Download free GpsGate Server

Install it on your own server. The installation is free for 5 users.

Download Now