Book Contents

Book Index

Wages

Book Contents

Book Index

Update of validity of employments

Process number:MZD005

Script ID number: FMZD050

File: PDP_ActCfPlatn.PAS

The script updates the bitmap of validity of employments in Personnel data (the CFVAlEmpBmp field in the default columns).

Address in the tree:

Script parameters:

No parameters.

Book Contents

Book Index

Automatic setting of the employment for tax deduction

Process number:MZD005

Script ID number: FMZD048

File: MZD_SetTax.PAS

Script description:

The script is run over the employee's payroll documents (over the Wage data book); if the employee has several employments, the script resets the following data according to the amount of the gross wage:

- the Taxation field - sets the employment in which the taxation takes place

- the Tax payer field - resets it together with the Taxation field, if filled in
- the Type of deduction field in the Health insurance part - resets the setting of the Additional payment up to the minimum health insurance assessment base, if set
- Execution deductions (wage components according to the list in the parameter)

This setting and the wage components are set on the payroll document with the highest gross wage. By default, on employments in the order employment contract, DPČ and DPP. This behaviour can be influenced by the IgnoreRelWork parameter, so that the setting is done only according to the amount of the gross wage and the type of employment is ignored.

Address in the tree:

Script parameters:

IgnoreRelWork - Ignore the type of employment relationship. By default NO - by default it sets the employment contract. If the parameter is set to YES, only the amount of the gross wage is considered.

MsSrazky - enter the abbreviations of the wage components that you want to put/move to the main employment

Test - if the parameter is set to Yes, the changes are not made.

Setting of components on forms

Process number:MZD005

Script ID number: FMZD048

File: Prcomp_FormComp.PAS

Script description: Influences the behaviour of the wage items form. It makes it possible to set disabled fields, skipping of the tab on a field and required fields on a component. It is run only over one wage component. The wage component number is shown at the top of the form. The script can be run over components with form type 10025,10041,10042,10024,10044,10026,10027 and 10047.

Disabled field - the field is not accessible for editing

Skip tab - the field is skipped when moving through the form

Required field - the field must be filled in

Address in the tree:

Script parameters:

No parameters.

Linked Graphics K2_SKRIPT

Picture: Setting of components on a form

Setting of components on forms - bulk

Process number:MZD005

Script ID number: FMZD049

File: Prcomp_FormCompM.PAS

Script description: Influences the behaviour of the wage items form. It makes it possible to set disabled fields, skipping of the tab on a field and required fields on components.

It works in bulk for components with the same form type. The form number can be found on the first page in the Wage components book, field Form. The form number of the wage components is then shown at the top of the script form. The script can be run over components with form type 10041,10042,10024,10044,10026,10027 and 10047.

 

Disabled field - the field is not accessible for editing

Skip tab - the field is skipped when moving through the form

Required field - the field must be filled in

Address in the tree:

Script parameters:

No parameters.

Linked Graphics K2_SKRIPT

Picture: Setting of components on forms - bulk

Book Contents

Book Index

Retirement savings report - parameter settings

Process number: MZD005

Script ID number: FMZD043

File: MZD_PDSP.PAS

Script description: The script opens a form in which the information needed to fill in the form of the monthly retirement savings report is stored.

Address in the tree:

Script parameters:

No parameters.

 

Filling in accounts and matching symbols from wages into deductions

Process number:MZD005

Script ID number: FMZD046

File: BSP_MZDN.PAS

Script description: Initialization script for the account, cost centre and matching symbol on deductions from wages.

Address in the tree:

Script parameters:

ParSymbJmen - No

Yes - fills the Name into the matching symbol.

ParSymbOsCi - No

Yes - fills the Personal number into the matching symbol.

ParSymbPopi - No

Yes - fills the deduction Name into the matching symbol.

StrK - No

Yes - fills the Cost centre of the main employment into the cost centre.

Ucet - Yes

Yes - fills the Account of the main employment into the account.

Filling in the description field from the name

Process number:MZD005

Script ID number: FMZD047

File: BSP_NameToDescr.PAS

Script description: Initialization script for the description. Fills the name of the deduction from wages into its description.

Address in the tree:

Script parameters:

AktualniDm - No

Yes - runs over the current records.

Clear - No

Yes - First delete=overwrite.

Book Contents

Book Index

Retirement savings report - calculation and export

The Retirement savings report - calculation and export script creates a file in the required *.xml format, which you save to any location on the computer. The file must be uploaded to the Tax portal (www.daneelekronicky.cz) - Electronic submissions for the tax administration - Load from file - Load XML file. After the file is uploaded, the data are loaded into the form, where you can edit them further and then send them.

Note: The wage component 9069 Retirement savings - overpayment is intended for paying out overpayments of retirement savings. If it is an overpayment attributable to the tax payer under Section 28(1)(b) of Act 397/2012 Coll., it is sufficient to enter only the amount of the overpayment on the component. If it is a type of overpayment under Section 28(1)(a) of Act 397/2012 Coll., it is necessary to state, in addition to the amount, also the VAT Reg. No. in the note. Based on the note, the Retirement savings report – calculation and export script loads the overpayment into column 7a letter "a" or 7a letter "b".

The location for saving the files can be set using the "PathForExport" parameter; enter the path to the storage location in the Value field.

pic_2839

Picture: Program message about the file path

The program also asks whether you want to display a list of data. By choosing the Yes button, the report Advance tax settlement - list of data (MZD_VZD.AM) is displayed.

pic_2820

Picture: Program message for displaying the report with summary data

If you set the "EditaceUdaju" parameter of the Retirement savings report - calculation and export script to Yes, a form with four sections is displayed after the script is started; their nature corresponds to the individual sections of the official form for the monthly retirement savings report. The first and second tabs cannot be edited. The section that displays information about individual employees and the calculated and deducted amounts can be changed by double-clicking a particular item (another record can also be inserted using Insert). Caution: if you run the script once again, the subsequently changed or inserted data disappear - the original data are loaded from K2.

If an error is found after the report has been submitted, the already submitted report can be replaced with a corrective report before the submission deadline expires. In that case, the previous report will not be taken into account.

Book Contents

Book Index

Export of employee records (K2->K2)

Process number: MZD005

Script ID number: FMZD059

File: PERS_EXPORTDATA.PAS

Script description: Script for exporting employees from K2 to Excel. The script can be used to export data from a client to Excel, and these data can then be imported from this Excel file into another client (using the Export of employee records (PERS_ExportData.PAS) script). The script can be used for a transfer either as at the beginning of the year or as at the beginning of a quarter. It cannot be used for a transfer in the middle of a quarter.

The script is run over the Personnel data book. It exports data for the current wage processing period, in which a pre-calculation must be run before exporting the data so that the data concerning the average for the given period are transferred correctly. The holiday of the previous year, both regular and extended, is also transferred, as well as the holiday of the current year if the transfer takes place during the year.

