Basic Functions
Filters Alt+F9
In K2, filters represent an important part of working with data, whether it is active work (inserting, changing data) or any kind of evaluation.
The concept of a Filter generally represents a set of data of a table restricted according to defined criteria. This means that if we work directly with the data (the filter is not activated), we see all records, and inserting a new record means physically creating a new document. However, if we activate the filter, the displayed records are restricted to a certain set of data. Inserting a new record then means selecting from already created records and inserting them into the selected records of the filter.
There are 3 possible states in K2: Book, Container, Filter
Book In the book, the data are sorted by the primary key (for documents Book - Business year - Number, for Articles Abbr1, etc.). If the documents are divided into books, only the data of one book are displayed! Switching between books is usually done with the Alt+F10 key. |
Container The most common state for evaluation. Records can be selected into this filter from all data of the given table according to any criteria. |
Filter Records meeting the defined filter conditions are displayed. If we have created a filter, we can delete any records in it using the Delete key. Quick entry of filter conditions (Fast filter) It can be run on books of purchase/sale. The function allows you to enter conditions for the Series and the Customer. After it is run, the documents meeting the entered conditions are filtered. |
Keyboard shortcuts for switching between states:
Shift+F9 |
Switches to the Book state. |
Alt+F9 |
Switches to the Container state. |
Ctrl+F9 |
Opens the dialog for quick entry of filter conditions (Fast filter). After it is run, we switch to the Filter state. |
Ctrl+Shift+F9 |
Opens the dialog for entering filter conditions. After it is run, we switch to the Filter state. |
To work with filters, we can use not only the function keys listed above. We can also use the options displayed when pressing the right mouse button in the bottom corner of the screen. After clicking the filter icon, we can use the Factory filters, Filter management options, enable the Column filter or Add/remove filter condition.

Picture: Filter options menu in the Invoices out book
Marking records
Stars
Records in the book can be marked using asterisks. This function is important for bulk actions and for printing.
Note: When a record is marked, the Star
icon is displayed in the 'S' column.
Asterisks can be added and removed in three ways:
- Ctrl+Space (the cursor stays on the given record),
- Shift+Enter (the cursor moves one record down - convenient for marking several consecutive records),
- Ctrl+left mouse button on the relevant item (the cursor stays on the given record).
- Shift+mouse click on the last record I want to mark/unmark (convenient for marking/unmarking several records at once).

Picture: Stars and tabs in the Invoices out book
The current number of asterisks is shown in the status bar at the bottom of the screen. If no item is marked, this number is missing.
Note: If the user first marks records and then changes the DM state (switching between the book/container/filter states), there may be a discrepancy between the total number of marked records and the number of marked records displayed in the table.
When you exit the program, the asterisks are automatically deleted.
If there are records marked with an asterisk in the book, the program behaves the same way when printing an RPM or AM report as when it is run on a filter.
Creating a Container/Filter from Marked Records
We can create a Container from the marked records. On the marked records, we press the Ctrl+Shift+Alt+F9 keyboard shortcut. The "Container operations" form is displayed, offering two options:
- Add the selected group of records to the container - adds the records to the existing container
- Create a container containing only the selected group of records - creates a new container with the selected records

Picture: Running the "Container operations" function
In the Target field, we choose whether we want to create a container or a filter.
Note: If the Filter option is selected, the check boxes for the container are hidden because they have no meaning for a filter (a new filter is always created).
Saving/Loading a Container
Every user can create backups of the container contents. The function can be run from the module menu Container - Load / Save container. The displayed form offers the user the saved (and named) container backups and functions for managing them.

Picture: Load / Save container menu
We save the contents of the current container to a named backup using the New (Ins) function - we name the record and save it (F2). This creates a backup of the container contents for the given user, to which they can return at any time.

Picture: Saved backup of the container contents "Invoices to be checked"
A backup is loaded by placing the cursor on the required record and using the buttons in the ribbon:
- Load: loads the records from the saved backup and creates a new container from them
- Add: loads the records from the saved backup and adds them to the current records in the container
- Reduce: reduces the contents of the current container to only the records from the backup
A saved container backup can also be shared with other users (in the displayed Users book, with the user currently selected by the cursor or with several users marked with asterisks) using the Move or Copy functions.
When the container backup is no longer needed, it can be removed using the Remove function.
Other Containers
In IS K2, multiple containers can be linked to each other using links from other modules.
Containers
The function is available via
by selecting the Container option.
- The Add to other container - option adds the items matching the entered condition to the existing items in the other container.
- The Delete from other container option - ensures that the selected items are deleted from the other container. This variant is suitable, for example, in a situation where you create a container of all customers, then create a container of invoices meeting specific conditions, and then delete from the customer container all those who are on the selected invoices. You thus get all customers who are not on the selected invoices.
Example: We want to filter all invoices out that relate to specific release notes.
- In the Release Notes book, we select specific release notes into the container.
- In the container state in the Release Notes book, we select the Container - Create other container option. In the code list, we expand the "Sale Items" node and select the "Invoice out" option. A confirmation message appears on the screen asking whether we want to create the container - answer Yes.
This selects into the container of invoices out all invoices that are linked to these release notes via sales orders.
Note: In the Add/Delete to/from other container book, "Attached docs" refer to document attachments. The so-called "Sale Items" relate to the Document items tab.
The main advantage of this procedure is above all the speed of creating a container from another module. In the same way, for example, all customers for whom the given invoices are issued can be selected from the invoice container into the Suppl./Cust. container, or a container of all invoices paid by these documents can be created from a container of cash and bank documents, etc.
Filters
Another way to use the container of another module is to select another container from the filter conditions Ctrl+Shift+F9.
Example: We want to find out which release notes were used to release a specific article.
- In the Article book, we select into the container the articles whose releases we are interested in.
- We switch to the Release Notes book, where in the filter definition Ctrl+Shift+F9 we first choose the condition type Submodule condition, select "Sale Items" and then choose the condition type Other container, where we select "Article number" and press the Run button.
The filter of release notes then displays all release notes that have an item of the searched article on the Sale Items tab.
Example: We want to create a filter/container of all activities of companies from Brno.
- In the Partners book, we select all companies from Brno into the container.
- In the Activities book, we open the form for defining filter conditions with the Ctrl+Shift+F9 keys.
- With the Ins key, we select the condition type Other container.
- In the opened form, we select the Partner condition in the Data field and press OK.
We can then create a container (Container - Create) or a filter (Filter) of all activities of the selected companies from Brno.
Filters
In K2, in addition to filtering with Alt+F9, the user can easily create custom selections of the data they want to work with. Using SQL queries, working with data is much faster, simpler and more flexible.
Filters can be created in the following ways:
- On the List tab from a record field.
- On the document card from a specific field.
- On the "grid" of the document card - filled or empty.
- From the conditions form.
- From the filter menu.
Note: The individual ways of creating filters are described in more detail in the chapter Creating Filters (including examples).
The program remembers the defined filter even after leaving the given book. If we have created a filter, we can delete any records in it using the Delete key.
For working with filters, we can define operations in large tables (for a more detailed description, see Client parameters - page 1, the Properties button) and set some form properties in User parameters.
Filters can also be included in a batch in the window for running reports and scripts (F9).
Filters - Conditions
If we press the
icon, the menu of saved filters and the menu of options for working with them are displayed.

