Parameters are typically used by Vigilens to filter a subset of data when creating the report: for a particular company code, for a date or a date range, etc…
Parameters can be created in the screens that can use them, for example in conditions on joints or extractions according to criteria.
In all the dialog boxes that accept parameters, any parameter already defined can be reused:
During the creation of a new query, there is the parameter assignment screen :
This is where it's done:
We can go to a subquery:
You can of course reuse the same parameter several times. For example, if we have several subqueries that have a company code as a parameter and/or a criterion about the company in the calling query, it makes sense to reuse the same parameter each time. Thus, at runtime, we will have a single entry of this parameter.