The script can be used for a transfer either as at the beginning of the year or as at the beginning of a quarter. It cannot be used for a transfer in the middle of a quarter.

All the following data are exported, each always to its own sheet of the export Excel file:

Deductions for organization, Deductions for organization - notes, Personnel data, Personnel data - notes, Personnel data - Family, Personnel data - Languages, Personnel data - Education, Personnel data - Bank accounts, Personnel data - Employments, Payroll documents, Payroll documents - notes, Payroll documents - permanent components, Payroll documents - input components, Sickness insurance - components for the last year, Long term remunerations - for calculating further averages, Pension insurance - wage components for creating the record sheet from the beginning of the year in case of a transfer during the year, Payroll documents per employee - assessment bases of social and health insurance cumulated from the beginning of the year, etc., Advance tax, Deduction tax, Claimed children

Address in the tree:

Script parameters:

 

Import of employee records (K2->K2)

Process number: MZD005

Script ID number: FMZD060

File: PERS_ImportData.PAS

Script description: Script for importing employees from Excel into K2. The script can be used to import data when transferring data from one client to another client. Before the import, a book of payroll documents must be created for the given company.

The script is run over the Personnel data book. A sample Excel file is stored in K2\SupportFiles\Lang5\DEMO TRADE.XLSX.

 

The script loads employee and wage data from Excel into the current company. It creates payroll documents in the book of payroll documents from the user configuration, starting from the current wage processing period. At the beginning, it displays into which company, book and period the import will be made and waits for confirmation. To run it, the Service right and a set book of payroll documents are required.

 

Procedure:

1. Confirm the company, book and period.

2. Select the .xlsx file. The dialog is not displayed if the path is entered in the PathFile parameter.

3. In the dialog, check which parts are to be imported and whether it is only a test.

4. At the end, the number of saved headers and items is displayed and the Import.txt protocol is opened.

 

Option in the input form:

Only test = do not save - Verifies the whole file, but saves nothing

Test: an attempt is made to save each row and it is then rolled back. The protocol thus shows the errors of all rows and nothing is saved.

Live mode: each sheet is saved as a whole. At the first error, the processing of the sheet stops and the whole sheet is rolled back. The other sheets continue. Only successfully saved sheets are counted in the summary.

Recommended procedure: first run the test, fix the errors from the protocol and only then run the live import.

 

The individual check boxes correspond to the Excel sheets. The sheets are searched for by name, not by order. The sheets can therefore be in any order and additional sheets do not matter. A missing sheet is written to the protocol as "not found, skipped" and the import continues. The sheet names are the same as in the export (PERS_ExportData), so the exported file can be imported directly.

 

Structure of sheets

- Line 1: column description. Line 2: program name of the field. From line 3: data.

- An empty cell is not imported.

- H:Field is a key column. It is used only to match the record (personal number, order) and is not written.

- Field;Abbr (or ;CountryCode, ;Name) means that the code list abbreviation is filled in, not the internal ID. A record with this abbreviation must exist in K2, otherwise ERROR: Record not found… is written to the protocol. The exception are general code lists, where a missing abbreviation is created automatically.

- Numbers can be written with a decimal comma or a decimal point. An empty numeric cell means 0.

Script parameters:

PathFile - path to the import file with data

TestOnly - YES - the import is not performed, only possible import errors are written to the log

NO - the import is performed

FindPersonalNumber - NO -

YES: on the Personnel data sheet, it searches for the employee by personal number in all companies. A found employee is also assigned to the current company (or made valid) and their data are overwritten. NO: the employee is always created as new

FindDeductions - NO

YES: it searches for an existing deduction in all companies. An organization deduction by name, an employee deduction by personal number and name. A found deduction is assigned to the current company and modified. NO: the deduction is always created

 

The combination FindDeductions = YES and FindPersonalNumber = NO is not allowed for employee deductions. There would be a risk that the import takes over an employee deduction with the same name and the same personal number from another company and inserts the bank account into it a second time. In this case, the script reports an error.

DontChangeFoundEmployedPerson - NO

Works only with FindPersonalNumber = YES. A found employee is only assigned to the company; their data are not changed.

DontChangeFoundDeduction - NO

The same as above for deductions (with FindDeductions = YES)

Book Contents

Book Index

Data import from Excel

Process number: MZD005

Script ID number: FMZD053

File: CELL_IMP.PAS

Script description: A general script for importing from Excel into any field of the header. The example is made for Wage data. The example file CELL_IMP.xls is stored in SupportFiles\Lang5.

 

Address in the tree:

Script parameters:

AsControlValue - No

Yes - Fill in the form way. E.g. in Personnel data, when the birth number is filled in by the script, the date of birth and gender are then also filled in (the same as when the user enters the birth number in the form).

DataSettings - Data fields (e.g. [WageB;4][WageI;5][CFAverageCompens;6]). A link can also be used (the definition is not with a semicolon, but with a dot).

FilePath - Path to file

FirstDataRow - First row with data

IndexSettings - Key fields (e.g. [PS_PERSNO;1][IdEmp;2][ItemNo;3]) A link can also be used (the definition is not with a semicolon, but with a dot).

NewRecords - set to "NO" by default. When set to "YES", it allows new records to be inserted.

Book Contents

Book Index

ISPV9

Process number: MZD012

Script ID number: FMZD020

File: MZD_ISPV9.PAS

Script description: Creates a statistical statement as an "*.xml" file.

Address in the tree: [Wages] [Wage data] [Statistics]

Script parameters:

AktualizacePoSpusteni - No

Update the records at the same time when running.

LAU1 - CZ0806

Territorial number of the company's registered office.

MzdoveSlozky_ABSPLAC

Wage components for calculating the field value, separated by a semicolon.

MzdoveSlozky_PRIPLAT

Other wage components that are to be loaded into the PRIPLAT field. Separate them with a semicolon.

MzdoveSlozky_PRIPPCAS

Other wage components that are to be loaded into the PRIPPCAS field. Separate them with a semicolon.

Nezahrnovat_nocni_prace - No

Yes - deduction of night work from the time worked.

Nezahrnovat_prescasy - No

Yes - deduction of overtime from the time worked.

OdMSTATQ_IdRelWork2_Abbr - 1;2;3

List of legal relationships 2 for loading into the ODMSTATQ field. Set to 1;2;3 by default - it can be changed by the parameter. The relationships must be separated by a semicolon.

OnlyActualQuarter- No

Yes - only for the last quarter.

XMLPath

Path for saving the export file.

Book Contents

Book Index

Check posting data consistency

Process number: MZD005

Script ID number: FMZD011

File: MZD_KONZ.PAS

