Skip to content
Report-Designer

Map fields after changing the data source

Update field references in an existing report when a new procedure returns different columns.

  1. In Design, click Change in the Data source panel on the left. Select the new stored procedure and click Use this procedure. The designer opens Map fields if the report uses fields or data sets the procedure does not return.
  2. Review the suggested columns and where each old field is used. For example, replace Payee with BPName and Debit with Dr.
  3. Click Map fields in the dialog. This updates field objects, formulas, conditions, table cells, links, sorts, groups and One document per.

You can reopen Map fields from the Data source panel or from the error box in Preview when it reports unknown fields.

If the procedure omits a data set, use Rows from to select another data set or Main rows (one row per line) ("resultSet": 0). For a procedure that returns one row per voucher line, use that data set in the lines table and set One document per. Mapping to the main rows turns on Print the details once per document if the report already has a document key. See Multiple data sets and one document per record.