Skip to main content

Report Templates Overview

Report templates define how the records of a function are printed. A report template is an Excel workbook in which some cells contain fields of the record written in double braces, for example {{Code}} or {{Title}}. When a user generates a report, the system fills these fields with the values of the records and returns the result as an Excel or PDF file.

Report templates are managed per function from Administration > Function Designs, with the Report Templates row action of the function. Users then choose among them with the Reports button of the function's list page or the Reports row action of a record.

A report template is an ordinary Excel file. You can design its layout, fonts, colors, logos, formulas and page setup in Excel; the system only replaces the fields and, for lists, repeats the rows.

Purposes of Report Templates​

  • Printing a single record in the organization's own form layout (for example a work order form to be signed).
  • Producing list reports of the records the user filtered on the list page.
  • Producing master-detail reports that print each record together with its rows.
  • Delivering reports as PDF for sharing, or as Excel for further processing.

Report Types​

Report TypeWhere users run itWhat it prints
ListReports button on the function's list page.One row per record, for the records currently shown by the list's filters, search and sort. Lists of the record can only be printed as totals (number of rows, sum and so on).
DetailReports row action of a record.One record. Rows of the record's lists repeat downwards, once for each row.
Master DetailReports button on the function's list page.Each listed record together with the rows of its lists.

Output Formats​

Output FormatResult
OriginalAn Excel workbook (.xlsx).
PdfA PDF document.
User DefinedThe user chooses Original or PDF each time the report is generated.

The generated file is named after the template.

How Reports Are Generated​

  • Detail reports: Select Reports in the row actions of a record. The Generate Report window lists the detail templates of the function; for a User Defined template choose Original or PDF, then click OK. The file is downloaded immediately.
  • List and master-detail reports: Click Reports on the list page, select a template (and the format for a User Defined template) and click Generate Report. The report uses the current filters, search and sort of the list and is prepared as a background job, so large lists do not block the page.

Report Template Operations​

The report template listing page provides standard functions such as filtering and searching. These functionalities are detailed under General System Usage.

The Report Templates page lists the templates of the function with the Name, Report Type and Output Format columns. It can be filtered by name, report type and output format. Each row has Edit, Download and Delete actions; the header has the Template Fields and New buttons. These are described in Creating a Report Template.

Default Templates​

Some functions are delivered with default templates whose description reads "The product's default template. Change it to suit you and upload it again, or delete it." These templates also contain a Fields sheet that lists the fields of their report type; this sheet is removed from list reports when they are printed. A default template that you delete is not created again.

Authorization and Access Control​

Topics related to authorization and access control are detailed under User Management and Authorization.

  • Update a Function Design: Required to see the Report Templates row action on the function list and to save changes to a template.
  • Create New Function Design: Required to create a template.
  • Delete a Function Design: Required to delete a template.
  • Function Designer: Required to open a template and to see or download the Template Fields list.

Generating a report requires access to the function's records. The Reports row action and button follow the permissions of the function's own pages.

Frequently Asked Questions​

Why Don't I See My Template in the Reports Button?​

The Reports button on the list page offers only List and Master Detail templates; detail templates appear in the Reports row action of a record. Check the template's Report Type.

Which Records Does a List Report Contain?​

The records shown by the list with its current filters, search and sort, together with any identity filters that apply to the user.

Can I Use Excel Formulas in a Template?​

Yes. Formulas are recalculated after the fields are filled. To use a field in a calculation, insert it as a number or date with the _Value form described in Creating a Report Template.

Why Is a Field Empty in My Report?​

A field that is not in the Template Fields list for the template's report type, that is misspelled, or that has no value prints empty. Check the spelling, including upper and lower case.