Script description: The script is intended for checking wages before the processing of the month is closed, so that adjustments for posting can be added in time. The point is that once the processing is finished and the calculation of balances is made, changes found only when posting the calculated wages can no longer be reflected in the wages.

Address in the tree: [Wages] [Wage data] [Service]

Script parameters:

NoInteractive - Yes

Setting as interactive or non-interactive.

Filling in holidays

Process number: MZD004

Script ID number: FMZD045

File: MZK_svatky.pas

Script description: Running the script fills in or updates the public holidays in the Holiday calendars book.

Address in the tree:

Script parameters:

Priority - 150

Assigns a priority to the holidays. Default value 150 - High priority.

Substitute Handicapped Regulations Compliance

Process number: MZD014

Script ID number: FMZD022

File: MZD_ZPS.PAS

Script description: Fulfilment of the mandatory share of persons with disabilities. For a more detailed description, see Manual, Substitute Handicapped Regulations Compliance.

Address in the tree: [Wages] [Wage data] [Overviews] [Labour office]

Script parameters:

ActualRecords - No

Yes - Selected records. By default, the script runs for all records in the Wage data book. When the parameter is set to Yes, it loads only the marked records.

AverageIncome - 24.622.00

Average wage in the national economy.

DutyRate - 0,04

Mandatory share.

IgnoreOvertime - No

YES - Ignore overtime. If the parameter is set to YES, overtime hours are not loaded into the report.

EmpOffice

Labour office.

JedenCasovyFond - 0,00

Working time fund per employee per year.

MaxByProducts - 999999

Maximum value of purchases.

MesicniKalendar

Abbreviation of the regular monthly calendar.

MinEmployeeeCount - 25

Minimum number of employees for the obligation to apply.

NominalniFond - 0

Fund without public holidays for a 40 hours/week calendar. It is used if such a calendar has not been created and there is nowhere to load the fund from.

NapocetDleFlaguOZP - Yes

Counting of hours according to the wage component flags.

NezahrnovatNocniPrace - Yes

Yes - deduction of night work from the time worked.

NezahrnovatPrescasy - No

Yes - deduction of overtime from the time worked.

NoInteractive - No

Do not display the form, but the report directly.

PosledniPeriodaStarychMezd

Period number.

PicturePath

Path to the background image.

PrekazkyEmp

Wage components of employee obstacles, separated by a semicolon.

PrekazkyOrg

Wage components of organization obstacles, separated by a semicolon.

PriceProducts - 0,00

Deduction for purchased products or services.

PrintingDate - -693594.0

Print date.

ProductRatio - 7,0

Multiple for products.

RatioPayment - 2,5

Wage multiple.

RatioTZP - 3,0

Counting of severely disabled persons (TZP).

ToForm - No

Into the form.

Book Contents

Book Index

Pension and life insurance contribution

Process number: MZD016

Script ID number: FMZD024

File: MZD_PEPR.PAS

Script description: This script makes it possible to enter wage components for pension and life insurance in bulk. The second part of the script (Bulk payment of pension insurance) is intended only for Mzdy_S.

Address in the tree:

Script parameters:

BPR_Rada

This parameter is intended only for Mzdy_S.

Platba - C

This parameter is intended only for Mzdy_S.

PosunMesicu - 0

This parameter is intended only for Mzdy_S.

VstupniSlozky

This parameter is intended only for Mzdy_S.

ZapsatPF - No

Yes - a template for correctly filling in the PF is displayed.

Bulk payments – parameter settings

Process number: MZD016

Script ID number: FMZD038

File: MZD_PZP.PAS

Script description: The script is intended for setting parameters - the relevant wage components and deductions for employee deductions and employer contributions are selected here.

Address in the tree:

Script parameters:

No parameters.

 

Bulk payments – calculation and export

Process number: MZD016

Script ID number: FMZD039

File: MZD_PZPE.PAS

Script description: Running the script calculates pension and life insurance and creates export payment files.

Address in the tree:

Script parameters:

DirectSend - Direct sending of the e-mail.

NO - the e-mail is sent by opening the default mail client (e.g. Outlook).

YES - the e-mail is sent directly via the mail in K2.

NoInterActive - No

Yes - the input form is not displayed.

PathForExport

Path of the export file.

PayDate

Due date of the bulk payment.

Wage recapitulation for period

Process number: MZD005

Script ID number: FMZD054

File: MZD_REKO03.PAS

Script description: The script runs the Wage recapitulation report for a longer period. Unlike running this report directly, running it via the script also takes long-terminated records into account - i.e. it handles the display of amounts paid after the end of the employment, which might not have been included in the report if the employment had become long-terminated in the period for which the report is printed.

Running the report using this new script therefore replaces turning on Long-terminated records in Wage parameters.

When the Wage recapitulation is set to gross wages only (the GrossWage parameter set to "YES"), neither the CentreType parameter nor the Centre parameter can be used.

The parameters Sorting1, Sorting2 and Sorting3 can then be used for sorting. By default, they are empty. All fields for posting can be entered into these parameters.

Address in the tree:

Script parameters:

ByMonths - No

Yes - Summary by months.

Centre - Yes.

No - Sorting by cost centres.

CentreType - Cost centre type (K-cost centre from the header, H-cost centre 1 from the items)

Company - Yes

No - Summary for the organization.

GrossWage - NO

Yes- Only gross wages

NoInteractive - No

Yes - Do not display the input form.

Sorting1 - 1st field for sorting (input options: CodDepart - Cost centre 1, CodDepart2 - Cost centre 2, ContractCode - Contract code, CodGoods - Article code, CodSps1 - Code1, CodSps2 - Code2, Device - Device)

Sorting2 - 2nd field for sorting (input options: CodDepart - Cost centre 1, CodDepart2 - Cost centre 2, ContractCode - Contract code, CodGoods - Article code, CodSps1 - Code1, CodSps2 - Code2, Device - Device)

Sorting3 - 3rd field for sorting (input options: CodDepart - Cost centre 1, CodDepart2 - Cost centre 2, ContractCode - Contract code, CodGoods - Article code, CodSps1 - Code1, CodSps2 - Code2, Device - Device)

SortingFields - fields for sorting (separate with a comma)

SortingFieldsDescr - My sorting - description

Annual tax settlement

Process number: MZD008

Script ID number: FMZD034

File: PREMP_TaxSta.PAS

Script description: Used for loading and subsequent editing of data for the annual income tax settlement.

Address in the tree:

Script parameters:

AllowNotClosedYear - No

Yes - the script can also be run for a period that has not been closed yet.

Unions - Contribution to trade unions (months December - November). If set to "Yes", components 9610 from the period December of the previous year - November of the current year are loaded. If December is not in K2, the deduction amount can be entered e.g. in January into the output items with component Z0002.

Year - 0

