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/{id}

Získá konkrétní 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 a vrátí jeho kompletní reprezentaci

PUT

/execcalccharts/{id}

Provede aktualizaci BO Výpočtové schéma při výpočtu a vrátí jeho kompletní, aktualizovanou reprezentaci. Operaci PUT je možné využívat i k částečným aktualizacím zdrojů (PATCH).

DELETE

/execcalccharts/{id}

Smaže BO Výpočtové schéma při výpočtu na základě jeho ID

Metadata - Perzistentní položky

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

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

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; ID objektu Uživatel, 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; ID objektu Uživatel, 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

Položky; 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

Skripty; 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; ID objektu Výpočtové schéma, 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

CLSIDName string (26)

Třída

ClassID string (26)

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

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
{
    "ID": "1000000000",
    "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": "%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": "%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))))",
            "fieldcode": 305,
            "id": "4000000000",
            "objversion": 3,
            "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": "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": "",
            "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(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_ExecutiveFeeTotal + S_CorporateFeeTotal + S_SurChargeTotal + S_POL_Wage - S_ApprenticeFeeTotal)",
            "fieldcode": 1000164,
            "id": "ZT10000000",
            "objversion": 3,
            "parent_id": "1000000000",
            "rounding": 258,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "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": "if(((S_PaidFreeTotal <> 0) or\r\n   (HolidayTotal <> 0) or\r\n   (PaidHoliday <> 0) or\r\n   (PaidHolidayHours <> 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": "1Y20000000",
            "objversion": 2,
            "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": "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
{
    "ID": "1000000000",
    "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": "%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": "%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))))",
            "fieldcode": 305,
            "id": "4000000000",
            "objversion": 3,
            "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": "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": "",
            "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(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_ExecutiveFeeTotal + S_CorporateFeeTotal + S_SurChargeTotal + S_POL_Wage - S_ApprenticeFeeTotal)",
            "fieldcode": 1000164,
            "id": "ZT10000000",
            "objversion": 3,
            "parent_id": "1000000000",
            "rounding": 258,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "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": "if(((S_PaidFreeTotal <> 0) or\r\n   (HolidayTotal <> 0) or\r\n   (PaidHoliday <> 0) or\r\n   (PaidHolidayHours <> 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": "1Y20000000",
            "objversion": 2,
            "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": "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
{
    "CLSID": "W1ZICXOZCBF13JXS00KEZYD5AW",
    "CalcFieldsSpecialBehaviour": false,
    "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": "%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": "%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))))",
            "fieldcode": 305,
            "id": "4000000000",
            "objversion": 3,
            "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": "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": "",
            "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(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_ExecutiveFeeTotal + S_CorporateFeeTotal + S_SurChargeTotal + S_POL_Wage - S_ApprenticeFeeTotal)",
            "fieldcode": 1000164,
            "id": "ZT10000000",
            "objversion": 3,
            "parent_id": "1000000000",
            "rounding": 258,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "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": "if(((S_PaidFreeTotal <> 0) or\r\n   (HolidayTotal <> 0) or\r\n   (PaidHoliday <> 0) or\r\n   (PaidHolidayHours <> 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": "1Y20000000",
            "objversion": 2,
            "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": "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": "1000000000"
}
Request

PUT

https://atd.abra.eu/demodata/execcalccharts/{id}?select=id
Body
{
    "CLSID": "W1ZICXOZCBF13JXS00KEZYD5AW",
    "CalcFieldsSpecialBehaviour": false,
    "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": "%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": "%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))))",
            "fieldcode": 305,
            "id": "4000000000",
            "objversion": 3,
            "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": "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": "",
            "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(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_ExecutiveFeeTotal + S_CorporateFeeTotal + S_SurChargeTotal + S_POL_Wage - S_ApprenticeFeeTotal)",
            "fieldcode": 1000164,
            "id": "ZT10000000",
            "objversion": 3,
            "parent_id": "1000000000",
            "rounding": 258,
            "stdactioncode": 0,
            "stdactionexecute": 0,
            "stdactionparams": "",
            "system": true,
            "typeofsum": 1,
            "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": "if(((S_PaidFreeTotal <> 0) or\r\n   (HolidayTotal <> 0) or\r\n   (PaidHoliday <> 0) or\r\n   (PaidHolidayHours <> 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": "1Y20000000",
            "objversion": 2,
            "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": "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": "1000000000"
}

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": {
                    "CLSID": "W1ZICXOZCBF13JXS00KEZYD5AW",
                    "CalcFieldsSpecialBehaviour": false,
                    "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": "%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": "%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))))",
                            "fieldcode": 305,
                            "id": "4000000000",
                            "objversion": 3,
                            "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": "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": "",
                            "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(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_ExecutiveFeeTotal + S_CorporateFeeTotal + S_SurChargeTotal + S_POL_Wage - S_ApprenticeFeeTotal)",
                            "fieldcode": 1000164,
                            "id": "ZT10000000",
                            "objversion": 3,
                            "parent_id": "1000000000",
                            "rounding": 258,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "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": "if(((S_PaidFreeTotal <> 0) or\r\n   (HolidayTotal <> 0) or\r\n   (PaidHoliday <> 0) or\r\n   (PaidHolidayHours <> 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": "1Y20000000",
                            "objversion": 2,
                            "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": "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": {
                    "CLSID": "W1ZICXOZCBF13JXS00KEZYD5AW",
                    "CalcFieldsSpecialBehaviour": false,
                    "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": "%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": "%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))))",
                            "fieldcode": 305,
                            "id": "4000000000",
                            "objversion": 3,
                            "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": "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": "",
                            "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(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_ExecutiveFeeTotal + S_CorporateFeeTotal + S_SurChargeTotal + S_POL_Wage - S_ApprenticeFeeTotal)",
                            "fieldcode": 1000164,
                            "id": "ZT10000000",
                            "objversion": 3,
                            "parent_id": "1000000000",
                            "rounding": 258,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "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": "if(((S_PaidFreeTotal <> 0) or\r\n   (HolidayTotal <> 0) or\r\n   (PaidHoliday <> 0) or\r\n   (PaidHolidayHours <> 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": "1Y20000000",
                            "objversion": 2,
                            "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": "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": "1000000000",
                "object_data": {
                    "CLSID": "W1ZICXOZCBF13JXS00KEZYD5AW",
                    "CalcFieldsSpecialBehaviour": false,
                    "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": "%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": "%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))))",
                            "fieldcode": 305,
                            "id": "4000000000",
                            "objversion": 3,
                            "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": "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": "",
                            "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(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_ExecutiveFeeTotal + S_CorporateFeeTotal + S_SurChargeTotal + S_POL_Wage - S_ApprenticeFeeTotal)",
                            "fieldcode": 1000164,
                            "id": "ZT10000000",
                            "objversion": 3,
                            "parent_id": "1000000000",
                            "rounding": 258,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "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": "if(((S_PaidFreeTotal <> 0) or\r\n   (HolidayTotal <> 0) or\r\n   (PaidHoliday <> 0) or\r\n   (PaidHolidayHours <> 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": "1Y20000000",
                            "objversion": 2,
                            "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": "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": "1000000001",
                "object_data": {
                    "CLSID": "W1ZICXOZCBF13JXS00KEZYD5AW",
                    "CalcFieldsSpecialBehaviour": false,
                    "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": "%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": "%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))))",
                            "fieldcode": 305,
                            "id": "4000000000",
                            "objversion": 3,
                            "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": "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": "",
                            "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(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_ExecutiveFeeTotal + S_CorporateFeeTotal + S_SurChargeTotal + S_POL_Wage - S_ApprenticeFeeTotal)",
                            "fieldcode": 1000164,
                            "id": "ZT10000000",
                            "objversion": 3,
                            "parent_id": "1000000000",
                            "rounding": 258,
                            "stdactioncode": 0,
                            "stdactionexecute": 0,
                            "stdactionparams": "",
                            "system": true,
                            "typeofsum": 1,
                            "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": "if(((S_PaidFreeTotal <> 0) or\r\n   (HolidayTotal <> 0) or\r\n   (PaidHoliday <> 0) or\r\n   (PaidHolidayHours <> 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": "1Y20000000",
                            "objversion": 2,
                            "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": "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": "1000000000"
            }
        },
        {
            "type": "delete",
            "id": "id1",
            "data": {
                "class_id": "execcalccharts",
                "obj_id": "1000000001"
            }
        },
        {
            "type": "delete",
            "id": "id2",
            "data": {
                "class_id": "execcalccharts",
                "obj_id": "1000000002"
            }
        },
        {
            "type": "delete",
            "id": "id3",
            "data": {
                "class_id": "execcalccharts",
                "obj_id": "1000000003"
            }
        },
        {
            "type": "delete",
            "id": "id4",
            "data": {
                "class_id": "execcalccharts",
                "obj_id": "1000000004"
            }
        }
    ]
}