Výpočtové schéma při výpočtu

GET

/execcalccharts

Získá kolekci BO Výpočtové schéma při výpočtu

GET

/execcalccharts/meta/dataprotection

Získá seznam položek BO, které mohou být chráněny na BO Výpočtové schéma při výpočtu

GET

/execcalccharts/views/{view}

Získá pohled nad BO Výpočtové schéma při výpočtu

GET

/execcalccharts/{id}

Získá daný BO Výpočtové schéma při výpočtu

GET

/execcalccharts/{id}/iseditlock

Otestuje, zda existuje editační zámek na daném BO Výpočtové schéma při výpočtu

GET

/execcalccharts/{id}/meta/dataprotection

Získá seznam chráněných položek, které jsou na BO Výpočtové schéma při výpočtu aktuálnímu uživateli znepřístupněny

GET

/execcalccharts/{id}/rows

Získá řádky kolekce Výpočtový vzorec při výpočtu

GET

/execcalccharts/{id}/rows/{id1}

Získá daný řádek kolekce Výpočtový vzorec při výpočtu

GET

/execcalccharts/{id}/scripts

Získá řádky kolekce Skripty výpočtového vzorce při výpočtu

GET

/execcalccharts/{id}/scripts/{id1}

Získá daný řádek kolekce Skripty výpočtového vzorce při výpočtu

GET

/execcalccharts/{id}/userparameters

Získá seznam uživatelských parametrů včetně jejich hodnot k danému BO Výpočtové schéma při výpočtu

POST

/execcalccharts

Vytvoří nový BO Výpočtové schéma při výpočtu

POST

/execcalccharts/query

Vyhodnotí query dotaz nad BO Výpočtové schéma při výpočtu

POST

/execcalccharts/{id}/rows

Vytvoří nový řádek v kolekci Výpočtový vzorec při výpočtu

POST

/execcalccharts/{id}/scripts

Vytvoří nový řádek v kolekci Skripty výpočtového vzorce při výpočtu

PUT

/execcalccharts/{id}

Modifikuje daný BO Výpočtové schéma při výpočtu

PUT

/execcalccharts/{id}/editlock

Vytvoří editační zámek na daném BO Výpočtové schéma při výpočtu

PUT

/execcalccharts/{id}/editunlock

Zruší editační zámek na daném BO Výpočtové schéma při výpočtu

PUT

/execcalccharts/{id}/rows/{id1}

Modifikuje řádek v kolekci Výpočtový vzorec při výpočtu

PUT

/execcalccharts/{id}/scripts/{id1}

Modifikuje řádek v kolekci Skripty výpočtového vzorce při výpočtu

DELETE

/execcalccharts/{id}

Smaže BO Výpočtové schéma při výpočtu

DELETE

/execcalccharts/{id}/rows/{id1}

Smaže řádek z kolekce Výpočtový vzorec při výpočtu

DELETE

/execcalccharts/{id}/scripts/{id1}

Smaže řádek z kolekce Skripty výpočtového vzorce při výpočtu

Metadata - Perzistentní položky

calcfieldsspecialbehaviour boolean

Způsob součtování, pole vlastněné tabulkou, možné řadit a filtrovat, pole je duplikováno při klonování objektu

clsid string (26)

Třída objektu, pole vlastněné tabulkou, možné řadit a filtrovat, pole je duplikováno při klonování objektu, fkAnsiCaseSensitive

code string (10)

Kód, pole vlastněné tabulkou, možné řadit a filtrovat, pole je duplikováno při klonování objektu

copied boolean

Kopie, pole vlastněné tabulkou, možné řadit a filtrovat

correctedby_id string (securityuser) relace

Opravil, pole vlastněné tabulkou, možné řadit a filtrovat, pole je duplikováno při klonování objektu, pole nepodporuje ochranu dat/GDPR

createdby_id string (securityuser) relace

Vytvořil, pole vlastněné tabulkou, možné řadit a filtrovat, pole je duplikováno při klonování objektu, pole nepodporuje ochranu dat/GDPR

hidden boolean

Skrytý, pole vlastněné tabulkou, možné řadit a filtrovat, pole je duplikováno při klonování objektu

name string (50)

Název, pole vlastněné tabulkou, možné řadit a filtrovat, pole je duplikováno při klonování objektu

objversion integer

Verze objektu, pouze pro čtení, pole vlastněné tabulkou, možné řadit a filtrovat, pole nepodporuje ochranu dat/GDPR

rows array (execcalcexpression) relace

kolekce BO Výpočtový vzorec při výpočtu, pole je duplikováno při klonování objektu, objekt na který pole odkazuje je 'vlastněn'

scripts array (execcalcchartscript) relace

kolekce BO Skripty výpočtového vzorce při výpočtu, pole je duplikováno při klonování objektu, objekt na který pole odkazuje je 'vlastněn'

sourcechart_id string (calcchart) relace

Zdrojový vzorec, pole vlastněné tabulkou, možné řadit a filtrovat

specification integer

Specifikace, pole vlastněné tabulkou, možné řadit a filtrovat, pole je duplikováno při klonování objektu

system boolean

Syst., pole vlastněné tabulkou, možné řadit a filtrovat

Metadata - Neperzistentní položky

classid string (26)

ID třídy, pouze pro čtení, fkAnsiCaseSensitive, pole nepodporuje ochranu dat/GDPR

clsidname string (26)

Třída

displayname string (100)

Název, pouze pro čtení

id string (10)

Vlastní ID, pouze pro čtení, fkAnsiCaseSensitive, pole nepodporuje ochranu dat/GDPR

usercalcfieldsspecialbehaviour integer

Způsob součtování - uživ. část, pole je duplikováno při klonování objektu

Příklady
  • GET
  • QUERY
  • POST
  • PUT
  • DELETE
  • BATCH
  • Builder
Request

GET

https://atd.abra.eu/demodata/execcalccharts?take=1

GET