Enter the year for which you want to run the annual tax settlement script.

Annual tax settlement - transfer of tax overpayment

Process number: MZD008

Script ID number: FMZD035

File: PREMP_TaxCre.PAS

Script description: This script creates the relevant wage component with the result of the annual settlement.

Address in the tree:

Script parameters:

AllowNotClosedYear - No

Yes - Allow a year that is not closed.

HardCreate - No.

Yes - Always create. The components of the tax overpayment and the tax bonus from the annual tax settlement are created even if the check box The wage component of the annual tax overpayment was created is checked in the Annual tax settlement script.

Year - Year

Allocation of costs among participants

Process number: MZD002

Script ID number: FMZD054

File: TRN_Costs.PAS

Script description: Can be run over the Qualifications book. It can be run over the book state, over selected records as well as over one qualification. It proportionally allocates the costs entered in the Costs field on the first page of the qualification to the Costs fields on the individual items included on the third page of the qualification. By default, the costs are allocated only among the items entered in the Personnel data part (among employees). This behaviour can be influenced by parameters.

If both script parameters are set to "NO", the costs on the items are reset to zero after the script is run.

Address in the tree:

Script parameters:

ContactPerson - No

Yes - Contact person items. The costs are also allocated among the qualification items entered in the Contact persons part.

Employees - Yes

No - Employee items. The costs are not allocated among the qualification items entered in Personnel data.

Book Contents

Book Index

Wage component statistics - export to Excel

Process number: MZD003

Script ID number: FMZD032

File: MZD_CompToExcel.PAS

Script description: Represents a recapitulation of the selected Wage components for individual employees in the selected period.

Address in the tree:

Script parameters:

ActualMonth - No

Yes - after the script is started, the Wage components for the given current month are displayed.

AllWageComp - No - wage components that are listed for printing but are not found for anyone are not displayed in Excel.

Yes - All components in the list. All components from the list are displayed, including those that are not entered for any employment - they are displayed with zero.

ByMonths - No

Yes - months on sheets (the Centre parameter must be set to NO at the same time)

Centre - Yes

Yes - Sort by cost centre. The header on the individual Excel pages contains cost centres.

No - Sort by months. The header on the individual Excel pages contains months.

DivideNameSurname - NO

Yes - Split name and surname. When set to YES, the name and surname are in separate columns, not together in one column.

InCurrency - No

Yes - the values in the report are displayed according to the client currency.

MainCentreInColumns - No

Yes - Displays the home cost centre of employees in a column in Excel.

MonthsInColumns - No

Yes - months in columns instead of wage component abbreviations.

NoInterActive - No

Yes - the input form is not displayed.

PrCompName - No

Yes - Name of the wage component instead of the abbreviation. By default, component abbreviations are displayed in the columns; with this parameter, the language names of the components can be displayed.

ShortName - No

Yes - display a shorter name

Value - KC

You can choose the values of Wage components KC (crowns), HOD (hours), PD (working days), KD (calendar days).

WageComp

The user can enter the individual Wage components to be displayed in the wage component statistics. If the user does not do so, all used Wage components are displayed automatically.

User settings of wage constants

Process number: MZD003

Script ID number: FMZD033

File: Prconst_UserSet.PAS

Script description: This script makes it possible to set the values of those Wage constants that are determined by the user.

Address in the tree:

Script parameters:

No parameters.

 

pic_5767

Picture: Form of the User settings of wage constants script

By running the User settings of wage constants script, you can conveniently set, from one place, the values of Wage constants for various bonuses, add deductions for the necessary authorities, determine the number of weeks of extended holiday or set the pay date. It is also possible to select which error messages are to be displayed after the calculation is run.

Book Contents

Book Index

Deduction tax settlement - parameter settings

Process number: MZD008

Script ID number: FMZD014

File: MZD_VSRP.PAS

Script description: The script opens a form in which the information needed to fill in the deduction tax settlement form is stored.

Address in the tree:

Script parameters:

No parameters.

 

Book Contents

Book Index

Calculation of gross wage from net wage

Process number: MZD005

Script ID number: FMZD051

File: MZD_NetIncome.PAS

Script description: The script calculates the gross wage from the entered net wage according to the settings of the record over which it is run (settings on the third page of Wage data - tax on wages).

Address in the tree:

Script parameters:

NetIncome - Net salary

 

Book Contents

Book Index

Deduction tax settlement - calculation and export

Process number: MZD008

Script ID number: FMZD015

File: MZD_VSR.PAS

Script description: Script for exporting data for the deduction tax settlement. The script calculates the tax values, loads the stored data from the parameters for them and creates an "*.xml" file. By default, it runs over all records, including long-terminated ones.

Address in the tree:

Script parameters:

ActualRecord - Selected records

DataBox - Recipient's data box.

EditaceUdaju - No

Yes - after the script is started, a form is displayed whose individual sections correspond to the form Settlement of tax collected by deduction and where some data can be edited before exporting to the xml file (new items can also be inserted using the Insert key). The changes made by the user are not saved - each time the script is run, the data are loaded from K2 again.

PathForExport - No

Path for saving the export file.

PosledniPeriodaStarychMezd

Period number.

SendByDataBox - Send via data box after export

ShiftedBegin - No

Yes - Shift of months. When set to yes, the deduction tax calculated for the previous month is loaded into the settlement for the following month. (E.g. December into January, January into February,...)

Book Contents

Book Index

Advance tax settlement - parameter settings

Process number: MZD008

Script ID number: FMZD037

File: MZD_VZDP.PAS

Script description: The script opens a form in which the information needed to fill in the form Settlement of tax on income from dependent activity is stored.

Address in the tree:

Script parameters:

No parameters.

Book Contents

Book Index

Advance tax settlement - calculation and export

Process number: MZD008

Script ID number: FMZD016

File: MZD_VYUCT.PAS

Script description: Form application for working on the advance tax settlement. After starting, the data from the calculated wages are loaded; they can be edited, saved and reloaded. Finally, the result is saved to a ".*xml" file. By default, the script runs over all records, including long-terminated ones.

 

The data are loaded into the Non-residents attachment as follows:

Country code from the Country of tax residence - the data at the VAT Reg. No. on the 6th page of Personnel data (up to the PORTAL version from the permanent residence)
Type of tax identification from the 3rd page of Personnel data (if not filled in, then "D")
Country code from the Country of tax residence (up to the PORTAL version from the permanent residence)
Passport type - always "P"

Address in the tree:

Script parameters:

ActualRecord - No

Yes- Selected records.

DataBox - Recipient's data box.

EditaceUdaju - No

Yes - after the script is started, a form is displayed whose individual sections correspond to the form Settlement of tax on income from dependent activity and where some data can be edited before exporting to the xml file (new items can also be inserted using the Insert key). The changes made by the user are not saved - each time the script is run, the data are loaded from K2.

