Using Query Folders
Product line
Standard
|Expert
Operating mode
CLOUD ABO
|ON-PREMISES
Modules
Services & CRM
Budget & Phases
Purchases
Resource Planning
Business Intelligence
In a query folder, different folders and OCL expressions can be combined with each other. To create a query folder, right-click on the folder in which you want to create the query folder and select New > Query folder. In the Properties dialog that appears, click the button Abfragen definieren...
.
The following query editor appears:
Click the New button to create a new row in the Query Sources list. Select this row and select the desired folder in the Folder field. In the Operator field, select how to handle the data. The following options are available:
Add | All entries in the specified folder are applied to the query. |
Intersection | The entries in this folder are intersected with the entries that exist from the previous rows. That is, only the entries that are contained in all the requested folders are used. |
Exclude | Entries that are in this folder will be removed from the result, so only entries that are not in this folder will be included in the result. |
Expression |
Based on the up-to-date intermediate result, an OCL expression can be specified. Select Expression as operator. By clicking on the button with the three dots, the OCL expression editor appears. The following rules apply:
Intermediate results via expressions can have any type of result (does not have to be a list of user entries). However, in the end, the result should be a list or a single user entry. |
The different queries are always considered in order. A query folder can also exist in another query folder.
Starting with Vertec 6.6.0.3, SQL folders can be used in query folders. If something changes in the SQL folder, the query folders will be updated automatically. The prerequisite for this is that the SQL folder is configured without search fields or with instant search so that the query folder will work without having to manually invoke the SQL folders to load their contents.