https://atd.abra.eu/demodata/execcalccharts/{id}
Response
{
    "objversion": 1,
    "rows": [
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWageListRealFrom, WageListTo, 1) + \r\nIf((WorkingRelation_ID.TypeOfWage=1) and (S_FeastMode = 1), \r\nWageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWageListFrom, WageListTo, 4), 0)",
            "fieldcode": 307,
            "id": "2000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "if(CalendarDuty = 0, \r\n   True,\r\n   if(NxAbs(((%V%+ \r\nIf( not ((WorkingRelation_ID.TypeOfWage=1) and (S_FeastMode = 1)), \r\nWageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWagePeriod_ID.ID, '', 4), 0)) \/ WageConstant('S_TydnyMes', WagePeriod_ID.ID)) - CalendarDuty) > \r\n      WageConstant('S_TolUvaz', Wageperiod_ID.ID), False, True))",
            "condition": "",
            "errormessage": "Úvazek na pracovním kalendáři může být špatně nastaven! Podíl měsíčního fondu a průměrného počtu týdnů v měsíci se liší od úvazku nastaveného na kalendáři o více, než je nastaveno v globální proměnné S_TolUvaz.",
            "errorseverity": 1,
            "explanation": "",
            "expression": "WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWagePeriod_ID.ID, '', 1) + \r\nIf((WorkingRelation_ID.TypeOfWage=1) and (S_FeastMode = 1), \r\nWageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWagePeriod_ID.ID, '', 4), 0)",
            "fieldcode": 306,
            "id": "3000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "S_WorkHoursTotal",
            "fieldcode": 313,
            "id": "5000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% + S_WorkDays + S_WorkDaysOper",
            "fieldcode": 1000019,
            "id": "7000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% + S_MixedHours + S_OperHoursTotal",
            "fieldcode": 1000023,
            "id": "8000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "%V% >= 0",
            "condition": "",
            "errormessage": "Hrubá mzda je záporná, %0:g!",
            "errorseverity": 2,
            "explanation": "",
            "expression": "S_BaseWage + S_ChargesAndCompens + S_SurChargeGuaranteedTotal + S_InventionReward",
            "fieldcode": 312,
            "id": "E000000000",
            "objversion": 3,
            "parent_id": "1000000000",
            "rounding": 258,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% + S_TravelComp + S_TravelCompOper",
            "fieldcode": 1000167,
            "id": "H000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "",
            "fieldcode": 1000182,
            "id": "I000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "0",
            "fieldcode": 314,
            "id": "J000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "0",
            "fieldcode": 315,
            "id": "K000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "NxRoundByValue(WorkingFund * if(CalendarDuty > 0, (S_NormalDuty \/ CalendarDuty), 1),1,0.01)",
            "fieldcode": 1000205,
            "id": "5G00000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "3",
            "fieldcode": 1000201,
            "id": "0010000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2008-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "If(WorkingRelation_ID.IndividualWeekDuty > 0,\r\nWorkingRelation_ID.IndividualWeekDuty, WageConstant('S_NormUvaz',WagePeriod_ID.ID))",
            "fieldcode": 1000212,
            "id": "E010000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "If(WorkingRelation_ID.FeastMode > 0, if(WorkingRelation_ID.FeastMode = 2, 2, 1),WageConstant('S_SvTyp',WagePeriod_ID.ID) + 1)",
            "fieldcode": 1000219,
            "id": "O010000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "S_UnresolvedOvertime + \r\nWageListPartialSumForDates(WorkingRelation_ID.ID, \r\n                           NxIncMonth(NxDateToFloat(WagePeriod_ID.DateFrom$DATE),-1), \r\n                           NxDateToFloat(WagePeriod_ID.DateFrom$DATE) - 1,'S_UnresolvedOvertimeTotal') -\r\n(S_OverTimeSubstFreeTotal + S_OldOvertimeHoursTotal)                           ",
            "fieldcode": 1000216,
            "id": "P010000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2006-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "(%V% + WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OverTimeTotal', False, True) - \r\nS_OvertimeSubstFreeTotal - WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OvertimeSubstFreeTotal', False, True) +\r\nS_OldOvertimeHoursTotal +  WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OldOvertimeHoursTotal', False, True) -\r\nS_UnresolvedOvertime -  WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_UnresolvedOvertime', False, True) -\r\nWageListPartialSumForDates(WorkingRelation_ID.ID, NxDateStop(WagePeriod_ID.WPeriodYear - 1)-30, NxDateStop(WagePeriod_ID.WPeriodYear - 1), 'S_UnresolvedOvertimeTotal'))\r\n <= WageConstant('S_MaxPresc', WagePeriod_ID.ID)",
            "condition": "",
            "errormessage": "Přesčas za rok překročil povolenou mez!",
            "errorseverity": 1,
            "explanation": "",
            "expression": "%V% + S_OverTime + if(WorkingRelation_ID.CalcOverTime, NxMax(TotalWorkTime + TotalAbsence + S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime - S_OverTimeAbsence - S_WorkingFundForOverTime, 0), 0)",
            "fieldcode": 1000014,
            "id": "S010000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2006-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "S_OverTimeSubstFree",
            "fieldcode": 1000220,
            "id": "U010000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2006-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% + S_TaskWage + S_TaskWageOper",
            "fieldcode": 1000027,
            "id": "V010000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2006-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "S_OldOvertimeHours",
            "fieldcode": 1000222,
            "id": "E110000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2006-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "NxRoundByValue(TotalWorkTime + S_OverTimeSubstFreeTotal + S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime, 1, 0.01) >= NxRoundByValue(WorkingFund - TotalAbsence, 1, 0.01)",
            "condition": "",
            "errormessage": "Celkový odpracovaný čas neodpovídá fondu pracovní doby!",
            "errorseverity": 1,
            "explanation": "",
            "expression": "%V% + S_TimeWage + S_OperWageTotal + WageForUnit * \r\n(If(S_TaskWageTotal>0, S_MixedHoursTotal, TotalWorkTime) - \r\nif(S_OperWageTotal>0, S_OperHoursTotal, 0))",
            "fieldcode": 1000029,
            "id": "F110000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2006-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if(CalcAvgNetWage, WageConstant('S_TydnyMes', WagePeriod_ID.ID) * S_AverageCorrect * CalendarDuty, 0) ",
            "fieldcode": 1000208,
            "id": "F210000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 257,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2006-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if(WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, WagePeriod_ID.ID, '',0) <> 0,\r\n   WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, WagePeriod_ID.ID, '',1) \/ \r\n   NxMax(WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, WagePeriod_ID.ID, '',0) , 1), \r\n   if(CalendarDuty > 0, \r\n   CalendarDuty \/ 5, \r\n   S_NormalDuty \/ 5))",
            "fieldcode": 1000238,
            "id": "I210000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "1",
            "fieldcode": 1000240,
            "id": "K210000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% + S_GrossWage + S_TaskWageTotal + \r\nS_ApprenticeFeeTotal + \r\nS_TimeWageTotal + S_PersonalChargeTotal + \r\nS_ChiefChargeTotal + S_SubChargeTotal + \r\nif(S_RenumerationForm = 2 {plat}, S_WEndChargeTotal, 0) + \r\nS_OtherCharges + \r\nS_NaturalWageTotal + S_LostWageCompens + \r\nS_BonusTotal + S_RewardTotal+ \r\nS_RewardLongTermTotal + S_RewardSixMonthTotal + \r\nS_RewardTwelveMonthTotal + S_ThirteenTotal + \r\nS_FourteenTotal + S_SickCompBoost",
            "fieldcode": 1000100,
            "id": "U410000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2008-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% + If(NxIBetween(WorkingRelation_ID.TypeOfActivity, 3, 6), \r\nGrossWageTotal, S_ExitCompTotal + S_ExitFee) +\r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal",
            "fieldcode": 1000102,
            "id": "T510000000",
            "objversion": 4,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2011-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if(MainWorkingRelation,\r\n  if((S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar > 0), \r\n    NxMax(S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar, \r\n          WageConstant('S_MinAuto', WagePeriod_ID.ID)), \r\n    0), \r\n  0)",
            "fieldcode": 1000264,
            "id": "0T10000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2011-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "(WorkingRelation_ID.WageAmount>0) or (WorkingRelation_ID.FeeAmount>0) ",
            "condition": "",
            "errormessage": "Není zadána položka 'Mzda - částka' příp. 'Částka' odměny v pracovním poměru. Tento stav může vést k chybě ve výpočtu.",
            "errorseverity": 1,
            "explanation": "",
            "expression": "If(WorkingRelation_ID.TypeOfWage=0,\r\n WorkingRelation_ID.WageAmount, \r\nif(MonthFund=0, 0, \r\nWorkingRelation_ID.WageAmount \/ (MonthFund + if((S_FeastMode > 1), WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID,WagePeriod_ID.ID, '', 4),0))))",
            "fieldcode": 308,
            "id": "DY20000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2021-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% + S_FeastChargeTotal + S_NightChargeTotal + \r\nS_EnvChargeTotal + S_OverTimeChargeTotal + \r\nS_PaidFeastCompTotal + S_PaidFreeCompTotal + \r\nS_HolidayCompTotal + S_PaidHolidayCompTotal +\r\nS_OldHolidayCompsTotal + S_PaidOldHolidayCompsTotal + \r\nS_ReadinessCompTotal + S_OtherCompensations + \r\nS_ExitCompTotal + S_ExitFee + S_ChildAndYouthCompsTotal + \r\nif((S_RenumerationForm < 2) {mzda}, S_WEndChargeTotal, 0) + \r\nS_DisasterCompTotal + S_MalfuncCompTotal + S_OtherObstCompTotal + \r\nS_PercentOfAvgCompTotal + S_KurzArbeitAmount",
            "fieldcode": 1000101,
            "id": "EY20000000",
            "objversion": 4,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2021-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "%V% <= WorkingFund",
            "condition": "if((WorkingFund=0),True,True)\r\n{Toto donutí výpočet aby se napočetla položka WorkingFund}",
            "errormessage": "%1:s přesahuje fond pracovní doby. Chyba může být způsobena tím,\r\nže se časově překrývají zadané nepřítomnosti nebo nemocenské dávky.",
            "errorseverity": 1,
            "explanation": "",
            "expression": "{TotalAbsence - 01.01.2022}\r\n%V% + WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 5, 2) + \r\n      if((WorkingRelation_ID.TypeOfWage = 1) and (S_FeastMode = 1),      \r\n      WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) +\r\n      WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4),\r\n      (-1) * (S_FeastHourInAbsenceAndSickness - \r\n             (WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) + \r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4) +\r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 0, 4) +\r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 1, 4) + \r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 4, 4))))",
            "fieldcode": 305,
            "id": "JY20000000",
            "objversion": 2,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2021-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_ExecutiveFeeTotal + S_CorporateFeeTotal + S_SurChargeTotal + S_POL_Wage + S_MealAmountOverLimitTotal - S_ApprenticeFeeTotal)",
            "fieldcode": 1000164,
            "id": "SY20000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 258,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2020-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if(((S_PaidFreeTotal <> 0) or\r\n   (HolidayTotal <> 0) or\r\n   (PaidHolidayTotal <> 0) or\r\n   (S_DisasterCompTime <> 0) or\r\n   (S_MalfunctionCompTime <> 0) or\r\n   (S_OtherObstructionCompTime <> 0) or\r\n   (S_PercentOfAvgCompTime <> 0) or\r\n   (S_WEndHoursTotal <> 0) or\r\n   (S_OverTimeTotal <> 0) or\r\n   (S_FeastHoursTotal <> 0) or\r\n   (S_NightHoursTotal <> 0) or\r\n   (S_OldOvertimeHoursTotal <> 0) or\r\n   (S_ExitClaim) or\r\n   (S_ArmyExerciseTotal <> 0) or\r\n   (S_ArmyDuty <> 0) or\r\n   (S_ReadinessTotal <> 0) or\r\n   (S_PaidFeastTotal <> 0) or\r\n   (S_OldHolidayHoursTotal <> 0) or\r\n   (S_PaidOldHolidayHoursTotal <> 0) or\r\n   (S_ChildAndYouthHoursTotal <> 0) or\r\n   (S_QuarantineCalDays <> 0) or\r\n   (S_KurzArbeitHours <> 0) or\r\n   (CalcAvgNetWage)),\r\n   NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), WorkingRelation_ID.JobGroup_ID.HourClaim) * S_MinWageCoef *\r\n   (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, 40\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), 40\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
            "fieldcode": 1000207,
            "id": "7Z20000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2022-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if((NxDateToFloat(Employee_ID.S_DisabilityPensionFrom) > 0) and \r\n   (NxDateToFloat(Employee_ID.S_DisabilityPensionFrom) <= NxDateToFloat(WageListFrom)),2,1) ",
            "fieldcode": 1000265,
            "id": "QT10000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2013-07-31T22:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if((WorkingRelation_ID.TypeOfActivity = 5) and \r\n    not WorkingRelation_ID.PartTimeJob,\r\n    S_SocialInsBaseTotal - S_ExecutiveFeeTotal - S_CorporateFeeTotal, \r\n    0)",
            "fieldcode": 1000262,
            "id": "UT10000000",
            "objversion": 2,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2013-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if(WorkingRelation_ID.PartTimeJob,\r\n    S_SocialInsBaseTotal, \r\n    0)",
            "fieldcode": 1000266,
            "id": "WT10000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2013-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if(((WorkingRelation_ID.TypeOfActivity = 3) or ((WorkingRelation_ID.TypeOfActivity = 5) and\r\n    WorkingRelation_ID.PartTimeJob) or (WorkingRelation_ID.TypeOfActivity = 6)),\r\n    S_HealthInsBaseTotal - S_ExecutiveFeeTotal - S_CorporateFeeTotal,\r\n    0)",
            "fieldcode": 1000269,
            "id": "JU10000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2014-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "if(NxValueCreate('CheckInsuranceIn'), '', '') +\r\nif(NxValueSet('CheckInsuranceIn', 'V aktuálním mzdovém období je zaměstnanec účasten zdravotního pojištění.\r\nProtože chybí mzdové listy za předchozí období, není možné zkontrolovat, zda byl účasten také v minulém mzd.období.\r\nZkontrolujte, zda není nutné zaměstnance přihlásit na ZP.'), '', '') +\r\nif(NxValueCreate('CheckInsuranceOut'), '', '') +\r\nif(NxValueSet('CheckInsuranceOut', 'V aktuálním mzdovém období není zaměstnanec účasten zdravotního pojištění. Protože chybí mzdové listy za předchozí období, není možné zkontrolovat, zda nebyl účasten také v minulém mzd.období. Zkontrolujte, zda není nutné zaměstnance odhlásit od ZP.'), '', '') +\r\nif(NxValueCreate('InsuranceIn'), '', '') +\r\nif(NxValueSet('InsuranceIn', 'Zaměstnanec je od aktuálního období účasten ZP. Zaměstnance je nutné přihlásit na ZP k prvnímu dni aktuálního období.'), '', '') +\r\nif(NxValueCreate('InsuranceOut'), '', '') +\r\nif(NxValueSet('InsuranceOut', 'Zaměstnanec není od aktuálního období účasten ZP. Zaměstnance je nutné odhlásit na ZP k poslednímu dni minulého období.'), '', '') +\r\nif(NxValueCreate('EmpNotPayHealthIns'),'','') +\r\nif(NxValueSet('EmpNotPayHealthIns',\r\n  WageEmployeeHistoryValue(Employee_ID.ID, WagePeriod_ID.ID, 'NotPayHealthIns') or\r\n  WageEmployeeHistoryValue(Employee_ID.ID, WagePeriod_ID.ID, 'S_InsurancePaidInEHP')),'','') +\r\nif(WagePeriodForDate(WorkingRelation_ID.DateOfBegin$DATE, 0) = WagePeriod_ID.ID,\r\n  '', {Pracovní poměr začal v aktuálním období->nic se nehlásí}\r\n  if(NxValueCreate('S_IsHealthInsurancePrev'), '', '') + \r\n  if(NxValueSet('S_IsHealthInsurancePrev', WageListPartialSumBack(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_IsHealthInsurance', 1, True)), '', '') + \r\n  if((NxValueGet('S_IsHealthInsurancePrev') = 0) and not (NxValueGet('EmpNotPayHealthIns')),\r\n    if(S_IsHealthInsurance = 2,\r\n      NxValueGet('CheckInsuranceIn'),\r\n      NxValueGet('CheckInsuranceOut')\r\n    ),\r\n    if(NxValueGet('S_IsHealthInsurancePrev') = S_IsHealthInsurance,\r\n      '', {V minulém i současném období stejná hodnota -> nic se nehlásí}\r\n      if((NxValueGet('S_IsHealthInsurancePrev') = 1) and (S_IsHealthInsurance = 2),\r\n        NxValueGet('InsuranceIn'),\r\n        if((NxValueGet('S_IsHealthInsurancePrev') = 2) and (S_IsHealthInsurance = 1),\r\n          NxValueGet('InsuranceOut'), '' \r\n        )\r\n      )\r\n    )\r\n  )\r\n) +\r\nif(NxValueDestroy('CheckInsuranceIn'), '', '') +\r\nif(NxValueDestroy('CheckInsuranceOut'), '', '') +   \r\nif(NxValueDestroy('InsuranceIn'), '', '') +\r\nif(NxValueDestroy('InsuranceOut'), '', '')+\r\nif(NxValueDestroy('EmpNotPayHealthIns'), '', '')",
            "condition": "",
            "errormessage": "%2:s",
            "errorseverity": 1,
            "explanation": "",
            "expression": "if((GrossWageTotal=0), 0,0)",
            "fieldcode": 1000255,
            "id": "PV10000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2018-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% \r\n+ S_WorkHoursOper \r\n+ If(WorkingRelation_ID.CalcWorkingHours, \r\n     NxMax(0, \r\n           WorkingFund - TotalAbsence - S_OvertimeSubstFreeTotal \r\n             + (S_WorkDays * S_AvgShiftLength) \r\n             + S_WorkHours \r\n             - (S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime))\r\n             - If(S_FeastMode=2,\r\n                  WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 0, 5),\r\n                  0), \r\n    (S_WorkDaysTotal * S_AvgShiftLength) + S_WorkHours)                \r\n   ",
            "fieldcode": 1000021,
            "id": "7W20000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2020-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "S_KurzArbeitHours * (WageConstant('S_KurzArbeit', WagePeriod_ID.ID) \/ 100) * S_AverageCorrect",
            "fieldcode": 1000330,
            "id": "2Y20000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2021-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 1, 2, 11)",
            "fieldcode": 1000329,
            "id": "3Y20000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2021-12-31T23:00:00.000Z"
        }
    ],
    "hidden": false,
    "createdby_id": "SUPER00000",
    "correctedby_id": null,
    "code": "MDZakl",
    "name": "Dílčí ML, základní",
    "system": true,
    "clsid": "W1ZICXOZCBF13JXS00KEZYD5AW",
    "specification": 0,
    "calcfieldsspecialbehaviour": false,
    "sourcechart_id": null,
    "copied": false,
    "scripts": []
}
Request POST

POST

https://atd.abra.eu/demodata/query
{"class": "execcalccharts", "take": "1"}

POST

https://atd.abra.eu/demodata/execcalccharts/query
{"take": "1"}
Response
{
    "objversion": 1,
    "rows": [
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWageListRealFrom, WageListTo, 1) + \r\nIf((WorkingRelation_ID.TypeOfWage=1) and (S_FeastMode = 1), \r\nWageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWageListFrom, WageListTo, 4), 0)",
            "fieldcode": 307,
            "id": "2000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "if(CalendarDuty = 0, \r\n   True,\r\n   if(NxAbs(((%V%+ \r\nIf( not ((WorkingRelation_ID.TypeOfWage=1) and (S_FeastMode = 1)), \r\nWageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWagePeriod_ID.ID, '', 4), 0)) \/ WageConstant('S_TydnyMes', WagePeriod_ID.ID)) - CalendarDuty) > \r\n      WageConstant('S_TolUvaz', Wageperiod_ID.ID), False, True))",
            "condition": "",
            "errormessage": "Úvazek na pracovním kalendáři může být špatně nastaven! Podíl měsíčního fondu a průměrného počtu týdnů v měsíci se liší od úvazku nastaveného na kalendáři o více, než je nastaveno v globální proměnné S_TolUvaz.",
            "errorseverity": 1,
            "explanation": "",
            "expression": "WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWagePeriod_ID.ID, '', 1) + \r\nIf((WorkingRelation_ID.TypeOfWage=1) and (S_FeastMode = 1), \r\nWageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWagePeriod_ID.ID, '', 4), 0)",
            "fieldcode": 306,
            "id": "3000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "S_WorkHoursTotal",
            "fieldcode": 313,
            "id": "5000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% + S_WorkDays + S_WorkDaysOper",
            "fieldcode": 1000019,
            "id": "7000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% + S_MixedHours + S_OperHoursTotal",
            "fieldcode": 1000023,
            "id": "8000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "%V% >= 0",
            "condition": "",
            "errormessage": "Hrubá mzda je záporná, %0:g!",
            "errorseverity": 2,
            "explanation": "",
            "expression": "S_BaseWage + S_ChargesAndCompens + S_SurChargeGuaranteedTotal + S_InventionReward",
            "fieldcode": 312,
            "id": "E000000000",
            "objversion": 3,
            "parent_id": "1000000000",
            "rounding": 258,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% + S_TravelComp + S_TravelCompOper",
            "fieldcode": 1000167,
            "id": "H000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "",
            "fieldcode": 1000182,
            "id": "I000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "0",
            "fieldcode": 314,
            "id": "J000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "0",
            "fieldcode": 315,
            "id": "K000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "NxRoundByValue(WorkingFund * if(CalendarDuty > 0, (S_NormalDuty \/ CalendarDuty), 1),1,0.01)",
            "fieldcode": 1000205,
            "id": "5G00000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "3",
            "fieldcode": 1000201,
            "id": "0010000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2008-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "If(WorkingRelation_ID.IndividualWeekDuty > 0,\r\nWorkingRelation_ID.IndividualWeekDuty, WageConstant('S_NormUvaz',WagePeriod_ID.ID))",
            "fieldcode": 1000212,
            "id": "E010000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "If(WorkingRelation_ID.FeastMode > 0, if(WorkingRelation_ID.FeastMode = 2, 2, 1),WageConstant('S_SvTyp',WagePeriod_ID.ID) + 1)",
            "fieldcode": 1000219,
            "id": "O010000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "S_UnresolvedOvertime + \r\nWageListPartialSumForDates(WorkingRelation_ID.ID, \r\n                           NxIncMonth(NxDateToFloat(WagePeriod_ID.DateFrom$DATE),-1), \r\n                           NxDateToFloat(WagePeriod_ID.DateFrom$DATE) - 1,'S_UnresolvedOvertimeTotal') -\r\n(S_OverTimeSubstFreeTotal + S_OldOvertimeHoursTotal)                           ",
            "fieldcode": 1000216,
            "id": "P010000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2006-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "(%V% + WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OverTimeTotal', False, True) - \r\nS_OvertimeSubstFreeTotal - WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OvertimeSubstFreeTotal', False, True) +\r\nS_OldOvertimeHoursTotal +  WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OldOvertimeHoursTotal', False, True) -\r\nS_UnresolvedOvertime -  WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_UnresolvedOvertime', False, True) -\r\nWageListPartialSumForDates(WorkingRelation_ID.ID, NxDateStop(WagePeriod_ID.WPeriodYear - 1)-30, NxDateStop(WagePeriod_ID.WPeriodYear - 1), 'S_UnresolvedOvertimeTotal'))\r\n <= WageConstant('S_MaxPresc', WagePeriod_ID.ID)",
            "condition": "",
            "errormessage": "Přesčas za rok překročil povolenou mez!",
            "errorseverity": 1,
            "explanation": "",
            "expression": "%V% + S_OverTime + if(WorkingRelation_ID.CalcOverTime, NxMax(TotalWorkTime + TotalAbsence + S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime - S_OverTimeAbsence - S_WorkingFundForOverTime, 0), 0)",
            "fieldcode": 1000014,
            "id": "S010000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2006-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "S_OverTimeSubstFree",
            "fieldcode": 1000220,
            "id": "U010000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2006-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% + S_TaskWage + S_TaskWageOper",
            "fieldcode": 1000027,
            "id": "V010000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2006-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "S_OldOvertimeHours",
            "fieldcode": 1000222,
            "id": "E110000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2006-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "NxRoundByValue(TotalWorkTime + S_OverTimeSubstFreeTotal + S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime, 1, 0.01) >= NxRoundByValue(WorkingFund - TotalAbsence, 1, 0.01)",
            "condition": "",
            "errormessage": "Celkový odpracovaný čas neodpovídá fondu pracovní doby!",
            "errorseverity": 1,
            "explanation": "",
            "expression": "%V% + S_TimeWage + S_OperWageTotal + WageForUnit * \r\n(If(S_TaskWageTotal>0, S_MixedHoursTotal, TotalWorkTime) - \r\nif(S_OperWageTotal>0, S_OperHoursTotal, 0))",
            "fieldcode": 1000029,
            "id": "F110000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2006-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if(CalcAvgNetWage, WageConstant('S_TydnyMes', WagePeriod_ID.ID) * S_AverageCorrect * CalendarDuty, 0) ",
            "fieldcode": 1000208,
            "id": "F210000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 257,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2006-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if(WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, WagePeriod_ID.ID, '',0) <> 0,\r\n   WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, WagePeriod_ID.ID, '',1) \/ \r\n   NxMax(WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, WagePeriod_ID.ID, '',0) , 1), \r\n   if(CalendarDuty > 0, \r\n   CalendarDuty \/ 5, \r\n   S_NormalDuty \/ 5))",
            "fieldcode": 1000238,
            "id": "I210000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "1",
            "fieldcode": 1000240,
            "id": "K210000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% + S_GrossWage + S_TaskWageTotal + \r\nS_ApprenticeFeeTotal + \r\nS_TimeWageTotal + S_PersonalChargeTotal + \r\nS_ChiefChargeTotal + S_SubChargeTotal + \r\nif(S_RenumerationForm = 2 {plat}, S_WEndChargeTotal, 0) + \r\nS_OtherCharges + \r\nS_NaturalWageTotal + S_LostWageCompens + \r\nS_BonusTotal + S_RewardTotal+ \r\nS_RewardLongTermTotal + S_RewardSixMonthTotal + \r\nS_RewardTwelveMonthTotal + S_ThirteenTotal + \r\nS_FourteenTotal + S_SickCompBoost",
            "fieldcode": 1000100,
            "id": "U410000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2008-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% + If(NxIBetween(WorkingRelation_ID.TypeOfActivity, 3, 6), \r\nGrossWageTotal, S_ExitCompTotal + S_ExitFee) +\r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal",
            "fieldcode": 1000102,
            "id": "T510000000",
            "objversion": 4,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2011-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if(MainWorkingRelation,\r\n  if((S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar > 0), \r\n    NxMax(S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar, \r\n          WageConstant('S_MinAuto', WagePeriod_ID.ID)), \r\n    0), \r\n  0)",
            "fieldcode": 1000264,
            "id": "0T10000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2011-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "(WorkingRelation_ID.WageAmount>0) or (WorkingRelation_ID.FeeAmount>0) ",
            "condition": "",
            "errormessage": "Není zadána položka 'Mzda - částka' příp. 'Částka' odměny v pracovním poměru. Tento stav může vést k chybě ve výpočtu.",
            "errorseverity": 1,
            "explanation": "",
            "expression": "If(WorkingRelation_ID.TypeOfWage=0,\r\n WorkingRelation_ID.WageAmount, \r\nif(MonthFund=0, 0, \r\nWorkingRelation_ID.WageAmount \/ (MonthFund + if((S_FeastMode > 1), WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID,WagePeriod_ID.ID, '', 4),0))))",
            "fieldcode": 308,
            "id": "DY20000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2021-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% + S_FeastChargeTotal + S_NightChargeTotal + \r\nS_EnvChargeTotal + S_OverTimeChargeTotal + \r\nS_PaidFeastCompTotal + S_PaidFreeCompTotal + \r\nS_HolidayCompTotal + S_PaidHolidayCompTotal +\r\nS_OldHolidayCompsTotal + S_PaidOldHolidayCompsTotal + \r\nS_ReadinessCompTotal + S_OtherCompensations + \r\nS_ExitCompTotal + S_ExitFee + S_ChildAndYouthCompsTotal + \r\nif((S_RenumerationForm < 2) {mzda}, S_WEndChargeTotal, 0) + \r\nS_DisasterCompTotal + S_MalfuncCompTotal + S_OtherObstCompTotal + \r\nS_PercentOfAvgCompTotal + S_KurzArbeitAmount",
            "fieldcode": 1000101,
            "id": "EY20000000",
            "objversion": 4,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2021-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "%V% <= WorkingFund",
            "condition": "if((WorkingFund=0),True,True)\r\n{Toto donutí výpočet aby se napočetla položka WorkingFund}",
            "errormessage": "%1:s přesahuje fond pracovní doby. Chyba může být způsobena tím,\r\nže se časově překrývají zadané nepřítomnosti nebo nemocenské dávky.",
            "errorseverity": 1,
            "explanation": "",
            "expression": "{TotalAbsence - 01.01.2022}\r\n%V% + WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 5, 2) + \r\n      if((WorkingRelation_ID.TypeOfWage = 1) and (S_FeastMode = 1),      \r\n      WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) +\r\n      WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4),\r\n      (-1) * (S_FeastHourInAbsenceAndSickness - \r\n             (WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) + \r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4) +\r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 0, 4) +\r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 1, 4) + \r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 4, 4))))",
            "fieldcode": 305,
            "id": "JY20000000",
            "objversion": 2,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2021-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_ExecutiveFeeTotal + S_CorporateFeeTotal + S_SurChargeTotal + S_POL_Wage + S_MealAmountOverLimitTotal - S_ApprenticeFeeTotal)",
            "fieldcode": 1000164,
            "id": "SY20000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 258,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2020-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if(((S_PaidFreeTotal <> 0) or\r\n   (HolidayTotal <> 0) or\r\n   (PaidHolidayTotal <> 0) or\r\n   (S_DisasterCompTime <> 0) or\r\n   (S_MalfunctionCompTime <> 0) or\r\n   (S_OtherObstructionCompTime <> 0) or\r\n   (S_PercentOfAvgCompTime <> 0) or\r\n   (S_WEndHoursTotal <> 0) or\r\n   (S_OverTimeTotal <> 0) or\r\n   (S_FeastHoursTotal <> 0) or\r\n   (S_NightHoursTotal <> 0) or\r\n   (S_OldOvertimeHoursTotal <> 0) or\r\n   (S_ExitClaim) or\r\n   (S_ArmyExerciseTotal <> 0) or\r\n   (S_ArmyDuty <> 0) or\r\n   (S_ReadinessTotal <> 0) or\r\n   (S_PaidFeastTotal <> 0) or\r\n   (S_OldHolidayHoursTotal <> 0) or\r\n   (S_PaidOldHolidayHoursTotal <> 0) or\r\n   (S_ChildAndYouthHoursTotal <> 0) or\r\n   (S_QuarantineCalDays <> 0) or\r\n   (S_KurzArbeitHours <> 0) or\r\n   (CalcAvgNetWage)),\r\n   NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), WorkingRelation_ID.JobGroup_ID.HourClaim) * S_MinWageCoef *\r\n   (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, 40\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), 40\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
            "fieldcode": 1000207,
            "id": "7Z20000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2022-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if((NxDateToFloat(Employee_ID.S_DisabilityPensionFrom) > 0) and \r\n   (NxDateToFloat(Employee_ID.S_DisabilityPensionFrom) <= NxDateToFloat(WageListFrom)),2,1) ",
            "fieldcode": 1000265,
            "id": "QT10000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2013-07-31T22:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if((WorkingRelation_ID.TypeOfActivity = 5) and \r\n    not WorkingRelation_ID.PartTimeJob,\r\n    S_SocialInsBaseTotal - S_ExecutiveFeeTotal - S_CorporateFeeTotal, \r\n    0)",
            "fieldcode": 1000262,
            "id": "UT10000000",
            "objversion": 2,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2013-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if(WorkingRelation_ID.PartTimeJob,\r\n    S_SocialInsBaseTotal, \r\n    0)",
            "fieldcode": 1000266,
            "id": "WT10000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2013-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if(((WorkingRelation_ID.TypeOfActivity = 3) or ((WorkingRelation_ID.TypeOfActivity = 5) and\r\n    WorkingRelation_ID.PartTimeJob) or (WorkingRelation_ID.TypeOfActivity = 6)),\r\n    S_HealthInsBaseTotal - S_ExecutiveFeeTotal - S_CorporateFeeTotal,\r\n    0)",
            "fieldcode": 1000269,
            "id": "JU10000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2014-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "if(NxValueCreate('CheckInsuranceIn'), '', '') +\r\nif(NxValueSet('CheckInsuranceIn', 'V aktuálním mzdovém období je zaměstnanec účasten zdravotního pojištění.\r\nProtože chybí mzdové listy za předchozí období, není možné zkontrolovat, zda byl účasten také v minulém mzd.období.\r\nZkontrolujte, zda není nutné zaměstnance přihlásit na ZP.'), '', '') +\r\nif(NxValueCreate('CheckInsuranceOut'), '', '') +\r\nif(NxValueSet('CheckInsuranceOut', 'V aktuálním mzdovém období není zaměstnanec účasten zdravotního pojištění. Protože chybí mzdové listy za předchozí období, není možné zkontrolovat, zda nebyl účasten také v minulém mzd.období. Zkontrolujte, zda není nutné zaměstnance odhlásit od ZP.'), '', '') +\r\nif(NxValueCreate('InsuranceIn'), '', '') +\r\nif(NxValueSet('InsuranceIn', 'Zaměstnanec je od aktuálního období účasten ZP. Zaměstnance je nutné přihlásit na ZP k prvnímu dni aktuálního období.'), '', '') +\r\nif(NxValueCreate('InsuranceOut'), '', '') +\r\nif(NxValueSet('InsuranceOut', 'Zaměstnanec není od aktuálního období účasten ZP. Zaměstnance je nutné odhlásit na ZP k poslednímu dni minulého období.'), '', '') +\r\nif(NxValueCreate('EmpNotPayHealthIns'),'','') +\r\nif(NxValueSet('EmpNotPayHealthIns',\r\n  WageEmployeeHistoryValue(Employee_ID.ID, WagePeriod_ID.ID, 'NotPayHealthIns') or\r\n  WageEmployeeHistoryValue(Employee_ID.ID, WagePeriod_ID.ID, 'S_InsurancePaidInEHP')),'','') +\r\nif(WagePeriodForDate(WorkingRelation_ID.DateOfBegin$DATE, 0) = WagePeriod_ID.ID,\r\n  '', {Pracovní poměr začal v aktuálním období->nic se nehlásí}\r\n  if(NxValueCreate('S_IsHealthInsurancePrev'), '', '') + \r\n  if(NxValueSet('S_IsHealthInsurancePrev', WageListPartialSumBack(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_IsHealthInsurance', 1, True)), '', '') + \r\n  if((NxValueGet('S_IsHealthInsurancePrev') = 0) and not (NxValueGet('EmpNotPayHealthIns')),\r\n    if(S_IsHealthInsurance = 2,\r\n      NxValueGet('CheckInsuranceIn'),\r\n      NxValueGet('CheckInsuranceOut')\r\n    ),\r\n    if(NxValueGet('S_IsHealthInsurancePrev') = S_IsHealthInsurance,\r\n      '', {V minulém i současném období stejná hodnota -> nic se nehlásí}\r\n      if((NxValueGet('S_IsHealthInsurancePrev') = 1) and (S_IsHealthInsurance = 2),\r\n        NxValueGet('InsuranceIn'),\r\n        if((NxValueGet('S_IsHealthInsurancePrev') = 2) and (S_IsHealthInsurance = 1),\r\n          NxValueGet('InsuranceOut'), '' \r\n        )\r\n      )\r\n    )\r\n  )\r\n) +\r\nif(NxValueDestroy('CheckInsuranceIn'), '', '') +\r\nif(NxValueDestroy('CheckInsuranceOut'), '', '') +   \r\nif(NxValueDestroy('InsuranceIn'), '', '') +\r\nif(NxValueDestroy('InsuranceOut'), '', '')+\r\nif(NxValueDestroy('EmpNotPayHealthIns'), '', '')",
            "condition": "",
            "errormessage": "%2:s",
            "errorseverity": 1,
            "explanation": "",
            "expression": "if((GrossWageTotal=0), 0,0)",
            "fieldcode": 1000255,
            "id": "PV10000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2018-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% \r\n+ S_WorkHoursOper \r\n+ If(WorkingRelation_ID.CalcWorkingHours, \r\n     NxMax(0, \r\n           WorkingFund - TotalAbsence - S_OvertimeSubstFreeTotal \r\n             + (S_WorkDays * S_AvgShiftLength) \r\n             + S_WorkHours \r\n             - (S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime))\r\n             - If(S_FeastMode=2,\r\n                  WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 0, 5),\r\n                  0), \r\n    (S_WorkDaysTotal * S_AvgShiftLength) + S_WorkHours)                \r\n   ",
            "fieldcode": 1000021,
            "id": "7W20000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2020-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "S_KurzArbeitHours * (WageConstant('S_KurzArbeit', WagePeriod_ID.ID) \/ 100) * S_AverageCorrect",
            "fieldcode": 1000330,
            "id": "2Y20000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2021-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 1, 2, 11)",
            "fieldcode": 1000329,
            "id": "3Y20000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2021-12-31T23:00:00.000Z"
        }
    ],
    "hidden": false,
    "createdby_id": "SUPER00000",
    "correctedby_id": null,
    "code": "MDZakl",
    "name": "Dílčí ML, základní",
    "system": true,
    "clsid": "W1ZICXOZCBF13JXS00KEZYD5AW",
    "specification": 0,
    "calcfieldsspecialbehaviour": false,
    "sourcechart_id": null,
    "copied": false,
    "scripts": []
}
Request

POST

https://atd.abra.eu/demodata/execcalccharts?select=id
Body
{
    "calcfieldsspecialbehaviour": false,
    "clsid": "W1ZICXOZCBF13JXS00KEZYD5AW",
    "code": "MDZakl",
    "copied": false,
    "correctedby_id": null,
    "createdby_id": "SUPER00000",
    "hidden": false,
    "name": "Dílčí ML, základní",
    "rows": [
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWageListRealFrom, WageListTo, 1) + \r\nIf((WorkingRelation_ID.TypeOfWage=1) and (S_FeastMode = 1), \r\nWageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWageListFrom, WageListTo, 4), 0)",
            "fieldcode": 307,
            "id": "2000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "if(CalendarDuty = 0, \r\n   True,\r\n   if(NxAbs(((%V%+ \r\nIf( not ((WorkingRelation_ID.TypeOfWage=1) and (S_FeastMode = 1)), \r\nWageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWagePeriod_ID.ID, '', 4), 0)) \/ WageConstant('S_TydnyMes', WagePeriod_ID.ID)) - CalendarDuty) > \r\n      WageConstant('S_TolUvaz', Wageperiod_ID.ID), False, True))",
            "condition": "",
            "errormessage": "Úvazek na pracovním kalendáři může být špatně nastaven! Podíl měsíčního fondu a průměrného počtu týdnů v měsíci se liší od úvazku nastaveného na kalendáři o více, než je nastaveno v globální proměnné S_TolUvaz.",
            "errorseverity": 1,
            "explanation": "",
            "expression": "WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWagePeriod_ID.ID, '', 1) + \r\nIf((WorkingRelation_ID.TypeOfWage=1) and (S_FeastMode = 1), \r\nWageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWagePeriod_ID.ID, '', 4), 0)",
            "fieldcode": 306,
            "id": "3000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "S_WorkHoursTotal",
            "fieldcode": 313,
            "id": "5000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% + S_WorkDays + S_WorkDaysOper",
            "fieldcode": 1000019,
            "id": "7000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% + S_MixedHours + S_OperHoursTotal",
            "fieldcode": 1000023,
            "id": "8000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "%V% >= 0",
            "condition": "",
            "errormessage": "Hrubá mzda je záporná, %0:g!",
            "errorseverity": 2,
            "explanation": "",
            "expression": "S_BaseWage + S_ChargesAndCompens + S_SurChargeGuaranteedTotal + S_InventionReward",
            "fieldcode": 312,
            "id": "E000000000",
            "objversion": 3,
            "parent_id": "1000000000",
            "rounding": 258,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% + S_TravelComp + S_TravelCompOper",
            "fieldcode": 1000167,
            "id": "H000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "",
            "fieldcode": 1000182,
            "id": "I000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "0",
            "fieldcode": 314,
            "id": "J000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "0",
            "fieldcode": 315,
            "id": "K000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "NxRoundByValue(WorkingFund * if(CalendarDuty > 0, (S_NormalDuty \/ CalendarDuty), 1),1,0.01)",
            "fieldcode": 1000205,
            "id": "5G00000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "3",
            "fieldcode": 1000201,
            "id": "0010000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2008-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "If(WorkingRelation_ID.IndividualWeekDuty > 0,\r\nWorkingRelation_ID.IndividualWeekDuty, WageConstant('S_NormUvaz',WagePeriod_ID.ID))",
            "fieldcode": 1000212,
            "id": "E010000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "If(WorkingRelation_ID.FeastMode > 0, if(WorkingRelation_ID.FeastMode = 2, 2, 1),WageConstant('S_SvTyp',WagePeriod_ID.ID) + 1)",
            "fieldcode": 1000219,
            "id": "O010000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "S_UnresolvedOvertime + \r\nWageListPartialSumForDates(WorkingRelation_ID.ID, \r\n                           NxIncMonth(NxDateToFloat(WagePeriod_ID.DateFrom$DATE),-1), \r\n                           NxDateToFloat(WagePeriod_ID.DateFrom$DATE) - 1,'S_UnresolvedOvertimeTotal') -\r\n(S_OverTimeSubstFreeTotal + S_OldOvertimeHoursTotal)                           ",
            "fieldcode": 1000216,
            "id": "P010000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2006-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "(%V% + WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OverTimeTotal', False, True) - \r\nS_OvertimeSubstFreeTotal - WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OvertimeSubstFreeTotal', False, True) +\r\nS_OldOvertimeHoursTotal +  WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OldOvertimeHoursTotal', False, True) -\r\nS_UnresolvedOvertime -  WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_UnresolvedOvertime', False, True) -\r\nWageListPartialSumForDates(WorkingRelation_ID.ID, NxDateStop(WagePeriod_ID.WPeriodYear - 1)-30, NxDateStop(WagePeriod_ID.WPeriodYear - 1), 'S_UnresolvedOvertimeTotal'))\r\n <= WageConstant('S_MaxPresc', WagePeriod_ID.ID)",
            "condition": "",
            "errormessage": "Přesčas za rok překročil povolenou mez!",
            "errorseverity": 1,
            "explanation": "",
            "expression": "%V% + S_OverTime + if(WorkingRelation_ID.CalcOverTime, NxMax(TotalWorkTime + TotalAbsence + S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime - S_OverTimeAbsence - S_WorkingFundForOverTime, 0), 0)",
            "fieldcode": 1000014,
            "id": "S010000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2006-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "S_OverTimeSubstFree",
            "fieldcode": 1000220,
            "id": "U010000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2006-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% + S_TaskWage + S_TaskWageOper",
            "fieldcode": 1000027,
            "id": "V010000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2006-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "S_OldOvertimeHours",
            "fieldcode": 1000222,
            "id": "E110000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2006-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "NxRoundByValue(TotalWorkTime + S_OverTimeSubstFreeTotal + S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime, 1, 0.01) >= NxRoundByValue(WorkingFund - TotalAbsence, 1, 0.01)",
            "condition": "",
            "errormessage": "Celkový odpracovaný čas neodpovídá fondu pracovní doby!",
            "errorseverity": 1,
            "explanation": "",
            "expression": "%V% + S_TimeWage + S_OperWageTotal + WageForUnit * \r\n(If(S_TaskWageTotal>0, S_MixedHoursTotal, TotalWorkTime) - \r\nif(S_OperWageTotal>0, S_OperHoursTotal, 0))",
            "fieldcode": 1000029,
            "id": "F110000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2006-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if(CalcAvgNetWage, WageConstant('S_TydnyMes', WagePeriod_ID.ID) * S_AverageCorrect * CalendarDuty, 0) ",
            "fieldcode": 1000208,
            "id": "F210000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 257,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2006-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if(WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, WagePeriod_ID.ID, '',0) <> 0,\r\n   WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, WagePeriod_ID.ID, '',1) \/ \r\n   NxMax(WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, WagePeriod_ID.ID, '',0) , 1), \r\n   if(CalendarDuty > 0, \r\n   CalendarDuty \/ 5, \r\n   S_NormalDuty \/ 5))",
            "fieldcode": 1000238,
            "id": "I210000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "1",
            "fieldcode": 1000240,
            "id": "K210000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% + S_GrossWage + S_TaskWageTotal + \r\nS_ApprenticeFeeTotal + \r\nS_TimeWageTotal + S_PersonalChargeTotal + \r\nS_ChiefChargeTotal + S_SubChargeTotal + \r\nif(S_RenumerationForm = 2 {plat}, S_WEndChargeTotal, 0) + \r\nS_OtherCharges + \r\nS_NaturalWageTotal + S_LostWageCompens + \r\nS_BonusTotal + S_RewardTotal+ \r\nS_RewardLongTermTotal + S_RewardSixMonthTotal + \r\nS_RewardTwelveMonthTotal + S_ThirteenTotal + \r\nS_FourteenTotal + S_SickCompBoost",
            "fieldcode": 1000100,
            "id": "U410000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2008-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% + If(NxIBetween(WorkingRelation_ID.TypeOfActivity, 3, 6), \r\nGrossWageTotal, S_ExitCompTotal + S_ExitFee) +\r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal",
            "fieldcode": 1000102,
            "id": "T510000000",
            "objversion": 4,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2011-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if(MainWorkingRelation,\r\n  if((S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar > 0), \r\n    NxMax(S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar, \r\n          WageConstant('S_MinAuto', WagePeriod_ID.ID)), \r\n    0), \r\n  0)",
            "fieldcode": 1000264,
            "id": "0T10000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2011-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "(WorkingRelation_ID.WageAmount>0) or (WorkingRelation_ID.FeeAmount>0) ",
            "condition": "",
            "errormessage": "Není zadána položka 'Mzda - částka' příp. 'Částka' odměny v pracovním poměru. Tento stav může vést k chybě ve výpočtu.",
            "errorseverity": 1,
            "explanation": "",
            "expression": "If(WorkingRelation_ID.TypeOfWage=0,\r\n WorkingRelation_ID.WageAmount, \r\nif(MonthFund=0, 0, \r\nWorkingRelation_ID.WageAmount \/ (MonthFund + if((S_FeastMode > 1), WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID,WagePeriod_ID.ID, '', 4),0))))",
            "fieldcode": 308,
            "id": "DY20000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2021-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% + S_FeastChargeTotal + S_NightChargeTotal + \r\nS_EnvChargeTotal + S_OverTimeChargeTotal + \r\nS_PaidFeastCompTotal + S_PaidFreeCompTotal + \r\nS_HolidayCompTotal + S_PaidHolidayCompTotal +\r\nS_OldHolidayCompsTotal + S_PaidOldHolidayCompsTotal + \r\nS_ReadinessCompTotal + S_OtherCompensations + \r\nS_ExitCompTotal + S_ExitFee + S_ChildAndYouthCompsTotal + \r\nif((S_RenumerationForm < 2) {mzda}, S_WEndChargeTotal, 0) + \r\nS_DisasterCompTotal + S_MalfuncCompTotal + S_OtherObstCompTotal + \r\nS_PercentOfAvgCompTotal + S_KurzArbeitAmount",
            "fieldcode": 1000101,
            "id": "EY20000000",
            "objversion": 4,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2021-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "%V% <= WorkingFund",
            "condition": "if((WorkingFund=0),True,True)\r\n{Toto donutí výpočet aby se napočetla položka WorkingFund}",
            "errormessage": "%1:s přesahuje fond pracovní doby. Chyba může být způsobena tím,\r\nže se časově překrývají zadané nepřítomnosti nebo nemocenské dávky.",
            "errorseverity": 1,
            "explanation": "",
            "expression": "{TotalAbsence - 01.01.2022}\r\n%V% + WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 5, 2) + \r\n      if((WorkingRelation_ID.TypeOfWage = 1) and (S_FeastMode = 1),      \r\n      WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) +\r\n      WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4),\r\n      (-1) * (S_FeastHourInAbsenceAndSickness - \r\n             (WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) + \r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4) +\r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 0, 4) +\r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 1, 4) + \r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 4, 4))))",
            "fieldcode": 305,
            "id": "JY20000000",
            "objversion": 2,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2021-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_ExecutiveFeeTotal + S_CorporateFeeTotal + S_SurChargeTotal + S_POL_Wage + S_MealAmountOverLimitTotal - S_ApprenticeFeeTotal)",
            "fieldcode": 1000164,
            "id": "SY20000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 258,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2020-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if(((S_PaidFreeTotal <> 0) or\r\n   (HolidayTotal <> 0) or\r\n   (PaidHolidayTotal <> 0) or\r\n   (S_DisasterCompTime <> 0) or\r\n   (S_MalfunctionCompTime <> 0) or\r\n   (S_OtherObstructionCompTime <> 0) or\r\n   (S_PercentOfAvgCompTime <> 0) or\r\n   (S_WEndHoursTotal <> 0) or\r\n   (S_OverTimeTotal <> 0) or\r\n   (S_FeastHoursTotal <> 0) or\r\n   (S_NightHoursTotal <> 0) or\r\n   (S_OldOvertimeHoursTotal <> 0) or\r\n   (S_ExitClaim) or\r\n   (S_ArmyExerciseTotal <> 0) or\r\n   (S_ArmyDuty <> 0) or\r\n   (S_ReadinessTotal <> 0) or\r\n   (S_PaidFeastTotal <> 0) or\r\n   (S_OldHolidayHoursTotal <> 0) or\r\n   (S_PaidOldHolidayHoursTotal <> 0) or\r\n   (S_ChildAndYouthHoursTotal <> 0) or\r\n   (S_QuarantineCalDays <> 0) or\r\n   (S_KurzArbeitHours <> 0) or\r\n   (CalcAvgNetWage)),\r\n   NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), WorkingRelation_ID.JobGroup_ID.HourClaim) * S_MinWageCoef *\r\n   (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, 40\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), 40\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
            "fieldcode": 1000207,
            "id": "7Z20000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2022-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if((NxDateToFloat(Employee_ID.S_DisabilityPensionFrom) > 0) and \r\n   (NxDateToFloat(Employee_ID.S_DisabilityPensionFrom) <= NxDateToFloat(WageListFrom)),2,1) ",
            "fieldcode": 1000265,
            "id": "QT10000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2013-07-31T22:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if((WorkingRelation_ID.TypeOfActivity = 5) and \r\n    not WorkingRelation_ID.PartTimeJob,\r\n    S_SocialInsBaseTotal - S_ExecutiveFeeTotal - S_CorporateFeeTotal, \r\n    0)",
            "fieldcode": 1000262,
            "id": "UT10000000",
            "objversion": 2,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2013-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if(WorkingRelation_ID.PartTimeJob,\r\n    S_SocialInsBaseTotal, \r\n    0)",
            "fieldcode": 1000266,
            "id": "WT10000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2013-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if(((WorkingRelation_ID.TypeOfActivity = 3) or ((WorkingRelation_ID.TypeOfActivity = 5) and\r\n    WorkingRelation_ID.PartTimeJob) or (WorkingRelation_ID.TypeOfActivity = 6)),\r\n    S_HealthInsBaseTotal - S_ExecutiveFeeTotal - S_CorporateFeeTotal,\r\n    0)",
            "fieldcode": 1000269,
            "id": "JU10000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2014-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "if(NxValueCreate('CheckInsuranceIn'), '', '') +\r\nif(NxValueSet('CheckInsuranceIn', 'V aktuálním mzdovém období je zaměstnanec účasten zdravotního pojištění.\r\nProtože chybí mzdové listy za předchozí období, není možné zkontrolovat, zda byl účasten také v minulém mzd.období.\r\nZkontrolujte, zda není nutné zaměstnance přihlásit na ZP.'), '', '') +\r\nif(NxValueCreate('CheckInsuranceOut'), '', '') +\r\nif(NxValueSet('CheckInsuranceOut', 'V aktuálním mzdovém období není zaměstnanec účasten zdravotního pojištění. Protože chybí mzdové listy za předchozí období, není možné zkontrolovat, zda nebyl účasten také v minulém mzd.období. Zkontrolujte, zda není nutné zaměstnance odhlásit od ZP.'), '', '') +\r\nif(NxValueCreate('InsuranceIn'), '', '') +\r\nif(NxValueSet('InsuranceIn', 'Zaměstnanec je od aktuálního období účasten ZP. Zaměstnance je nutné přihlásit na ZP k prvnímu dni aktuálního období.'), '', '') +\r\nif(NxValueCreate('InsuranceOut'), '', '') +\r\nif(NxValueSet('InsuranceOut', 'Zaměstnanec není od aktuálního období účasten ZP. Zaměstnance je nutné odhlásit na ZP k poslednímu dni minulého období.'), '', '') +\r\nif(NxValueCreate('EmpNotPayHealthIns'),'','') +\r\nif(NxValueSet('EmpNotPayHealthIns',\r\n  WageEmployeeHistoryValue(Employee_ID.ID, WagePeriod_ID.ID, 'NotPayHealthIns') or\r\n  WageEmployeeHistoryValue(Employee_ID.ID, WagePeriod_ID.ID, 'S_InsurancePaidInEHP')),'','') +\r\nif(WagePeriodForDate(WorkingRelation_ID.DateOfBegin$DATE, 0) = WagePeriod_ID.ID,\r\n  '', {Pracovní poměr začal v aktuálním období->nic se nehlásí}\r\n  if(NxValueCreate('S_IsHealthInsurancePrev'), '', '') + \r\n  if(NxValueSet('S_IsHealthInsurancePrev', WageListPartialSumBack(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_IsHealthInsurance', 1, True)), '', '') + \r\n  if((NxValueGet('S_IsHealthInsurancePrev') = 0) and not (NxValueGet('EmpNotPayHealthIns')),\r\n    if(S_IsHealthInsurance = 2,\r\n      NxValueGet('CheckInsuranceIn'),\r\n      NxValueGet('CheckInsuranceOut')\r\n    ),\r\n    if(NxValueGet('S_IsHealthInsurancePrev') = S_IsHealthInsurance,\r\n      '', {V minulém i současném období stejná hodnota -> nic se nehlásí}\r\n      if((NxValueGet('S_IsHealthInsurancePrev') = 1) and (S_IsHealthInsurance = 2),\r\n        NxValueGet('InsuranceIn'),\r\n        if((NxValueGet('S_IsHealthInsurancePrev') = 2) and (S_IsHealthInsurance = 1),\r\n          NxValueGet('InsuranceOut'), '' \r\n        )\r\n      )\r\n    )\r\n  )\r\n) +\r\nif(NxValueDestroy('CheckInsuranceIn'), '', '') +\r\nif(NxValueDestroy('CheckInsuranceOut'), '', '') +   \r\nif(NxValueDestroy('InsuranceIn'), '', '') +\r\nif(NxValueDestroy('InsuranceOut'), '', '')+\r\nif(NxValueDestroy('EmpNotPayHealthIns'), '', '')",
            "condition": "",
            "errormessage": "%2:s",
            "errorseverity": 1,
            "explanation": "",
            "expression": "if((GrossWageTotal=0), 0,0)",
            "fieldcode": 1000255,
            "id": "PV10000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2018-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% \r\n+ S_WorkHoursOper \r\n+ If(WorkingRelation_ID.CalcWorkingHours, \r\n     NxMax(0, \r\n           WorkingFund - TotalAbsence - S_OvertimeSubstFreeTotal \r\n             + (S_WorkDays * S_AvgShiftLength) \r\n             + S_WorkHours \r\n             - (S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime))\r\n             - If(S_FeastMode=2,\r\n                  WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 0, 5),\r\n                  0), \r\n    (S_WorkDaysTotal * S_AvgShiftLength) + S_WorkHours)                \r\n   ",
            "fieldcode": 1000021,
            "id": "7W20000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2020-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "S_KurzArbeitHours * (WageConstant('S_KurzArbeit', WagePeriod_ID.ID) \/ 100) * S_AverageCorrect",
            "fieldcode": 1000330,
            "id": "2Y20000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2021-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 1, 2, 11)",
            "fieldcode": 1000329,
            "id": "3Y20000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2021-12-31T23:00:00.000Z"
        }
    ],
    "scripts": [],
    "sourcechart_id": null,
    "specification": 0,
    "system": true
}
Response
{
    "id": "1600000101"
}
Request

PUT

https://atd.abra.eu/demodata/execcalccharts/{id}?select=id
Body
{
    "calcfieldsspecialbehaviour": false,
    "clsid": "W1ZICXOZCBF13JXS00KEZYD5AW",
    "code": "MDZakl",
    "copied": false,
    "correctedby_id": null,
    "createdby_id": "SUPER00000",
    "hidden": false,
    "name": "Dílčí ML, základní",
    "rows": [
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWageListRealFrom, WageListTo, 1) + \r\nIf((WorkingRelation_ID.TypeOfWage=1) and (S_FeastMode = 1), \r\nWageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWageListFrom, WageListTo, 4), 0)",
            "fieldcode": 307,
            "id": "2000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "if(CalendarDuty = 0, \r\n   True,\r\n   if(NxAbs(((%V%+ \r\nIf( not ((WorkingRelation_ID.TypeOfWage=1) and (S_FeastMode = 1)), \r\nWageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWagePeriod_ID.ID, '', 4), 0)) \/ WageConstant('S_TydnyMes', WagePeriod_ID.ID)) - CalendarDuty) > \r\n      WageConstant('S_TolUvaz', Wageperiod_ID.ID), False, True))",
            "condition": "",
            "errormessage": "Úvazek na pracovním kalendáři může být špatně nastaven! Podíl měsíčního fondu a průměrného počtu týdnů v měsíci se liší od úvazku nastaveného na kalendáři o více, než je nastaveno v globální proměnné S_TolUvaz.",
            "errorseverity": 1,
            "explanation": "",
            "expression": "WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWagePeriod_ID.ID, '', 1) + \r\nIf((WorkingRelation_ID.TypeOfWage=1) and (S_FeastMode = 1), \r\nWageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWagePeriod_ID.ID, '', 4), 0)",
            "fieldcode": 306,
            "id": "3000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "S_WorkHoursTotal",
            "fieldcode": 313,
            "id": "5000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% + S_WorkDays + S_WorkDaysOper",
            "fieldcode": 1000019,
            "id": "7000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% + S_MixedHours + S_OperHoursTotal",
            "fieldcode": 1000023,
            "id": "8000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "%V% >= 0",
            "condition": "",
            "errormessage": "Hrubá mzda je záporná, %0:g!",
            "errorseverity": 2,
            "explanation": "",
            "expression": "S_BaseWage + S_ChargesAndCompens + S_SurChargeGuaranteedTotal + S_InventionReward",
            "fieldcode": 312,
            "id": "E000000000",
            "objversion": 3,
            "parent_id": "1000000000",
            "rounding": 258,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% + S_TravelComp + S_TravelCompOper",
            "fieldcode": 1000167,
            "id": "H000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "",
            "fieldcode": 1000182,
            "id": "I000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "0",
            "fieldcode": 314,
            "id": "J000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "0",
            "fieldcode": 315,
            "id": "K000000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "NxRoundByValue(WorkingFund * if(CalendarDuty > 0, (S_NormalDuty \/ CalendarDuty), 1),1,0.01)",
            "fieldcode": 1000205,
            "id": "5G00000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "3",
            "fieldcode": 1000201,
            "id": "0010000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2008-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "If(WorkingRelation_ID.IndividualWeekDuty > 0,\r\nWorkingRelation_ID.IndividualWeekDuty, WageConstant('S_NormUvaz',WagePeriod_ID.ID))",
            "fieldcode": 1000212,
            "id": "E010000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "If(WorkingRelation_ID.FeastMode > 0, if(WorkingRelation_ID.FeastMode = 2, 2, 1),WageConstant('S_SvTyp',WagePeriod_ID.ID) + 1)",
            "fieldcode": 1000219,
            "id": "O010000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "S_UnresolvedOvertime + \r\nWageListPartialSumForDates(WorkingRelation_ID.ID, \r\n                           NxIncMonth(NxDateToFloat(WagePeriod_ID.DateFrom$DATE),-1), \r\n                           NxDateToFloat(WagePeriod_ID.DateFrom$DATE) - 1,'S_UnresolvedOvertimeTotal') -\r\n(S_OverTimeSubstFreeTotal + S_OldOvertimeHoursTotal)                           ",
            "fieldcode": 1000216,
            "id": "P010000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2006-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "(%V% + WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OverTimeTotal', False, True) - \r\nS_OvertimeSubstFreeTotal - WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OvertimeSubstFreeTotal', False, True) +\r\nS_OldOvertimeHoursTotal +  WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OldOvertimeHoursTotal', False, True) -\r\nS_UnresolvedOvertime -  WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_UnresolvedOvertime', False, True) -\r\nWageListPartialSumForDates(WorkingRelation_ID.ID, NxDateStop(WagePeriod_ID.WPeriodYear - 1)-30, NxDateStop(WagePeriod_ID.WPeriodYear - 1), 'S_UnresolvedOvertimeTotal'))\r\n <= WageConstant('S_MaxPresc', WagePeriod_ID.ID)",
            "condition": "",
            "errormessage": "Přesčas za rok překročil povolenou mez!",
            "errorseverity": 1,
            "explanation": "",
            "expression": "%V% + S_OverTime + if(WorkingRelation_ID.CalcOverTime, NxMax(TotalWorkTime + TotalAbsence + S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime - S_OverTimeAbsence - S_WorkingFundForOverTime, 0), 0)",
            "fieldcode": 1000014,
            "id": "S010000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2006-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "S_OverTimeSubstFree",
            "fieldcode": 1000220,
            "id": "U010000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2006-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% + S_TaskWage + S_TaskWageOper",
            "fieldcode": 1000027,
            "id": "V010000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2006-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "S_OldOvertimeHours",
            "fieldcode": 1000222,
            "id": "E110000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2006-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "NxRoundByValue(TotalWorkTime + S_OverTimeSubstFreeTotal + S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime, 1, 0.01) >= NxRoundByValue(WorkingFund - TotalAbsence, 1, 0.01)",
            "condition": "",
            "errormessage": "Celkový odpracovaný čas neodpovídá fondu pracovní doby!",
            "errorseverity": 1,
            "explanation": "",
            "expression": "%V% + S_TimeWage + S_OperWageTotal + WageForUnit * \r\n(If(S_TaskWageTotal>0, S_MixedHoursTotal, TotalWorkTime) - \r\nif(S_OperWageTotal>0, S_OperHoursTotal, 0))",
            "fieldcode": 1000029,
            "id": "F110000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2006-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if(CalcAvgNetWage, WageConstant('S_TydnyMes', WagePeriod_ID.ID) * S_AverageCorrect * CalendarDuty, 0) ",
            "fieldcode": 1000208,
            "id": "F210000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 257,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2006-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if(WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, WagePeriod_ID.ID, '',0) <> 0,\r\n   WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, WagePeriod_ID.ID, '',1) \/ \r\n   NxMax(WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, WagePeriod_ID.ID, '',0) , 1), \r\n   if(CalendarDuty > 0, \r\n   CalendarDuty \/ 5, \r\n   S_NormalDuty \/ 5))",
            "fieldcode": 1000238,
            "id": "I210000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "1",
            "fieldcode": 1000240,
            "id": "K210000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2000-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% + S_GrossWage + S_TaskWageTotal + \r\nS_ApprenticeFeeTotal + \r\nS_TimeWageTotal + S_PersonalChargeTotal + \r\nS_ChiefChargeTotal + S_SubChargeTotal + \r\nif(S_RenumerationForm = 2 {plat}, S_WEndChargeTotal, 0) + \r\nS_OtherCharges + \r\nS_NaturalWageTotal + S_LostWageCompens + \r\nS_BonusTotal + S_RewardTotal+ \r\nS_RewardLongTermTotal + S_RewardSixMonthTotal + \r\nS_RewardTwelveMonthTotal + S_ThirteenTotal + \r\nS_FourteenTotal + S_SickCompBoost",
            "fieldcode": 1000100,
            "id": "U410000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2008-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% + If(NxIBetween(WorkingRelation_ID.TypeOfActivity, 3, 6), \r\nGrossWageTotal, S_ExitCompTotal + S_ExitFee) +\r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal",
            "fieldcode": 1000102,
            "id": "T510000000",
            "objversion": 4,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2011-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if(MainWorkingRelation,\r\n  if((S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar > 0), \r\n    NxMax(S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar, \r\n          WageConstant('S_MinAuto', WagePeriod_ID.ID)), \r\n    0), \r\n  0)",
            "fieldcode": 1000264,
            "id": "0T10000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2011-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "(WorkingRelation_ID.WageAmount>0) or (WorkingRelation_ID.FeeAmount>0) ",
            "condition": "",
            "errormessage": "Není zadána položka 'Mzda - částka' příp. 'Částka' odměny v pracovním poměru. Tento stav může vést k chybě ve výpočtu.",
            "errorseverity": 1,
            "explanation": "",
            "expression": "If(WorkingRelation_ID.TypeOfWage=0,\r\n WorkingRelation_ID.WageAmount, \r\nif(MonthFund=0, 0, \r\nWorkingRelation_ID.WageAmount \/ (MonthFund + if((S_FeastMode > 1), WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID,WagePeriod_ID.ID, '', 4),0))))",
            "fieldcode": 308,
            "id": "DY20000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2021-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% + S_FeastChargeTotal + S_NightChargeTotal + \r\nS_EnvChargeTotal + S_OverTimeChargeTotal + \r\nS_PaidFeastCompTotal + S_PaidFreeCompTotal + \r\nS_HolidayCompTotal + S_PaidHolidayCompTotal +\r\nS_OldHolidayCompsTotal + S_PaidOldHolidayCompsTotal + \r\nS_ReadinessCompTotal + S_OtherCompensations + \r\nS_ExitCompTotal + S_ExitFee + S_ChildAndYouthCompsTotal + \r\nif((S_RenumerationForm < 2) {mzda}, S_WEndChargeTotal, 0) + \r\nS_DisasterCompTotal + S_MalfuncCompTotal + S_OtherObstCompTotal + \r\nS_PercentOfAvgCompTotal + S_KurzArbeitAmount",
            "fieldcode": 1000101,
            "id": "EY20000000",
            "objversion": 4,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2021-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "%V% <= WorkingFund",
            "condition": "if((WorkingFund=0),True,True)\r\n{Toto donutí výpočet aby se napočetla položka WorkingFund}",
            "errormessage": "%1:s přesahuje fond pracovní doby. Chyba může být způsobena tím,\r\nže se časově překrývají zadané nepřítomnosti nebo nemocenské dávky.",
            "errorseverity": 1,
            "explanation": "",
            "expression": "{TotalAbsence - 01.01.2022}\r\n%V% + WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 5, 2) + \r\n      if((WorkingRelation_ID.TypeOfWage = 1) and (S_FeastMode = 1),      \r\n      WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) +\r\n      WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4),\r\n      (-1) * (S_FeastHourInAbsenceAndSickness - \r\n             (WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) + \r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4) +\r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 0, 4) +\r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 1, 4) + \r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 4, 4))))",
            "fieldcode": 305,
            "id": "JY20000000",
            "objversion": 2,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2021-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_ExecutiveFeeTotal + S_CorporateFeeTotal + S_SurChargeTotal + S_POL_Wage + S_MealAmountOverLimitTotal - S_ApprenticeFeeTotal)",
            "fieldcode": 1000164,
            "id": "SY20000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 258,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2020-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if(((S_PaidFreeTotal <> 0) or\r\n   (HolidayTotal <> 0) or\r\n   (PaidHolidayTotal <> 0) or\r\n   (S_DisasterCompTime <> 0) or\r\n   (S_MalfunctionCompTime <> 0) or\r\n   (S_OtherObstructionCompTime <> 0) or\r\n   (S_PercentOfAvgCompTime <> 0) or\r\n   (S_WEndHoursTotal <> 0) or\r\n   (S_OverTimeTotal <> 0) or\r\n   (S_FeastHoursTotal <> 0) or\r\n   (S_NightHoursTotal <> 0) or\r\n   (S_OldOvertimeHoursTotal <> 0) or\r\n   (S_ExitClaim) or\r\n   (S_ArmyExerciseTotal <> 0) or\r\n   (S_ArmyDuty <> 0) or\r\n   (S_ReadinessTotal <> 0) or\r\n   (S_PaidFeastTotal <> 0) or\r\n   (S_OldHolidayHoursTotal <> 0) or\r\n   (S_PaidOldHolidayHoursTotal <> 0) or\r\n   (S_ChildAndYouthHoursTotal <> 0) or\r\n   (S_QuarantineCalDays <> 0) or\r\n   (S_KurzArbeitHours <> 0) or\r\n   (CalcAvgNetWage)),\r\n   NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), WorkingRelation_ID.JobGroup_ID.HourClaim) * S_MinWageCoef *\r\n   (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, 40\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), 40\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
            "fieldcode": 1000207,
            "id": "7Z20000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2022-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if((NxDateToFloat(Employee_ID.S_DisabilityPensionFrom) > 0) and \r\n   (NxDateToFloat(Employee_ID.S_DisabilityPensionFrom) <= NxDateToFloat(WageListFrom)),2,1) ",
            "fieldcode": 1000265,
            "id": "QT10000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2013-07-31T22:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if((WorkingRelation_ID.TypeOfActivity = 5) and \r\n    not WorkingRelation_ID.PartTimeJob,\r\n    S_SocialInsBaseTotal - S_ExecutiveFeeTotal - S_CorporateFeeTotal, \r\n    0)",
            "fieldcode": 1000262,
            "id": "UT10000000",
            "objversion": 2,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2013-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if(WorkingRelation_ID.PartTimeJob,\r\n    S_SocialInsBaseTotal, \r\n    0)",
            "fieldcode": 1000266,
            "id": "WT10000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2013-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "if(((WorkingRelation_ID.TypeOfActivity = 3) or ((WorkingRelation_ID.TypeOfActivity = 5) and\r\n    WorkingRelation_ID.PartTimeJob) or (WorkingRelation_ID.TypeOfActivity = 6)),\r\n    S_HealthInsBaseTotal - S_ExecutiveFeeTotal - S_CorporateFeeTotal,\r\n    0)",
            "fieldcode": 1000269,
            "id": "JU10000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2014-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "if(NxValueCreate('CheckInsuranceIn'), '', '') +\r\nif(NxValueSet('CheckInsuranceIn', 'V aktuálním mzdovém období je zaměstnanec účasten zdravotního pojištění.\r\nProtože chybí mzdové listy za předchozí období, není možné zkontrolovat, zda byl účasten také v minulém mzd.období.\r\nZkontrolujte, zda není nutné zaměstnance přihlásit na ZP.'), '', '') +\r\nif(NxValueCreate('CheckInsuranceOut'), '', '') +\r\nif(NxValueSet('CheckInsuranceOut', 'V aktuálním mzdovém období není zaměstnanec účasten zdravotního pojištění. Protože chybí mzdové listy za předchozí období, není možné zkontrolovat, zda nebyl účasten také v minulém mzd.období. Zkontrolujte, zda není nutné zaměstnance odhlásit od ZP.'), '', '') +\r\nif(NxValueCreate('InsuranceIn'), '', '') +\r\nif(NxValueSet('InsuranceIn', 'Zaměstnanec je od aktuálního období účasten ZP. Zaměstnance je nutné přihlásit na ZP k prvnímu dni aktuálního období.'), '', '') +\r\nif(NxValueCreate('InsuranceOut'), '', '') +\r\nif(NxValueSet('InsuranceOut', 'Zaměstnanec není od aktuálního období účasten ZP. Zaměstnance je nutné odhlásit na ZP k poslednímu dni minulého období.'), '', '') +\r\nif(NxValueCreate('EmpNotPayHealthIns'),'','') +\r\nif(NxValueSet('EmpNotPayHealthIns',\r\n  WageEmployeeHistoryValue(Employee_ID.ID, WagePeriod_ID.ID, 'NotPayHealthIns') or\r\n  WageEmployeeHistoryValue(Employee_ID.ID, WagePeriod_ID.ID, 'S_InsurancePaidInEHP')),'','') +\r\nif(WagePeriodForDate(WorkingRelation_ID.DateOfBegin$DATE, 0) = WagePeriod_ID.ID,\r\n  '', {Pracovní poměr začal v aktuálním období->nic se nehlásí}\r\n  if(NxValueCreate('S_IsHealthInsurancePrev'), '', '') + \r\n  if(NxValueSet('S_IsHealthInsurancePrev', WageListPartialSumBack(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_IsHealthInsurance', 1, True)), '', '') + \r\n  if((NxValueGet('S_IsHealthInsurancePrev') = 0) and not (NxValueGet('EmpNotPayHealthIns')),\r\n    if(S_IsHealthInsurance = 2,\r\n      NxValueGet('CheckInsuranceIn'),\r\n      NxValueGet('CheckInsuranceOut')\r\n    ),\r\n    if(NxValueGet('S_IsHealthInsurancePrev') = S_IsHealthInsurance,\r\n      '', {V minulém i současném období stejná hodnota -> nic se nehlásí}\r\n      if((NxValueGet('S_IsHealthInsurancePrev') = 1) and (S_IsHealthInsurance = 2),\r\n        NxValueGet('InsuranceIn'),\r\n        if((NxValueGet('S_IsHealthInsurancePrev') = 2) and (S_IsHealthInsurance = 1),\r\n          NxValueGet('InsuranceOut'), '' \r\n        )\r\n      )\r\n    )\r\n  )\r\n) +\r\nif(NxValueDestroy('CheckInsuranceIn'), '', '') +\r\nif(NxValueDestroy('CheckInsuranceOut'), '', '') +   \r\nif(NxValueDestroy('InsuranceIn'), '', '') +\r\nif(NxValueDestroy('InsuranceOut'), '', '')+\r\nif(NxValueDestroy('EmpNotPayHealthIns'), '', '')",
            "condition": "",
            "errormessage": "%2:s",
            "errorseverity": 1,
            "explanation": "",
            "expression": "if((GrossWageTotal=0), 0,0)",
            "fieldcode": 1000255,
            "id": "PV10000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2018-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "%V% \r\n+ S_WorkHoursOper \r\n+ If(WorkingRelation_ID.CalcWorkingHours, \r\n     NxMax(0, \r\n           WorkingFund - TotalAbsence - S_OvertimeSubstFreeTotal \r\n             + (S_WorkDays * S_AvgShiftLength) \r\n             + S_WorkHours \r\n             - (S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime))\r\n             - If(S_FeastMode=2,\r\n                  WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 0, 5),\r\n                  0), \r\n    (S_WorkDaysTotal * S_AvgShiftLength) + S_WorkHours)                \r\n   ",
            "fieldcode": 1000021,
            "id": "7W20000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "validfrom$date": "2020-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "S_KurzArbeitHours * (WageConstant('S_KurzArbeit', WagePeriod_ID.ID) \/ 100) * S_AverageCorrect",
            "fieldcode": 1000330,
            "id": "2Y20000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2021-12-31T23:00:00.000Z"
        },
        {
            "checkexpression": "",
            "condition": "",
            "errormessage": "",
            "errorseverity": 0,
            "explanation": "",
            "expression": "WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 1, 2, 11)",
            "fieldcode": 1000329,
            "id": "3Y20000000",
            "objversion": 1,
            "parent_id": "1000000000",
            "rounding": 0,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 0,
            "validfrom$date": "2021-12-31T23:00:00.000Z"
        }
    ],
    "scripts": [],
    "sourcechart_id": null,
    "specification": 0,
    "system": true
}
Response
{
    "id": "1600000101"
}