PathForExport

Path for saving the export file.

PosledniPeriodaStarychMezd

Period number.

SendByDataBox - Send via data box after export

Book Contents

Book Index

Agreement to perform work

Process number: MZD001

Script ID number: FMZD001

File: PDP_PC.PAS

Script description: Handler for printing a "*.doc" document from a sample template. The script opens the "Agreement to perform work" document and fills in the employee data.

Address in the tree: [Wages] [Personnel data] [Documents]

Script parameters:

AllFields - No

Yes - All fields. Makes it possible to use field names in the template. For example: "IdEmpMain;IdRelWork;Popis" (the script goes through all fields of the personnel data module as well as fields of data modules to which a link from personnel data and a further link lead)

CestaSablony

Full path to the template, "\" is required at the end.

CurrentRecord - Yes

No - Current record. (The "TemplateIsLocked" parameter must be set to Yes)

TemplateIsLocked - No
Yes - locked template

OsobaZastupFirmu

Option to fill in the name of the representative in the template.

Sablona - Dohoda o pracovni cinnosti.dot

Name of the file (template) to be opened.

Book Contents

Book Index

Agreement to complete a job

Process number: MZD001

Script ID number: FMZD002

File: PDP_PP.PAS

Script description: Handler for printing a "*.doc" document from a sample template. The script opens the "Agreement to complete a job" document and fills in the employee data.

Address in the tree: [Wages] [Personnel data] [Documents]

Script parameters:

AllFields - No

Yes - All fields. Makes it possible to use field names in the template. For example: "IdEmpMain;IdRelWork;Popis" (the script goes through all fields of the personnel data module as well as fields of data modules to which a link from personnel data and a further link lead)

CestaSablony

Full path to the template, "\" is required at the end.

CurrentRecord - Yes

No - Current record. (The "TemplateIsLocked" parameter must be set to Yes)

TemplateIsLocked - No
Yes - locked template

OsobaZastupFirmu

Option to fill in the name of the representative in the template.

Sablona - Dohoda o provedeni prace.dot

Name of the file (template) to be opened.

Book Contents

Book Index

Wage assessment

Process number: MZD001

Script ID number: FMZD003

File: PDP_PV.PAS

Script description: Handler for printing a "*.doc" document from a sample template. The script opens the "Wage assessment" document and fills in the employee data.

Address in the tree: [Wages] [Personnel data] [Documents]

Script parameters:

AllFields - No

Yes - All fields. Makes it possible to use field names in the template. For example: "IdEmpMain;IdRelWork;Popis" (the script goes through all fields of the personnel data module as well as fields of data modules to which a link from personnel data and a further link lead)

CestaSablony

Full path to the template, "\" is required at the end.

CurrentRecord - Yes

No - Current record. (The "TemplateIsLocked" parameter must be set to Yes)

TemplateIsLocked - No
Yes - locked template

CisloPracPom - 1

Display of the Wage assessment according to the employment number.

Sablona - Mzdovy vymer.dot

Name of the file (template) to be opened. If you enter Platovy vymer.dot as the parameter value, a template containing the employee's birth ID number (the original file) is opened.

TIP: If the user needs to permanently change the text in a template with the *dot. extension, they can edit the document in the Lang5 directory. The modified document must be saved under a different name (otherwise a reinstallation would revert the changes to the original state). When running the script from K2, do not forget to fill in the new name of the created document in the Sablona parameter.

ISPV - Information System on Salaries

Process number:

Script ID number:

File: PERS_ISP.PAS

Script description: The script creates the export file for ISP - Information System on Salaries. It is run over the Personnel data book. After start, the reporting period is selected. Before running it, the data that are not recorded as part of the salary calculation must be entered in the script parameters. These parameters are also displayed in the initial form.

The reported values can be modified before export if the script parameter EditaceUdaju is set to YES.

Values from another *.xml file can also be added to the reported data if the Add data from another file checkbox is checked on the input form. Then, before the data are exported, another file is selected first, from which the data will be added to the data reported from K2.

Address in the tree:

Script parameters:

AA0019 - Legal form of the economic entity - code of the entity's legal form. It is specified as a three-character string.

 

AA0113 - code of a facility that has not been assigned a Comp. Reg. No. It is specified as a string of max. ten characters.

 

AA0116 - Budgeted number of employees. The number of employees of the employer set for the given employer according to the valid government resolution. If it is not budgeted bindingly for the employer, an indicative figure is stated.

 

AA0118 - Salaries of employees including extra-budgetary resources - Total amount of funds accounted for payment of salaries of the employer's employees, including extra-budgetary resources, in CZK from the beginning of the calendar year to the end of the monitored period.

AA0119 - Total extra-budgetary resources for salaries - Total amount of funds accounted for payment of salaries of employees for the employer from extra-budgetary resources in CZK from the beginning of the calendar year to the end of the monitored period.

AA0123 - Volume of funds for employee salaries - Volume of funds for salaries approved for the employer by the state budget, the budget chapter administrator or another body. For an employer regulating employee salaries by a limit, the annual amount of the limit in CZK after the last adjustment is stated.

AA0179 - District NUTS code

AA0676 - Collective agreement - one digit is specified - 2 - does not exist, 4 - higher-level, 5 - company

ActualRecord - NO

Yes - works only with the current (selected) records

autor - the responsible employee who prepared the data

EditaceUdaju - No

Yes - allows the data to be modified before export

ICOpredkladatele - Comp. Reg. No. of the data proposer (the founder - e.g. region, municipality, etc.)

email - E-mail of the responsible employee who prepared the data

predkladatel - Name of organization - the data proposer

telefon - Phone of the responsible employee who prepared the data

Book Contents

Book Index

Employment contract

Process number: MZD001

Script ID number: FMZD004

File: PDP_PS.PAS

Script description: Handler for printing a "*.doc" document from a sample template. The script opens the "Employment contract" document and fills in the employee data.

The template contains variables that make it possible to load information from Personnel data and Wages into the employment contract. These are the variables:

FirNaz - Company name

FirAdr - Company address

FirOsb - Person representing the company

ZamOC - Personal number

ZamJme - Full name of the employee

ZamNar - Date of birth

ZamRC - Birth ID No.

ZamAdr - Employee address

ZamDruhP - type of work

ZamMistoVP - Place of employment

ZamOd - Date of joining

ZamDoba - fixed-term/indefinite

PersCentreAbbr - Cost centre number

PersForeName - First name

PersSurname - Surname

EmpDateTo - Date to

EmpTryMonth - probation period

EmpWageB - Wage

EmpWageP - Bonus

ParDate - Date of signature

ParPlace - Place of signature

Address in the tree: [Wages] [Personnel data] [Documents]

