Documents administration (DMS)
Working with documents in individual modules
Documents can be worked with in all K2 modules that contain the External Documents and Documents (9th Page) tab, with the Documents section added to the ribbon. Here, the work is similar to working with documents in K2, where for moving it is necessary to register the document as an already predefined state from the first step in the document configuration.
On this card, documents that are to be attached to individual documents or records can be added. A document preview can be performed here, in which the document is viewed only in read-only mode, so any changes the user makes will not be saved. To revise the document, it is necessary to open it with the Create new document revision function. Further options for working with revisions are closing or cancelling it. Attention: cancelling a revision means that the current revision is invalidated.

Picture: Attaching a document to a document (record) in separate modules
Searching in the content of attachments can be started in the attachment settings in the Documents section, where the ribbon has the Create filter based on the document content section. By pressing the Add condition on the document content function, a condition can be added to the previously created filter based on the document content. A filter of documents containing the searched text is created in the list.
A dedicated internal program AM is used to display print reports. It also serves as a tool for creating these print reports.
Types of print reports:
- Standard reports - files with the *.AM extension that are stored in the K2 database. These reports are supplied as standard with the K2 program. During reinstallation, they are all replaced by new ones.
- User reports - the same meaning as in the previous case, with the difference that, apart from the database, the files can also be stored as files in the SESTAVYW\SPECIAL subdirectory. These reports are created for each user on request, or the user has created them themselves. They remain untouched when IS K2 is reinstalled.
Script K2
It is a dedicated program interpreter. The Pascal programming language was used as its basis. The source texts are in *.PAS files:
- standard ones are stored in the K2 database,
- special (user) ones in the database or in the SESTAVYW\SPECIAL\K2R subdirectory.
A K2 script can perform any calculations, create local calculation tables, or write directly to K2 data. Any K2 functions can be run from it and, at the same time, any other programs can be started. A K2 script can use OLE to communicate with other programs. This tool can therefore perform operations comparable to, for example, the Visual Basic product, with the difference that support for the K2 environment with all program objects is automatically built in, which means considerably more flexible programming, and also the calculation itself runs faster than if all K2 functions were called via OLE from Visual Basic or another development tool. However, this route is also possible.
Universal forms
Printing using F9
We call up print scripts and reports with the F9 key over a book or over a specific document. After pressing this key, a window with a list of available output reports and scripts is displayed.
Using the Icons / Table button, we can switch between two displays:
- Icons - scripts and reports in the list are divided into so-called topics (folders) under which they are classified. We expand (collapse) the offer of individual folders by double-clicking the mouse.
- Table - in the table display, the columns clearly show:
- report name,
- file path,
- group classification,
- classification level.
If a view is applied to the grid and the grid also has a default column setting defined, the column setting defined in the applied view is used.

Picture: Icons display

Picture: Table display
Available functions:
New Ins |
Opens the book of reports and allows you to select a report, script or other function from this book. |
New - report |
Opens a form for inserting and defining a new report from the database or a file. |
New - script |
Opens a form for inserting and defining a new script from the database or a file. |
New - batch |
Opens a form for inserting and defining a new batch from the database or a file. |
New - cross container |
Opens a form for defining a cross container. |
Change |
Change of record |
Copy |
Copy of record |
Display from F9 and the bar |
Displays in the list the reports, scripts and batches that are included both in F9 and in the bar. |
Display from F9 only |
Displays in the list only the reports, scripts and batches that are included in F9. |
Display from the bar only |
Displays in the list only the reports, scripts and batches that are included in the bar. The "Display from the bar only" mode is not remembered - it is only a local switch. |
Other - Display factory |
Displays/hides the factory reports, scripts and batches in the list. |
Add to toolbar |
Inserts the report, script or batch on which the ruler is set into the module ribbon. |
Add to toolbar into group |
Inserts the report, script or batch on which the ruler is set into a group in the module ribbon. The group into which it is placed is defined in the record detail. A tree structure of folders can be created in the detail in the Group field, using "/" to separate tree levels, e.g. Doklady/FVOstrava. |
Do not display on toolbar |
Removes the report, script or batch from the module ribbon. |
Edit script |
Opens the script on which the ruler is positioned for editing. |
Edit report |
Opens the report on which the ruler is positioned for editing. |
New script |
Allows you to create a new script. |
New report |
Allows you to create a new report. |
Monitor |
Using the Monitor button (or the keyboard shortcut Alt+M), we run the required script/report on the monitor. |
When the Print button (Alt+T) is used, the required report is sent to print. |
|
Export |
Using the Export button, or the keyboard shortcut Alt+E, the required report is exported to a file. |
Inserting a new report / script into F9
We insert a new report or script with the Insert key or the New button.
With the Insert key, we insert a report or script from the Reports book into the list.
We insert a new report, script or batch from the database or from a file using the New button in the ribbon. When creating a new record using the New button (or using the right mouse button - the "New" option), we choose whether we want to insert:
- A script,
- A report,
- A batch,
- Kontejner/Filtr
- A cross container.
Then a form for configuring the given report or script opens. After the script or report has been successfully added to the list, it can be run using the buttons at the bottom of the window, with the Enter key or by double-clicking the mouse.
Editing reports and scripts:
Alt+F5 |
Editing scripts |
Ctrl+F5 |
Editing reports |
Ctrl+F6 |
Edit new report |
Script

