Book Contents

Book Index

Data export and import

This function is used, for example, when creating and setting up a new client. When exporting wage constants and components, the period from which the data are exported must be set and the dates of the period into which they will be imported must be entered. (E.g. 1. 1. 2014 - 31. 1. 2014). We recommend performing the import into a period that has not yet been opened, i.e. before performing the Pre-calculation action. If we import into a period that we are already processing (the pre-calculation has been performed), the pre-calculation action must be repeated.

Export files for wage components, constants and groups of wage components contain the number of the version and release from which they were exported. The subsequent import is then only possible into the same version and release as in the export file.

pic_9979

Picture: Form for Data export and import

In the books Wage components, Wage constants and Groups of wage components, there are check boxes related to the import on the first pages.

Description of the check boxes:

Notify at import

If a wage component, constant or group is part of the import, then when this check box is checked, a warning will be written in the log after the import. The import is performed.

Block on import

If a wage component, constant or group is part of the import, then when this check box is checked, it will not be imported even if it is marked for import. After the import, it will be written in the log that the import was not performed.

Export of wage components – procedure

Using the example of wage components, we will show how to use the Export and Import function.

Rules for the Export/Import function:

Export of wage components – procedure

From the tree menu, we run the Import – Export function, select the Export tab in the form and then press the Export wage components button.

pic_10006

Picture: Export - Wage components

The Wage components book is displayed. Here, the wage components for export must be marked with an asterisk and the Bulk actions - Export wage components must be run. Valid from - to in the Export wage components form determines into which period the components can then be imported. By default, the range of the period from which the data are exported is offered here.

pic_10005

Picture: Export wage components

After pressing OK , all selected wage components are exported to an *XML file, which we save to any location on the computer.

pic_2411

Picture: Dialog box for saving the file on the computer

Import of wage components - procedure

We switch to the period for which the export file is intended.

From the tree menu, we run the Import – Export function, select Import and then press the Import of wage components button.

pic_10007

Picture: Import - Wage components

We select the exported file. Then the program message is displayed:

pic_10009

Picture: Program message

The query: "Preserve the posting data for existing wage components?" allows the wage posting data to be preserved or overwritten when importing wage components. By default, YES is selected, and the data are preserved as they are set on the wage component before the import. If NO is selected, the posting data on the wage component are loaded from the import file. The export file contains the abbreviations from the given code lists. If the abbreviation does not exist in the K2 into which the import is performed, the data on the component are empty after the import. These are the following data: Matching symbol, Debit side account, Credit account, Divide by work tasks, Other wage component for division, Posting key, User type 2, Group 1, Group 2¨.

pic_10010

Picture: Program message

Then the import book is displayed, where we mark the wage components for import with an asterisk and select Import. Unmarked wage components are not imported.

pic_10008

Picture: Import

After the import, an error log is displayed.

With the wage parameter Edit closed periods set, wage components and constants can be imported into closed periods and also into periods under the financial statements.

Note:

When exporting wage components, all chained wage components of the wage components selected for export are also exported if their export is confirmed in the program query.

Export and import of groups of wage components

For the export and import of groups of wage components, the selected wage processing period does not matter, because the Groups of wage components are the same across all periods. In addition to standard wage components, special wage components can also be included in a group. Importing components into a group works via the wage component abbreviation.

Export and import of wage constants

A similar procedure as for wage components applies to the export of wage constants.

The import of wage constants differs slightly from the import of wage components and is governed by the Type for import field on the 1st page of the wage constant. The import is performed according to IdIni (Initialization unique ID); if it is not filled in, then according to the Abbreviation.

Import of wage constants - procedure

From the tree menu, we run the Import – Export function, select the Import tab in the form and then press the Import payroll constants button. We select the exported file.

Then the program queries are displayed, where it is advisable to keep the default answer - i.e. YES:

pic_10026

Picture: Query about overwriting existing wage constants - allows the values to be changed to new ones

Legislative and system constants are always changed during import, user constants are changed only according to the following query. This message therefore only concerns user wage constants, i.e. those that have the UZV - User option in the Type for import field. If the import file also contains user wage constants that already exist in K2, they can be excluded from the import using this message, thus preserving their set value. If it is a new user constant, it is always imported. This gives the option to influence the behaviour when importing wage constants.

If the value of a user wage constant changes, a record of the change of the value of the user constant is written to the log.

pic_10027

Picture: Query about preserving user constants

Then the import book is displayed, where all wage constants for import are marked with an asterisk. Unmarked wage constants would not be imported. We import all marked wage constants by pressing the Import option in the ribbon. Then the program queries must be confirmed.

pic_10028

Picture: Import of marked wage constants

With the wage parameter Edit closed periods set, wage components and constants can be imported into closed periods and also into periods under the financial statements.

Export and import of tariff tables

Export of tariff tables - procedure

Tariff tables are exported directly from the Tariff tables book, which can be run directly or also from the form after Data export and import:

pic_10029

Picture: Export - Tariff tables

We mark the tariff tables that we want to export with an asterisk. The export is performed via Menu - Bulk actions - Export tariff tables.

pic_4840

Picture: Export tariff tables

The program asks for the validity range of the tariff tables, which is prefilled by default as the beginning of the currently processed period:

pic_4841

Picture: Validity range of the tariff tables

The header of the marked tariff table/tables and the items whose Date from meets the entered range of validity dates are always exported to the export file. In this case, therefore, only the item with Date from 01.01.2019 would be exported:

pic_4842

Picture: The search field is on the item that meets the export condition

Import of tariff tables - procedure

From the tree menu, we run the Import – Export function, select the Import tab in the form and then press the E – tariff tables button. We load the exported file; then the import book is displayed, where we mark the tariff tables for import with an asterisk. Unmarked tables are not imported. The import is performed in the same way as other imports F4 (according to IdIni; if IdIni is zero, then according to the Abbreviation). When an existing record is changed, the items in the date range are deleted first and then the new items are imported. The import of tariffs is logged in the error logs (type 25).