Script parameters:

AllFields - No

Yes - All fields. Makes it possible to use field names in the template. For example: "IdEmpMain;IdRelWork;Popis" (the script goes through all fields of the personnel data module as well as fields of data modules to which a link from personnel data and a further link lead)

CestaSablony

Full path to the template, "\" is required at the end.

CurrentRecord - Yes

No - Current record.

OsobaZastupFirmu

Option to fill in the name of the representative in the template.

Sablona - Pracovni smlouva.dot

Name of the file (template) to be opened.

SignatureDate

Date of signature.

SignaturePlace

Place of signature.

Book Contents

Book Index

Job description

Process number: MZD001

Script ID number: FMZD058

 

Script description: The script can be run over the Personnel data book and also over the Employments book.

The script uses the template from the location: SupportFiles/Lang5/Popis cinnosti.dotx .

To fill in this document, the Job position field must be filled in on the employment. The Job content description in the template is loaded from the Description part on the first page of the job position (the first page of the Jobs book).

The Name of the functional position, Directly superior functional position and Directly subordinate functional position are loaded from the current organizational structure set in Own companies administration as follows:

1) The system searches for the Organizational unit that has the employee's contact person filled in in the Included employees part. From this organizational unit, the name of the job position of its Superior unit is written into the Directly superior functional position part. For the Directly subordinate functional position part, the information is also taken from this found organizational unit, from the newly added Directly subordinate to organizational unit tab, and the names of the job positions of these units are written out.