Picture: Classification of a new script
Description of fields:
Name |
Name of the script that is displayed in the list of Scripts and reports. |
Group |
Name of the group under which the script will be classified. Groups are displayed if the Icons display is turned on. The group name is also taken over if the script is placed in the bar in a group. |
Icon |
Icon that is displayed in the list of Scripts and reports. It is intended for easier distinction between individual items. |
Script |
Opens a form for inserting and defining a new script from the database or a file. |
Description |
Description of the script that is displayed in the list of Scripts and reports. |
Data source |
Here the data source can be restricted to a specific Data module over which the script is to be run. |
Assignment |
In this area, the script can be assigned to a certain group of users, namely by Level, User, Client or Own company. The Client level is selected here by default. |
Report

Picture: Classification of a new report
Description of fields:
Name |
Name of the report that is displayed in the list of Scripts and reports. |
|||||||||||||||||||||||||||||
Group |
Name of the group under which the report will be classified. Groups are displayed if the Icons display is turned on. The group name is also taken over if the report is placed in the bar in a group. |
|||||||||||||||||||||||||||||
Icon |
Icon that is displayed in the list of Scripts and reports. It is intended for easier distinction between individual items. |
|||||||||||||||||||||||||||||
Report |
Opens a form for inserting and defining a new report from the database or a file. |
|||||||||||||||||||||||||||||
Apply language |
If checked, the report is created in the selected language. |
|||||||||||||||||||||||||||||
Electronic signature |
Determines whether the report will be electronically signed. For electronic signing of PDF documents, we can use certificates stored in the Secret storage or in the Windows certificate store. When selecting a certificate for an electronic signature, the following order is used:
Picture: Electronic signature settings on the report |
|||||||||||||||||||||||||||||
Data source |
Here the data source can be restricted to a specific Data module over which the report is to be run. |
|||||||||||||||||||||||||||||
Print settings |
In this section, the print information can be specified, such as the Printer, Copies or Paper source. |
|||||||||||||||||||||||||||||
Export settings |
In this section, the export information can be specified, i.e. Export target, Format, File name. |
|||||||||||||||||||||||||||||
Backup settings |
In this section, automatic attachment of the created report to the document's External Documents and Documents (9th Page) can be set (the External Documents and Documents (9th Page) › Documents tab) when it is exported or printed.
Picture: Backup settings Description of fields:
|
|||||||||||||||||||||||||||||
Assignment |
In this area, the report can be assigned to a certain group of users, by Level, User, Client or Own company. By default, the Client level is selected here. |
|||||||||||||||||||||||||||||
Croos container
Cross container

Picture: Classification of the Cross container
Description of fields:
Name |
Name of the cross container that will be displayed in the list of Scripts and reports. |
Group |
Name of the group under which the cross container will be classified. Groups are displayed if the Icons display is switched on. The group name is also taken over when the cross container is classified on the bar into a group. |
Icon |
Icon that is displayed in the list of Scripts and reports. It is intended for easier distinction between individual items. |
Data module |
Source data module from which this function will create the target container. |
Cross-link field |
The field specifies through which field and into which container the records will be created/added/restricted. |
Filter |
Filter on the source module |
Target container |
Informs in which data module the target container will be created. |
Operation in container |
Specifies which operation is to be performed on the target container. |
Import of reports and scripts from the grey F9 to F9 in universal forms
The function can be run from the grey F9 using the Ctrl+Shift+F6 keyboard shortcut and converts only reports and scripts. Lots must be entered again. The function transfers only the selected records. If nothing is selected, all scripts and reports classified in the grey F9 are transferred to the blue F9.

Picture: The Import of reports and scripts from the old F9 to the blue F9 function
Description of fields:
Select the activity |
Option specifying how print groups are to be handled when importing reports and scripts:
No roles are created, no users are assigned to roles. This option ignores print groups and the conversion to the blue F9 is carried out without assigning roles to the CLIENT level.
A classification in the grey F9 with a print group is saved, according to the mapping, to the GROUP level with the selected role. Users are not assigned to any roles.
New user roles named "ST_name of the original print group" are created. These roles contain no rights. They are in fact only labels used to save reports and scripts to a specific group - now a role. According to the assignment of print groups to users, these newly created (empty) roles are also assigned to these users. A classification in the grey F9 with a print group is saved to the GROUP level with the selected new role.
Note: A classification in the grey F9 that was "Locally classified for user" is converted to the blue F9 to the USER level with this specific user - regardless of the selected method of handling groups. |
Type of imported records |
Option specifying whether to import all scripts and reports (from F9 and from the bar), only from F9 or only from the bar. |
The conversion keeps the logging and parameters that are valid for the blue F9, i.e.:
- only the list of values is transferred - if the value is entered as an interval, only the parameter without the interval is transferred (this is recorded in the log)
- autofill from a date rule - autofill from a field is not transferred
- normal script/report parameters
- of the general ones only e-mail, Export, Signature and Language
- printer, number of copies.
Other parameters are not transferred. A log of the conversion is created and saved to the Uxxxx directory.
Report logging
IS K2 offers the option of recording each run of a report and the documents that were processed by the given report. It also allows you to archive the print output and to block printing of documents that have already been printed at least once before. It keeps information about the document, who ran the given report, when or where.
In the Reports book, on the Logging tab, it is possible to log records of printing, exporting or displaying on screen for all reports.

Picture: Reports book - Logging
Description of fields
Log |
This field indicates which report will be logged. Accesses to the respective reports will be recorded in the Report records book according to the settings. |
Logging group |
Individual reports can be divided into various groups as needed. After pressing the Display records button, the Report records book opens, displaying records filtered by the selected group. |
To the printer |
Operations will be performed only for running the report to a printer, either directly from F9 or from the report preview using the print icon (this applies only to AM reports). |
Export |
Operations will be performed only for exporting to applications or to a file, either directly from F9 or from the report preview using the export icon (this applies only to AM reports, not to RPM). |
On monitor |
Operations will be performed only for displaying on screen. |
Archive |
By checking Archive the system will archive the data to a "*.pdf" document. This document will be located in the Report records. book. For physical storage of these ".pdf" documents on disk, the REPARCHIVE directory in the company directory is used. |
Record to each processed document |
By checking this option, every record that is to be processed by the given report is saved in the Report records book. |
Blocking |
The field offers options for preventing a specific document from being printed more than once. If any option other than Not blocked is selected, the Archive and Record to each processed document check boxes automatically become inaccessible to the user, and the system treats them as checked. |
Rights
The Logging page of the Reports book can only be edited by a user who has been granted the Administrator - Reports and functions (F9) - Change of logging parameters of reports and functions right.
AM Reporter
If a record for Logging should always be created for a report, you can set the "Required" attribute to "True" in the "Logging" section of the report properties (after opening it in design mode Ctrl+F5 (Object inspector)). This property ensures that the report will only be opened if the Log field is checked on the Logging page. Otherwise an error message is displayed and the action of running the report ends.
Options of the Blocking field
A report that has one of the values "Archive", "Archives or run" or "Block" selected in the Blocking field on the Logging page of the Reports book runs in the standard way when started. However, if the system finds that this report has previously printed a document that the user now wants to print again, it interrupts the printing and opens the form corresponding to the selected value.

Picture: Selection for the Blocking field
Archive
When the report is run, a form opens displaying all documents currently being processed by the given report. Documents that have already been run at least once display the "Prohibited" graphic symbol in the respective column. The Archive button opens the archived report with the documents that are now blocked.

Picture: "Archive" blocking
The left table (Blocking reports) displays the report that was run and to which the blocking is bound. The right window (Documents processed in the selected report) displays the documents that are to be processed by the given report.
Archives or run
The form offers the Continue button to continue running the report or the Archive button to open the archived report with the documents that are now blocked.

Picture: "Archives or run" blocking
Block
The form offers no operation, it only displays the blocking details.

Picture: "Block" blocking
Report records book
The Report records book can be displayed in the Reports book using the Display logging button.

Picture: Report records book

Picture: Report records book - Detail
Description of fields:
Group |
Displays the selected group entered on the Logging page of the Reports book, see above. |
Name |
Report name. |
Started |
Name of the user who ran the report. Date and time when it was run. |
Definition |
Name of the report or supporting script on disk. |
Archive |
Name of the ".pdf" document that archives the report output as run by the user specified in the Run field on the given date and time. Pressing the Open archive button opens the archived document. |
Meaning of graphic symbols:
|
The report is blocked (column B). |
|
Status of output – allowed, e.g. with "Archives or run" blocking, after pressing the Continue button (column O). |
|
This exclamation mark indicates that the given record has been changed. If the user wants to change a record from blocked to allowed, they press the F8 or Del key, thereby unblocking the record for running the report (the "Stop" symbol disappears from column "B"). When these keys are used, the system records the manipulation and the "Exclamation mark" symbol in the MB column remains even after the record is returned to its original state (column MB). |
Configuration and supported printing methods
The K2 system supports several printing methods depending on the client type and environment configuration. For trouble-free printing, the printer must be set up correctly.
General printer requirements
The general rules valid for all printing methods are listed below.
Printer availability
The printer must be available in the environment where printing takes place:
- on the client computer (K2 desktop, K2 web, K2 webnative)
- on the application server (server printing)
For network printers, their reachability over the network must be ensured.
Permissions
The user or service performing the printing must have permission to print on the given printer. For server printing, rights must be set for the Windows account under which the application server runs.
Printer installation
The printer must be correctly installed in Windows and visible in the list of printers. It is recommended to use stable and supported drivers (ideally from the printer manufacturer) and a uniform configuration within the environment (e.g. terminal servers).
Shared printers
When using shared printers, sharing must be set up correctly and must be accessible from the client or server depending on the printing method. It is recommended to use a UNC path, for example: \\server\tiskarna.
Printer names
The printer name in K2 must match the printer name in Windows. It is recommended not to use special characters and to keep names consistent across the environment.
Default printer
In some scenarios (for example when using the WebNative client), the default printer of the operating system may be used. It is therefore recommended to set the default printer on the client computer correctly.
Verifying functionality
After configuring the printer, it is recommended to:
- verify printing outside K2 (e.g. from Notepad)
- then test printing from K2
Testing printing helps to distinguish a problem in the printer configuration from one in the application.
Printing from the K2 desktop application
Printing takes place directly from the client computer. All printers available in the Windows operating system can be used.
Requirements:
The printer must be installed in Windows on the client PC.
Printing on the application server
Printing takes place on the server on which the application server is running.
Requirements:
The printer must be installed either locally on the server or shared and accessible from the server.
Printer selection:
- printers without the local:\\ prefix
Using the webtarget report property:
- wtClient – printing on the client device (web client)
- wtServer – printing on the application server
Printing from web K2
The report is generated as a PDF, which is sent to the client. The standard browser print dialog opens and the user then selects the printer manually.
Requirements:
The printer must be available on the client device.
Printing from web K2 - Webnative client
The application server sends the generated PDF to the client. The WebNative client then passes the document to an internal print program, which performs the actual printing.
Supported print programs:
- SumatraPDF (default solution)
- Adobe Acrobat (alternative)
- another PDF viewer launched via an external program (.exe)
Configuration:
The print program is set in the WebNative client configuration. You can choose the default printer or a specific printer from the list of printers available on the PC.
Requirements:
The printer must be installed on the client computer. The print program must be correctly configured and available.
Confirmation Alt+F2
The concept of document confirmation does not occur in common accounting practice, but for a program installed on a network with multiple users who have access to documents, it means preventing subsequent changes and modifications to documents. A confirmed sales order thus has the character of a definitively concluded business contract, a confirmed invoice is available for viewing but not for changes, etc.
Properties of unconfirmed documents:
- They can be changed freely.
- They cannot be liquidated and posted.
- For release notes and credited receipt cards, the articles are only blocked in the warehouse, but not released. The same applies to items of transfer notes with the release flag and to positive items of accompanying notes with the release flag.
- Receipt items of stock documents are not received into the warehouse.
- Bulk payment orders are not credited to the payment of invoices, etc.
Properties of confirmed documents:
- They cannot be changed freely.
- They can be liquidated and posted.
- For release notes, transfer notes and credited receipt cards, the articles are released from the warehouse. The same applies to positive items of accompanying notes.
- For receipt cards and credited release notes, the articles are received into the warehouse. The same applies to items of transfer notes and to negative items of accompanying notes.
- Bulk payment orders are credited to the payment of invoices, etc.
Throughout the K2 system, documents are confirmed with the Alt+F2 keys. To confirm a document, we can also use the Confirmation button on the Home tab. Once a document is confirmed, no further changes can be made to it. Confirmed documents are marked with a special confirmation icon, i.e. they can be distinguished from unconfirmed documents at first glance.
icon of a confirmed document
icon of the first confirmation of a stock document
Undo the confirmation of documents is possible by pressing the Ctrl+F2 keys or with the Undo the confirmation button on the Home tab. The user must have the respective right to undo the confirmation. To undo the confirmation of a document whose confirmation date is older than the current date, the user must additionally have the right to change the confirmation date.
On repeated confirmation of a document (i.e. when confirming a document whose confirmation was undone), the document is automatically confirmed as of the original confirmation date. If a negative stock level would result for stock documents, or the original confirmation date falls into blocked periods, or the date of the second confirmation would be earlier than the date of the first confirmation, the user has the option to confirm the document as of the current date - however, this action requires the right to Change the confirmation date of the respective document.
Changing the confirmation date can be done with the Ctrl+F5 key combination. To change the confirmation date, the user must have the respective right.
Refresh - F3
Pressing the F3 key over a table refreshes this table. This is a screen refresh. Pressing the F3 key over a document leads to a restore, i.e. returning the data in the fields to the state before the change was made.
Assign record access group / Remove record access group
Using Record access groups (Right groups), we define permissions for viewing and changing specific records in K2 modules. Permissions to view or change specific records are set in User roles. A more detailed description is in the chapter Record access groups.
A record access group can be assigned to a specific record only by a user who has the given group set both for viewing and for changing. The record group is assigned using the Assign record access group (Shift+Ctrl+F5) function, which can be found in the ribbon on the Function tab.
There are two ways to remove a group from a record: Either we assign the record an existing group with Identification number 0 (zero), or we use the separate function Remove record access group - this does not require a group with Id = 0 to exist.
If a record already has a group assigned, the user can change it to another one (or delete it) only if they have the given group set both for viewing and for changing.
Both changing and removing the record access group are also available as bulk actions.
Books Alt+F10
Books (series) are used to divide documents (sales orders, orders, invoices, delivery notes etc.) into groups in which they are numbered separately. Dividing documents into books can be compared to sorting them into "paper binders", in which domestic, foreign, internal documents, complaints etc. can be kept separately.
All books that can be set in IS K2 can be seen after expanding the Basic data tree menu. Before starting work in each module, it is necessary to set at least one book and its numbering so that new documents can be created correctly. Book properties can also be entered directly in the menu of the given module, in the Basic data - Settings… section
Information about which book we are currently in is displayed in the upper blue bar of the given document. If we enter e.g. the book of Invoices out, then with the Book state switched on, the description of the current book (binder) is shown in the upper blue bar - e.g. Book: 10 - Domestic (abbreviation and description of the book). The table thus displays all domestic invoices.
If we need to switch between individual books, i.e. to display documents from another binder (e.g. foreign invoices), we press the Alt+F10 keys. This brings up a selection table with the set books, in which the chosen book can be selected using the arrows. After confirming the selection with the Enter key, the documents of the new book (binder) are displayed and the cursor bar is set to the last record in the table.