Picture: Expanded filter menu in the Sales Orders book
Description of the Filter menu:
Factory |
|
Displays the preset factory filters. |
Add condition/remove condition |
Shift+Ctrl+F9 |
Adds/removes another condition to/from the current filter. |
Column filter |
Ctrl+Alt+F |
Turns the column filter on/off. |
Filter administration |
Shift+Ctrl+Alt+S |
After opening the Administration menu, the form for filter management is displayed. |
Turn off |
|
Turns off the active filter. |
Description of the Container menu:
Insert selected into container |
Shift+Ctrl+Alt+F9 |
Inserts the marked records into the container (the table will be in the Container state). |
Add |
Insert |
Adds the records from the current filter to the container. |
Delete |
Delete |
Deletes records from the container (the table in the Container state). |
Note: Create, Add and Delete have the same functionality as the buttons in the Filter form (see chapter Conditions Tab).
Filters - RIGHTS
Level Global, Client, Group |
Saving configuration objects depends on the user's rights, which can be found in the User roles book. This is the Administrator - Access to settings level right. |
Definition of Filter Conditions
To add a condition to the filter, we can use the following options:
- the Shift + Ctrl + P keyboard shortcut,
- clicking the right mouse button and using the Add condition option.

Picture: Add condition to the filter
In the Condition form, we define the values for filtering.

Picture: Simple form for entering a filter Condition
Description of fields:
Data field |
The data field on which the condition is created. |
||||||||||||||||||||||||||||||||||||
Operator |
Depending on the selected operator, the fields in the form or their accessibility change. In the Operator field, you can select:
|
||||||||||||||||||||||||||||||||||||
Value |
In this field, we write the "value" by which the condition should filter the records. If the value string does not contain an asterisk (as a wildcard), the records that exactly match the entered value will be included in the filter. |
||||||||||||||||||||||||||||||||||||
Enter value at start |
If this field is checked, a form is displayed each time the filter is run, in which we can modify the condition (e.g. date from - to). |
||||||||||||||||||||||||||||||||||||
Add only |
After pressing the Add only button, the condition we created is only added to the list; the records are not filtered by the entered value. |
||||||||||||||||||||||||||||||||||||
Edit |
The Edit button opens the filter definition form, in which the filter can be edited or saved. |
||||||||||||||||||||||||||||||||||||
Container |
After pressing this button, the records matching the entered conditions are inserted into the container (the table will be in the Container state). |
||||||||||||||||||||||||||||||||||||
Filter |
Filters the records according to the specified condition. |
||||||||||||||||||||||||||||||||||||
Cancel |
The Cancel button cancels the filter condition we have entered. |
Using the
icon in the table header, you can preview the individual conditions contained in the filter.

Picture: Display of filter conditions
Description of the icons in the filter table header:
|
Make the condition valid/invalid. |
|
Delete the condition. |
|
Change the condition. |
|
Add a condition to the filter. |
|
Filter menu. |
|
Update the filter. |
|
Run. |
Filter Conditions Tab

Picture: The Filter conditions tab
On this tab, we can add, copy, suppress, change, delete or change the position of a filter condition. To work with conditions, you can use the icons in the table header or the keys Insert (insert), Delete (delete), F4 (suppress/activate a suppressed condition).
The following icons are used for working with filters:
|
After pressing this icon or the Insert key, a form for selecting the condition type is displayed.
Picture: Form for selecting the filtering condition type |
||
|
Comparison condition |
Double-clicking the left mouse button or pressing the Enter key on the Comparison condition item displays the Field selection form. After selecting the required field, the form for defining the condition opens. |
|
|
Other filter |
Double-clicking the left mouse button or pressing the Enter key on the Other filter item opens the form for defining the other filter condition. |
|
|
|
Selects documents from the submodule of another data module. Other filters make it possible to use filters defined for data module A in data module B, which contains a link to A. |
|
|
Picture: Form for defining another filter |
||
|
Submodule condition |
Double-clicking the left mouse button or pressing the Enter key on the Submodule condition item opens the form for defining this condition. |
|
|
|
Selects documents from the data module based on a comparison of the condition value with the value of a field of the submodule. |
|
|
Picture: Form for defining a submodule condition |
||
|
Uncontrolled SQL query |
Double-clicking the left mouse button or pressing the Enter key on the Uncontrolled SQL query item opens the form for defining the condition |
|
|
|
It is used to define custom conditions written in SQL. |
|
|
Picture: Form for defining an uncontrolled SQL query |
||
|
Nested condition |
Double-clicking the left mouse button or pressing the Enter key on the Nested condition item opens the form for defining this condition. |
|
|
|
We insert conditions into the form, between which it is possible to switch the operator "or" and "and". The "or" operator means that the selection will be created from records that meet at least one of the conditions. The "and" operator means that the selection will be created from records that meet all inserted conditions at the same time. |
|
|
Picture: Form for defining a nested condition |
||
|
Records from container |
Double-clicking the left mouse button or pressing the Enter key on the Records from container item opens the form for turning on the container. |
|
|
|
Restricts to an already existing container in the same data module as the filter being created. |
|
|
Picture: Form for selecting records from a container |
||
|
Current companies |
Double-clicking the left mouse button or pressing the Enter key on the Current company item opens the form for defining this condition. |
|
|
|
"Filters out" the records related to the company currently set in the K2 system. |
|
|
Picture: Form for selecting records for the current company |
||
|
Fulltext condition |
Double-clicking the left mouse button or pressing the Enter key on the Fulltext condition item opens the form for defining this condition. |
|
|
Picture: Form for entering a fulltext condition |
||
|
Elasticsearch condition |
This condition requires Elasticsearch indexes to be set up in IS K2. It then enables fulltext search including inflection, use of synonyms, detection of typos and sorting of results by relevance. |
|
The defined filter conditions can be displayed in the table header.

Picture: Display of filter conditions in the table header
The Filter button contains the following options:
Filter |
Ctrl+Enter |
After pressing the button, the defined filter is run. |
Create container |
Alt+V |
After pressing this button, the records matching the entered conditions are inserted into the container (the table will be in the Container state). |
Add to container |
Alt+P |
Pressing the button adds the records matching the conditions entered in the Filter to the container (the Container state). |
Delete from container |
Alt+O |
This button deletes from the container (table in the Container state) the records that meet the defined filter conditions. |
Reduce container |
Alt+E |
After pressing this button, all records that do not meet the entered filter conditions are deleted from the container (table in the Container state). |
Set conditions only |
|
This button only sets the conditions; the filter is not run. |
List of data fields
When defining conditions, we select a field from the list of data fields. If there is a
icon in the "L" column of a field, the field has a link to another table and its fields. If we click this icon, a list of these fields is displayed and another tab is created in the lower part of the Filter form. With each further nesting level, a new tab is displayed. (With more extensive nesting, arrows for scrolling through the tabs are displayed next to them.) If we click another node, the nesting and therefore also the tabs change according to the newly selected one.
When the cursor bar is on one of the fields, we can also search for a specific item in the list by typing the beginning of the field name, and the cursor bar moves accordingly to the closest match. The field name is searched in the column in which the cursor bar is positioned. (Nested fields are not taken into account during the search!)
In the "Field Cost Glyph" column, the individual data fields are distinguished by colour:
|
Calculated field. It is evaluated on the client. |
|
Physical field. It is evaluated on the server. |
|
Physical field with an index, and therefore the most suitable field for searching. It is evaluated on the server. |
It is therefore best to use a condition on a physical field with an index (dark green), or a condition on a physical field (light green). And if we want to use a condition on a calculated field (orange), then preferably in combination with one of the previous ones (a "mixed condition"). Based on the selected condition, the Evaluation location field on the Filter. tab of the filter is filled in.
Pressing the Enter key or double-clicking the left mouse button on the selected filter condition opens the Field form, in which the condition definition can be specified in more detail.