2) If point 1) is not met (i.e. no organizational unit is found that has the employee's contact person filled in in the Included employees part), the data are loaded using the same procedure, but from the first organizational unit found with this job position.

Address in the tree: [Wages] [Personnel data] [Documents]

Script parameters:

AllFields - No

Yes - All fields. Makes it possible to use field names in the template. For example: "IdEmpMain;IdRelWork;Popis" (the script goes through all fields of the personnel data module as well as fields of data modules to which a link from personnel data and a further link lead)

CestaSablony

Full path to the template, "\" is required at the end.

CurrentRecord - Yes

No - Current record.

OsobaZastupFirmu

Option to fill in the name of the representative in the template.

Sablona - Dohoda o provedeni prace.dot

Name of the file (template) to be opened.

SignatureDate

Date of signature.

SignaturePlace

Place of signature.

Book Contents

Book Index

Setting the order of children for tax relief

Process number: MZD005

Script ID number: FMZD050

File: PDP_SetChildOlder.PAS

Script description: The script sets the order for children who have children - discount set in Family members on the 2nd page of Personnel data. It sets the order according to the order in Personnel data. If an order is already filled in, it does not change it.

Address in the tree:

Script parameters:

No parameters.

Bulk entry of wage components

Process number: MZD005

Script ID number: FMZD040

File: MZD_HrMs.PAS

Script description: The script is used for entering a permanent or temporary wage component for multiple employees.

Address in the tree: Wages - Wage data - Bulk entry of WC

Script parameters:

ActiveSheetName

Sheet name when importing from Excel.

ByItemNo - NO - by default, the import from a row-based Excel file is performed by IdEmp, if the import in the ExcelRowSettings parameter is also set by the employment number

Yes - the import from a row-based Excel file is performed by the employee number and the ItemNo field (sequence) on the employment. Both of these values must be present in Excel and in the ExcelRowSettings parameter.

DeleteImported - NO

Yes - Delete previously imported input components.

DecimalSeparator - Decimal place separator in the CSV file. Dot (.) by default

ExcelFilePath

Path and name of the file for import into Excel.

ExcelRowSettings

Settings of the import from a row-based Excel file.

Position of the employee number[wage component;Excel column;field in K2]

Either the following variables can be used for the import:

C - amount, H - hours, S - rate, D - days, F - hours on the first day; K - calendar days

Example: 1[3110;2;C][2130;3;H]

Or a K2 field can be entered directly, e.g.:

1[3110;2;Amount][2130;3;Tariff]

If the employee has more than one employment, the employment number can also be entered:

Position of the employee number;Position of the employment number [wage component, column, field, column, field]

Example: 1;2[3110;2;C][2130;3;H][2410;4;H;5;S][3240;6;D] - personal number and IdEmp

Example: 0;2[3110;2;C][2130;3;H][2410;4;H;5;S][3240;6;D] - IdEmp only

FirstDataRow

First row with data when importing from Excel.

ImportByPersNum - No

Yes - Import by personal number.

ImportComp - No

Yes - Import components from a file.

NoInteractive - No

Yes - Do not display input form

NoInteractiveMain - No

Yes - Do not display the main Bulk entry of WC form. The selected wage component is thus written to the employees directly after pressing the OK button and confirming the program message.

SaveChangedOnly - NO

Yes - Save only items marked as changed. When set to "YES", only the wage components that have been changed - they have the Z flag - are inserted.

TrvaleMzdoveSlozky - No

If the value is Yes, only permanent wage components can be entered in bulk. With this parameter set to No, only temporary WC can be inserted.

TypeImportCSV - No

Yes - Import components from a CSV file.

TypeImportExcelRow - No

The import file type is a row-based Excel file.

WageComp - Wage component

Allows you to enter the wage component for bulk entry into the parameter.

Calculation of the fixed wage for the working time account

Process number: MZD013

Script ID number: FMZD042

File: PREMP_CalcIncKPD.PAS

Script description: Script intended for calculating the Fixed wage for the working time account. The value calculated by the script is filled into the "Basic wage II" field. It is run from the Wage data book.

Address in the tree:

Script parameters:

ProcentoStaleMzdy - 80

The percentage for calculating the fixed wage is filled into the value.

DleMesicnihoFondu - No

Yes - the calculation takes the monthly working time fund into account, so the Fixed wage may differ for each month.

Creation of liabilities after depositing

Process number: MZD007

Script ID number: FMZD055

File: BSP_CreateLiab.PAS

Script description: The script makes it possible to create payroll payables in bulk. It can be used e.g. when creating payroll payables in the case of deposited execution deductions at the moment when the decision becomes final and the deposited amounts need to be sent at once.

The script is run for the deduction on which the locator is positioned. After starting, the period for which the Payroll payables are to be created is selected in the form (by default, the period in which output wage components exist is offered), as well as the book of internal documents in which the internal document for the payment of the liabilities is created.

Address in the tree:

Script parameters:

BookOfIntDoc

Book of internal documents in which the internal document is created through which the created payroll payables are paid.

Book Contents

Book Index

Set-off of a negative liability with the following month

Process number: MZD007

Script ID number: FMZD052

File: PLI_Offset.PAS

Script description: Script intended for setting off a negative liability against one of the following months by creating a new positive liability in the following month, with both paid via one internal document for a zero amount (the same positive and negative amount). It is run from the Payroll payables book.

This internal document does not have to be posted because it is for the same amount plus and minus and to the same account. It is advisable to create it in a book of internal documents in which documents are not posted.

If it needs to be posted, account 395 internal settlement must be entered in the items of the internal document (similarly to a set-off).

The script can also be run for several negative liabilities at once - the liabilities are summed according to Book, Employee and Deduction.

 

Address in the tree:

Script parameters:

BookOfIntDoc

Book of internal documents.

Batch employer notification - export

Process number:

Script ID number:

File: HIN_Export.PAS

Script description: Creates export files for reports to health insurance companies. It is run from the Batch employer notification book, which is part of the standard extension for Wages and Personnel data (tree menu Wages - Personnel data - Batch employer notification - Batch employer notification).

Address in the tree:

Script parameters:

AddTXTExtension - NO

Yes - Add the "TXT" extension to the exported text file

DateinPath - No.

Yes - Create a directory with the date. (Does not work for the PartnerLinkExportFileName parameter)

idZpravy

Client ID of the XML message for VZP. Preset to 1 by default.

PartnerLinkExportFileName

File name according to the PartnerLink application.

SendByDataBox - After export, send the exported file via the data box.

XMLPath

Path for saving the export file.

XMLStructCodes - 111

Numbers of the insurance companies (separated by a semicolon) for which the xml file is created.

Notice of the commencement of employment - export

Process number:

Script ID number:

File: SIN_Export.PAS

Script description: Creates export files for reports to the social security administration. It is run in the Notice of the commencement of employment book (Wages - Employments - Notice of the commencement of employment - Notice of the commencement of employment), which is part of the standard extension for Wages and Personnel data.

 

Address in the tree:

Script parameters:

ElectronicSubmissionBook - Book of Electronic submissions (book abbreviation). Setting this parameter ensures that a new record is created in the Electronic submission book during the export to the *.XML file.

DataBox - Recipient's data box.

SendByDataBox - Send via data box after export

XMLPath

Path for saving the exported "*.xml".

NoValidate - Do not validate the created XML
Set to False by default.
True - the XML will not be validated during the export

PartialAccept - Partial acceptance of the submission
Set to False by default.
True - a partially accepted submission is also accepted

Notice of the commencement of employment - data initialization

Process number:

Script ID number:

File: SIN_TransferData.PAS

Script description: Script for transferring data from the Notice of the commencement of employment script (MZD_ONZ.PAS), i.e. the individual submitted reports for employments.

The script needs to be run only once. Records are created in the Notice of the commencement of employment book so that further reports (Change, Termination) can be generated in the future.

 

Address in the tree:

Script parameters:

WithErase - No

Yes - deletes the data in the script for the Notice of the commencement of employment.

Notice of the commencement of employment - parameter settings

Process number:

Script ID number:

File: MZD_ONZP.PAS

Script description: The script makes it possible to make settings for the Notice of the commencement of employment. It makes it possible to set the number of days in advance in which the Termination - deregistration - is created during the update - by default, this is 14 days.

It makes it possible to set that the pension insurance periods are filled in for the duration of the employment when creating a record for Termination. This option is used when wages start to be processed in K2 and therefore not all pension insurance data are in K2.

The reasons for termination of employment are loaded automatically according to the value on the payroll document. If the Termination reasons code list has been extended by the user, it is necessary to make a setting that allows these reasons to be loaded. The Notice of the commencement of employment - parameter settings (MZD_ONZP.PAS) script exists for this purpose. Here, each termination reason from K2 can be assigned a Reason from the CSSA code list, or a reason for not providing the data.

pic_7566

Picture: Notice of the commencement of employment - parameter settings

 

 

Address in the tree:

Script parameters:

WithErase - No

Yes - deletes the data in the script for the Notice of the commencement of employment.

VPDPP - export

Process number:

Script ID number:

File: EIS_Export.PAS

Script description: Creates export files for reports to the social security administration. It is run in the Income statement of employees on ACJ book (Wages - Employments - Income statement of employees on ACJ - Income statement of employees on ACJ), which is part of the standard extension for Wages and Human Resources.

 

Address in the tree:

Script parameters:

ElectronicSubmissionBook - Book of Electronic submissions (book abbreviation). Setting this parameter ensures that a new record is created in the Electronic submission book during the export to the *.XML file.

DataBox - Recipient's data box.

SendByDataBox - Send via data box after export

XMLPath

Path for saving the exported "*.xml".

NoValidate - Do not validate the created XML
Set to False by default.
True - the XML will not be validated during the export

PartialAccept - Partial acceptance of the submission
Set to False by default.
True - a partially accepted submission is also accepted

Personal record for pension insurance - export

Process number:

Script ID number:

File: PIR_Export.PAS

Script description: Creates export files for reports to the social security administration. It is run in the Personal record for pension insurance book (Wages - Employments - Personal record for pension insurance - Personal record for pension insurance), which is part of the standard extension for Wages and Personnel data.

 

Address in the tree:

Script parameters:

ElectronicSubmissionBook - Book of Electronic submissions (book abbreviation). Setting this parameter ensures that a new record is created in the Electronic submission book during the export to the *.XML file.

DataBox - Recipient's data box.

SendByDataBox - Send via data box after export

XMLPath

Path for saving the exported "*.xml".

NoValidate - Do not validate the created XML
Set to False by default.
True - the XML will not be validated during the export

Employer notification - export

Process number:

Script ID number:

File: SBR_Export.PAS

Script description: Creates export files for reports to the social security administration. It is run in the Employer notification book (Wages - Employments - Employer notification - Employer notification), which is part of the standard extension for Wages and Personnel data.

 

Address in the tree:

Script parameters:

ElectronicSubmissionBook - Book of Electronic submissions (book abbreviation). Setting this parameter ensures that a new record is created in the Electronic submission book during the export to the *.XML file.

DataBox - Recipient's data box.

SendByDataBox - Send via data box after export

XMLPath

Path for saving the exported "*.xml".

NoValidate - Do not validate the created XML
Set to False by default.
True - the XML will not be validated during the export

PartialAccept - Partial acceptance of the submission
Set to False by default.
True - a partially accepted submission is also accepted

Notification at the end of incapacity for work - export

Process number:

Script ID number:

File: STN_Export.PAS

Script description: Creates export files for reports to the social security administration. It is run in the Notification at the end of incapacity for work book (Wages - Employments - Notification at the end of incapacity for work - Notification at the end of incapacity for work), which is part of the standard extension for Wages and Human Resources.

 

Address in the tree:

Script parameters:

ElectronicSubmissionBook - Book of Electronic submissions (book abbreviation). Setting this parameter ensures that a new record is created in the Electronic submission book during the export to the *.XML file.

DataBox - Recipient's data box.

SendByDataBox - Send via data box after export

XMLPath

Path for saving the exported "*.xml".

NoValidate - Do not validate the created XML
Set to False by default.
True - the XML will not be validated during the export

PartialAccept - Partial acceptance of the submission
Set to False by default.
True - a partially accepted submission is also accepted

Notice of intention to apply discount on insurance premium - export

Process number:

Script ID number:

File: DIN_Export.PAS

Script description: Creates export files for reports to the social security administration. It is run in the Notice of intention to apply discount on insurance premium book (Wages - Employments - Notice of intention to apply discount on insurance premium - Notice of intention to apply discount on insurance premium), which is part of the standard extension for Wages and Personnel data.

 

Address in the tree:

Script parameters:

ElectronicSubmissionBook - Book of Electronic submissions (book abbreviation). Setting this parameter ensures that a new record is created in the Electronic submission book during the export to the *.XML file.

DataBox - Recipient's data box.

SendByDataBox - Send via data box after export

XMLPath

Path for saving the exported "*.xml".

NoValidate - Do not validate the created XML
Set to False by default.
True - the XML will not be validated during the export

PartialAccept - Partial acceptance of the submission
Set to False by default.
True - a partially accepted submission is also accepted

Book Contents

Book Index

Wage data to Excel

Process number: MZD005

Script ID number: FMZD056

File: MZD_ExpExcel.PAS

Script description: Script intended for exporting fields from Wage data to Excel. Header data can be exported for a selected time interval (selected period) either as a total for all these periods or individually for each period in the selected interval.

Address in the tree:

Script parameters:

DataColumns - Numeric fields (can be separated by a comma)

The default value of the parameter is :'CFPayPFI,CFPayPNI'

InfoColumns - Text fields (can be separated by a comma)

The default value of the parameter is :'IdPerson;Oscp,IdPerson;StrK,IdPerson;Prij,IdPerson;Jmno,IdPeriod;Descr'

SuppressDetail - Suppress details

No -A record with values for each period is exported.

Yes - Sum of values from the selected periods in one record.

Book Contents

Book Index

Deletion of other personal data

Process number: MZD001

Script ID number: FMZD057

File: Pers_DelOtherPersData.PAS

Script description: Script intended for deleting fields with other personal data that do not need to be kept on record. This is a measure within GDPR. The input form makes it possible to influence which fields will be deleted. After the fields have been deleted, a comment about this action, with the date and the user who performed the deletion, is saved on the first page of the personnel card.

Address in the tree:

Script parameters:

CommentType - Comment type.

After the values are deleted, a comment of the specified type is created. If the type is not filled in the parameter, a comment without a type is created.

SkipProgNameFam - Skipped fields of family members

The parameter can contain fields of family members that will not be checked on the initial form and therefore will not be deleted.

SkipProgNamePers - Skipped fields of Personnel data

The parameter can contain fields of Personnel data that will not be checked on the initial form and therefore will not be deleted.

Creation of required qualifications

Process number: MZD001

Script ID number: FMZD064

File: PREMP_CreateQualifications.PAS

Script description: Script intended for creating qualifications for employees. It can be run over one record, over selected records or over all records. It is run over the Employments book. The Job position field must be filled in on the employment, and the job position must have the qualifications that the employee has within the employment filled in on the Required qualifications tab.

Address in the tree:

Script parameters:

QualificationBook - Abbreviation of the qualification book in which the qualifications are to be created. Mandatory.

 

DocumentsByEmployedPerson - False
Set to NO by default - creates one document (one qualification) for several persons.
Yes - creates a new document for each person.

Document for the labour office - name list of employees

Process number:

Script ID number:

File: NameListOfEmployeesWithDisability.PAS

Script description: Script intended for filling an xml file with data on employees with disabilities. It is run over the Personnel data or Employments book. An employee with a disability must have the Reduced working ability field filled in on the Further details tab of the personnel card.
After the script is started, it is necessary to select the saved xml file that is filled with the employee data. (The file can be downloaded here: https://www.mpsv.cz/seznam-zamestnancu)


This is the "Application for a contribution to support the employment of persons with disabilities on the sheltered labour market"

 

Address in the tree:

Script parameters:

SortByBirthIdNumber - False
Sort by birth ID number.

Note: To fill in the value of the "Date of recognition of disability" field in the xml file, a record must be created on the employee's personnel card on the Items tab above the "Education" tab, with the Beginning field filled in there.

Option to apply discount on insurance premium

Process number:

Script ID number:

File: PREMP_SocDiscountCont.PAS

Script description: The script filters the employments that meet the conditions for applying the discount on insurance premium. It is run over the Employments book.

 

After the script is started, a form is displayed in which you need to choose whether the program should:
Search for records for applying the discount - creates a container of employees who meet one or more conditions for applying the discount.

Search for records that have the discount set and should not have it - creates a container of employees who have the discount set (in the Intention to apply discount on insurance premium field on the Employment) and in the given period should not have it or have an incorrect reason.

pic_10841

Picture: Query for creating a container

After confirmation, a message is displayed with the number of inserted records and a question whether to switch to the container.

pic_10842

 

Then a log file with the reason for insertion into the container is displayed.

pic_10843

 

 

 

The script applies the following conditions:

1) has reached at least 55 years of age (the condition is met already on the day the employee reaches this age)
- the Date of birth field on the personnel card is checked

 

2) cares for a child under 10 years of age (i.e. the condition is last met on the day preceding the day the child reaches 10 years of age) of whom they are a parent, or who is in their care substituting parental care on the basis of a decision of the competent authority; a decision of the competent authority is considered to be the decision referred to in Section 7(10) of Act No. 117/1995 Coll., on State Social Support, as amended,

- the Family member tab on the personnel card is checked. (The condition is Relation 3 Children - discount or 8 Children - without discount)

 

3) is preparing for a future profession by studying and is under 26 years of age; studies are assessed according to Section 21(1)(a), Section 22 and Section 23 of the Income Tax Act (distance, remote, evening and combined studies are not considered a period of study)

- the Education tab on the personnel card is checked (does not apply to Course)

 

4) is a person with a disability under Section 67(2) of the Employment Act, i.e. has been recognized as disabled or is a person with a health disadvantage

- the Disability level field and the Disability from - to field on the personnel card are checked. Or the Reduced working ability field (only OZZ)

 

5) is under 21 years of age (i.e. the condition is last met on the day preceding the day the employee reaches 21 years of age).

- the Date of birth field on the personnel card is checked

 

 

Note:
1) The conditions for applying the discount on insurance premium must be met for the employee for whom the discount can be applied for the entire duration of the employment or service relationship in the calendar month.
2) The script takes into account only employment contracts with weekly working hours of 8 - 30 h.

 

Address in the tree:

Script parameters: