General ledger
The General ledger is an accounting book in which accounting entries are broken down by accounts. The records are loaded automatically depending on the entries in the Accounting journal and are displayed according to the set book, currency and period. The current period, book and currency are displayed in the record preview and can be changed using the Select book, currency and period (Alt+F10) function or in the record preview.
List
The List tab displays the analytical and summary accounts that are valid in the selected period, their opening balance, Dr total, Cr total and balance in the selected currency.

Picture: General ledger - List
Description of columns:
Summary |
Icon for a summary account. |
Account |
Account number. |
Name of account |
Account name. |
Op. balance |
Opening balance on the account at the beginning of the selected period. |
Dr total |
Turnover on the Debit side of the given account in the selected period. |
Credit total |
Turnover on the Credit side of the given account in the selected period. |
Balance |
Balance on the given account at the end of the selected period. |
In the record preview, you can set the Book, Currency, Period from-to (this information can also be set using the Select book, currency and period function in the ribbon or using the Alt+F10 keys. Running the Filter calculation function displays the Off-line filter form. Checking the Off-line filter field in the record preview displays the last calculated filter. In the record preview, you can also check and select the Cost centre, Contract code and other analytical axes of the accounting entry (see the chapter General ledger filter calculation).
Only analytical accounts can be displayed by running the Analytical accounts filter.
The record preview displays the amounts for the account on which the cursor is placed. If we select a foreign currency, the record preview displays, in addition to the amounts in the selected currency, also the amounts in the currency of the own company. If we want to display the amounts in the list in both the selected currency and the currency of the own company at the same time, we can run the GL both currencies or GL analytical accounts both currencies view.
From the tree, you can run the General ledger filter (available from Accounting - General ledger), which displays the General ledger without accounts that have no movement or balance. If we run General ledger - all accounts from the Accounting - General ledger tree, accounts without movement and with a zero balance are also displayed.
Turnovers
The Turnovers tab provides an overview of turnovers, opening balances and balances on one account by individual periods in the selected time period, book and currency. If the Filter is enabled, the turnovers are displayed for the selected axes enabled in the Summation section during the filter calculation.

Picture: General ledger - Turnovers tab
If the Show movements check box is checked, the lower Movements section displays the accounting document items included in the item that is active (has the cursor on it) in the Turnovers section.
The Items tab in the ribbon is displayed if the table with items is active. The tab contains functions that allow you to jump to the Accounting document (F7) and the Primary document (Ctrl+F7). The primary document can also be opened by pressing the Enter key or by double-clicking the item.
If the number of records in the Movements section is greater than 50,000, the message "Too many records" is displayed and the accounting records are not displayed.
Movements
The Movements tab displays the non-cancelled accounting document items relating to the given account and period, with the contra account. The records are sorted by the date of the accounting transaction. After checking the Display canceled items field, the items of cancelled accounting documents are also displayed.

Picture: General ledger - Movements tab
If the table with items is active, the Items tab is displayed in the ribbon. The tab contains functions that allow you to jump to the Accounting document (F7) and the Primary document (Ctrl+F7). The primary document can also be opened by pressing the Enter key or by double-clicking the item.
Using the Attachment to the primary document action, you can open a document that is stored in the DMS and attached as an attachment to the posted primary document,
Pressing Alt+F3 sorts the data in the columns to the default setting.
If the number of records is greater than 50,000, the message "Too many records" is displayed and the accounting records are not displayed. If it is desirable to display more records on the Movements tab, the K2 administrator can set the GLMAXRECORDS parameter in the K2.ini file (in the K2 directory) to a value higher than the default 50,000 records (the display will take longer).
Matching symbols
The Matching symbols tab displays the matching symbols created for the given account. The left part displays the matching symbols for the given account. The right part displays the accounting journal items - in the upper part the items with the selected matching symbol, in the lower part those without a matching symbol.
The Items tab in the ribbon is displayed if the table with items is active. The tab contains functions that allow you to jump to the Accounting document (F7) and the Primary document (Ctrl+F7). The primary document can also be opened by pressing the Enter key or by double-clicking the item.

Picture: General ledger - Matching symbols tab
Matching symbols
The left part displays the Matching symbols. It is possible to choose matching by period or by sign. You can display only matched, only unmatched or all matching symbols. If matching by sign is selected, displaying the unmatched ones shows all matching symbols that are not marked as Matched. If matching by period is selected, the Dr total and Cr total are compared in the selected period from-to, selected book and currency.
Matching is also possible by dragging matching symbols (with the mouse), only in the left column. The following buttons are also available:
Match with selection - the items of matching symbols that are marked with an asterisk, or the items of the current matching symbol (if none is marked with an asterisk), are moved to the selected matching symbol.
Match - the items of matching symbols that are marked with an asterisk are moved to the matching symbol on which the cursor is placed.
Undo-match - deletes the matching symbol on the items of the current or marked matching symbols.
In the ribbon, on the Matching symbols tab, the Matching symbol action can be used to open the Matching symbols book - the basic data of the current matching symbol is displayed.
Acc. journal items with selected OL
The upper right part displays the Accounting journal items with the selected matching symbol. If matching by sign is set, all accounting document items for the selected account and matching symbol are displayed. If matching by period is set, the accounting document items for the selected account, book, days according to the period from-to and matching symbol are displayed. The records in this part change dynamically according to the active record from the left part.
Pressing the Match with selection button displays the Matching symbols book, in which you can select a record for matching.
Pressing the Undo-match button performs unmatching. The matching symbol is deleted in the records marked with an asterisk or in the active record.
Accoutnig journal items without MS
The lower right part displays the Accounting journal items without MS. The accounting journal items for the selected account, book, period from-to and without a matching symbol are displayed.
Pressing the Match with selection button displays the Matching symbols book, in which you can select a record for matching.
Pressing the Match button performs matching. The matching symbol according to the active record in the Matching symbol table is filled in the records marked with an asterisk or in the active record.
For Items of acc. journal with selected MS and Items of acc. journal without MS, you can mark a record or all records, or unmark all records, with an asterisk. The user can drag records with the mouse between the individual parts on the Matching symbols tab (if they have the Edit accounting documents right). Pressing the F7 or Enter key displays the Accounting journal with the cursor set to the relevant item. If the accounting document is linked to a primary document, pressing Ctrl+F7 displays the Posting tab of the primary document.
If the When matching, fill in the matching symbol in the primary document field is checked, then when the matching symbol is filled in the accounting document using the functions on this tab, the matching symbol is also filled in the primary documents (for payment documents in all items, for other documents in the header).
General ledger filter calculation
On-line filter:
In the General ledger, in the record preview, in the On-line filter settings section, you can check and select the Cost centre, Contract code and other analytical axes of the accounting entry (only one axis can be checked at a time) - on the List, Turnovers and Movements tabs, the amounts for the selected axis value (e.g. for a specific cost centre) are calculated.

Picture: On-line filter of the General ledger - List - filter for the selected cost centre
Off-line filter:
The off-line filter of the general ledger can be calculated using the Alt+F9 keys or the Filter calculation function in the ribbon. After start, the Off-line filter form is displayed. After confirming the form (the Calculation button), the turnovers and movements of the individual accounts are calculated according to the filter conditions and the selected summation.

Picture: The Off-line filter form
Meaning of the individual parameters in the form:
From container of acc. journal items |
If the field is checked, the calculation is made from the container of Items of Accounting Journal. |
Summation by date |
Can be checked if filtering from accounting journal items. If checked, the turnovers on the Turnovers tab are summed by Date; otherwise they are displayed without summation. |
Clear opening balances |
If checked, only the turnovers and balance are calculated for all accounts. |
Currency |
Currency in which the turnovers and movements are displayed. |
Period from - to, Date from - to |
We check the relevant fields as needed and enter the values for filtering. |
Filter Account, Book, Cost centre, Contract code, Article code, Code 1, Code 2, Code 3, Code 4, Code 5, Code 6, Officer, Customer |
By selecting a field (double-click), we define further conditions by which we filter. In the middle part of the form, for the given condition we can:
The selected values are displayed below the Add and Delete buttons. |
Summation |
By marking a field (by double-clicking), we define summations according to how we need the turnovers to be sorted on the Turnovers tab of the General ledger. E.g.: If we want to display turnovers for individual cost centres, we mark Cost centre. We proceed analogously if we want to display turnovers for individual contract codes, article codes, periods, etc. A maximum of 5 fields can be marked at the same time. |
Load mask |
After pressing the button, the selected calculation definition is loaded. |
Save mask |
This button allows us to save the defined calculation conditions. |
Save mask as |
After pressing the button, we can save a new mask. |
Other parameters are used in the calculation of economic analyses (see the chapter Economic analyses - Calculation of economic analyses).
Pressing the Calculation button starts the filter calculation. The amounts are calculated in the List and on the Turnovers and Movements tabs. If we filter by Period from - to and the Date sorting is selected at the same time, the Turnovers tab displays turnovers for individual periods. If we filter by Date from - to (and the Date sorting is selected at the same time), the Turnovers tab displays turnovers for individual days.

Picture: Off-line filter of the General ledger - List

Picture: Off-line filter of the General ledger - Turnovers
The off-line filter can be disabled by unchecking the Off-line filter check box in the record preview in the Parameters section.
The on-line and off-line filters cannot be combined.
Functions on the General ledger
Show in columns
The Show in columns function allows the general ledger to be displayed in columns with values according to the selected summation.
If the Cost centre summation was marked during the calculation of the general ledger off-line filter, after running the Show in columns function, the values are displayed by cost centres.

Picture: Off-line filter - Cost centre summation

Picture: General ledger - display in columns by cost centres
When selecting the summation for the general ledger filter calculation, the date cannot be combined with another axis.
If the off-line filter is not enabled, the Show in columns function displays values by periods.
General ledger in columns
The General ledger in columns function allows the general ledger to be displayed in one step according to preset parameters and in columns.
The function can be added to the Favourites tab by pressing the right mouse button. In the menu that appears, we select New – Accounting – General ledger in columns.
The way the general ledger is displayed and calculated is defined in the settings parameters.
To set the parameters, click the right mouse button on the General ledger in columns icon and select Edit. The form for setting the parameters is displayed.

Picture: Form for setting parameters
Function parameters:
Settings |
After running the function from the ribbon, the Off-line filter form is displayed.
Working with the off-line filter is described in more detail in the chapter General ledger filter calculation |

Picture: Off-line filter
Show columns |
After the function is run from the ribbon, the names of the General ledger columns that can be displayed are shown. Columns to be displayed / hidden can be marked / unmarked with an asterisk. |

Picture: Selection of displayed columns
After start |
No input parameters |
The calculation is performed according to the filtering conditions saved under the Settings button. |
|
Set period |
At start, you can enter the Period from and Period to for which the calculation is performed. |
|
Set period and cost centre |
At start, you can enter the Period from and Period to and the Cost centres for which the calculation is to be performed. Checking the Not entered field also filters values without an entered cost centre. |
|
Show settings |
The off-line filter form with all filtering conditions is displayed. |

Picture: Input form with the parameter After start = Set period and cost centre
Display |
General ledger in columns |
The calculated general ledger values are displayed broken down according to the set summation (e.g. by cost centres, by months). |
|
General ledger |
The general ledger is displayed - accounts with movements or a balance. |

Picture: General ledger in columns
In the record preview, you can use asterisks to mark/unmark Displayed columns or Selected values.
General ledger - export to Excel
Process number: UCT021 |
Script ID No.: FUCT033 |
File: UCT_HLK_EXCEL.PAS |
Script description: The script is used to export the General ledger to Excel in the required grouping. The grouping parameters are displayed in the input form depending on the summation with which the General ledger is calculated. Using the Save parameters button, we can save the settings of the input form for the next run.
Warning: The script may end with the error "OLE Error 800 A03EC". There are several reasons why the error message may be displayed. One of the reasons may be the MS Office 2013 Standard edition, which allows working with a maximum of 256 columns in Excel. E.g. if a larger number of columns is exported (typically to display all accounts from the chart of accounts and the Debit, Credit, Balance data). Another reason for the error is that the formula calculating the value contains more than 8192 characters in total for the individual columns. This situation occurs if there is a large number of columns from which the required value is to be calculated (in the order of thousands). In such a case, the limits of MS Office - Excel are reached - this also applies to the professional editions of MS Office. |
||
Address in the tree:[Accounting] [General Ledger] [Export of General Ledger to Excel] |
||
Script parameters:
AccountType - 0 Accounts to be exported to Excel: 0 - all; 1 - analytical accounts only; 2 - collective accounts only. |
Balance - Yes Yes - account balance is exported. |
Credit - Yes Yes - The accounts Debit side total is exported. |
Debit - Yes Yes - the accounts Credit side total is exported. |
Design - 1 1 - data export to sheets - columns - rows; 2 - data export to sheets - lines; 3 - data export to columns - rows; 4 - export data to rows. |
Group01 - 3-Book, 4-Cost centre, 5-Contract code, 6-Article code, 7-Date, 9-Customer, 16-Account, 18-Code 1, 19-Code 2, 20-Officer, 22-Code 3, 23-Code 4, 24-Code 5, 25-Code 6, 121-Means. |
Group02 - 3-Book, 4-Cost centre, 5-Contract code, 6-Article code, 7-Date, 9-Customer, 16-Account, 18-Code 1, 19-Code 2, 20-Officer, 22-Code 3, 23-Code 4, 24-Code 5, 25-Code 6, 121-Means. |
Group03 - 3-Book, 4-Cost centre, 5-Contract code, 6-Article code, 7-Date, 9-Customer, 16-Account, 18-Code 1, 19-Code 2, 20-Officer, 22-Code 3, 23-Code 4, 24-Code 5, 25-Code 6, 121-Means. |
Group04 - 3-Book, 4-Cost centre, 5-Contract code, 6-Article code, 7-Date, 9-Customer, 16-Account, 18-Code 1, 19-Code 2, 20-Officer, 22-Code 3, 23-Code 4, 24-Code 5, 25-Code 6, 121-Means. |
Group05 - 3-Book, 4-Cost centre, 5-Contract code, 6-Article code, 7-Date, 9-Customer, 16-Account, 18-Code 1, 19-Code 2, 20-Officer, 22-Code 3, 23-Code 4, 24-Code 5, 25-Code 6, 121-Means. |
Group06 - 3-Book, 4-Cost centre, 5-Contract code, 6-Article code, 7-Date, 9-Customer, 16-Account, 18-Code 1, 19-Code 2, 20-Officer, 22-Code 3, 23-Code 4, 24-Code 5, 25-Code 6, 121-Means. |
IgnoreConsolidationAccounts - No Yes - does not display accounts marked in the chart of accounts as Account for a company of the consolidation group. |
IgnoreTaxUndeductAccounts - No Yes - does not display accounts marked as tax non-deductible; No - displays all accounts from the General ledger. |
Interactive - Yes Yes - the input form is displayed; No - the input form is not displayed. |
MaxExcelColumns - 16384 The parameter value determines the maximum number of columns in Excel. Anyone using Excel 2003 should set the value to 255. |
OpBalance - Yes Yes - the account opening balance is exported. |
Remainder - Yes Yes - account balances are exported. |
ShowSortingInCol - Yes Yes - displays the sorting into columns. |
ShowSortingInSheets - Yes Yes - displays the sorting into spreadsheet sheets. |
ShowSumAccountType1 - Yes Yes - column totals are displayed. Works only in combination with the parameter AccountType = 1 (export of analytical accounts only). |
TurnSignForAccount - The parameter value specifies a particular account or part of an account for which the sign is reversed. Multiple accounts can also be added, separated by semicolons. |
Example 1: We calculate the General ledger for the year 2022 - profit and loss accounts - and at the same time export to Excel the General ledger for the individual cost centres with the balance for the individual months of 2022.
In the General ledger, we run the Filter calculation function in the ribbon. We enter the filter conditions Book "U", Accounts "5" and "6", Currency "Kč" and Period from - to "January/2022" - "December/2022". In the Summation section, we select "Cost centre" and "Date".

Picture: Input form of the General ledger calculation
We run the Calculation.
Via Functions and Print, we run the General ledger - export to Excel function. In the input form, in the Group section, we mark Cost centre, Date and Account with an asterisk (and use the arrows to arrange them in this order). In the right part, Select columns, we leave only Balance selected. In the View excel section, we leave both options selected.

Picture: Input form of the General ledger - export to Excel function
We press the OK button. Excel opens; the separate sheets will contain the balance of the accounts for the individual cost centres, with the balance for the individual months and the total for the selected period in the columns.

Picture: Excel with the General ledger for the individual cost centres and months
Print reports over the general ledger
GL - analytical accounts by sorting
GL - analytical accounts by sorting - XL
GL - analytical accounts sorted
GL - analytical accounts sorted - XL
GL - analytical accounts SUM
Hl. kn. - an. účty SUM -XL
GL - turnovers
GL - turnovers - XL
GL - turnovers - items
GL - turnovers by items
GL - turnovers by items - XL
GL by match. symb. - unmatched only
GL by matching symbols
General ledger - analytical accounts
General ledger - analytical accounts XL
General ledger - total turnovers
General ledger - matching symbols
Check of economic analyses