Picture: An open Filter condition
Description of selected fields:
Data field |
The data field on which the condition is created. |
Operator |
Depending on the selected operator, the fields in the form or their accessibility change. Besides mathematical operators ("equals", "greater than", etc.), we can filter using other comparison operators:
|
Value(s) |
In this field, we type the "value" according to which the condition is to filter records. If the value string does not contain an asterisk (as a wildcard), the filter will include records that exactly match the entered value. |
Value type |
In this field, we select the type of the entered value:
|
The check boxes change according to the selected data field or filtering operator:
Suppress condition |
If the field is checked, this condition will not be accepted during filtering. |
Enter value at start |
If we check this field, then every time a filter containing a condition with this check is run, a form is displayed in which we can modify the condition (e.g. date from - to). For the value types "Value" and "Expression", we can in the form: 1. change the parameter value that will be used when the filter is run. For the value type "Value", the modified value is remembered and offered to the user the next time the filter is run as well. For the value type "Expression", the value obtained by evaluating the expression is always offered. 2. "Suppress" (or, conversely, "Enable") the condition before running, using the F4 key For the value type "Data field", the condition can only be "Suppressed" or "Enabled" using F4. |
By reference |
If we select "<>", "=" or "in list" as the filtering operator, we can switch (for fields where this is possible, e.g. book, period, etc.) the input method between a direct value (number, ID) and a reference value (Abbreviation), which is much more efficient in terms of performance. Entry by reference requires an existing value, so it is not possible to enter a non-existent abbreviation or number/ID. If this happens, the suffix "<--" indicating an incorrect value is added to the parameter and the condition cannot be saved. |
Wildcards |
If we select "contains" as the filtering operator, we can use wildcards when entering the value in the Parameter if we do not know the whole name (e.g. if we want to filter by the Description field). This field will be checked automatically if the Apply wildcards field is checked in User parameters - Environment - the Other options button - Search field. Wildcards can be turned off only if the Where field is set to Exactly. If the Where field is set to Anywhere or At the beginning, these characters cannot be turned off in the form. |
Case sensitive |
When this field is checked, upper and lower case letters are taken into account in the filtering conditions. This means that if we enter a description in the condition that does not exactly match the searched text, the records will not be included in the filter. |
Compare including time |
The field is accessible when a data field of the "DateTime" type is selected. If this field is checked, the values are compared including time; if it is not checked, only the date without time is compared. |
Note: If we create a filter to select records where the text begins with an "_" underscore, in the condition definition we type _ in the Value field and select Begins with in the Operator field (see the picture below).

Picture: Definition of a condition for searching for text beginning with "_"
We confirm the modified filter condition with the OK button and run the filter with the modified condition with the Filter button.
Filter properties tab

