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 |
---|
Label | Report 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
Referencemacrokeywordmacro |
---|
|
file, located by default in
Keywordmacroreferencemacro |
---|
|
. 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 |
---|
|
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.
...