Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Each report has its own parameters, most of which are common to all reports

...

and these are normally set using the Report Selection Criteria window

...

You can override a Report Selection Criteria by adding parameters to a special section . However, you can override these parameters by modifying the settings in the main configuration file. That is if

If a user may set sets a specific parameter in the report selection criteria

Referencemacro
LabelReport Selection Criteria
window, it will be overwritten by that set in the main configuration file. This allows you to amend certain settings, for example the percentage mark-up in a billing report.

As an example, we can set the percentage mark-up in every Billing Report to 50% and a surcharge of £1.00. To apply these settings, you need to edit the 

Keywordmacro
Labelmain.cfg
file, located by default in
Referencemacro
Label{app}\tim\config
.  Each report has its own ID number, e.g. the Billing Report has an ID of 2. This , which corresponds to the setting in the main configuration file that you need to alter.

Open the the 

Referencemacrokeywordmacro
Labelmain.cfg
file using Notepad and in the 
Referencemacrokeywordmacro
Label[Report Customisations]
section, add or amend the following line Report2Extra to read:

Code Block
Report2Extra = &markup=50&surcharge=1.00

In this instancethe example above, when a billing report (ID = 2) Billing Report is run, these extra settings are forced upon the reporting engine and override any values that the user has selected.

...