Picture: Book selection over the book of Invoices out - Alt+F10
Numbering of documents in individual books is separate. This numbering can be influenced in the definition of individual books (the Basic data tree menu), where new books can be entered and the numbers of the last documents in the given book can be set. For documents that start to be created from the beginning of the calendar year, numbering from one is used.
Similarly, if documents start to be issued only during the year (e.g. when switching from another system to IS K2), it is possible to set document numbering in the books from a specific number and thus follow on from the document numbering of the previous system.
Business year
The business year is used to define the year in which documents are to be issued. Business years are defined in the Basic data - Business year module, using a new record for each year. The zero business year is always mandatory.

Picture: Business year code list
On the Basic data tab, we can enter the range of the business year in the Date from and Date to fields. When saving a new document, the system then checks whether the document date falls within the interval of the business year set for the user (the check applies to documents that are posted).

Picture: Business year code list - Basic data
For correct operation, after creating a new business year it is necessary to restart the application server and log all users out of the IS K2 system.
Creating documents in a business year:
Each user selects the current business year in the Administrator - User parameters module or in the Record preview in the Settings section. Based on the current business year set in this way, it is determined when creating a document in which number series the given new document will be created.
It is thus possible to set for each user in which number series they will issue new documents. One user can issue new invoices in the new year, while someone else can still assign some new invoices to the previous year, or post to the old year, etc.
A superior document (sales order) can be opened in one year and subordinate documents can then be created in subsequent years. These documents will be created in different business years, but in one book, and will therefore be linked to the superior document (sales order).
The business year can be changed not only in User parameters, but also by selection in the Settings section in the Record preview. We select the required business year from the code list that opens. The selected business year is automatically filled in to the User parameters.
Warning: After selecting a business year, all documents are displayed on the screen, not only the documents of the selected year.
Unique identification of documents
In the Business year code list, in the Document identification section, unique identification of documents can be set - up to 3 characters can be added at the beginning of the displayed document number in the Book/Business year/Number format, which can be used to distinguish the document type.

Picture: Business year - Basic data code list - document identification set for sales orders and purchase orders

Picture: Item with identification settings for purchase orders
On the Document identification item, we select Document, enter the abbreviation and, if required, check Add space as separator. The maximum length of the abbreviation including the space is 3 characters.

Picture: Offer of document types for which document identification can be set
E.g. if in the Business year "2025" we set the identification "VO" + space for purchase orders, the document number "VO 11/2025/1" will be displayed for an order in book (e.g.) "11" issued in the business year "2025".