DELETE

https://atd.abra.eu/demodata/execcalccharts/{id}
Response
200 - OK Everything worked as expected.
Dávkové zprocování záznamů Request

PUT

https://atd.abra.eu/demodata//batch
  • CREATE
  • UPDATE
  • DELETE
Body - Create
{
    "items": [
        {
            "type": "create",
            "id": "id0",
            "data": {
                "class_id": "execcalccharts",
                "object_data": {
                    "calcfieldsspecialbehaviour": false,
                    "clsid": "W1ZICXOZCBF13JXS00KEZYD5AW",
                    "code": "MDZakl",
                    "copied": false,
                    "correctedby_id": null,
                    "createdby_id": "SUPER00000",
                    "hidden": false,
                    "name": "Dílčí ML, základní",
                    "rows": [
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWageListRealFrom, WageListTo, 1) + \r\nIf((WorkingRelation_ID.TypeOfWage=1) and (S_FeastMode = 1), \r\nWageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWageListFrom, WageListTo, 4), 0)",
                            "fieldcode": 307,
                            "id": "2000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "if(CalendarDuty = 0, \r\n   True,\r\n   if(NxAbs(((%V%+ \r\nIf( not ((WorkingRelation_ID.TypeOfWage=1) and (S_FeastMode = 1)), \r\nWageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWagePeriod_ID.ID, '', 4), 0)) \/ WageConstant('S_TydnyMes', WagePeriod_ID.ID)) - CalendarDuty) > \r\n      WageConstant('S_TolUvaz', Wageperiod_ID.ID), False, True))",
                            "condition": "",
                            "errormessage": "Úvazek na pracovním kalendáři může být špatně nastaven! Podíl měsíčního fondu a průměrného počtu týdnů v měsíci se liší od úvazku nastaveného na kalendáři o více, než je nastaveno v globální proměnné S_TolUvaz.",
                            "errorseverity": 1,
                            "explanation": "",
                            "expression": "WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWagePeriod_ID.ID, '', 1) + \r\nIf((WorkingRelation_ID.TypeOfWage=1) and (S_FeastMode = 1), \r\nWageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWagePeriod_ID.ID, '', 4), 0)",
                            "fieldcode": 306,
                            "id": "3000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "S_WorkHoursTotal",
                            "fieldcode": 313,
                            "id": "5000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% + S_WorkDays + S_WorkDaysOper",
                            "fieldcode": 1000019,
                            "id": "7000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% + S_MixedHours + S_OperHoursTotal",
                            "fieldcode": 1000023,
                            "id": "8000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "%V% >= 0",
                            "condition": "",
                            "errormessage": "Hrubá mzda je záporná, %0:g!",
                            "errorseverity": 2,
                            "explanation": "",
                            "expression": "S_BaseWage + S_ChargesAndCompens + S_SurChargeGuaranteedTotal + S_InventionReward",
                            "fieldcode": 312,
                            "id": "E000000000",
                            "objversion": 3,
                            "parent_id": "1000000000",
                            "rounding": 258,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% + S_TravelComp + S_TravelCompOper",
                            "fieldcode": 1000167,
                            "id": "H000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "",
                            "fieldcode": 1000182,
                            "id": "I000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "0",
                            "fieldcode": 314,
                            "id": "J000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "0",
                            "fieldcode": 315,
                            "id": "K000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "NxRoundByValue(WorkingFund * if(CalendarDuty > 0, (S_NormalDuty \/ CalendarDuty), 1),1,0.01)",
                            "fieldcode": 1000205,
                            "id": "5G00000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "3",
                            "fieldcode": 1000201,
                            "id": "0010000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2008-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "If(WorkingRelation_ID.IndividualWeekDuty > 0,\r\nWorkingRelation_ID.IndividualWeekDuty, WageConstant('S_NormUvaz',WagePeriod_ID.ID))",
                            "fieldcode": 1000212,
                            "id": "E010000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "If(WorkingRelation_ID.FeastMode > 0, if(WorkingRelation_ID.FeastMode = 2, 2, 1),WageConstant('S_SvTyp',WagePeriod_ID.ID) + 1)",
                            "fieldcode": 1000219,
                            "id": "O010000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "S_UnresolvedOvertime + \r\nWageListPartialSumForDates(WorkingRelation_ID.ID, \r\n                           NxIncMonth(NxDateToFloat(WagePeriod_ID.DateFrom$DATE),-1), \r\n                           NxDateToFloat(WagePeriod_ID.DateFrom$DATE) - 1,'S_UnresolvedOvertimeTotal') -\r\n(S_OverTimeSubstFreeTotal + S_OldOvertimeHoursTotal)                           ",
                            "fieldcode": 1000216,
                            "id": "P010000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2006-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "(%V% + WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OverTimeTotal', False, True) - \r\nS_OvertimeSubstFreeTotal - WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OvertimeSubstFreeTotal', False, True) +\r\nS_OldOvertimeHoursTotal +  WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OldOvertimeHoursTotal', False, True) -\r\nS_UnresolvedOvertime -  WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_UnresolvedOvertime', False, True) -\r\nWageListPartialSumForDates(WorkingRelation_ID.ID, NxDateStop(WagePeriod_ID.WPeriodYear - 1)-30, NxDateStop(WagePeriod_ID.WPeriodYear - 1), 'S_UnresolvedOvertimeTotal'))\r\n <= WageConstant('S_MaxPresc', WagePeriod_ID.ID)",
                            "condition": "",
                            "errormessage": "Přesčas za rok překročil povolenou mez!",
                            "errorseverity": 1,
                            "explanation": "",
                            "expression": "%V% + S_OverTime + if(WorkingRelation_ID.CalcOverTime, NxMax(TotalWorkTime + TotalAbsence + S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime - S_OverTimeAbsence - S_WorkingFundForOverTime, 0), 0)",
                            "fieldcode": 1000014,
                            "id": "S010000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2006-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "S_OverTimeSubstFree",
                            "fieldcode": 1000220,
                            "id": "U010000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2006-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% + S_TaskWage + S_TaskWageOper",
                            "fieldcode": 1000027,
                            "id": "V010000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2006-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "S_OldOvertimeHours",
                            "fieldcode": 1000222,
                            "id": "E110000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2006-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "NxRoundByValue(TotalWorkTime + S_OverTimeSubstFreeTotal + S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime, 1, 0.01) >= NxRoundByValue(WorkingFund - TotalAbsence, 1, 0.01)",
                            "condition": "",
                            "errormessage": "Celkový odpracovaný čas neodpovídá fondu pracovní doby!",
                            "errorseverity": 1,
                            "explanation": "",
                            "expression": "%V% + S_TimeWage + S_OperWageTotal + WageForUnit * \r\n(If(S_TaskWageTotal>0, S_MixedHoursTotal, TotalWorkTime) - \r\nif(S_OperWageTotal>0, S_OperHoursTotal, 0))",
                            "fieldcode": 1000029,
                            "id": "F110000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2006-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if(CalcAvgNetWage, WageConstant('S_TydnyMes', WagePeriod_ID.ID) * S_AverageCorrect * CalendarDuty, 0) ",
                            "fieldcode": 1000208,
                            "id": "F210000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 257,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2006-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if(WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, WagePeriod_ID.ID, '',0) <> 0,\r\n   WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, WagePeriod_ID.ID, '',1) \/ \r\n   NxMax(WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, WagePeriod_ID.ID, '',0) , 1), \r\n   if(CalendarDuty > 0, \r\n   CalendarDuty \/ 5, \r\n   S_NormalDuty \/ 5))",
                            "fieldcode": 1000238,
                            "id": "I210000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "1",
                            "fieldcode": 1000240,
                            "id": "K210000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% + S_GrossWage + S_TaskWageTotal + \r\nS_ApprenticeFeeTotal + \r\nS_TimeWageTotal + S_PersonalChargeTotal + \r\nS_ChiefChargeTotal + S_SubChargeTotal + \r\nif(S_RenumerationForm = 2 {plat}, S_WEndChargeTotal, 0) + \r\nS_OtherCharges + \r\nS_NaturalWageTotal + S_LostWageCompens + \r\nS_BonusTotal + S_RewardTotal+ \r\nS_RewardLongTermTotal + S_RewardSixMonthTotal + \r\nS_RewardTwelveMonthTotal + S_ThirteenTotal + \r\nS_FourteenTotal + S_SickCompBoost",
                            "fieldcode": 1000100,
                            "id": "U410000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2008-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% + If(NxIBetween(WorkingRelation_ID.TypeOfActivity, 3, 6), \r\nGrossWageTotal, S_ExitCompTotal + S_ExitFee) +\r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal",
                            "fieldcode": 1000102,
                            "id": "T510000000",
                            "objversion": 4,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2011-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if(MainWorkingRelation,\r\n  if((S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar > 0), \r\n    NxMax(S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar, \r\n          WageConstant('S_MinAuto', WagePeriod_ID.ID)), \r\n    0), \r\n  0)",
                            "fieldcode": 1000264,
                            "id": "0T10000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2011-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "(WorkingRelation_ID.WageAmount>0) or (WorkingRelation_ID.FeeAmount>0) ",
                            "condition": "",
                            "errormessage": "Není zadána položka 'Mzda - částka' příp. 'Částka' odměny v pracovním poměru. Tento stav může vést k chybě ve výpočtu.",
                            "errorseverity": 1,
                            "explanation": "",
                            "expression": "If(WorkingRelation_ID.TypeOfWage=0,\r\n WorkingRelation_ID.WageAmount, \r\nif(MonthFund=0, 0, \r\nWorkingRelation_ID.WageAmount \/ (MonthFund + if((S_FeastMode > 1), WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID,WagePeriod_ID.ID, '', 4),0))))",
                            "fieldcode": 308,
                            "id": "DY20000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2021-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% + S_FeastChargeTotal + S_NightChargeTotal + \r\nS_EnvChargeTotal + S_OverTimeChargeTotal + \r\nS_PaidFeastCompTotal + S_PaidFreeCompTotal + \r\nS_HolidayCompTotal + S_PaidHolidayCompTotal +\r\nS_OldHolidayCompsTotal + S_PaidOldHolidayCompsTotal + \r\nS_ReadinessCompTotal + S_OtherCompensations + \r\nS_ExitCompTotal + S_ExitFee + S_ChildAndYouthCompsTotal + \r\nif((S_RenumerationForm < 2) {mzda}, S_WEndChargeTotal, 0) + \r\nS_DisasterCompTotal + S_MalfuncCompTotal + S_OtherObstCompTotal + \r\nS_PercentOfAvgCompTotal + S_KurzArbeitAmount",
                            "fieldcode": 1000101,
                            "id": "EY20000000",
                            "objversion": 4,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2021-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "%V% <= WorkingFund",
                            "condition": "if((WorkingFund=0),True,True)\r\n{Toto donutí výpočet aby se napočetla položka WorkingFund}",
                            "errormessage": "%1:s přesahuje fond pracovní doby. Chyba může být způsobena tím,\r\nže se časově překrývají zadané nepřítomnosti nebo nemocenské dávky.",
                            "errorseverity": 1,
                            "explanation": "",
                            "expression": "{TotalAbsence - 01.01.2022}\r\n%V% + WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 5, 2) + \r\n      if((WorkingRelation_ID.TypeOfWage = 1) and (S_FeastMode = 1),      \r\n      WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) +\r\n      WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4),\r\n      (-1) * (S_FeastHourInAbsenceAndSickness - \r\n             (WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) + \r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4) +\r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 0, 4) +\r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 1, 4) + \r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 4, 4))))",
                            "fieldcode": 305,
                            "id": "JY20000000",
                            "objversion": 2,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2021-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_ExecutiveFeeTotal + S_CorporateFeeTotal + S_SurChargeTotal + S_POL_Wage + S_MealAmountOverLimitTotal - S_ApprenticeFeeTotal)",
                            "fieldcode": 1000164,
                            "id": "SY20000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 258,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2020-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if(((S_PaidFreeTotal <> 0) or\r\n   (HolidayTotal <> 0) or\r\n   (PaidHolidayTotal <> 0) or\r\n   (S_DisasterCompTime <> 0) or\r\n   (S_MalfunctionCompTime <> 0) or\r\n   (S_OtherObstructionCompTime <> 0) or\r\n   (S_PercentOfAvgCompTime <> 0) or\r\n   (S_WEndHoursTotal <> 0) or\r\n   (S_OverTimeTotal <> 0) or\r\n   (S_FeastHoursTotal <> 0) or\r\n   (S_NightHoursTotal <> 0) or\r\n   (S_OldOvertimeHoursTotal <> 0) or\r\n   (S_ExitClaim) or\r\n   (S_ArmyExerciseTotal <> 0) or\r\n   (S_ArmyDuty <> 0) or\r\n   (S_ReadinessTotal <> 0) or\r\n   (S_PaidFeastTotal <> 0) or\r\n   (S_OldHolidayHoursTotal <> 0) or\r\n   (S_PaidOldHolidayHoursTotal <> 0) or\r\n   (S_ChildAndYouthHoursTotal <> 0) or\r\n   (S_QuarantineCalDays <> 0) or\r\n   (S_KurzArbeitHours <> 0) or\r\n   (CalcAvgNetWage)),\r\n   NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), WorkingRelation_ID.JobGroup_ID.HourClaim) * S_MinWageCoef *\r\n   (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, 40\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), 40\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
                            "fieldcode": 1000207,
                            "id": "7Z20000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2022-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if((NxDateToFloat(Employee_ID.S_DisabilityPensionFrom) > 0) and \r\n   (NxDateToFloat(Employee_ID.S_DisabilityPensionFrom) <= NxDateToFloat(WageListFrom)),2,1) ",
                            "fieldcode": 1000265,
                            "id": "QT10000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2013-07-31T22:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if((WorkingRelation_ID.TypeOfActivity = 5) and \r\n    not WorkingRelation_ID.PartTimeJob,\r\n    S_SocialInsBaseTotal - S_ExecutiveFeeTotal - S_CorporateFeeTotal, \r\n    0)",
                            "fieldcode": 1000262,
                            "id": "UT10000000",
                            "objversion": 2,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2013-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if(WorkingRelation_ID.PartTimeJob,\r\n    S_SocialInsBaseTotal, \r\n    0)",
                            "fieldcode": 1000266,
                            "id": "WT10000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2013-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if(((WorkingRelation_ID.TypeOfActivity = 3) or ((WorkingRelation_ID.TypeOfActivity = 5) and\r\n    WorkingRelation_ID.PartTimeJob) or (WorkingRelation_ID.TypeOfActivity = 6)),\r\n    S_HealthInsBaseTotal - S_ExecutiveFeeTotal - S_CorporateFeeTotal,\r\n    0)",
                            "fieldcode": 1000269,
                            "id": "JU10000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2014-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "if(NxValueCreate('CheckInsuranceIn'), '', '') +\r\nif(NxValueSet('CheckInsuranceIn', 'V aktuálním mzdovém období je zaměstnanec účasten zdravotního pojištění.\r\nProtože chybí mzdové listy za předchozí období, není možné zkontrolovat, zda byl účasten také v minulém mzd.období.\r\nZkontrolujte, zda není nutné zaměstnance přihlásit na ZP.'), '', '') +\r\nif(NxValueCreate('CheckInsuranceOut'), '', '') +\r\nif(NxValueSet('CheckInsuranceOut', 'V aktuálním mzdovém období není zaměstnanec účasten zdravotního pojištění. Protože chybí mzdové listy za předchozí období, není možné zkontrolovat, zda nebyl účasten také v minulém mzd.období. Zkontrolujte, zda není nutné zaměstnance odhlásit od ZP.'), '', '') +\r\nif(NxValueCreate('InsuranceIn'), '', '') +\r\nif(NxValueSet('InsuranceIn', 'Zaměstnanec je od aktuálního období účasten ZP. Zaměstnance je nutné přihlásit na ZP k prvnímu dni aktuálního období.'), '', '') +\r\nif(NxValueCreate('InsuranceOut'), '', '') +\r\nif(NxValueSet('InsuranceOut', 'Zaměstnanec není od aktuálního období účasten ZP. Zaměstnance je nutné odhlásit na ZP k poslednímu dni minulého období.'), '', '') +\r\nif(NxValueCreate('EmpNotPayHealthIns'),'','') +\r\nif(NxValueSet('EmpNotPayHealthIns',\r\n  WageEmployeeHistoryValue(Employee_ID.ID, WagePeriod_ID.ID, 'NotPayHealthIns') or\r\n  WageEmployeeHistoryValue(Employee_ID.ID, WagePeriod_ID.ID, 'S_InsurancePaidInEHP')),'','') +\r\nif(WagePeriodForDate(WorkingRelation_ID.DateOfBegin$DATE, 0) = WagePeriod_ID.ID,\r\n  '', {Pracovní poměr začal v aktuálním období->nic se nehlásí}\r\n  if(NxValueCreate('S_IsHealthInsurancePrev'), '', '') + \r\n  if(NxValueSet('S_IsHealthInsurancePrev', WageListPartialSumBack(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_IsHealthInsurance', 1, True)), '', '') + \r\n  if((NxValueGet('S_IsHealthInsurancePrev') = 0) and not (NxValueGet('EmpNotPayHealthIns')),\r\n    if(S_IsHealthInsurance = 2,\r\n      NxValueGet('CheckInsuranceIn'),\r\n      NxValueGet('CheckInsuranceOut')\r\n    ),\r\n    if(NxValueGet('S_IsHealthInsurancePrev') = S_IsHealthInsurance,\r\n      '', {V minulém i současném období stejná hodnota -> nic se nehlásí}\r\n      if((NxValueGet('S_IsHealthInsurancePrev') = 1) and (S_IsHealthInsurance = 2),\r\n        NxValueGet('InsuranceIn'),\r\n        if((NxValueGet('S_IsHealthInsurancePrev') = 2) and (S_IsHealthInsurance = 1),\r\n          NxValueGet('InsuranceOut'), '' \r\n        )\r\n      )\r\n    )\r\n  )\r\n) +\r\nif(NxValueDestroy('CheckInsuranceIn'), '', '') +\r\nif(NxValueDestroy('CheckInsuranceOut'), '', '') +   \r\nif(NxValueDestroy('InsuranceIn'), '', '') +\r\nif(NxValueDestroy('InsuranceOut'), '', '')+\r\nif(NxValueDestroy('EmpNotPayHealthIns'), '', '')",
                            "condition": "",
                            "errormessage": "%2:s",
                            "errorseverity": 1,
                            "explanation": "",
                            "expression": "if((GrossWageTotal=0), 0,0)",
                            "fieldcode": 1000255,
                            "id": "PV10000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2018-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% \r\n+ S_WorkHoursOper \r\n+ If(WorkingRelation_ID.CalcWorkingHours, \r\n     NxMax(0, \r\n           WorkingFund - TotalAbsence - S_OvertimeSubstFreeTotal \r\n             + (S_WorkDays * S_AvgShiftLength) \r\n             + S_WorkHours \r\n             - (S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime))\r\n             - If(S_FeastMode=2,\r\n                  WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 0, 5),\r\n                  0), \r\n    (S_WorkDaysTotal * S_AvgShiftLength) + S_WorkHours)                \r\n   ",
                            "fieldcode": 1000021,
                            "id": "7W20000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2020-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "S_KurzArbeitHours * (WageConstant('S_KurzArbeit', WagePeriod_ID.ID) \/ 100) * S_AverageCorrect",
                            "fieldcode": 1000330,
                            "id": "2Y20000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2021-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 1, 2, 11)",
                            "fieldcode": 1000329,
                            "id": "3Y20000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2021-12-31T23:00:00.000Z"
                        }
                    ],
                    "scripts": [],
                    "sourcechart_id": null,
                    "specification": 0,
                    "system": true
                },
                "query": {
                    "select": [
                        "id"
                    ]
                }
            }
        },
        {
            "type": "create",
            "id": "id1",
            "data": {
                "class_id": "execcalccharts",
                "object_data": {
                    "calcfieldsspecialbehaviour": false,
                    "clsid": "W1ZICXOZCBF13JXS00KEZYD5AW",
                    "code": "MDZakl",
                    "copied": false,
                    "correctedby_id": null,
                    "createdby_id": "SUPER00000",
                    "hidden": false,
                    "name": "Dílčí ML, základní",
                    "rows": [
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWageListRealFrom, WageListTo, 1) + \r\nIf((WorkingRelation_ID.TypeOfWage=1) and (S_FeastMode = 1), \r\nWageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWageListFrom, WageListTo, 4), 0)",
                            "fieldcode": 307,
                            "id": "2000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "if(CalendarDuty = 0, \r\n   True,\r\n   if(NxAbs(((%V%+ \r\nIf( not ((WorkingRelation_ID.TypeOfWage=1) and (S_FeastMode = 1)), \r\nWageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWagePeriod_ID.ID, '', 4), 0)) \/ WageConstant('S_TydnyMes', WagePeriod_ID.ID)) - CalendarDuty) > \r\n      WageConstant('S_TolUvaz', Wageperiod_ID.ID), False, True))",
                            "condition": "",
                            "errormessage": "Úvazek na pracovním kalendáři může být špatně nastaven! Podíl měsíčního fondu a průměrného počtu týdnů v měsíci se liší od úvazku nastaveného na kalendáři o více, než je nastaveno v globální proměnné S_TolUvaz.",
                            "errorseverity": 1,
                            "explanation": "",
                            "expression": "WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWagePeriod_ID.ID, '', 1) + \r\nIf((WorkingRelation_ID.TypeOfWage=1) and (S_FeastMode = 1), \r\nWageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWagePeriod_ID.ID, '', 4), 0)",
                            "fieldcode": 306,
                            "id": "3000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "S_WorkHoursTotal",
                            "fieldcode": 313,
                            "id": "5000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% + S_WorkDays + S_WorkDaysOper",
                            "fieldcode": 1000019,
                            "id": "7000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% + S_MixedHours + S_OperHoursTotal",
                            "fieldcode": 1000023,
                            "id": "8000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "%V% >= 0",
                            "condition": "",
                            "errormessage": "Hrubá mzda je záporná, %0:g!",
                            "errorseverity": 2,
                            "explanation": "",
                            "expression": "S_BaseWage + S_ChargesAndCompens + S_SurChargeGuaranteedTotal + S_InventionReward",
                            "fieldcode": 312,
                            "id": "E000000000",
                            "objversion": 3,
                            "parent_id": "1000000000",
                            "rounding": 258,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% + S_TravelComp + S_TravelCompOper",
                            "fieldcode": 1000167,
                            "id": "H000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "",
                            "fieldcode": 1000182,
                            "id": "I000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "0",
                            "fieldcode": 314,
                            "id": "J000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "0",
                            "fieldcode": 315,
                            "id": "K000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "NxRoundByValue(WorkingFund * if(CalendarDuty > 0, (S_NormalDuty \/ CalendarDuty), 1),1,0.01)",
                            "fieldcode": 1000205,
                            "id": "5G00000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "3",
                            "fieldcode": 1000201,
                            "id": "0010000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2008-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "If(WorkingRelation_ID.IndividualWeekDuty > 0,\r\nWorkingRelation_ID.IndividualWeekDuty, WageConstant('S_NormUvaz',WagePeriod_ID.ID))",
                            "fieldcode": 1000212,
                            "id": "E010000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "If(WorkingRelation_ID.FeastMode > 0, if(WorkingRelation_ID.FeastMode = 2, 2, 1),WageConstant('S_SvTyp',WagePeriod_ID.ID) + 1)",
                            "fieldcode": 1000219,
                            "id": "O010000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "S_UnresolvedOvertime + \r\nWageListPartialSumForDates(WorkingRelation_ID.ID, \r\n                           NxIncMonth(NxDateToFloat(WagePeriod_ID.DateFrom$DATE),-1), \r\n                           NxDateToFloat(WagePeriod_ID.DateFrom$DATE) - 1,'S_UnresolvedOvertimeTotal') -\r\n(S_OverTimeSubstFreeTotal + S_OldOvertimeHoursTotal)                           ",
                            "fieldcode": 1000216,
                            "id": "P010000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2006-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "(%V% + WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OverTimeTotal', False, True) - \r\nS_OvertimeSubstFreeTotal - WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OvertimeSubstFreeTotal', False, True) +\r\nS_OldOvertimeHoursTotal +  WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OldOvertimeHoursTotal', False, True) -\r\nS_UnresolvedOvertime -  WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_UnresolvedOvertime', False, True) -\r\nWageListPartialSumForDates(WorkingRelation_ID.ID, NxDateStop(WagePeriod_ID.WPeriodYear - 1)-30, NxDateStop(WagePeriod_ID.WPeriodYear - 1), 'S_UnresolvedOvertimeTotal'))\r\n <= WageConstant('S_MaxPresc', WagePeriod_ID.ID)",
                            "condition": "",
                            "errormessage": "Přesčas za rok překročil povolenou mez!",
                            "errorseverity": 1,
                            "explanation": "",
                            "expression": "%V% + S_OverTime + if(WorkingRelation_ID.CalcOverTime, NxMax(TotalWorkTime + TotalAbsence + S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime - S_OverTimeAbsence - S_WorkingFundForOverTime, 0), 0)",
                            "fieldcode": 1000014,
                            "id": "S010000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2006-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "S_OverTimeSubstFree",
                            "fieldcode": 1000220,
                            "id": "U010000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2006-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% + S_TaskWage + S_TaskWageOper",
                            "fieldcode": 1000027,
                            "id": "V010000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2006-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "S_OldOvertimeHours",
                            "fieldcode": 1000222,
                            "id": "E110000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2006-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "NxRoundByValue(TotalWorkTime + S_OverTimeSubstFreeTotal + S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime, 1, 0.01) >= NxRoundByValue(WorkingFund - TotalAbsence, 1, 0.01)",
                            "condition": "",
                            "errormessage": "Celkový odpracovaný čas neodpovídá fondu pracovní doby!",
                            "errorseverity": 1,
                            "explanation": "",
                            "expression": "%V% + S_TimeWage + S_OperWageTotal + WageForUnit * \r\n(If(S_TaskWageTotal>0, S_MixedHoursTotal, TotalWorkTime) - \r\nif(S_OperWageTotal>0, S_OperHoursTotal, 0))",
                            "fieldcode": 1000029,
                            "id": "F110000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2006-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if(CalcAvgNetWage, WageConstant('S_TydnyMes', WagePeriod_ID.ID) * S_AverageCorrect * CalendarDuty, 0) ",
                            "fieldcode": 1000208,
                            "id": "F210000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 257,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2006-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if(WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, WagePeriod_ID.ID, '',0) <> 0,\r\n   WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, WagePeriod_ID.ID, '',1) \/ \r\n   NxMax(WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, WagePeriod_ID.ID, '',0) , 1), \r\n   if(CalendarDuty > 0, \r\n   CalendarDuty \/ 5, \r\n   S_NormalDuty \/ 5))",
                            "fieldcode": 1000238,
                            "id": "I210000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "1",
                            "fieldcode": 1000240,
                            "id": "K210000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% + S_GrossWage + S_TaskWageTotal + \r\nS_ApprenticeFeeTotal + \r\nS_TimeWageTotal + S_PersonalChargeTotal + \r\nS_ChiefChargeTotal + S_SubChargeTotal + \r\nif(S_RenumerationForm = 2 {plat}, S_WEndChargeTotal, 0) + \r\nS_OtherCharges + \r\nS_NaturalWageTotal + S_LostWageCompens + \r\nS_BonusTotal + S_RewardTotal+ \r\nS_RewardLongTermTotal + S_RewardSixMonthTotal + \r\nS_RewardTwelveMonthTotal + S_ThirteenTotal + \r\nS_FourteenTotal + S_SickCompBoost",
                            "fieldcode": 1000100,
                            "id": "U410000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2008-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% + If(NxIBetween(WorkingRelation_ID.TypeOfActivity, 3, 6), \r\nGrossWageTotal, S_ExitCompTotal + S_ExitFee) +\r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal",
                            "fieldcode": 1000102,
                            "id": "T510000000",
                            "objversion": 4,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2011-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if(MainWorkingRelation,\r\n  if((S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar > 0), \r\n    NxMax(S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar, \r\n          WageConstant('S_MinAuto', WagePeriod_ID.ID)), \r\n    0), \r\n  0)",
                            "fieldcode": 1000264,
                            "id": "0T10000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2011-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "(WorkingRelation_ID.WageAmount>0) or (WorkingRelation_ID.FeeAmount>0) ",
                            "condition": "",
                            "errormessage": "Není zadána položka 'Mzda - částka' příp. 'Částka' odměny v pracovním poměru. Tento stav může vést k chybě ve výpočtu.",
                            "errorseverity": 1,
                            "explanation": "",
                            "expression": "If(WorkingRelation_ID.TypeOfWage=0,\r\n WorkingRelation_ID.WageAmount, \r\nif(MonthFund=0, 0, \r\nWorkingRelation_ID.WageAmount \/ (MonthFund + if((S_FeastMode > 1), WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID,WagePeriod_ID.ID, '', 4),0))))",
                            "fieldcode": 308,
                            "id": "DY20000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2021-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% + S_FeastChargeTotal + S_NightChargeTotal + \r\nS_EnvChargeTotal + S_OverTimeChargeTotal + \r\nS_PaidFeastCompTotal + S_PaidFreeCompTotal + \r\nS_HolidayCompTotal + S_PaidHolidayCompTotal +\r\nS_OldHolidayCompsTotal + S_PaidOldHolidayCompsTotal + \r\nS_ReadinessCompTotal + S_OtherCompensations + \r\nS_ExitCompTotal + S_ExitFee + S_ChildAndYouthCompsTotal + \r\nif((S_RenumerationForm < 2) {mzda}, S_WEndChargeTotal, 0) + \r\nS_DisasterCompTotal + S_MalfuncCompTotal + S_OtherObstCompTotal + \r\nS_PercentOfAvgCompTotal + S_KurzArbeitAmount",
                            "fieldcode": 1000101,
                            "id": "EY20000000",
                            "objversion": 4,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2021-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "%V% <= WorkingFund",
                            "condition": "if((WorkingFund=0),True,True)\r\n{Toto donutí výpočet aby se napočetla položka WorkingFund}",
                            "errormessage": "%1:s přesahuje fond pracovní doby. Chyba může být způsobena tím,\r\nže se časově překrývají zadané nepřítomnosti nebo nemocenské dávky.",
                            "errorseverity": 1,
                            "explanation": "",
                            "expression": "{TotalAbsence - 01.01.2022}\r\n%V% + WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 5, 2) + \r\n      if((WorkingRelation_ID.TypeOfWage = 1) and (S_FeastMode = 1),      \r\n      WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) +\r\n      WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4),\r\n      (-1) * (S_FeastHourInAbsenceAndSickness - \r\n             (WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) + \r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4) +\r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 0, 4) +\r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 1, 4) + \r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 4, 4))))",
                            "fieldcode": 305,
                            "id": "JY20000000",
                            "objversion": 2,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2021-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_ExecutiveFeeTotal + S_CorporateFeeTotal + S_SurChargeTotal + S_POL_Wage + S_MealAmountOverLimitTotal - S_ApprenticeFeeTotal)",
                            "fieldcode": 1000164,
                            "id": "SY20000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 258,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2020-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if(((S_PaidFreeTotal <> 0) or\r\n   (HolidayTotal <> 0) or\r\n   (PaidHolidayTotal <> 0) or\r\n   (S_DisasterCompTime <> 0) or\r\n   (S_MalfunctionCompTime <> 0) or\r\n   (S_OtherObstructionCompTime <> 0) or\r\n   (S_PercentOfAvgCompTime <> 0) or\r\n   (S_WEndHoursTotal <> 0) or\r\n   (S_OverTimeTotal <> 0) or\r\n   (S_FeastHoursTotal <> 0) or\r\n   (S_NightHoursTotal <> 0) or\r\n   (S_OldOvertimeHoursTotal <> 0) or\r\n   (S_ExitClaim) or\r\n   (S_ArmyExerciseTotal <> 0) or\r\n   (S_ArmyDuty <> 0) or\r\n   (S_ReadinessTotal <> 0) or\r\n   (S_PaidFeastTotal <> 0) or\r\n   (S_OldHolidayHoursTotal <> 0) or\r\n   (S_PaidOldHolidayHoursTotal <> 0) or\r\n   (S_ChildAndYouthHoursTotal <> 0) or\r\n   (S_QuarantineCalDays <> 0) or\r\n   (S_KurzArbeitHours <> 0) or\r\n   (CalcAvgNetWage)),\r\n   NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), WorkingRelation_ID.JobGroup_ID.HourClaim) * S_MinWageCoef *\r\n   (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, 40\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), 40\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
                            "fieldcode": 1000207,
                            "id": "7Z20000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2022-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if((NxDateToFloat(Employee_ID.S_DisabilityPensionFrom) > 0) and \r\n   (NxDateToFloat(Employee_ID.S_DisabilityPensionFrom) <= NxDateToFloat(WageListFrom)),2,1) ",
                            "fieldcode": 1000265,
                            "id": "QT10000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2013-07-31T22:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if((WorkingRelation_ID.TypeOfActivity = 5) and \r\n    not WorkingRelation_ID.PartTimeJob,\r\n    S_SocialInsBaseTotal - S_ExecutiveFeeTotal - S_CorporateFeeTotal, \r\n    0)",
                            "fieldcode": 1000262,
                            "id": "UT10000000",
                            "objversion": 2,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2013-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if(WorkingRelation_ID.PartTimeJob,\r\n    S_SocialInsBaseTotal, \r\n    0)",
                            "fieldcode": 1000266,
                            "id": "WT10000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2013-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if(((WorkingRelation_ID.TypeOfActivity = 3) or ((WorkingRelation_ID.TypeOfActivity = 5) and\r\n    WorkingRelation_ID.PartTimeJob) or (WorkingRelation_ID.TypeOfActivity = 6)),\r\n    S_HealthInsBaseTotal - S_ExecutiveFeeTotal - S_CorporateFeeTotal,\r\n    0)",
                            "fieldcode": 1000269,
                            "id": "JU10000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2014-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "if(NxValueCreate('CheckInsuranceIn'), '', '') +\r\nif(NxValueSet('CheckInsuranceIn', 'V aktuálním mzdovém období je zaměstnanec účasten zdravotního pojištění.\r\nProtože chybí mzdové listy za předchozí období, není možné zkontrolovat, zda byl účasten také v minulém mzd.období.\r\nZkontrolujte, zda není nutné zaměstnance přihlásit na ZP.'), '', '') +\r\nif(NxValueCreate('CheckInsuranceOut'), '', '') +\r\nif(NxValueSet('CheckInsuranceOut', 'V aktuálním mzdovém období není zaměstnanec účasten zdravotního pojištění. Protože chybí mzdové listy za předchozí období, není možné zkontrolovat, zda nebyl účasten také v minulém mzd.období. Zkontrolujte, zda není nutné zaměstnance odhlásit od ZP.'), '', '') +\r\nif(NxValueCreate('InsuranceIn'), '', '') +\r\nif(NxValueSet('InsuranceIn', 'Zaměstnanec je od aktuálního období účasten ZP. Zaměstnance je nutné přihlásit na ZP k prvnímu dni aktuálního období.'), '', '') +\r\nif(NxValueCreate('InsuranceOut'), '', '') +\r\nif(NxValueSet('InsuranceOut', 'Zaměstnanec není od aktuálního období účasten ZP. Zaměstnance je nutné odhlásit na ZP k poslednímu dni minulého období.'), '', '') +\r\nif(NxValueCreate('EmpNotPayHealthIns'),'','') +\r\nif(NxValueSet('EmpNotPayHealthIns',\r\n  WageEmployeeHistoryValue(Employee_ID.ID, WagePeriod_ID.ID, 'NotPayHealthIns') or\r\n  WageEmployeeHistoryValue(Employee_ID.ID, WagePeriod_ID.ID, 'S_InsurancePaidInEHP')),'','') +\r\nif(WagePeriodForDate(WorkingRelation_ID.DateOfBegin$DATE, 0) = WagePeriod_ID.ID,\r\n  '', {Pracovní poměr začal v aktuálním období->nic se nehlásí}\r\n  if(NxValueCreate('S_IsHealthInsurancePrev'), '', '') + \r\n  if(NxValueSet('S_IsHealthInsurancePrev', WageListPartialSumBack(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_IsHealthInsurance', 1, True)), '', '') + \r\n  if((NxValueGet('S_IsHealthInsurancePrev') = 0) and not (NxValueGet('EmpNotPayHealthIns')),\r\n    if(S_IsHealthInsurance = 2,\r\n      NxValueGet('CheckInsuranceIn'),\r\n      NxValueGet('CheckInsuranceOut')\r\n    ),\r\n    if(NxValueGet('S_IsHealthInsurancePrev') = S_IsHealthInsurance,\r\n      '', {V minulém i současném období stejná hodnota -> nic se nehlásí}\r\n      if((NxValueGet('S_IsHealthInsurancePrev') = 1) and (S_IsHealthInsurance = 2),\r\n        NxValueGet('InsuranceIn'),\r\n        if((NxValueGet('S_IsHealthInsurancePrev') = 2) and (S_IsHealthInsurance = 1),\r\n          NxValueGet('InsuranceOut'), '' \r\n        )\r\n      )\r\n    )\r\n  )\r\n) +\r\nif(NxValueDestroy('CheckInsuranceIn'), '', '') +\r\nif(NxValueDestroy('CheckInsuranceOut'), '', '') +   \r\nif(NxValueDestroy('InsuranceIn'), '', '') +\r\nif(NxValueDestroy('InsuranceOut'), '', '')+\r\nif(NxValueDestroy('EmpNotPayHealthIns'), '', '')",
                            "condition": "",
                            "errormessage": "%2:s",
                            "errorseverity": 1,
                            "explanation": "",
                            "expression": "if((GrossWageTotal=0), 0,0)",
                            "fieldcode": 1000255,
                            "id": "PV10000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2018-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% \r\n+ S_WorkHoursOper \r\n+ If(WorkingRelation_ID.CalcWorkingHours, \r\n     NxMax(0, \r\n           WorkingFund - TotalAbsence - S_OvertimeSubstFreeTotal \r\n             + (S_WorkDays * S_AvgShiftLength) \r\n             + S_WorkHours \r\n             - (S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime))\r\n             - If(S_FeastMode=2,\r\n                  WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 0, 5),\r\n                  0), \r\n    (S_WorkDaysTotal * S_AvgShiftLength) + S_WorkHours)                \r\n   ",
                            "fieldcode": 1000021,
                            "id": "7W20000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2020-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "S_KurzArbeitHours * (WageConstant('S_KurzArbeit', WagePeriod_ID.ID) \/ 100) * S_AverageCorrect",
                            "fieldcode": 1000330,
                            "id": "2Y20000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2021-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 1, 2, 11)",
                            "fieldcode": 1000329,
                            "id": "3Y20000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2021-12-31T23:00:00.000Z"
                        }
                    ],
                    "scripts": [],
                    "sourcechart_id": null,
                    "specification": 0,
                    "system": true
                },
                "query": {
                    "select": [
                        "id"
                    ]
                }
            }
        }
    ]
}
Body - Update
{
    "items": [
        {
            "type": "update",
            "id": "id0",
            "data": {
                "class_id": "execcalccharts",
                "obj_id": "1600000100",
                "object_data": {
                    "calcfieldsspecialbehaviour": false,
                    "clsid": "W1ZICXOZCBF13JXS00KEZYD5AW",
                    "code": "MDZakl",
                    "copied": false,
                    "correctedby_id": null,
                    "createdby_id": "SUPER00000",
                    "hidden": false,
                    "name": "Dílčí ML, základní",
                    "rows": [
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWageListRealFrom, WageListTo, 1) + \r\nIf((WorkingRelation_ID.TypeOfWage=1) and (S_FeastMode = 1), \r\nWageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWageListFrom, WageListTo, 4), 0)",
                            "fieldcode": 307,
                            "id": "2000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "if(CalendarDuty = 0, \r\n   True,\r\n   if(NxAbs(((%V%+ \r\nIf( not ((WorkingRelation_ID.TypeOfWage=1) and (S_FeastMode = 1)), \r\nWageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWagePeriod_ID.ID, '', 4), 0)) \/ WageConstant('S_TydnyMes', WagePeriod_ID.ID)) - CalendarDuty) > \r\n      WageConstant('S_TolUvaz', Wageperiod_ID.ID), False, True))",
                            "condition": "",
                            "errormessage": "Úvazek na pracovním kalendáři může být špatně nastaven! Podíl měsíčního fondu a průměrného počtu týdnů v měsíci se liší od úvazku nastaveného na kalendáři o více, než je nastaveno v globální proměnné S_TolUvaz.",
                            "errorseverity": 1,
                            "explanation": "",
                            "expression": "WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWagePeriod_ID.ID, '', 1) + \r\nIf((WorkingRelation_ID.TypeOfWage=1) and (S_FeastMode = 1), \r\nWageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWagePeriod_ID.ID, '', 4), 0)",
                            "fieldcode": 306,
                            "id": "3000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "S_WorkHoursTotal",
                            "fieldcode": 313,
                            "id": "5000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% + S_WorkDays + S_WorkDaysOper",
                            "fieldcode": 1000019,
                            "id": "7000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% + S_MixedHours + S_OperHoursTotal",
                            "fieldcode": 1000023,
                            "id": "8000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "%V% >= 0",
                            "condition": "",
                            "errormessage": "Hrubá mzda je záporná, %0:g!",
                            "errorseverity": 2,
                            "explanation": "",
                            "expression": "S_BaseWage + S_ChargesAndCompens + S_SurChargeGuaranteedTotal + S_InventionReward",
                            "fieldcode": 312,
                            "id": "E000000000",
                            "objversion": 3,
                            "parent_id": "1000000000",
                            "rounding": 258,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% + S_TravelComp + S_TravelCompOper",
                            "fieldcode": 1000167,
                            "id": "H000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "",
                            "fieldcode": 1000182,
                            "id": "I000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "0",
                            "fieldcode": 314,
                            "id": "J000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "0",
                            "fieldcode": 315,
                            "id": "K000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "NxRoundByValue(WorkingFund * if(CalendarDuty > 0, (S_NormalDuty \/ CalendarDuty), 1),1,0.01)",
                            "fieldcode": 1000205,
                            "id": "5G00000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "3",
                            "fieldcode": 1000201,
                            "id": "0010000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2008-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "If(WorkingRelation_ID.IndividualWeekDuty > 0,\r\nWorkingRelation_ID.IndividualWeekDuty, WageConstant('S_NormUvaz',WagePeriod_ID.ID))",
                            "fieldcode": 1000212,
                            "id": "E010000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "If(WorkingRelation_ID.FeastMode > 0, if(WorkingRelation_ID.FeastMode = 2, 2, 1),WageConstant('S_SvTyp',WagePeriod_ID.ID) + 1)",
                            "fieldcode": 1000219,
                            "id": "O010000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "S_UnresolvedOvertime + \r\nWageListPartialSumForDates(WorkingRelation_ID.ID, \r\n                           NxIncMonth(NxDateToFloat(WagePeriod_ID.DateFrom$DATE),-1), \r\n                           NxDateToFloat(WagePeriod_ID.DateFrom$DATE) - 1,'S_UnresolvedOvertimeTotal') -\r\n(S_OverTimeSubstFreeTotal + S_OldOvertimeHoursTotal)                           ",
                            "fieldcode": 1000216,
                            "id": "P010000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2006-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "(%V% + WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OverTimeTotal', False, True) - \r\nS_OvertimeSubstFreeTotal - WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OvertimeSubstFreeTotal', False, True) +\r\nS_OldOvertimeHoursTotal +  WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OldOvertimeHoursTotal', False, True) -\r\nS_UnresolvedOvertime -  WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_UnresolvedOvertime', False, True) -\r\nWageListPartialSumForDates(WorkingRelation_ID.ID, NxDateStop(WagePeriod_ID.WPeriodYear - 1)-30, NxDateStop(WagePeriod_ID.WPeriodYear - 1), 'S_UnresolvedOvertimeTotal'))\r\n <= WageConstant('S_MaxPresc', WagePeriod_ID.ID)",
                            "condition": "",
                            "errormessage": "Přesčas za rok překročil povolenou mez!",
                            "errorseverity": 1,
                            "explanation": "",
                            "expression": "%V% + S_OverTime + if(WorkingRelation_ID.CalcOverTime, NxMax(TotalWorkTime + TotalAbsence + S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime - S_OverTimeAbsence - S_WorkingFundForOverTime, 0), 0)",
                            "fieldcode": 1000014,
                            "id": "S010000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2006-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "S_OverTimeSubstFree",
                            "fieldcode": 1000220,
                            "id": "U010000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2006-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% + S_TaskWage + S_TaskWageOper",
                            "fieldcode": 1000027,
                            "id": "V010000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2006-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "S_OldOvertimeHours",
                            "fieldcode": 1000222,
                            "id": "E110000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2006-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "NxRoundByValue(TotalWorkTime + S_OverTimeSubstFreeTotal + S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime, 1, 0.01) >= NxRoundByValue(WorkingFund - TotalAbsence, 1, 0.01)",
                            "condition": "",
                            "errormessage": "Celkový odpracovaný čas neodpovídá fondu pracovní doby!",
                            "errorseverity": 1,
                            "explanation": "",
                            "expression": "%V% + S_TimeWage + S_OperWageTotal + WageForUnit * \r\n(If(S_TaskWageTotal>0, S_MixedHoursTotal, TotalWorkTime) - \r\nif(S_OperWageTotal>0, S_OperHoursTotal, 0))",
                            "fieldcode": 1000029,
                            "id": "F110000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2006-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if(CalcAvgNetWage, WageConstant('S_TydnyMes', WagePeriod_ID.ID) * S_AverageCorrect * CalendarDuty, 0) ",
                            "fieldcode": 1000208,
                            "id": "F210000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 257,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2006-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if(WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, WagePeriod_ID.ID, '',0) <> 0,\r\n   WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, WagePeriod_ID.ID, '',1) \/ \r\n   NxMax(WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, WagePeriod_ID.ID, '',0) , 1), \r\n   if(CalendarDuty > 0, \r\n   CalendarDuty \/ 5, \r\n   S_NormalDuty \/ 5))",
                            "fieldcode": 1000238,
                            "id": "I210000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "1",
                            "fieldcode": 1000240,
                            "id": "K210000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% + S_GrossWage + S_TaskWageTotal + \r\nS_ApprenticeFeeTotal + \r\nS_TimeWageTotal + S_PersonalChargeTotal + \r\nS_ChiefChargeTotal + S_SubChargeTotal + \r\nif(S_RenumerationForm = 2 {plat}, S_WEndChargeTotal, 0) + \r\nS_OtherCharges + \r\nS_NaturalWageTotal + S_LostWageCompens + \r\nS_BonusTotal + S_RewardTotal+ \r\nS_RewardLongTermTotal + S_RewardSixMonthTotal + \r\nS_RewardTwelveMonthTotal + S_ThirteenTotal + \r\nS_FourteenTotal + S_SickCompBoost",
                            "fieldcode": 1000100,
                            "id": "U410000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2008-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% + If(NxIBetween(WorkingRelation_ID.TypeOfActivity, 3, 6), \r\nGrossWageTotal, S_ExitCompTotal + S_ExitFee) +\r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal",
                            "fieldcode": 1000102,
                            "id": "T510000000",
                            "objversion": 4,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2011-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if(MainWorkingRelation,\r\n  if((S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar > 0), \r\n    NxMax(S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar, \r\n          WageConstant('S_MinAuto', WagePeriod_ID.ID)), \r\n    0), \r\n  0)",
                            "fieldcode": 1000264,
                            "id": "0T10000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2011-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "(WorkingRelation_ID.WageAmount>0) or (WorkingRelation_ID.FeeAmount>0) ",
                            "condition": "",
                            "errormessage": "Není zadána položka 'Mzda - částka' příp. 'Částka' odměny v pracovním poměru. Tento stav může vést k chybě ve výpočtu.",
                            "errorseverity": 1,
                            "explanation": "",
                            "expression": "If(WorkingRelation_ID.TypeOfWage=0,\r\n WorkingRelation_ID.WageAmount, \r\nif(MonthFund=0, 0, \r\nWorkingRelation_ID.WageAmount \/ (MonthFund + if((S_FeastMode > 1), WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID,WagePeriod_ID.ID, '', 4),0))))",
                            "fieldcode": 308,
                            "id": "DY20000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2021-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% + S_FeastChargeTotal + S_NightChargeTotal + \r\nS_EnvChargeTotal + S_OverTimeChargeTotal + \r\nS_PaidFeastCompTotal + S_PaidFreeCompTotal + \r\nS_HolidayCompTotal + S_PaidHolidayCompTotal +\r\nS_OldHolidayCompsTotal + S_PaidOldHolidayCompsTotal + \r\nS_ReadinessCompTotal + S_OtherCompensations + \r\nS_ExitCompTotal + S_ExitFee + S_ChildAndYouthCompsTotal + \r\nif((S_RenumerationForm < 2) {mzda}, S_WEndChargeTotal, 0) + \r\nS_DisasterCompTotal + S_MalfuncCompTotal + S_OtherObstCompTotal + \r\nS_PercentOfAvgCompTotal + S_KurzArbeitAmount",
                            "fieldcode": 1000101,
                            "id": "EY20000000",
                            "objversion": 4,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2021-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "%V% <= WorkingFund",
                            "condition": "if((WorkingFund=0),True,True)\r\n{Toto donutí výpočet aby se napočetla položka WorkingFund}",
                            "errormessage": "%1:s přesahuje fond pracovní doby. Chyba může být způsobena tím,\r\nže se časově překrývají zadané nepřítomnosti nebo nemocenské dávky.",
                            "errorseverity": 1,
                            "explanation": "",
                            "expression": "{TotalAbsence - 01.01.2022}\r\n%V% + WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 5, 2) + \r\n      if((WorkingRelation_ID.TypeOfWage = 1) and (S_FeastMode = 1),      \r\n      WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) +\r\n      WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4),\r\n      (-1) * (S_FeastHourInAbsenceAndSickness - \r\n             (WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) + \r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4) +\r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 0, 4) +\r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 1, 4) + \r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 4, 4))))",
                            "fieldcode": 305,
                            "id": "JY20000000",
                            "objversion": 2,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2021-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_ExecutiveFeeTotal + S_CorporateFeeTotal + S_SurChargeTotal + S_POL_Wage + S_MealAmountOverLimitTotal - S_ApprenticeFeeTotal)",
                            "fieldcode": 1000164,
                            "id": "SY20000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 258,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2020-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if(((S_PaidFreeTotal <> 0) or\r\n   (HolidayTotal <> 0) or\r\n   (PaidHolidayTotal <> 0) or\r\n   (S_DisasterCompTime <> 0) or\r\n   (S_MalfunctionCompTime <> 0) or\r\n   (S_OtherObstructionCompTime <> 0) or\r\n   (S_PercentOfAvgCompTime <> 0) or\r\n   (S_WEndHoursTotal <> 0) or\r\n   (S_OverTimeTotal <> 0) or\r\n   (S_FeastHoursTotal <> 0) or\r\n   (S_NightHoursTotal <> 0) or\r\n   (S_OldOvertimeHoursTotal <> 0) or\r\n   (S_ExitClaim) or\r\n   (S_ArmyExerciseTotal <> 0) or\r\n   (S_ArmyDuty <> 0) or\r\n   (S_ReadinessTotal <> 0) or\r\n   (S_PaidFeastTotal <> 0) or\r\n   (S_OldHolidayHoursTotal <> 0) or\r\n   (S_PaidOldHolidayHoursTotal <> 0) or\r\n   (S_ChildAndYouthHoursTotal <> 0) or\r\n   (S_QuarantineCalDays <> 0) or\r\n   (S_KurzArbeitHours <> 0) or\r\n   (CalcAvgNetWage)),\r\n   NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), WorkingRelation_ID.JobGroup_ID.HourClaim) * S_MinWageCoef *\r\n   (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, 40\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), 40\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
                            "fieldcode": 1000207,
                            "id": "7Z20000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2022-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if((NxDateToFloat(Employee_ID.S_DisabilityPensionFrom) > 0) and \r\n   (NxDateToFloat(Employee_ID.S_DisabilityPensionFrom) <= NxDateToFloat(WageListFrom)),2,1) ",
                            "fieldcode": 1000265,
                            "id": "QT10000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2013-07-31T22:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if((WorkingRelation_ID.TypeOfActivity = 5) and \r\n    not WorkingRelation_ID.PartTimeJob,\r\n    S_SocialInsBaseTotal - S_ExecutiveFeeTotal - S_CorporateFeeTotal, \r\n    0)",
                            "fieldcode": 1000262,
                            "id": "UT10000000",
                            "objversion": 2,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2013-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if(WorkingRelation_ID.PartTimeJob,\r\n    S_SocialInsBaseTotal, \r\n    0)",
                            "fieldcode": 1000266,
                            "id": "WT10000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2013-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if(((WorkingRelation_ID.TypeOfActivity = 3) or ((WorkingRelation_ID.TypeOfActivity = 5) and\r\n    WorkingRelation_ID.PartTimeJob) or (WorkingRelation_ID.TypeOfActivity = 6)),\r\n    S_HealthInsBaseTotal - S_ExecutiveFeeTotal - S_CorporateFeeTotal,\r\n    0)",
                            "fieldcode": 1000269,
                            "id": "JU10000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2014-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "if(NxValueCreate('CheckInsuranceIn'), '', '') +\r\nif(NxValueSet('CheckInsuranceIn', 'V aktuálním mzdovém období je zaměstnanec účasten zdravotního pojištění.\r\nProtože chybí mzdové listy za předchozí období, není možné zkontrolovat, zda byl účasten také v minulém mzd.období.\r\nZkontrolujte, zda není nutné zaměstnance přihlásit na ZP.'), '', '') +\r\nif(NxValueCreate('CheckInsuranceOut'), '', '') +\r\nif(NxValueSet('CheckInsuranceOut', 'V aktuálním mzdovém období není zaměstnanec účasten zdravotního pojištění. Protože chybí mzdové listy za předchozí období, není možné zkontrolovat, zda nebyl účasten také v minulém mzd.období. Zkontrolujte, zda není nutné zaměstnance odhlásit od ZP.'), '', '') +\r\nif(NxValueCreate('InsuranceIn'), '', '') +\r\nif(NxValueSet('InsuranceIn', 'Zaměstnanec je od aktuálního období účasten ZP. Zaměstnance je nutné přihlásit na ZP k prvnímu dni aktuálního období.'), '', '') +\r\nif(NxValueCreate('InsuranceOut'), '', '') +\r\nif(NxValueSet('InsuranceOut', 'Zaměstnanec není od aktuálního období účasten ZP. Zaměstnance je nutné odhlásit na ZP k poslednímu dni minulého období.'), '', '') +\r\nif(NxValueCreate('EmpNotPayHealthIns'),'','') +\r\nif(NxValueSet('EmpNotPayHealthIns',\r\n  WageEmployeeHistoryValue(Employee_ID.ID, WagePeriod_ID.ID, 'NotPayHealthIns') or\r\n  WageEmployeeHistoryValue(Employee_ID.ID, WagePeriod_ID.ID, 'S_InsurancePaidInEHP')),'','') +\r\nif(WagePeriodForDate(WorkingRelation_ID.DateOfBegin$DATE, 0) = WagePeriod_ID.ID,\r\n  '', {Pracovní poměr začal v aktuálním období->nic se nehlásí}\r\n  if(NxValueCreate('S_IsHealthInsurancePrev'), '', '') + \r\n  if(NxValueSet('S_IsHealthInsurancePrev', WageListPartialSumBack(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_IsHealthInsurance', 1, True)), '', '') + \r\n  if((NxValueGet('S_IsHealthInsurancePrev') = 0) and not (NxValueGet('EmpNotPayHealthIns')),\r\n    if(S_IsHealthInsurance = 2,\r\n      NxValueGet('CheckInsuranceIn'),\r\n      NxValueGet('CheckInsuranceOut')\r\n    ),\r\n    if(NxValueGet('S_IsHealthInsurancePrev') = S_IsHealthInsurance,\r\n      '', {V minulém i současném období stejná hodnota -> nic se nehlásí}\r\n      if((NxValueGet('S_IsHealthInsurancePrev') = 1) and (S_IsHealthInsurance = 2),\r\n        NxValueGet('InsuranceIn'),\r\n        if((NxValueGet('S_IsHealthInsurancePrev') = 2) and (S_IsHealthInsurance = 1),\r\n          NxValueGet('InsuranceOut'), '' \r\n        )\r\n      )\r\n    )\r\n  )\r\n) +\r\nif(NxValueDestroy('CheckInsuranceIn'), '', '') +\r\nif(NxValueDestroy('CheckInsuranceOut'), '', '') +   \r\nif(NxValueDestroy('InsuranceIn'), '', '') +\r\nif(NxValueDestroy('InsuranceOut'), '', '')+\r\nif(NxValueDestroy('EmpNotPayHealthIns'), '', '')",
                            "condition": "",
                            "errormessage": "%2:s",
                            "errorseverity": 1,
                            "explanation": "",
                            "expression": "if((GrossWageTotal=0), 0,0)",
                            "fieldcode": 1000255,
                            "id": "PV10000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2018-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% \r\n+ S_WorkHoursOper \r\n+ If(WorkingRelation_ID.CalcWorkingHours, \r\n     NxMax(0, \r\n           WorkingFund - TotalAbsence - S_OvertimeSubstFreeTotal \r\n             + (S_WorkDays * S_AvgShiftLength) \r\n             + S_WorkHours \r\n             - (S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime))\r\n             - If(S_FeastMode=2,\r\n                  WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 0, 5),\r\n                  0), \r\n    (S_WorkDaysTotal * S_AvgShiftLength) + S_WorkHours)                \r\n   ",
                            "fieldcode": 1000021,
                            "id": "7W20000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2020-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "S_KurzArbeitHours * (WageConstant('S_KurzArbeit', WagePeriod_ID.ID) \/ 100) * S_AverageCorrect",
                            "fieldcode": 1000330,
                            "id": "2Y20000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2021-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 1, 2, 11)",
                            "fieldcode": 1000329,
                            "id": "3Y20000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2021-12-31T23:00:00.000Z"
                        }
                    ],
                    "scripts": [],
                    "sourcechart_id": null,
                    "specification": 0,
                    "system": true
                },
                "query": {
                    "select": [
                        "id"
                    ]
                }
            }
        },
        {
            "type": "update",
            "id": "id1",
            "data": {
                "class_id": "execcalccharts",
                "obj_id": "1600000101",
                "object_data": {
                    "calcfieldsspecialbehaviour": false,
                    "clsid": "W1ZICXOZCBF13JXS00KEZYD5AW",
                    "code": "MDZakl",
                    "copied": false,
                    "correctedby_id": null,
                    "createdby_id": "SUPER00000",
                    "hidden": false,
                    "name": "Dílčí ML, základní",
                    "rows": [
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWageListRealFrom, WageListTo, 1) + \r\nIf((WorkingRelation_ID.TypeOfWage=1) and (S_FeastMode = 1), \r\nWageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWageListFrom, WageListTo, 4), 0)",
                            "fieldcode": 307,
                            "id": "2000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "if(CalendarDuty = 0, \r\n   True,\r\n   if(NxAbs(((%V%+ \r\nIf( not ((WorkingRelation_ID.TypeOfWage=1) and (S_FeastMode = 1)), \r\nWageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWagePeriod_ID.ID, '', 4), 0)) \/ WageConstant('S_TydnyMes', WagePeriod_ID.ID)) - CalendarDuty) > \r\n      WageConstant('S_TolUvaz', Wageperiod_ID.ID), False, True))",
                            "condition": "",
                            "errormessage": "Úvazek na pracovním kalendáři může být špatně nastaven! Podíl měsíčního fondu a průměrného počtu týdnů v měsíci se liší od úvazku nastaveného na kalendáři o více, než je nastaveno v globální proměnné S_TolUvaz.",
                            "errorseverity": 1,
                            "explanation": "",
                            "expression": "WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWagePeriod_ID.ID, '', 1) + \r\nIf((WorkingRelation_ID.TypeOfWage=1) and (S_FeastMode = 1), \r\nWageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, \r\nWagePeriod_ID.ID, '', 4), 0)",
                            "fieldcode": 306,
                            "id": "3000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "S_WorkHoursTotal",
                            "fieldcode": 313,
                            "id": "5000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% + S_WorkDays + S_WorkDaysOper",
                            "fieldcode": 1000019,
                            "id": "7000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% + S_MixedHours + S_OperHoursTotal",
                            "fieldcode": 1000023,
                            "id": "8000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "%V% >= 0",
                            "condition": "",
                            "errormessage": "Hrubá mzda je záporná, %0:g!",
                            "errorseverity": 2,
                            "explanation": "",
                            "expression": "S_BaseWage + S_ChargesAndCompens + S_SurChargeGuaranteedTotal + S_InventionReward",
                            "fieldcode": 312,
                            "id": "E000000000",
                            "objversion": 3,
                            "parent_id": "1000000000",
                            "rounding": 258,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% + S_TravelComp + S_TravelCompOper",
                            "fieldcode": 1000167,
                            "id": "H000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "",
                            "fieldcode": 1000182,
                            "id": "I000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "0",
                            "fieldcode": 314,
                            "id": "J000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "0",
                            "fieldcode": 315,
                            "id": "K000000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "NxRoundByValue(WorkingFund * if(CalendarDuty > 0, (S_NormalDuty \/ CalendarDuty), 1),1,0.01)",
                            "fieldcode": 1000205,
                            "id": "5G00000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "3",
                            "fieldcode": 1000201,
                            "id": "0010000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2008-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "If(WorkingRelation_ID.IndividualWeekDuty > 0,\r\nWorkingRelation_ID.IndividualWeekDuty, WageConstant('S_NormUvaz',WagePeriod_ID.ID))",
                            "fieldcode": 1000212,
                            "id": "E010000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "If(WorkingRelation_ID.FeastMode > 0, if(WorkingRelation_ID.FeastMode = 2, 2, 1),WageConstant('S_SvTyp',WagePeriod_ID.ID) + 1)",
                            "fieldcode": 1000219,
                            "id": "O010000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "S_UnresolvedOvertime + \r\nWageListPartialSumForDates(WorkingRelation_ID.ID, \r\n                           NxIncMonth(NxDateToFloat(WagePeriod_ID.DateFrom$DATE),-1), \r\n                           NxDateToFloat(WagePeriod_ID.DateFrom$DATE) - 1,'S_UnresolvedOvertimeTotal') -\r\n(S_OverTimeSubstFreeTotal + S_OldOvertimeHoursTotal)                           ",
                            "fieldcode": 1000216,
                            "id": "P010000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2006-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "(%V% + WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OverTimeTotal', False, True) - \r\nS_OvertimeSubstFreeTotal - WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OvertimeSubstFreeTotal', False, True) +\r\nS_OldOvertimeHoursTotal +  WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OldOvertimeHoursTotal', False, True) -\r\nS_UnresolvedOvertime -  WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_UnresolvedOvertime', False, True) -\r\nWageListPartialSumForDates(WorkingRelation_ID.ID, NxDateStop(WagePeriod_ID.WPeriodYear - 1)-30, NxDateStop(WagePeriod_ID.WPeriodYear - 1), 'S_UnresolvedOvertimeTotal'))\r\n <= WageConstant('S_MaxPresc', WagePeriod_ID.ID)",
                            "condition": "",
                            "errormessage": "Přesčas za rok překročil povolenou mez!",
                            "errorseverity": 1,
                            "explanation": "",
                            "expression": "%V% + S_OverTime + if(WorkingRelation_ID.CalcOverTime, NxMax(TotalWorkTime + TotalAbsence + S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime - S_OverTimeAbsence - S_WorkingFundForOverTime, 0), 0)",
                            "fieldcode": 1000014,
                            "id": "S010000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2006-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "S_OverTimeSubstFree",
                            "fieldcode": 1000220,
                            "id": "U010000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2006-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% + S_TaskWage + S_TaskWageOper",
                            "fieldcode": 1000027,
                            "id": "V010000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2006-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "S_OldOvertimeHours",
                            "fieldcode": 1000222,
                            "id": "E110000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2006-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "NxRoundByValue(TotalWorkTime + S_OverTimeSubstFreeTotal + S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime, 1, 0.01) >= NxRoundByValue(WorkingFund - TotalAbsence, 1, 0.01)",
                            "condition": "",
                            "errormessage": "Celkový odpracovaný čas neodpovídá fondu pracovní doby!",
                            "errorseverity": 1,
                            "explanation": "",
                            "expression": "%V% + S_TimeWage + S_OperWageTotal + WageForUnit * \r\n(If(S_TaskWageTotal>0, S_MixedHoursTotal, TotalWorkTime) - \r\nif(S_OperWageTotal>0, S_OperHoursTotal, 0))",
                            "fieldcode": 1000029,
                            "id": "F110000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2006-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if(CalcAvgNetWage, WageConstant('S_TydnyMes', WagePeriod_ID.ID) * S_AverageCorrect * CalendarDuty, 0) ",
                            "fieldcode": 1000208,
                            "id": "F210000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 257,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2006-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if(WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, WagePeriod_ID.ID, '',0) <> 0,\r\n   WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, WagePeriod_ID.ID, '',1) \/ \r\n   NxMax(WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID, WagePeriod_ID.ID, '',0) , 1), \r\n   if(CalendarDuty > 0, \r\n   CalendarDuty \/ 5, \r\n   S_NormalDuty \/ 5))",
                            "fieldcode": 1000238,
                            "id": "I210000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "1",
                            "fieldcode": 1000240,
                            "id": "K210000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2000-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% + S_GrossWage + S_TaskWageTotal + \r\nS_ApprenticeFeeTotal + \r\nS_TimeWageTotal + S_PersonalChargeTotal + \r\nS_ChiefChargeTotal + S_SubChargeTotal + \r\nif(S_RenumerationForm = 2 {plat}, S_WEndChargeTotal, 0) + \r\nS_OtherCharges + \r\nS_NaturalWageTotal + S_LostWageCompens + \r\nS_BonusTotal + S_RewardTotal+ \r\nS_RewardLongTermTotal + S_RewardSixMonthTotal + \r\nS_RewardTwelveMonthTotal + S_ThirteenTotal + \r\nS_FourteenTotal + S_SickCompBoost",
                            "fieldcode": 1000100,
                            "id": "U410000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2008-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% + If(NxIBetween(WorkingRelation_ID.TypeOfActivity, 3, 6), \r\nGrossWageTotal, S_ExitCompTotal + S_ExitFee) +\r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal",
                            "fieldcode": 1000102,
                            "id": "T510000000",
                            "objversion": 4,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2011-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if(MainWorkingRelation,\r\n  if((S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar > 0), \r\n    NxMax(S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar, \r\n          WageConstant('S_MinAuto', WagePeriod_ID.ID)), \r\n    0), \r\n  0)",
                            "fieldcode": 1000264,
                            "id": "0T10000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2011-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "(WorkingRelation_ID.WageAmount>0) or (WorkingRelation_ID.FeeAmount>0) ",
                            "condition": "",
                            "errormessage": "Není zadána položka 'Mzda - částka' příp. 'Částka' odměny v pracovním poměru. Tento stav může vést k chybě ve výpočtu.",
                            "errorseverity": 1,
                            "explanation": "",
                            "expression": "If(WorkingRelation_ID.TypeOfWage=0,\r\n WorkingRelation_ID.WageAmount, \r\nif(MonthFund=0, 0, \r\nWorkingRelation_ID.WageAmount \/ (MonthFund + if((S_FeastMode > 1), WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID,WagePeriod_ID.ID, '', 4),0))))",
                            "fieldcode": 308,
                            "id": "DY20000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2021-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% + S_FeastChargeTotal + S_NightChargeTotal + \r\nS_EnvChargeTotal + S_OverTimeChargeTotal + \r\nS_PaidFeastCompTotal + S_PaidFreeCompTotal + \r\nS_HolidayCompTotal + S_PaidHolidayCompTotal +\r\nS_OldHolidayCompsTotal + S_PaidOldHolidayCompsTotal + \r\nS_ReadinessCompTotal + S_OtherCompensations + \r\nS_ExitCompTotal + S_ExitFee + S_ChildAndYouthCompsTotal + \r\nif((S_RenumerationForm < 2) {mzda}, S_WEndChargeTotal, 0) + \r\nS_DisasterCompTotal + S_MalfuncCompTotal + S_OtherObstCompTotal + \r\nS_PercentOfAvgCompTotal + S_KurzArbeitAmount",
                            "fieldcode": 1000101,
                            "id": "EY20000000",
                            "objversion": 4,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2021-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "%V% <= WorkingFund",
                            "condition": "if((WorkingFund=0),True,True)\r\n{Toto donutí výpočet aby se napočetla položka WorkingFund}",
                            "errormessage": "%1:s přesahuje fond pracovní doby. Chyba může být způsobena tím,\r\nže se časově překrývají zadané nepřítomnosti nebo nemocenské dávky.",
                            "errorseverity": 1,
                            "explanation": "",
                            "expression": "{TotalAbsence - 01.01.2022}\r\n%V% + WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 5, 2) + \r\n      if((WorkingRelation_ID.TypeOfWage = 1) and (S_FeastMode = 1),      \r\n      WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) +\r\n      WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4),\r\n      (-1) * (S_FeastHourInAbsenceAndSickness - \r\n             (WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) + \r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4) +\r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 0, 4) +\r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 1, 4) + \r\n              WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 4, 4))))",
                            "fieldcode": 305,
                            "id": "JY20000000",
                            "objversion": 2,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2021-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_ExecutiveFeeTotal + S_CorporateFeeTotal + S_SurChargeTotal + S_POL_Wage + S_MealAmountOverLimitTotal - S_ApprenticeFeeTotal)",
                            "fieldcode": 1000164,
                            "id": "SY20000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 258,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2020-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if(((S_PaidFreeTotal <> 0) or\r\n   (HolidayTotal <> 0) or\r\n   (PaidHolidayTotal <> 0) or\r\n   (S_DisasterCompTime <> 0) or\r\n   (S_MalfunctionCompTime <> 0) or\r\n   (S_OtherObstructionCompTime <> 0) or\r\n   (S_PercentOfAvgCompTime <> 0) or\r\n   (S_WEndHoursTotal <> 0) or\r\n   (S_OverTimeTotal <> 0) or\r\n   (S_FeastHoursTotal <> 0) or\r\n   (S_NightHoursTotal <> 0) or\r\n   (S_OldOvertimeHoursTotal <> 0) or\r\n   (S_ExitClaim) or\r\n   (S_ArmyExerciseTotal <> 0) or\r\n   (S_ArmyDuty <> 0) or\r\n   (S_ReadinessTotal <> 0) or\r\n   (S_PaidFeastTotal <> 0) or\r\n   (S_OldHolidayHoursTotal <> 0) or\r\n   (S_PaidOldHolidayHoursTotal <> 0) or\r\n   (S_ChildAndYouthHoursTotal <> 0) or\r\n   (S_QuarantineCalDays <> 0) or\r\n   (S_KurzArbeitHours <> 0) or\r\n   (CalcAvgNetWage)),\r\n   NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), WorkingRelation_ID.JobGroup_ID.HourClaim) * S_MinWageCoef *\r\n   (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, 40\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), 40\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
                            "fieldcode": 1000207,
                            "id": "7Z20000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2022-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if((NxDateToFloat(Employee_ID.S_DisabilityPensionFrom) > 0) and \r\n   (NxDateToFloat(Employee_ID.S_DisabilityPensionFrom) <= NxDateToFloat(WageListFrom)),2,1) ",
                            "fieldcode": 1000265,
                            "id": "QT10000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2013-07-31T22:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if((WorkingRelation_ID.TypeOfActivity = 5) and \r\n    not WorkingRelation_ID.PartTimeJob,\r\n    S_SocialInsBaseTotal - S_ExecutiveFeeTotal - S_CorporateFeeTotal, \r\n    0)",
                            "fieldcode": 1000262,
                            "id": "UT10000000",
                            "objversion": 2,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2013-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if(WorkingRelation_ID.PartTimeJob,\r\n    S_SocialInsBaseTotal, \r\n    0)",
                            "fieldcode": 1000266,
                            "id": "WT10000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2013-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "if(((WorkingRelation_ID.TypeOfActivity = 3) or ((WorkingRelation_ID.TypeOfActivity = 5) and\r\n    WorkingRelation_ID.PartTimeJob) or (WorkingRelation_ID.TypeOfActivity = 6)),\r\n    S_HealthInsBaseTotal - S_ExecutiveFeeTotal - S_CorporateFeeTotal,\r\n    0)",
                            "fieldcode": 1000269,
                            "id": "JU10000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2014-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "if(NxValueCreate('CheckInsuranceIn'), '', '') +\r\nif(NxValueSet('CheckInsuranceIn', 'V aktuálním mzdovém období je zaměstnanec účasten zdravotního pojištění.\r\nProtože chybí mzdové listy za předchozí období, není možné zkontrolovat, zda byl účasten také v minulém mzd.období.\r\nZkontrolujte, zda není nutné zaměstnance přihlásit na ZP.'), '', '') +\r\nif(NxValueCreate('CheckInsuranceOut'), '', '') +\r\nif(NxValueSet('CheckInsuranceOut', 'V aktuálním mzdovém období není zaměstnanec účasten zdravotního pojištění. Protože chybí mzdové listy za předchozí období, není možné zkontrolovat, zda nebyl účasten také v minulém mzd.období. Zkontrolujte, zda není nutné zaměstnance odhlásit od ZP.'), '', '') +\r\nif(NxValueCreate('InsuranceIn'), '', '') +\r\nif(NxValueSet('InsuranceIn', 'Zaměstnanec je od aktuálního období účasten ZP. Zaměstnance je nutné přihlásit na ZP k prvnímu dni aktuálního období.'), '', '') +\r\nif(NxValueCreate('InsuranceOut'), '', '') +\r\nif(NxValueSet('InsuranceOut', 'Zaměstnanec není od aktuálního období účasten ZP. Zaměstnance je nutné odhlásit na ZP k poslednímu dni minulého období.'), '', '') +\r\nif(NxValueCreate('EmpNotPayHealthIns'),'','') +\r\nif(NxValueSet('EmpNotPayHealthIns',\r\n  WageEmployeeHistoryValue(Employee_ID.ID, WagePeriod_ID.ID, 'NotPayHealthIns') or\r\n  WageEmployeeHistoryValue(Employee_ID.ID, WagePeriod_ID.ID, 'S_InsurancePaidInEHP')),'','') +\r\nif(WagePeriodForDate(WorkingRelation_ID.DateOfBegin$DATE, 0) = WagePeriod_ID.ID,\r\n  '', {Pracovní poměr začal v aktuálním období->nic se nehlásí}\r\n  if(NxValueCreate('S_IsHealthInsurancePrev'), '', '') + \r\n  if(NxValueSet('S_IsHealthInsurancePrev', WageListPartialSumBack(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_IsHealthInsurance', 1, True)), '', '') + \r\n  if((NxValueGet('S_IsHealthInsurancePrev') = 0) and not (NxValueGet('EmpNotPayHealthIns')),\r\n    if(S_IsHealthInsurance = 2,\r\n      NxValueGet('CheckInsuranceIn'),\r\n      NxValueGet('CheckInsuranceOut')\r\n    ),\r\n    if(NxValueGet('S_IsHealthInsurancePrev') = S_IsHealthInsurance,\r\n      '', {V minulém i současném období stejná hodnota -> nic se nehlásí}\r\n      if((NxValueGet('S_IsHealthInsurancePrev') = 1) and (S_IsHealthInsurance = 2),\r\n        NxValueGet('InsuranceIn'),\r\n        if((NxValueGet('S_IsHealthInsurancePrev') = 2) and (S_IsHealthInsurance = 1),\r\n          NxValueGet('InsuranceOut'), '' \r\n        )\r\n      )\r\n    )\r\n  )\r\n) +\r\nif(NxValueDestroy('CheckInsuranceIn'), '', '') +\r\nif(NxValueDestroy('CheckInsuranceOut'), '', '') +   \r\nif(NxValueDestroy('InsuranceIn'), '', '') +\r\nif(NxValueDestroy('InsuranceOut'), '', '')+\r\nif(NxValueDestroy('EmpNotPayHealthIns'), '', '')",
                            "condition": "",
                            "errormessage": "%2:s",
                            "errorseverity": 1,
                            "explanation": "",
                            "expression": "if((GrossWageTotal=0), 0,0)",
                            "fieldcode": 1000255,
                            "id": "PV10000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2018-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "%V% \r\n+ S_WorkHoursOper \r\n+ If(WorkingRelation_ID.CalcWorkingHours, \r\n     NxMax(0, \r\n           WorkingFund - TotalAbsence - S_OvertimeSubstFreeTotal \r\n             + (S_WorkDays * S_AvgShiftLength) \r\n             + S_WorkHours \r\n             - (S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime))\r\n             - If(S_FeastMode=2,\r\n                  WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 0, 5),\r\n                  0), \r\n    (S_WorkDaysTotal * S_AvgShiftLength) + S_WorkHours)                \r\n   ",
                            "fieldcode": 1000021,
                            "id": "7W20000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "validfrom$date": "2020-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "S_KurzArbeitHours * (WageConstant('S_KurzArbeit', WagePeriod_ID.ID) \/ 100) * S_AverageCorrect",
                            "fieldcode": 1000330,
                            "id": "2Y20000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2021-12-31T23:00:00.000Z"
                        },
                        {
                            "checkexpression": "",
                            "condition": "",
                            "errormessage": "",
                            "errorseverity": 0,
                            "explanation": "",
                            "expression": "WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 1, 2, 11)",
                            "fieldcode": 1000329,
                            "id": "3Y20000000",
                            "objversion": 1,
                            "parent_id": "1000000000",
                            "rounding": 0,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 0,
                            "validfrom$date": "2021-12-31T23:00:00.000Z"
                        }
                    ],
                    "scripts": [],
                    "sourcechart_id": null,
                    "specification": 0,
                    "system": true
                },
                "query": {
                    "select": [
                        "id"
                    ]
                }
            }
        }
    ]
}
Body - Delete
{
    "items": [
        {
            "type": "delete",
            "id": "id0",
            "data": {
                "class_id": "execcalccharts",
                "obj_id": "1600000100"
            }
        },
        {
            "type": "delete",
            "id": "id1",
            "data": {
                "class_id": "execcalccharts",
                "obj_id": "1600000101"
            }
        },
        {
            "type": "delete",
            "id": "id2",
            "data": {
                "class_id": "execcalccharts",
                "obj_id": "1600000102"
            }
        },
        {
            "type": "delete",
            "id": "id3",
            "data": {
                "class_id": "execcalccharts",
                "obj_id": "1600000103"
            }
        },
        {
            "type": "delete",
            "id": "id4",
            "data": {
                "class_id": "execcalccharts",
                "obj_id": "1600000104"
            }
        }
    ]
}