Picture: Form for defining the name of the filter being created - the Filter properties tab
Description of fields:
Name |
The filter name entered by the user (it will be displayed in the filter menu after pressing |
Description |
A more detailed description of the filter. |
Run again on refresh (F3) |
If this field is checked, pressing the F3 key automatically reruns filtering according to this filter. |
Check the record access group |
Checking this field tests whether the user has the right to the selected record. By default, this field is unchecked. |
Display also suppressed conditions at start |
Suppressed conditions are also offered before the filter is run. |
System conditions |
These conditions cannot be changed by the user; they are defined by the system. |
Create filter
On the List tab
- By pressing the right mouse button in a record field, we open a menu from which we can create filters or add conditions to existing filters.
- After selecting one of the options, the comparison condition form is displayed (for a more detailed description, see Definition of filter conditions).

Picture: The menu opened after pressing the right mouse button
From the document card:
- By pressing the right mouse button in any field, we open a menu from which we can create filters, add conditions to existing filters or add the selected field to the columns displayed on the List tab.
- After selecting one of the options (Create filter or Add condition), the Condition form is displayed (for a more detailed description, see Definition of filter conditions).

Picture: The menu opened after pressing the right mouse button - the Create filter option
From the item form:
A filter from the item form works similarly to a filter from the document card. The filter is started by pressing the right mouse button on any field of the item form. In most forms, the menu contains Create filter and Add condition. In some, the menu additionally contains the Add to columns option.

Picture: The menu opened after pressing the right mouse button on a sale item
From the "grid" of the document card:
We create a filter or add a condition on the document "grid" by pressing the right mouse button on an item in the required field and choosing the Create filter or Add condition option. In the same way, a filter can be created or a condition added on a "grid" that contains no items. We press the right mouse button anywhere on the "grid". A condition on the field whose column is currently active is then prefilled in the filter definition.
From the filter menu:
- By pressing
next to the
icon, we open the filter menu and select Create filter. - The comparison condition form is displayed (see Condition).
- By pressing
, we open the menu of Data field conditions. - By double-clicking the left mouse button (or with the Enter key), we insert the selected condition into the Data field (for more on working with conditions, see the chapter Conditions tab).
- We select the filtering operator and, if applicable, check other settings.
- After pressing the Filter button, a filter is created in the book according to the entered conditions.
Example - Filter from the List tab
We want to create a filter of articles that have more than 100 in the Available column.
- In the Article table, we press the right mouse button in the field of a record that has the value 100 in the Available column.
- In the menu that opens, we select Create filter.
- The Condition form is displayed with prefilled data.
- In the Operator field, we select the Greater option.

Picture: Condition form with prefilled values
- Pressing the Filter button creates a filter in the book according to the entered conditions.
Example - Filter from the document card
We want to create a filter of reservation lists that have a reservation date as at 12.10.2020.
- We open the book of Reservation lists in which we want to create the filter.
- On the Basic data tab of the reservation list, we press the right mouse button in the Reservation date from field.
- In the menu that opens, we select Create filter.

Picture: Condition form on the Reservation field
- The comparison condition form is displayed with values prefilled according to the selected record. Since we need to select documents with a reservation date up to and including 12.10.2020, we change the filtering operator to "less than or equal to".

Picture: Completed Condition form for the reservation end date
- Pressing the Filter button creates a filter in the book according to the entered condition. (If we press the Add only button, the entered condition is only inserted into the list of filter conditions.)
If we wanted to create a filter of reservation lists whose reservation end date is, e.g., in the range from 14.6.2020 to 25.6.2020, we select "between" as the filtering operator in the condition and enter the required dates in the Value from and Value to fields.

Picture: Completed Condition form for the range from 14.6.2020 to 25.6.2020
We want to create a filter of purchase orders that were issued in the past fourteen days.
- We open the Purchase Orders book in which we will create the filter.
- We switch to the Basic data tab of the document and, by pressing the right mouse button on the Date of issue field, we select the Create filter option.
- In the Condition form:
- in the Operator field, we select Greater,
- we click the More... button,
- in the Value type field, we select Expression,
- in the Expression = field, we type Now-14.

Picture: Filling in the comparison condition fields for a filter of orders issued in the past 14 days
- Pressing the Filter button filters the records we require.
Example - Filter with an expression for a date condition
To make it easier to build an expression, the Wizard button is available, which can build the most frequently used expressions.
The Wizard can also be opened using the button located in the condition definition form in the Value field next to the drop-down arrow.

Picture: The Wizard button on the condition definition form and the Wizard form
For example, if we want to build an expression that returns the invoice issue date as the last day of the following month, we fill in:
- Function: "End of the month",
- Shift: "+1".
The Expression field contains the required expression, and the current value is displayed above it.

Picture: Form for completing the value of a condition of the "Expression" type - a defined condition
Example - Filter from the item form
We want to create a filter of invoices out that contain items of the Food type.
- We open the book of Invoices out in which we will create the filter.
- On the Sale Items tab of the invoice out, we open an item and press the right mouse button in the Article field.
- In the menu that opens, we select Create filter.

Picture: Field menu opened after pressing the right mouse button
- The comparison condition form opens with values prefilled according to the selected record.
- The Filter button creates a filter in the book according to the entered condition. (If we press the Add only button, the entered condition is only inserted into the list of filter conditions.)
Example - Filter from the conditions form
We want to create a filter of release notes issued in the period from 01.06.2015 to 31.08.2015 for the company OMEGA s.r.o.
- We open the Release Notes book in which we want to create the filter.
- By pressing the
icon, we expand the table header. Using the
button, we insert a new condition and select the Comparison condition type. - In the list of fields, we find:
- Issued (in the Description field) and by double-clicking the left mouse button we open the comparison condition form:
|
|
|
|
|

Picture: Conditions form with an open comparison condition (filter for the company OMEGA s.r.o.)
- The
button creates a filter in the book according to the inserted conditions.
We want to filter all invoices of selected customers for which no payment has been made (i.e. invoices whose Paid in full on date is zero).
- We open the Suppl./Cust. book, in which we create a container of specific customers whose unpaid invoices we will filter later (table in the Container state).
- We switch to the book of invoices out and, using the
icon, open the table header. - Here we press the
icon and the conditions for the Filter form are displayed. - We select the type:
- Other container on customer - in the search field, we search for the Customer (TradingPartnerId) field and choose the Select button.

Picture: Open menu of possible other containers of invoices out
- After pressing the Select button, the condition definition is displayed. We confirm it with the OK button.

Picture: Filter condition definition - Exists in container
- We insert another condition into the filter - a Comparison condition on the Payment field. We switch to the Payments tab, right-click the Paid in full on field and choose Add condition. We select the operator is empty and press the Filter button.
- After switching to the List tab, we see all invoices out that match the conditions we defined. We can see the entire definition of the filter we created in the table header. The conditions are easy to work with - they can be changed, deleted and their definition modified.

Picture: List of invoices out
The created filter can be printed in the standard way (in our example with the List of invoices report sorted by supplier/customer).
We want to select all sales orders whose customer has "Tesco" in its abbreviation.
- We switch to the book of customers and, by right-clicking the Company field, we choose the Create filter option. In the Operator field we select contains, and in the Value field we enter Tesco.

Picture: Definition of a condition on a field - Customer Tesco
- We press the Filter button and the required records are displayed.
- We save the filter under the name Tesco.

Picture: Saving the filter - Tesco
- The saved filter can be found in the table header or footer.

Picture: Saved filter - Tesco
- We close the book of customers and open the book of sales orders. In the sales orders book, we expand the table header and, using the
button, select the Other filter option. We search for the Customer field and in the In filter field we select our saved Tesco filter.

Picture: Customer exists in the Tesco filter
- We press the OK button and, in the table header, the
button, which runs the filter we defined. All sales orders of the customer Tesco are thus filtered.

Picture: Condition in the filter - Other filter
We want to create a filter of sales orders that have a gross amount higher than CZK 50,000 and whose customer is located in any part of Ostrava.
- We open the Sales Orders book in which we want to create the filter.
- We press the
icon. - The Conditions tab of the Filter form is displayed.
- By pressing the
icon, we open a form in which we select the Comparison condition option:- For the amount filter - we can first sort the conditions in the Description column and by scrolling find the condition with the description "Document gross". By double-clicking the left mouse button (or with the Enter key), we open the form for defining the comparison condition. In the Filtering operator field, we enter ">". In the Value field, we fill in "50000". With the OK button, we leave the condition definition form.

Picture: Defined condition for the gross amount filter
- For the filter of the addressee in Ostrava - we insert a comparison condition and find the field with the description "Company". By pressing
next to the "Company" condition, we set the link to "Address". For this field, we further set, by pressing
, the link to "Number of the municipality part (Address)". We expand this field and find the field with the description "Municipality". With the Enter key, we display the comparison condition form. In the Filtering operator field, we select "contains". In the Value field, we type "Ostrava*". With the OK button, we leave the condition definition form.

Picture: Defined condition for the filter of all parts of the city of Ostrava
|
The created filter can be saved to the filter menu. We can also print the filter in the standard way (e.g. with the List of sales orders report).
We want to select all invoices out on which an advance has not yet been deducted.
- We switch to the book of invoices out and press the
icon. - The Conditions tab of the Filter form is displayed.
- Submodule condition on deduction - by pressing the
icon, we open a form in which we select the Submodule condition option. We open the Data field menu and select the Advances - Deduction condition. We press the OK button. A window for choosing the condition type opens.
- Submodule condition on deduction - by pressing the

Picture: Open menu of possible submodule conditions of invoices out
- Comparison condition on the deducted amount - we continue by inserting a Comparison condition. We open the Data field menu and select the Deducted condition. In the condition definition, we fill in "=" in the Filtering operator field. In the Value(s) field, we type "0". We press the OK button.

Picture: Open menu of possible comparison conditions of the Advances - Deduction submodule (Deduction)
- After pressing Run, the required filter is applied.
Independent submodule conditions
We want to select all sales orders that contain an item with the article "MILKA" and do not contain an item with the article "VÍNO".
- We switch to the book of sales orders and find a sales order with an article, e.g. "Milka bílá 100g".
- Comparison condition on the article "Milka" - on page 2 of the sales order, on the article "Milka bílá 100g", we press the right mouse button and select Create filter. In the condition definition, we change the filtering operator "=" to "contains".

Picture: Defined condition for the filter of articles containing "Milka"
- Submodule condition on the article "Víno" - since we want to add another condition immediately, we press the Edit button. By pressing the Insert key, we insert a submodule condition. A form with a list of supported submodules opens. We select "Sale Items".

Picture: Filter conditions form with a defined condition, selection of a submodule condition

Picture: Form with the list of submodules of sales orders
- After selecting "Sale Items", a form for selecting the condition type is offered. We select a comparison condition.

Picture: Filter conditions form with a defined condition, selection of a comparison condition
- We open the Data field field, expand the Art_No. box and then select Abbr 1. In the comparison condition definition, we fill in Filtering operator: "contains" and Value(s): "VÍNO". We set negation.

Picture: Defined comparison condition for articles containing "Víno"
- After pressing OK, the form with the defined filter conditions is displayed.

Picture: Form with the defined filter conditions for articles
- After pressing Run, the required filter is applied.
We want to select all items of payment documents of the "bank statement" or "cash document" type whose items are of the type invoice in, invoice out, received advance or provided advance.
- We open the Items of payment documents book in which we will create the filter.
- By pressing the
icon, we open the form for defining conditions. We insert a new condition and select the Nested condition type. With the Insert key or the
icon, we insert 2 conditions of the Comparison condition type. - For the filter of the cash document item type - In the condition form, we open the Data field drop-down field. We sort the records by Description and search for the Cash document item type field. We select the field by double-clicking the left mouse button (or with the Enter key). In the Filtering operator field, we enter "in list" and expand the Value field. We check the "PF", "PZ", "VF", "VZ" fields. With the OK button, we save the condition definition form.

Picture: Defined condition for the filter of the cash document item type
- For the filter of the bank statement item type - In the condition form, we open the Data field drop-down field. We sort the records by Description and search for the Bank statement item type field. We select the field by double-clicking the left mouse button (or with the Enter key). In the Filtering operator field, we enter "in list" and expand the Value field. We check the "PF", "PZ", "VF", "VZ" fields. With the OK button, we save the condition definition form.

Picture: Defined condition for the filter of the bank statement item type
- Pressing OK saves the nested condition to the filter condition definition form.
- After pressing the Run button, the required filter is created.
Note: Conditions in filters are arranged in a tree structure; conditions at the same level belonging to the same node are evaluated either with "AND" (necessary conditions) or with "OR" (sufficient conditions). At the top level, conditions are always evaluated with "AND". Further levels (nesting in the tree) can be created using a condition of the "Nested condition" type, for which the evaluation method can now be set to either "AND" or "OR".
From the container of sales orders for the customer AB Group, we want to select all sales orders from 2009.
- We open the book of Sales Orders, in which we create a container of documents with the customer AB Group (table in the Container state).
- In the sales orders book, we press the
icon. - The Conditions tab of the Filter form is displayed.
- Comparison condition on the period - by pressing the
icon, we open a form in which we select the Comparison condition option. We open the Data field menu and select the Business year condition. In the Filtering operator field, we enter "=". In the Value(s) field, we select "2009". By checking the By reference field, we can switch the display in the Value(s) field between the direct and the reference value. After pressing the OK button, the condition is inserted into the Filter.
- Comparison condition on the period - by pressing the

Picture: Defined condition for the period filter

Picture: Defined condition for the period filter with the By reference option checked
- Records from the sales order container - by pressing the
icon, we open a form in which we select the Records from container option. By pressing the OK button, we insert the condition into the Filter.

Picture: Filter conditions form with defined conditions
We want to create a filter of sale items where the stock price from the sale items is greater than the stock price in the article.
- We open the Sale Items book in which we want to create the filter.
- We press the
icon. - The Conditions tab of the Filter form is displayed.
- By pressing the
icon, we open a form in which we select the Submodule condition option: - In the list of fields, we find: Skc ("Stock price" in the Description column) and by double-clicking the left mouse button we insert the field into the comparison condition form (we have defined the stock price from the sale items),
|
|
|

Picture: Defined condition for comparing the stock price in the article and in the sale
|
|
We want to create a filter of sales orders from the period 2010 - 2014 created for the company "Bikeshop". This company is defined in the "ES" book.
- We open the Sales Orders book in which we want to create the filter.
- We expand the table header using
and, using the
button, select the Comparison condition option. - We select the Issued and Year fields and confirm with the Select button.
- In the Operator field, we select Between.
- We manually type 2010 in Value from and 2014 in Value to.

Picture: Defined condition for the period filter
- We confirm adding the condition with the OK button.
- We add another Comparison condition to the filter, again using the
button in the table header. - We select the Book and Abbreviation fields.
- In the Operator field, we leave Is equal and in the Value field we select ES.

Picture: Defined condition for the book filter
- Click OK to add the condition to the filter.
- The conditions we have created are displayed in the table header.
- Use the button
to run the filter.
Example - Filter from the menu
We want to create a filter of all activities of the "Reminder" type whose responsible person is "Barbora Černá".
- Open the Activities book in which we want to create the filter.
- Press
to expand the filter menu. - Select Add/remove filter condition.

Picture: The Activities book with the filter menu open
- If the cursor bar in the table was placed directly on a reminder in the Type column, the fields in the displayed comparison condition form will be pre-filled. Otherwise, we must define the condition fields ourselves:
|
|
|
|

Picture: Selecting the Type field in the comparison condition
- Save the condition to the form by pressing the OK button and use the INS key or the button
to add another condition to the filter. - Choose to add a Comparison condition:
- If the Resp. person column is displayed in the table and the cursor bar was placed directly on the responsible person "Barbora Černá", the fields in the displayed comparison condition form will be pre-filled. Otherwise, we must define the condition fields ourselves:
|
|
|

Picture: Comparison condition
- Confirm the field selection with the OK button and run the filter with the Filter button.
Extended menu (Context menu)
When creating filters, some fields offer a context menu of the individual parts the value is composed of. A typical example is the Document field, which displays the document number, e.g. in the format 10/2015/45. On the List tab of purchase, sales and warehouse documents, if we right-click in the Document column and select the Create filter option, an extended menu for creating a filter from the Document field is displayed, and we can select from Document, Book, Business year and Number.

Picture: Extended menu when creating a filter from the Document column
Saving the filter
If we want to save the filter definition, we press the Save / Save as button.

Picture: Form for selecting how to save the filter
The Save as button offers several options for saving / re-saving the filter:
Save |
Saves changes to the conditions or the name of an existing filter. After the filter is re-saved, the GUID remains unchanged. The F2 key can also be used.
Picture: Prompt to re-save an existing filter - Save |
Save as |
Saves a new filter under the name, classification, level, user, etc. we choose. The Ctrl+F2 keys can also be used.
|
Modify properties and save |
Saves changes to the assignment level (change of user, group, client, company, etc.). After the filter is re-saved, the GUID remains unchanged. The Ctrl+Shift+F2 keys can also be used.
Picture: Form for re-saving filter properties - Modify properties and save |
Save to file |
Saves the filter conditions to an *.xml file. The Ctrl+S keys can also be used. |
Load from file |
Loads the filter conditions from a saved *.xml file. The Ctrl+O keys can also be used. |
Description of selected fields:
Name |
The filter name must be filled in and must be unique for the given saving level. |
Level |
Depending on which level we select in this field, we enter information in other fields and tabs:
|
User |
We select the user name from the book of users. |
Client |
Select the client for which we want to save the filter. |
Company |
Select the multi company of the current client for which we want to save the filter. |
Note: To be able to save filters for different levels, the rights "Global", "Client", "Group" and "Multi company" must be set in the user parameters User roles - User rights - Rights .
Saved filters are displayed in the filter menu. Each saved filter shows a letter indicating its saving level.

Picture: Saved filter Available in the filter menu
Classifying the filter into a tree
For better clarity, saved filters can be organised into a tree (folders). Folders are created using the Classification. When saving a new filter (Save as) or changing the classification (Modify properties and save), we define the folder in the Classification field. The classification can be defined as:
- single-level - a simple name, even one of several words (e.g. Favourites, Slow filters)
- multi-level - a name with backslashes (e.g. Food\Meat, Food\Dairy products)

Picture: Form for editing filter properties - the Classification field filled in - multi-level menu
Clicking the icon
then displays the menu of saved filters organised in folders.

Picture: The Sales Orders - book: organised filter menu
Filters in the tree (folders) are sorted alphabetically; the exception is the "Factory" folder, which is always placed last in the list. The Factory folder contains all factory filters set by the manufacturer.
Running the filter
The filter can be run from the following places:
- in the filter definition form using the Filter button,

Picture: Filter definition form
- by adding a condition via the right mouse button on the form,

Picture: Adding a condition via the right mouse button

Picture: Condition definition form after right-clicking on the form
- when entering the condition before running.

Picture: Condition definition form - Enter value at start

Picture: Form of a run condition with the Enter value at start parameter set
Filter administration
The filter administration form can be opened with the Ctrl+Shift+Alt+S keys or from the filter menu using the Filter administration option. In this form we can create new filters, delete saved ones and make other changes. All saved filters are displayed in the filter menu.

Picture: Filter administration form
Description of icons:
|
Adds the filter to favourites. |
|
The filter can be exported to / imported from a file. |
|
After this function is run, the user sees all configuration objects, including those of other users, and can work with them. Service mode requires the right for service interventions. |
A saved filter can also be tested in Filter administration. Switch to editing the saved filter with F5; on the Filter properties tab there is a Filter test button. Pressing the button opens the Filter test form, where we run the filter with the Filter button. In this way the administrator can test filters of other users that they normally cannot see.

Picture: Filter form - Filter properties tab

Picture: Filter test - filtering result
Columns
Clicking the icon
displays the column menu and column management.

Picture: Expanded column menu in the Invoices Out book
Defining column settings in selections
After clicking the icon
and choosing Edit table settings, the Current table setting form is displayed, in which we can define the column settings.

Picture: Open form for defining column settings
Description of icons:
|
Opens the form for defining a new column. |
|
Opens the settings form of the column on which the cursor bar is currently placed. Here we can edit the setting. |
|
Deletes from the list the name of the column on which the cursor bar is currently placed. |
|
Moves the cursor bar by one row. |
|
Creates a copy of the column on which the cursor bar is currently placed. |
|
Moves the data field on which the cursor bar is placed up. |
|
Moves the data field on which the cursor bar is placed down. |
When Fit columns is checked, the column width adapts to changes in the window size. Otherwise, the column size does not change. When the window is reduced, the columns are gradually hidden and a scroll bar is available at the bottom of the screen.
If we check Display aggregations in the table, a panel with the results of calculated aggregations is displayed.
With the Number of frozen columns, we specify the columns that will be frozen. These columns will always be visible and will not scroll off the screen. The specified number of columns from the beginning of the list is always frozen.
On the Sorting tab, we set the individual sortings in the table.
On the Conditional row formatting tab, we can define conditions for formatting the table rows.
Working with the table is also described in more detail in the Universal forms section.
Column properties
This option sets the format of the given column.
Ways of setting column properties:
- In the header of the selected column, press the right mouse button and select Column properties from the menu.
- On any record of the given column, press the right mouse button and select Table functions - Column properties from the menu.

Picture: The Column properties form
Description of fields:
Data field |
Field of the data module. |
Name |
Setting of the column name in the header. |
Field mask |
Format of the field mask. Described in more detail below. |
Display |
|
Width |
We can specify formatting for the width of the given column. The column is displayed with the width of the required number of characters. When we widen the column, more characters are shown. All format types can be used to set the width, most often 'S' or 'W'. Again, we choose from preset options. E.g.: In the City column we set the width 'S10'; Ústí nad L is displayed, and after the column is widened, the full name is displayed. |
Alignment |
Setting of the alignment of the column header and data to the left, right or centre. |
Aggregation |
Setting of the aggregation type for the given column (sum, average, count distinct). The aggregation is activated in the lower right corner of the module. |
Field mask formats - Pictures
In the Field mask field, we set the column formatting type, which differs according to the value type. Different character types are used for text and for numbers.

Picture: Column properties - Field mask
Overview of initial formatting characters:
N (n) – initial format character for numbers
S (s) – initial format character for strings
D (d) – initial format character for dates
T (t) – initial format character for time
C (c) – special date and time formats, mainly for exports
U (u) - initial format character for GMT date and time
(N) Number format

- Initial format character
- Sign - the sign is always displayed, regardless of the format setting (recommended for backward compatibility)
- No thousands separator – if this character is not specified, the number is displayed with thousands separated (according to the Windows settings).
- Total number of characters including the sign and the decimal and thousands separators. The default column width is calculated from this number.
If the number has more significant digits than specified, it is displayed in full with all digits. This number is important only for calculating the default column width. - Decimal point (according to the Windows settings)
- Number of decimal places
Example: Displaying the amount "-1 234 567,89" in the Price column. The total number of characters including spaces and the sign is 13.
Format |
Display |
N15 |
-1 234 568 |
N8 |
-1 234 568 |
N-15 |
-1 234 568 |
N_15 |
-1234568 |
N-_15 |
-1234568 |
N10`2 |
-1 234 567,89 |
N-15`2 |
-1 234 567,89 |
N_15`2 |
-1234567,89 |
N015 |
-000 001 234 568 |
N-015`2 |
-001 234 567,89 |
N-15`2 |
-1 234 567,89 |
More examples of number formats:
Format |
Display |
N3 |
1 28 315 1 518 |
N_3 |
1 28 315 1518 |
N_03 |
001 028 315 1518 |
n-8`2 |
13,01 683,00 -3 328,12 |
n-08`2 |
00013,01 00000,00 -3 328,12 |
n-08`2B |
00013,01 (the value 0 will be blank) |
(S, D, T) String, date and time format
String
Report |
Format |
Resulting format |
S30 |
The default column width will be 30 (em) characters |
Ústí nad Labem |
S10 |
The default column width will be 10 (em) characters |
Ústí nad L.. (after widening the column, we will see the full text) |
Date
Report |
Format |
Resulting format |
D6 |
Date format according to the Windows settings |
24.06.2024 |
D5 |
Date format according to the Windows settings |
24.06.2024 |
Time
Report |
Format |
Resulting format |
T1 |
hh:nn |
05:35 |
T4 |
hh:nn:ss |
5:35:25 |
T6 |
hh:nn:ss,zzz |
5:35:25,840 |
T11 |
hh:nn (>24 hrs) |
35:42 |
T14 |
hh:nn:ss (>24 hrs) |
35:42:15 |
T16 |
hh:nn:ss,zzz (>24 hrs) |
35:42:15,840 |
T21 |
dhh:nn (>24 hrs) |
1d11:42 |
T24 |
dhh:nn:ss (>24 hrs) |
1d11:42:15 |
T26 |
dhh:nn:ss,zzz (>24 hrs) |
1d11:42:15,840 |
(d = number of days, hh = hours, nn = minutes, ss = seconds, zzz = milliseconds)
(C) Format for special date and time formats, mainly for exports
Example: Options for setting the date and time format, e.g. 15.03.2021, 16:25.
Report |
Format |
Resulting format |
Report |
Format |
Resulting format |
C2 |
'yyyy' |
2021 |
C15 |
x hh:nn:ss |
44270d 16:25:43 |
C4 |
'hhnn' |
1625 |
C16 |
'yyyymmddhhnnsszz' |
20210315162543840 |
C8 |
'yyyymmdd' |
20210315 |
C17 |
'yyyymmdd hh:nn:ss' |
20210315 16:25:43 |
C10 |
'yyyy-mm-dd' |
2021-03-15 |
C18 |
'x hh:nn' |
44270d 16:25 |
C11 |
'dd.mm hh:nn' |
15.03 16:25 |
C21 |
'yyyymmdd hh:nn:ss,zzz' |
20210315 16:25:43,840 |
C12 |
'dd.mm hh:nn' |
15.03.2021 16:25 |
C23 |
'yyyy-mm-dd hh:nn:ss,zzz' |
2021-03-15 16:25:43,840 |
C13 |
'dd.mm.yyyy hh:nn:ss' |
15.03.2021 16:25:43 |
C + any other number |
|
2021-03-15 16:25:43 |
C14 |
'yyyy-mm-dd hh:nn' |
2021-03-15 16:25 |
|
|
|
(dd = day, mm = month, yyyy = year, x = number of days)
A custom date format can be created using @, e.g. @yyyy.dd = 2021.03.
(U) GMT date and time format
The "U" format displays the date and time together (this is the so-called universal time). The abbreviation GMT was used to express universal time - according to the time at the Greenwich (prime) meridian.
Report |
Format |
Resulting format |
U2 |
'dd.mm.yyyy hh:mm:ss' (always a two-digit date and time format) |
06.05.2024 08:15:36 GMT |
U3 |
'dd.mm.yyyy hh:mm:ss' |
21.05.2024 8:15:36 GMT |
U1 |
'dd.mm.yyyy hh:mm:ss,zzz' |
21.05.2024 8:15:36,840 GMT |
Column settings and row settings
In the selected Book (e.g. Book of Invoices Out, Sales Orders book, ...) we can highlight selected rows or columns. Entering conditions is the same in both cases.
The data in the Columns table apply to the specific selected column; the data on the Conditional row formatting tab apply to all columns.
Conditional column formatting is set in the Current table setting form on the Columns tab, where we select the required column. Double-clicking opens the form for defining conditions of the given column, in which we switch to the Conditional formatting tab.
To set conditional row formatting, switch to the Conditional row formatting tab in the Current table setting form.
Conditional formatting of both rows and columns is set by pressing the Insert key; selecting the Conditional formatting option opens the Highlight if: form. It is divided into two parts. In the upper part of the form, we enter the conditions for the validity of the formatting, and in the lower part we set the colours and font styles.

Picture: The Highlight if: form
In documents, we distinguish several types of colours. The basic distinction is font colour and background colour.
Colours |
We can choose from 22 predefined colours or select the Own option. If the Own option is selected, the Background colour and Foreground colour fields become available, where we can set our own values. |
Background colour |
The field is active only when the Own option is selected in the Colours field. Here we set the background colour of the table. |
Foreground colour |
The field is active only when the Own option is selected in the Colours field. Here we set the text colour. |
Font format |
Option to choose Bold, Italic, Underlined or Crossed out font |
To enter a condition, click the Condition button. A window for setting filter conditions opens. The Insert key opens the menu of condition types (Comparison and Nested condition); selecting Comparison condition opens the Field selection form, in which we select the field to which the condition will be applied.

Picture: An open Filter condition
A description of the condition can be found here.
Select columns
Column selection can be used to influence the user setting of data display in the table. By adding or removing a column, only the required fields can be displayed.

Picture: Open form for defining column settings
The Current table setting form lists the fields we want to display, in the corresponding order. The Insert key adds fields and the Delete key deletes fields. At the top, the Up and Down buttons are used to arrange the columns.
Creating a new column:
Example: In the book of Invoices Out, we want to add a new column showing the "Customer Abbr 1".
- Open the Current table setting form by clicking the icon
and selecting Edit table settings, or by pressing the right mouse button in the column header and selecting Edit table settings. - Press the Insert key to insert a new field.
- The Field selection form is displayed, in which we select the required field.

Picture: Selecting fields for columns
- Select the field Identifier: TradingPartnerId, and via the bind
select Identifier: Abbr - Confirm the selection
- In the Current table setting form, press the OK button
- The newly added column is automatically placed at the end of the Data field list
- the position of the column can be adjusted using the up and down arrows in the Current table setting form
- The book of Invoices Out now displays a new column with the customer Abbreviation at the position we specified in the table.

Picture: Adding a new column
Views
Views can be set on the System tab in the ribbon. By views we mean a combination of saved filters, columns and sorting. Views serve to preserve the book settings - columns, column format, colour highlighting of data, table state, filter conditions, sorting, etc. Views can be saved and recalled at any time when needed. If the view also includes running a filter, the data in the table is refreshed.
Views can be found under the button
, and via administration we display the form for saving a view, in which we can define its name and other properties.

Picture: Form for saving a new view
Description of selected fields:
Name |
Name of the view. |
Description |
More detailed description of the view. |
Run filter |
We can select from already saved views in the selection table. |
Classification |
Field for assigning the view to a group. In this field we enter the name of the group. The view will then be placed within this group in the context menu. |
Level |
In this field we select the level for which the view will be saved. |
User |
Field for selecting the user for whom the saved view will be available. |
Client |
Field for selecting the client for whom the saved view will be available |
Table settings |
List of tables in which the column settings have changed. |
Administration of views
Via the Views button in the ribbon, we can open View administration.

Picture: Expanded view menu in the Sales Orders book
After opening the Administration menu, a form with defined and saved views is displayed. In this form we can define new views, delete saved ones and make other changes. All saved settings are displayed in the view menu.

Picture: Form for administration of saved views
Description of icons:
|
Opens the form for defining a new view. |
|
Opens the form for defining the settings of the view on which the cursor bar is currently placed. Here we can edit the setting. |
|
Deletes from the list the saved view on which the cursor bar is currently placed. |
|
Exports/imports the view to/from a file. |
|
Creates a copy of the view on which the cursor bar is placed. |
|
The user sees all configuration objects, including those of other users, and can work with them. This setting requires the right for service interventions to be set. |
Like Filters, views can be classified into a tree. In the Classification part of the view, enter e.g. View\Sales Orders\Omega,..

Picture: Classifying a view into a tree
Selection tables
When filling in documents (cards), a selection table can be opened on some items with the F12 key or the Alt+Down arrow key combination. This table contains a list of items from which a selection can be made. Use the arrows to place the cursor bar on the required item and press the Enter key to insert the item into the document.

Picture: Selection table of financial institutions
If entering the item is mandatory, the selection table appears automatically. The table also appears if we enter an item into the field that does not exist in the database, and therefore not in the selection table either. The program does not allow us to continue until the error is corrected.
It is also possible to add another entry to the selection table. Pressing the Ins key opens a form for entering a new item. We enter the required data into it and, after finishing, add the new item to the table with the Ctrl+Enter keys.
Note: In the Administrator module, selected persons can be granted the right to edit and add to selection tables (the rights are described in the chapter Administrator - Users - parameters).
Graphically, the selection table does not differ from a standard book of documents. As a rule, the same operations can even be performed in the selection table as in the book of documents itself.
A special type of selection tables are simple code lists (stored in the SpeStr database). These are various codes, cost centres, etc. Each entry in a code list consists of an abbreviation and a description. The abbreviation can have at most twelve characters (letters and digits). This abbreviation is entered in documents. In a code list, only the description can be edited (with the F5 key), not the abbreviation. Deleting a record is impossible for a regular user.
Searching
The program offers several ways to find the required document or several documents. The advantage is the possibility of searching both in the table of documents and when viewing individual documents, on any page of the document.
Browsing
The Grey plus key browses the documents in ascending order, i.e. forwards.
The Grey minus key browses the documents in descending order, i.e. backwards.
If a filter is active, browsing takes place only in the documents matching the filter setting.
If Searching is activated, browsing takes place only in the documents matching the search conditions (e.g. in the invoices of a single business partner), not only over the documents but also over the table of documents. The Searching function is described below.
The PgUp and PgDn keys allow page-by-page browsing up and down in the table.
The Ctrl+Home keys place the cursor bar on the first record in the table, the Ctrl+End keys on the last one.
Note: In module books and some of their tabs, it is possible to browse using the scroll bar. Since neither the total number of records nor the position in the whole table is known, the scroll bar always returns to its stable position in the middle of the bar when browsing. It therefore cannot be dragged as in other programs. Scrolling in the table can also be done with the mouse wheel.
Search field
The locator, i.e. a blank field with a blinking cursor in the screen header, is used for easy searching for selected items, both in the table of documents and directly in documents in View mode.
Types of locators:
- Numeric - the document is searched for by its number. The search starts after the number is entered in the locator and the Enter key is pressed. The essence is also sorting within the numeric key - 1, 2, 10. Examples of a numeric locator are the table of invoices, orders, etc. A numeric locator is not used in the list of postcodes, banks by bank codes, invoices by variable symbol, etc.
- Character - the document is searched for by its characters (abbreviation, initial letters of the name). The search takes place immediately while the characters are being typed. It is therefore not necessary to enter all characters, only a part, and then complete the search with the arrows. Examples of character locators are the databases of articles, Suppl./Cust., Postcodes, chart of accounts, cost centres, etc. The essence is alphabetical sorting - 1, 10, 2.
Sorting:
In some cases, items in a selection can be sorted by different keys. A typical example is selection from the postcode code list. Here it is necessary to search for cities either by postcodes or by city names. You can switch between the individual sorting types either with the Alt+Z hot key or by pressing the 'Z' button.

Picture: Sorting in the Suppl./Cust. book
Warning: The program remembers the last selected sorting even when you "leave" the given book. However, this rule does not apply when you open a code list from editable fields. For these fields, the sorting is always the one set by default for the given field. For example, in a purchase or sales item you open the code list of contract codes, in which you set sorting by description. When inserting the next item, however, the sorting will again be by abbreviation.
With the Ctrl+Shift+S key combination, the locator can be displayed in universal forms and used for searching on any page of a document in IS K2.
Quick search Alt+F7
The search function can be activated by pressing the Alt+F7 key. A window for entering conditions appears. After they are defined and the Search button is pressed, the first selection is made. This switches searching on (active searching is indicated in the status bar of the screen).
Quick search returns the matching records, according to the user's choice, as highlighted text directly in the book or in the Container state. In books filtered in this way, we can browse with the Ctrl + grey plus (forwards) and grey minus (backwards) keys; in addition, in the table we can look into the document with the F4 or Enter key regardless of the active search. (The Esc key returns us to the table and we can continue searching.)

Picture: Search menu in the Sales Orders book - Alt+F7
Description of fields:
Search string |
Enter the search string in this field. |
|
Direction |
|
|
|
Forward |
Search procedure forwards. |
|
Backward |
Search procedure backwards. |
From current record |
The search starts from the record on which the cursor bar is placed. |
|
Specification |
|
|
|
Case sensitive |
The search will be case-sensitive. |
|
Search in current column only |
The search will be performed only in the column in which the cursor is located. |
Full-text search
Full-text search is used to search for selected parts of text that may be located at any position. In the selection conditions, special forms are reserved both for quick search and for filtering. These also allow case-sensitive searching.
No special key is used for full-text search; instead, it is entered in the Field text, Note text and Bind text forms. These forms are opened, e.g., when defining conditions in the forms for Quick search Alt+F7 (see the corresponding chapter).

Picture: The Field text form
In the Text field, enter the text we want to search for. The text entered in this way must exactly match the searched text, otherwise the search will not be performed. When entering the searched text, we can check the Use wildcards (*,?) option. Wildcards can replace part of the searched text.
Wildcards in forms:
'*' |
replaces several different characters (can be placed at the beginning, in the middle or at the end) |
'?' |
replaces one specific character (depends on the position) |
To make the search case-sensitive, check the Distinguish lowercase and UPPERCASE field.
This search can also be entered when setting column parameters (see the chapter Basic Functions - Module Menu Functions - Display - Column parameters). In the Parameters greater than form, we then enter the conditions in the Fulltext field. Here we must additionally use characters to distinguish uppercase and lowercase letters:
'.' |
replaces several different characters (can be placed at the beginning, in the middle or at the end) |
'^' |
replaces one specific character (depends on the position) |
Reduction search
Reduction search is used for quick text searching. The advantage of reduction search is that the searched records are filtered, and only the filtered records remain displayed in the form. It is used in generated forms.
Reduction search:
- searches in all columns of the form,
- searches for substrings (even in the middle of a word):
- of a single word,

Picture: Reduction search - substring
- of several words, but only within one column,

Picture: Reduction search - substring - several words
- allows the use of wildcards:
- * - for several characters in a word,

Picture: Reduction search - wildcard "*"
- ? - for one character in a word.

Picture: Reduction search - wildcard "?"
AI-based field value recommendations
The AI-based field value recommendations function (also referred to as smart suggestions or AI help) makes filling in documents easier by suggesting the most suitable values for selected document fields based on historical data. The suggested values are sorted by probability. When creating a prediction, the model also takes into account the mutual relationships between the other data on the document. As a result, it offers more relevant recommendations and reduces errors in data entry.
The hardware requirements and the model deployment procedure are described in the Technical documentation in the chapter Field value recommendations.
The AI value recommendation function must be activated in the Configuration of field value recommendations, see the chapter Configuration of the smart suggestions function. Smart suggestions are activated by clicking to expand the lookup or by pressing the F12 key in an empty field. If the field already contains some text, the AI help is suppressed and replaced by the standard K2 suggestions.

Picture: Purchase orders - AI value recommendations in the Supplier field
Supported documents and fields
AI-based value recommendations are available for all purchase and sales documents.
The model currently recommends values for the fields:
- Supplier/Customer
- Cost centre
- Contract code,
- Officer,
- Device,
- Code 1-6.
How it works
An AI model runs in the background and makes a prediction based on several context fields (e.g. document type, document group, book, business year and others). By comparing past documents, it offers the user the most probable records sorted by relevance.
When working with a document, the model:
- Evaluates the currently filled-in data,
- Compares them with historical documents stored in K2,
- Offers a list of the most probable values for the selected fields,
- Sorts the suggestions from the most probable to the least probable.
The function only recommends values. No fields are filled in automatically and the final choice always remains with the user.
Advantages of smart suggestions
- makes filling in documents more efficient and faster,
- reduces errors in data entry,
- uses the historical data of the specific company,
- does not send data outside the customer's infrastructure,
- adapts to changes in the data through regular retraining of the model.
Configuration of the smart suggestions function
The Configuration of AI-based field value recommendations form is used to set up and manage the smart suggestions function. It allows you to:
- activate or deactivate the function,
- set up the connection to the AI service,
- manage model training and monitor the progress and history of training.
The configuration is valid for the given client.
Tab Settings
On the Settings tab, the AI-based field value recommendations function is activated / deactivated, the number of recommended records is specified, and the method of communication with the AI service and the source database is defined.

Picture: Configuration of AI-based field value recommendations
Description of fields:
Enable AI-based field value recommendations |
When checked, this option activates the AI-based field value recommendations function. By default, the option is unchecked and suggestions work in the standard way without the use of AI. |
Number of recommended records |
Specifies the maximum number of suggested values offered to the user when selecting a field value. The suggestions are sorted by probability from the most suitable to the least probable. |
Take over the API connection from the K2 configuration |
Specifies whether the connection parameters for the AI service and the database are to be taken over automatically from the K2 configuration. By default, K2 tries to connect to the API where the model is located on the computer on which K2 is running. In the case of web K2, it connects to the API on the server where the application server is running. If the API is running on another machine, the option must be unchecked and the following fields specified. |
API URL address |
The address where the AI service is running (e.g. https://127.0.0.1). |
API Port |
Network port used for communication with the AI service (default 44301). |
Name of the SQL Server instance with the K2 source database |
Name of the Microsoft SQL Server instance containing the source data for model training. |
Name of the K2 source database |
Name of the K2 database from which the AI service loads historical documents for training and evaluating the model. |
Tab Running training
This tab shows an overview of model training currently in progress. The training status changes in the background (as it progresses), so the list needs to be refreshed to display the current status.
Tab Training history
Overview of all finished training runs (completed, failed and cancelled). For each training run, we can see when and how the model learned, how it ended and what results it had. A detail with parameters and metrics is available for each record. The message of the record summarises the result, e.g.:
- "Training completed. New model deployed to production."
- "Training completed. Production model unchanged (the new model was not better)."
- "No new data since the last training. Production model unchanged."
- error text if the training failed.
Model training
The model learns from historical documents stored in the K2 system. To keep the recommendations in line with current data and the way users work, it is advisable to retrain the model regularly. The training parameters are described in the Technical documentation in the chapter Parameters.
Training can be started:
- manually using the functions in the ribbon of the Configuration of AI-based field value recommendations form,
- automatically via a scheduled task.
Description of actions in the ribbon:
|
Creates a completely new model from scratch from all available historical data. It is used at the first deployment or when the model needs to be rebuilt (e.g. after a fundamental change in the data or the architecture setting). |
|
Additionally trains the existing model on new data. It is faster than complete training and suitable for regular maintenance (e.g. weekly/monthly) so that the model stays up to date and offers the most relevant suggestions. |
|
Extracts historical data from the K2 database and saves it as a CSV file. It is used for checking - it allows you to see what data the model will receive for learning and to verify its quality and scope. |
Scheduled Task Settings

Picture: Scheduled task - model training settings

Picture: Retraining the field value recommendation model



