Picture: Book of invoices in - the set document identification is displayed with the order number
After setting the document identification, K2 must be shut down.
Document identification can be split for multi company.
Custom format of document numbers
A custom document number format can be set for individual document types. The document number can thus be, for example, without slashes or with the number padded with zeros.
The format is set in the Business year code list in the Document identification section in the Format field using a mask. The mask can be composed of these parts:
- {$Prefix}: document identification,
- {$Book}: book,
- {$Type}: document type,
- {$Year}: business year,
- {$Number}: document number, or {$Number:0000} for a number padded with zeros to 4 digits,
- {$Variation}: variant.
Individual parts are inserted into the Format field with a button at the cursor position, and you can add any characters between them. If the Format field is empty, the document number is displayed in the existing Book/Business year/Number format.
E.g. if for purchase orders we set the identification "VO" and a space and the Format "{$Prefix}{$Book}{$Year}{$Number:0000}", purchase order No. 1 in book "11", issued in the business year "2027", will have the document number "VO 1120270001".
The document number is saved in the database, which makes filtering and sorting by document number faster (the exceptions are cash vouchers and accounting documents - they are not saved in the database because of the language document type, which is part of the number).

Picture: Setting a custom format of the purchase order number
Periods
Periods are used to evaluate various states within defined time periods. Monthly ranges are most often entered for periods. A longer interval is not suitable mainly with regard to accounting, where subtotals of the general ledger must be made at monthly intervals at the longest.
Periods are defined in the Administrator - Code Lists - Periods module. When entering new periods, you can use automatic creation of periods with the Ctrl+F6 keys. After pressing them, a system message appears asking whether we want to create periods for the next year. After confirming the query, the periods are created automatically.
The following evaluations are made by periods:
- Turnovers of purchases and sales of articles.
- Turnovers of receipts and releases of articles.
- Turnovers of purchases from individual suppliers.
- Turnovers of individual customers.
- Stocktakings of articles in warehouses.
- Movements of articles in warehouses.
- Turnovers on accounts (Preliminary balance sheet).
- Economic analyses.
All evaluations performed in the selected module then relate only to data from the set period.
The selection table for defining periods can be called up e.g. via the record preview in the Business year section.
Setting periods in the Article book:
The selection table over the Article book allows you to select any period and thus display the stock in the specified warehouse as of the end of the selected period. If we select the period that is current as of today, the current stock levels in the warehouses are displayed.

Picture: Selection table for determining the period and warehouse over the Article book
Setting periods over the General ledger:
The selection table over the General ledger and in analyses allows you to set the length of the monitored period. In the Period from field we set the month on whose first day the period begins, in the Period to field the month on whose last day the period ends. It is also possible to set the book from which the data is to be displayed.

Picture: Selection table for determining the interval of periods and the book over the General ledger
Addresses and address history
The Address. form is used to enter the address of e.g. a customer. It is used in these modules: Suppl./Cust., Contact persons, Service orders, Warehouses, Personnel data, Internal documents, Cash vouchers, Letter mail, purchase and sales documents, Shipments.

Picture: Address form
Note: If we select a Postcode from the offer, the Place is also filled in automatically according to the code list. Likewise, when we select a Place from the offer, the Postcode is filled in. We can also assign any Postcode to a Place . Another option is to fill in the Place and Postcode manually without selecting from the code list.
The The change is valid from field becomes accessible when we change the address (e.g. we change the house number, confirm with the Enter key and the The change is valid from field becomes active). The validity date can be entered manually or via the icon directly from the calendar. The validity of the address can be changed at any time.
GPS coordinates can also be entered for the address. The Additional addresses button is used to enter the invoicing, correspondence and delivery address.
Note: When creating a new address, we must always fill in the Valid from field. If we leave the date empty, the last saved record is changed.
The
button displays the Address history form. The form provides an overview of data changes in history. If we enter a date in the The change is valid from field in the Addresses form, the Valid to field on the previous record is adjusted automatically. The address validity date can be seen on the Address history form.

Picture: Address history form
Record comparator
The function allows you to select two or more records in any table and compare the values of the required fields of the records, including item modules. The basis is creating a comparison definition.
Examples of use:
- comparison of users' assigned rights;
- comparison of sales orders (their prices) including comparison of item contents;
- comparison of production costings for a product;
- comparison of parameters of article cards;
- etc.
The Record comparator tool can be found in the function menu over each table (icon
).
A new definition is created either using the New record comparator menu, or in Record comparator management using the Insert key.
The tool will be presented using the example of setting up a comparison of production costings - where we want to compare the header data of the costing (e.g. the resulting price), then the individual summary categories (by article types) and finally also the contents of items and their quantities in these categories. The example will thus apply the settings for header data, an item module and a sub-item module.
Comparing field
On this tab, we set the fields of the main data module (over which we are creating the comparison definition) whose values we want to display and compare. In our example, these are the selected header fields of the costing - product, quantity, price specification, total and unit price of the costing. After entering a data field, the user representation of the selected field is always transferred to the Name field. We modify this name as needed, according to how we want the field to be represented in the output. (Example: after entering the field with the link "ArticleId.Abbr", the name "Article.Abbreviation1" is filled in, which we can overwrite, for example, to "Article".) The order of the inserted fields for display can be changed as needed using the arrow buttons in the table header.

Picture: Record comparator - Field selection for comparison
Item modules
If, in addition to header data, we also want to compare data from items, we define the respective item module on the Item modules tab. A new module is added with the Insert key. In our example, we select the "SummaryChild" module - Costing - summary by categories. After entering the data module, the name can be modified in the Name field to the one we want to represent the module in the output.
Now it is necessary to select a field from the item module that will serve as the pairing field - a field uniquely identifying the item. In our example, this will be the "Name" field - Category name. How this field will be presented to the user in the comparator table is defined in the Item presentation line. Here it is necessary to specify, in curly brackets (several can be defined in a row), the fields from which the values for display will be read. A typical example will be displaying e.g. the Abbreviation, the Name, or both in a row (Example: {Abbr} - {Name}). In our costing example, we want to display the category only by its name - so we enter the field name "Name".
This is followed by entering the fields for comparison from this subordinate item module - on the Comparing field tab. In our example, we again want to compare the resulting price of each category - so we select the price field.

Picture: Record comparator - Item module and definition of the pairing field

Picture: Record comparator - Item module and selection of fields for comparison
If the selected item module has another item module, records from these "sub-items" can also be compared. In our costing case, we also want to see the individual article items falling into the summary categories and compare their quantities (consumption in the costing).
We proceed in the same way as when defining the first item module. In our example, we select the "SummaryItemChild" module - Costing - category items, select the pairing field and determine its presentation (the "Name" field - Name, and we set the presentation as {Name}). Finally, we select the field for comparison: "Quantity" - Quantity.

Picture: Record comparator - Sub-item module and definition of the pairing field

Picture: Record comparator - Sub-item module and selection of fields for comparison
This completes the definition. The result can be previewed at any time from the main definition form using the Start the comparator button. We save the final comparator definition as needed to the required level (global, client, user, etc.).
Example of comparing two costings - plan vs. actual on a job ticket
Displaying all items of the compared records:

Picture: Record comparator - comparison of two costings
Displaying only the differing items of the compared records - the Show rows with differences only option is active:

Picture: Record comparator - comparison of two costings - displaying rows with differences only
Using the
icon in the Record comparator, we can export the data to Excel. To export the entire expanded tree including node descriptions, we choose the Export tree to Excel option.
Column masks
To simplify display settings, especially for multiple users, we can use the Column masks function and create our own settings (masks) according to our needs. These settings are saved under a specific name, under which they can be called up again for any user.

Picture: Masks code list
The Column masks function is called up via the module menu Display. A new mask is inserted with the Insert key. In the form, we fill in the Mask name and Description, and we can also assign an Icon to it. The columns displayed in the Book are automatically set in the mask. If we change the column settings in the Book, we can also make this change in the Masks book. We set the cursor bar on the mask we want to change and after pressing the F2 key the new settings are saved. A mask can also be deleted from the book of masks. We set the cursor bar on the mask we want to delete and press the F8 key.
With the mask switched off, the program remembers the column settings separately for each sorting and for each filter setting. After selecting a custom mask, the column settings are the same for all types of sorting. If we switch the mask off (the without mask setting), the settings for each sorting are restored separately, to the state before the custom mask was selected. If we have display by mask set and change this display in some sorting, the display according to the selected mask is restored after any change of sorting or after leaving the program. If we have the setting without a mask, the display is not restored.
Ribbon
Inside a module, or on some page of a document, the K2 system Ribbon is displayed in the upper bar. From it you can open the Home, Function, Bulk actions, System menus and also e.g. Documents. Some parts of the ribbon are similar for individual modules. The common features are listed in the following text. Specific parts of the ribbon will be described in the corresponding chapters of the respective modules. The ribbon may also change after clicking on individual tabs of the document.

Picture Ribbon of the Article book
Ribbon - Home tab
On this tab, the following options common to all modules can be used:
- switching to the first record in the book,
- switching to the last record in the book,
- switching to the previous record in the book (the - sign on the numeric keypad),
- switching to the next record in the book (the + sign on the numeric keypad),
- creating a new record (Ins),
- creating a copy of the record on which the cursor bar is positioned (F6),
- switching the record to change mode (F5),
- refreshing the record (F3),
- displaying functions and print options (F9).

Picture: Ribbon - Home tab in the Article book
Ribbon - Function tab
This tab contains functions that can be used in the given module. The functions of individual modules are always described in the respective documentation.

Picture: Ribbon - Function tab in the Article book
Ribbon - Bulk actions tab
Bulk actions are used when we need to perform a given action (function) on multiple records (documents) at once. The bulk actions menu differs partially for different modules. Some actions included in this menu perform the same function as the commonly used keyboard shortcuts.
Bulk actions can be run as follows:
- if a container is set (and no records are selected), all records in the container are processed
- if some records are marked with asterisks, the bulk actions are performed on the selected records.

Picture: Bulk actions - Module menu form of Invoices Out
Selected actions |
Description of the selected action |
|
Bulk change |
Opens the form for bulk change of records. |
|
Comment
|
Add comment |
A comment is added to the selected records. |
Remove comment |
Bulk deletion of a note from the selected records. After the function is run, the Remove comment form is called up, in which we define the type of comment to be deleted. |
|
Export attachments |
For the selected records or records in the container, it determines the used attachment types and offers them to the user in a simple form. By selecting them, the types to be exported are chosen. Files of the selected types are saved to a temporary folder in the user directory. If the folder does not exist, it is created. If it exists, it is emptied. Duplicate file names are handled by numbering. |
|
Add attachements |
Bulk insertion of documents for the selected records or records in the container. After the function is run, a lookup into Documents opens; a document can be selected by double-clicking or by selecting several documents. The selected documents are attached to the External Documents and Documents (9th Page) tab, section Documents. |
|
Import and add attachements |
Imports the selected files into the Documents DM and at the same time inserts them on the selected records or records in the container on the External Documents and Documents (9th Page) tab, section Documents. |
|
Confirmation |
Confirmation (locking) of a document (similar to the Alt+F2 function). This function sets the document confirmation icon and the document confirmation date. After the action is performed, the documents are removed from the container. |
|
Undo the confirmation |
Undoing the confirmation of a document (similar to the Ctrl+F2 function). This function cancels the confirmation flag and confirmation date of the document. |
|
Confirmation date |
For confirmed documents, it allows you to change the confirmation date (similar to the Ctrl+F5 function). |
|
Cancel |
Bulk cancellation of the selected documents (similar to the F8 function), for which the cancellation icon is set. |
|
Undo the cancellation |
Undoing the cancellation of cancelled documents (similar to the F8 function). The cancellation icon disappears for these documents. |
|
Company |
Multi company selection. |
|
Change status |
Allows you to change the Status field in bulk for the selected records. |
|
Clear status |
Deletes the Status on the selected records. |
|
Assign record access group |
Assignment of a right group for viewing and changing for the selected cards. Such cards can then be viewed or changed only by users who have the given right group. Other users see only asterisks instead of the data. Rights to a record are assigned in the User roles book on the Record access groups tab. |
|
Ribbon - System tab
This tab contains actions of a system nature.

Picture: System tab
Description of functions:
Views |
Combination of saved filters, columns and sorting. |
Hot key help |
Switching the display of the row at the bottom of the screen on or off. The digits with sequence numbers 1 - 10 correspond to the function keys F1 - F10. A short description of the callable function is displayed for each number. After pressing the auxiliary keys Alt, Ctrl or Shift, this description changes according to the key currently pressed. |
Show floating help |
Help is displayed for fields and actions in the user interface. |
Suppress form modifications |
The form is displayed in the factory settings, without special modifications. You must have the Administrator/General/Suppress form modifications. right. |
Delete form attributes |
Deletes column settings, column sorting, etc. |
Profiler |
Used to measure the performance of the user interface. |
Help for displayed data |
Displays information about the data module, table and form. |
Search in Help |
The search expression is entered into the form and you are redirected to the web help. |
Parameters |
Administration and list of available parameters. |
Ribbon - Documents tab
The tab is displayed from the External Documents and Documents (9th Page) page of the selected module.

Picture: Documents tab
Description of functions:
View document |
The document opens in preview. |
Import |
Imports documents according to the selected type. |
Add to |
Opens the Documents form, from which a document can be selected and inserted into the attachments. |
Remove |
The attachment on which the cursor bar is positioned is removed. |
Document detail |
The Basic data of the document is displayed. |
Export attachments |
Allows the user to export document attachments. Files of the selected document types are saved to a temporary folder in the user directory. If this folder does not exist, it is created. An already existing folder is emptied. Duplicate file names are handled by numbering. |
Create filter based on the document content |
Searches for the required text in documents. The function is available only when using the document server (DMS). |
Add condition on the document content |
Option to add a condition for a filter created according to the document content. The function is available only when using the document server (DMS). |
Remove and delete document |
The document is detached and physically deleted. Before deletion, the system checks whether it is not used anywhere. To use this function, you must be granted the Code lists/Documents/Detachment and deletion of a document right. |
Create new document revision |
Opens the document for revision. The function is available only when using the document server (DMS). |
Save revision |
Closes the created revision of the document. The function is available only when using the document server (DMS). |
Cancel revision |
Cancels the performed revision of the document. The function is available only when using the document server (DMS). |
Create timestamp |
|
Check timestamp validity |
|

