GET
Získá kolekci BO Výpočtové schéma
GET
Získá seznam položek BO, které mohou být chráněny na BO Výpočtové schéma
GET
Získá pohled nad BO Výpočtové schéma
GET
Získá daný BO Výpočtové schéma
GET
Otestuje, zda existuje editační zámek na daném BO Výpočtové schéma
GET
Získá seznam chráněných položek, které jsou na BO Výpočtové schéma aktuálnímu uživateli znepřístupněny
GET
Získá řádky kolekce Výpočtový vzorec
GET
Získá daný řádek kolekce Výpočtový vzorec
GET
Získá řádky kolekce Skripty výpočtového vzorce
GET
Získá daný řádek kolekce Skripty výpočtového vzorce
GET
Získá seznam uživatelských parametrů včetně jejich hodnot k danému BO Výpočtové schéma
POST
Vytvoří nový BO Výpočtové schéma
POST
Vyhodnotí query dotaz nad BO Výpočtové schéma
POST
Vytvoří nový řádek v kolekci Výpočtový vzorec
POST
Vytvoří nový řádek v kolekci Skripty výpočtového vzorce
PUT
Modifikuje daný BO Výpočtové schéma
PUT
Vytvoří editační zámek na daném BO Výpočtové schéma
PUT
Zruší editační zámek na daném BO Výpočtové schéma
PUT
Modifikuje řádek v kolekci Výpočtový vzorec
PUT
Modifikuje řádek v kolekci Skripty výpočtového vzorce
DELETE
Smaže BO Výpočtové schéma
DELETE
Smaže řádek z kolekce Výpočtový vzorec
DELETE
Smaže řádek z kolekce Skripty výpočtového vzorce
Způsob součtování, pole vlastněné tabulkou, možné řadit a filtrovat, pole je duplikováno při klonování objektu
Třída objektu, pole vlastněné tabulkou, možné řadit a filtrovat, pole je duplikováno při klonování objektu, fkAnsiCaseSensitive
Kód, pole vlastněné tabulkou, možné řadit a filtrovat, pole je duplikováno při klonování objektu
Kopie, pole vlastněné tabulkou, možné řadit a filtrovat
Opravil, pole vlastněné tabulkou, možné řadit a filtrovat, pole je duplikováno při klonování objektu, pole nepodporuje ochranu dat/GDPR
Vytvořil, pole vlastněné tabulkou, možné řadit a filtrovat, pole je duplikováno při klonování objektu, pole nepodporuje ochranu dat/GDPR
Skrytý, pole vlastněné tabulkou, možné řadit a filtrovat, pole je duplikováno při klonování objektu
Název, pole vlastněné tabulkou, možné řadit a filtrovat, pole je duplikováno při klonování objektu
Verze objektu, pouze pro čtení, pole vlastněné tabulkou, možné řadit a filtrovat, pole nepodporuje ochranu dat/GDPR
kolekce BO Výpočtový vzorec, pole je duplikováno při klonování objektu, objekt na který pole odkazuje je 'vlastněn'
kolekce BO Skripty výpočtového vzorce, pole je duplikováno při klonování objektu, objekt na který pole odkazuje je 'vlastněn'
Zdrojový vzorec, pole vlastněné tabulkou, možné řadit a filtrovat
Specifikace, pole vlastněné tabulkou, možné řadit a filtrovat, pole je duplikováno při klonování objektu
Syst., pole vlastněné tabulkou, možné řadit a filtrovat
ID třídy, pouze pro čtení, fkAnsiCaseSensitive, pole nepodporuje ochranu dat/GDPR
Třída
Název, pouze pro čtení
Vlastní ID, pouze pro čtení, fkAnsiCaseSensitive, pole nepodporuje ochranu dat/GDPR
Způsob součtování - uživ. část, pole je duplikováno při klonování objektu
GET
https://atd.abra.eu/demodata/calccharts?take=1
ResponseGET
https://atd.abra.eu/demodata/calccharts/{id}
{
"objversion": 1,
"rows": [
{
"checkexpression": "WorkingRelation_ID.WageAmount>0",
"condition": "",
"errormessage": "Není zadána položka 'Mzda - částka' 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": "1000000000",
"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": "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) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 0, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 1, 4) + \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 4, 4))))",
"fieldcode": 305,
"id": "4000000000",
"objversion": 5,
"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_WorkHoursOper +\r\nIf(WorkingRelation_ID.CalcWorkingHours, \r\n NxMax(0, WorkingFund - TotalAbsence - S_OvertimeSubstFreeTotal + (S_WorkDays * S_AvgShiftLength) + S_WorkHours - \r\n (S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime)),\r\n (S_WorkDaysTotal * S_AvgShiftLength) + S_WorkHours)",
"fieldcode": 1000021,
"id": "6000000000",
"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_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% + WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OverTimeTotal', False, True) <= 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_OverTimeAbsence - S_WorkingFundForOverTime, 0), 0)",
"fieldcode": 1000014,
"id": "9000000000",
"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": "Int(TotalWorkTime) >= Int(WorkingFund) - Int(TotalAbsence) - Int((S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime))",
"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": "A000000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 257,
"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_TaskWage + S_TaskWageOper",
"fieldcode": 1000027,
"id": "B000000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 257,
"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_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",
"fieldcode": 1000100,
"id": "C000000000",
"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_FeastChargeTotal + S_NightChargeTotal + \r\nS_EnvChargeTotal + S_OverTimeChargeTotal + \r\nS_PaidFeastCompTotal + S_PaidFreeCompTotal + \r\nS_HolidayCompTotal + S_PaidHolidayCompTotal + \r\nS_ReadinessCompTotal + S_OtherCompensations + \r\nS_ExitCompTotal + S_ExitFee + \r\nif((S_RenumerationForm < 2) {mzda}, S_WEndChargeTotal, 0) + \r\nS_DisasterCompTotal + S_MalfuncCompTotal + S_OtherObstCompTotal + S_PercentOfAvgCompTotal",
"fieldcode": 1000101,
"id": "D000000000",
"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% + If(NxIBetween(WorkingRelation_ID.TypeOfActivity, 3, 6), \r\nGrossWageTotal, S_ExitCompTotal + S_ExitFee)",
"fieldcode": 1000102,
"id": "F000000000",
"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(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal + S_SurChargeTotal + S_POL_Wage)",
"fieldcode": 1000164,
"id": "G000000000",
"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_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": "if(WageSettings(3)=0,1,2)",
"fieldcode": 1000201,
"id": "TF00000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"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": "if(((S_PaidFreeTotal <> 0) or\r\n (HolidayDrawDays <> 0) or\r\n (PaidHoliday <> 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_OverTimeTotal <> 0) or\r\n (S_FeastHoursTotal <> 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_WEndHoursTotal <> 0) or\r\n (CalcAvgNetWage)),\r\n NxMax(AverageWage, WageConstant('S_MinMzdH', Wageperiod_ID.ID) * S_MinWageCoef),0)",
"fieldcode": 1000207,
"id": "8G00000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2000-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(CalcAvgNetWage, WageConstant('S_DnyMes', WagePeriod_ID.ID) * AverageWage * (S_AvgShiftLength), 0) ",
"fieldcode": 1000208,
"id": "BG00000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 257,
"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": "if(((S_PaidFreeTotal <> 0) or\r\n (HolidayDrawDays <> 0) or\r\n (PaidHoliday <> 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 + S_OldOvertimeHoursTotal - NxMin(S_UnresolvedOvertime + S_OvertimeSubstFreeTotal, S_OverTimeTotal)) <> 0) or\r\n (S_FeastHoursTotal <> 0) or\r\n (S_NightHoursTotal <> 0) or\r\n (S_FeastHoursTotal <> 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_WEndHoursTotal <> 0) or\r\n CalcAvgNetWage),\r\n NxMax(AverageWage, ((WageConstant('S_MinMzdH', Wageperiod_ID.ID)\/ \r\n if(WorkingRelation_ID.IndividualWeekDuty <> 0, \r\n WorkingRelation_ID.IndividualWeekDuty, \r\n WageConstant('S_NormUvaz', WagePeriod_ID.ID))) * WageConstant('S_PracTyden', WagePeriod_ID.ID)) * S_MinWageCoef),0)",
"fieldcode": 1000207,
"id": "T010000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"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, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal + S_SurChargeTotal + S_POL_Wage)",
"fieldcode": 1000164,
"id": "0210000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 258,
"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": "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',WageEmployeeHistoryValue(Employee_ID.ID, WagePeriod_ID.ID, 'NotPayHealthIns')),'','') +\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": "T410000000",
"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": "if((WorkingRelation_ID.TypeOfActivity = 5) and \r\n not WorkingRelation_ID.PartTimeJob,\r\n S_SocialInsBaseTotal, \r\n 0)",
"fieldcode": 1000262,
"id": "I510000000",
"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": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "%V% + If(NxIBetween(WorkingRelation_ID.TypeOfActivity, 3, 6), \r\nGrossWageTotal, S_ExitCompTotal + S_ExitFee) +\r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal",
"fieldcode": 1000102,
"id": "T510000000",
"objversion": 4,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2011-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(MainWorkingRelation,\r\n if((S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar > 0), \r\n NxMax(S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar, \r\n WageConstant('S_MinAuto', WagePeriod_ID.ID)), \r\n 0), \r\n 0)",
"fieldcode": 1000264,
"id": "0T10000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2011-12-31T23:00:00.000Z"
},
{
"checkexpression": "(WorkingRelation_ID.WageAmount>0) or (WorkingRelation_ID.FeeAmount>0) ",
"condition": "",
"errormessage": "Není zadána položka 'Mzda - částka' příp. 'Částka' odměny v pracovním poměru. Tento stav může vést k chybě ve výpočtu.",
"errorseverity": 1,
"explanation": "",
"expression": "If(WorkingRelation_ID.TypeOfWage=0,\r\n WorkingRelation_ID.WageAmount, \r\nif(MonthFund=0, 0, \r\nWorkingRelation_ID.WageAmount \/ (MonthFund + if((S_FeastMode > 1), WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID,WagePeriod_ID.ID, '', 4),0))))",
"fieldcode": 308,
"id": "DY20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2021-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "%V% + S_FeastChargeTotal + S_NightChargeTotal + \r\nS_EnvChargeTotal + S_OverTimeChargeTotal + \r\nS_PaidFeastCompTotal + S_PaidFreeCompTotal + \r\nS_HolidayCompTotal + S_PaidHolidayCompTotal +\r\nS_OldHolidayCompsTotal + S_PaidOldHolidayCompsTotal + \r\nS_ReadinessCompTotal + S_OtherCompensations + \r\nS_ExitCompTotal + S_ExitFee + S_ChildAndYouthCompsTotal + \r\nif((S_RenumerationForm < 2) {mzda}, S_WEndChargeTotal, 0) + \r\nS_DisasterCompTotal + S_MalfuncCompTotal + S_OtherObstCompTotal + \r\nS_PercentOfAvgCompTotal + S_KurzArbeitAmount",
"fieldcode": 1000101,
"id": "EY20000000",
"objversion": 4,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2021-12-31T23:00:00.000Z"
},
{
"checkexpression": "%V% <= WorkingFund",
"condition": "if((WorkingFund=0),True,True)\r\n{Toto donutí výpočet aby se napočetla položka WorkingFund}",
"errormessage": "%1:s přesahuje fond pracovní doby. Chyba může být způsobena tím,\r\nže se časově překrývají zadané nepřítomnosti nebo nemocenské dávky.",
"errorseverity": 1,
"explanation": "",
"expression": "{TotalAbsence - 01.01.2022}\r\n%V% + WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 5, 2) + \r\n if((WorkingRelation_ID.TypeOfWage = 1) and (S_FeastMode = 1), \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4),\r\n (-1) * (S_FeastHourInAbsenceAndSickness - \r\n (WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) + \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 0, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 1, 4) + \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 4, 4))))",
"fieldcode": 305,
"id": "JY20000000",
"objversion": 2,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2021-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_ExecutiveFeeTotal + S_CorporateFeeTotal + S_SurChargeTotal + S_POL_Wage + S_MealAmountOverLimitTotal - S_ApprenticeFeeTotal)",
"fieldcode": 1000164,
"id": "SY20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 258,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2020-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(((S_PaidFreeTotal <> 0) or\r\n (HolidayTotal <> 0) or\r\n (PaidHolidayTotal <> 0) or\r\n (S_DisasterCompTime <> 0) or\r\n (S_MalfunctionCompTime <> 0) or\r\n (S_OtherObstructionCompTime <> 0) or\r\n (S_PercentOfAvgCompTime <> 0) or\r\n (S_WEndHoursTotal <> 0) or\r\n (S_OverTimeTotal <> 0) or\r\n (S_FeastHoursTotal <> 0) or\r\n (S_NightHoursTotal <> 0) or\r\n (S_OldOvertimeHoursTotal <> 0) or\r\n (S_ExitClaim) or\r\n (S_ArmyExerciseTotal <> 0) or\r\n (S_ArmyDuty <> 0) or\r\n (S_ReadinessTotal <> 0) or\r\n (S_PaidFeastTotal <> 0) or\r\n (S_OldHolidayHoursTotal <> 0) or\r\n (S_PaidOldHolidayHoursTotal <> 0) or\r\n (S_ChildAndYouthHoursTotal <> 0) or\r\n (S_QuarantineCalDays <> 0) or\r\n (S_KurzArbeitHours <> 0) or\r\n (CalcAvgNetWage)),\r\n NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), WorkingRelation_ID.JobGroup_ID.HourClaim) * S_MinWageCoef *\r\n (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, 40\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), 40\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
"fieldcode": 1000207,
"id": "7Z20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2022-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(((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 (CalcAvgNetWage)),\r\n NxMax(AverageWage, WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID) * S_MinWageCoef),0)",
"fieldcode": 1000207,
"id": "NT10000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2013-07-31T22: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% + 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 + S_PercentOfAvgCompTotal",
"fieldcode": 1000101,
"id": "RV20000000",
"objversion": 2,
"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 (CalcAvgNetWage)),\r\n NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), if(S_DisabilityPension = 2, WorkingRelation_ID.JobGroup_ID.HourClaim2, WorkingRelation_ID.JobGroup_ID.HourClaim)) * S_MinWageCoef *\r\n (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
"fieldcode": 1000207,
"id": "5W20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2020-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 (CalcAvgNetWage)),\r\n NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), if(S_DisabilityPension = 2, WorkingRelation_ID.JobGroup_ID.HourClaim2, WorkingRelation_ID.JobGroup_ID.HourClaim)) * S_MinWageCoef *\r\n (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
"fieldcode": 1000207,
"id": "MW20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2020-07-31T22: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 (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": "QX20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2021-06-30T22: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": []
}
POST
https://atd.abra.eu/demodata/query
{"class": "calccharts", "take": "1"}
POST
https://atd.abra.eu/demodata/calccharts/query
{"take": "1"}
Response
{
"objversion": 1,
"rows": [
{
"checkexpression": "WorkingRelation_ID.WageAmount>0",
"condition": "",
"errormessage": "Není zadána položka 'Mzda - částka' 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": "1000000000",
"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": "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) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 0, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 1, 4) + \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 4, 4))))",
"fieldcode": 305,
"id": "4000000000",
"objversion": 5,
"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_WorkHoursOper +\r\nIf(WorkingRelation_ID.CalcWorkingHours, \r\n NxMax(0, WorkingFund - TotalAbsence - S_OvertimeSubstFreeTotal + (S_WorkDays * S_AvgShiftLength) + S_WorkHours - \r\n (S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime)),\r\n (S_WorkDaysTotal * S_AvgShiftLength) + S_WorkHours)",
"fieldcode": 1000021,
"id": "6000000000",
"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_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% + WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OverTimeTotal', False, True) <= 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_OverTimeAbsence - S_WorkingFundForOverTime, 0), 0)",
"fieldcode": 1000014,
"id": "9000000000",
"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": "Int(TotalWorkTime) >= Int(WorkingFund) - Int(TotalAbsence) - Int((S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime))",
"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": "A000000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 257,
"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_TaskWage + S_TaskWageOper",
"fieldcode": 1000027,
"id": "B000000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 257,
"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_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",
"fieldcode": 1000100,
"id": "C000000000",
"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_FeastChargeTotal + S_NightChargeTotal + \r\nS_EnvChargeTotal + S_OverTimeChargeTotal + \r\nS_PaidFeastCompTotal + S_PaidFreeCompTotal + \r\nS_HolidayCompTotal + S_PaidHolidayCompTotal + \r\nS_ReadinessCompTotal + S_OtherCompensations + \r\nS_ExitCompTotal + S_ExitFee + \r\nif((S_RenumerationForm < 2) {mzda}, S_WEndChargeTotal, 0) + \r\nS_DisasterCompTotal + S_MalfuncCompTotal + S_OtherObstCompTotal + S_PercentOfAvgCompTotal",
"fieldcode": 1000101,
"id": "D000000000",
"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% + If(NxIBetween(WorkingRelation_ID.TypeOfActivity, 3, 6), \r\nGrossWageTotal, S_ExitCompTotal + S_ExitFee)",
"fieldcode": 1000102,
"id": "F000000000",
"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(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal + S_SurChargeTotal + S_POL_Wage)",
"fieldcode": 1000164,
"id": "G000000000",
"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_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": "if(WageSettings(3)=0,1,2)",
"fieldcode": 1000201,
"id": "TF00000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"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": "if(((S_PaidFreeTotal <> 0) or\r\n (HolidayDrawDays <> 0) or\r\n (PaidHoliday <> 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_OverTimeTotal <> 0) or\r\n (S_FeastHoursTotal <> 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_WEndHoursTotal <> 0) or\r\n (CalcAvgNetWage)),\r\n NxMax(AverageWage, WageConstant('S_MinMzdH', Wageperiod_ID.ID) * S_MinWageCoef),0)",
"fieldcode": 1000207,
"id": "8G00000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2000-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(CalcAvgNetWage, WageConstant('S_DnyMes', WagePeriod_ID.ID) * AverageWage * (S_AvgShiftLength), 0) ",
"fieldcode": 1000208,
"id": "BG00000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 257,
"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": "if(((S_PaidFreeTotal <> 0) or\r\n (HolidayDrawDays <> 0) or\r\n (PaidHoliday <> 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 + S_OldOvertimeHoursTotal - NxMin(S_UnresolvedOvertime + S_OvertimeSubstFreeTotal, S_OverTimeTotal)) <> 0) or\r\n (S_FeastHoursTotal <> 0) or\r\n (S_NightHoursTotal <> 0) or\r\n (S_FeastHoursTotal <> 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_WEndHoursTotal <> 0) or\r\n CalcAvgNetWage),\r\n NxMax(AverageWage, ((WageConstant('S_MinMzdH', Wageperiod_ID.ID)\/ \r\n if(WorkingRelation_ID.IndividualWeekDuty <> 0, \r\n WorkingRelation_ID.IndividualWeekDuty, \r\n WageConstant('S_NormUvaz', WagePeriod_ID.ID))) * WageConstant('S_PracTyden', WagePeriod_ID.ID)) * S_MinWageCoef),0)",
"fieldcode": 1000207,
"id": "T010000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"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, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal + S_SurChargeTotal + S_POL_Wage)",
"fieldcode": 1000164,
"id": "0210000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 258,
"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": "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',WageEmployeeHistoryValue(Employee_ID.ID, WagePeriod_ID.ID, 'NotPayHealthIns')),'','') +\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": "T410000000",
"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": "if((WorkingRelation_ID.TypeOfActivity = 5) and \r\n not WorkingRelation_ID.PartTimeJob,\r\n S_SocialInsBaseTotal, \r\n 0)",
"fieldcode": 1000262,
"id": "I510000000",
"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": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "%V% + If(NxIBetween(WorkingRelation_ID.TypeOfActivity, 3, 6), \r\nGrossWageTotal, S_ExitCompTotal + S_ExitFee) +\r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal",
"fieldcode": 1000102,
"id": "T510000000",
"objversion": 4,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2011-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(MainWorkingRelation,\r\n if((S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar > 0), \r\n NxMax(S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar, \r\n WageConstant('S_MinAuto', WagePeriod_ID.ID)), \r\n 0), \r\n 0)",
"fieldcode": 1000264,
"id": "0T10000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2011-12-31T23:00:00.000Z"
},
{
"checkexpression": "(WorkingRelation_ID.WageAmount>0) or (WorkingRelation_ID.FeeAmount>0) ",
"condition": "",
"errormessage": "Není zadána položka 'Mzda - částka' příp. 'Částka' odměny v pracovním poměru. Tento stav může vést k chybě ve výpočtu.",
"errorseverity": 1,
"explanation": "",
"expression": "If(WorkingRelation_ID.TypeOfWage=0,\r\n WorkingRelation_ID.WageAmount, \r\nif(MonthFund=0, 0, \r\nWorkingRelation_ID.WageAmount \/ (MonthFund + if((S_FeastMode > 1), WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID,WagePeriod_ID.ID, '', 4),0))))",
"fieldcode": 308,
"id": "DY20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2021-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "%V% + S_FeastChargeTotal + S_NightChargeTotal + \r\nS_EnvChargeTotal + S_OverTimeChargeTotal + \r\nS_PaidFeastCompTotal + S_PaidFreeCompTotal + \r\nS_HolidayCompTotal + S_PaidHolidayCompTotal +\r\nS_OldHolidayCompsTotal + S_PaidOldHolidayCompsTotal + \r\nS_ReadinessCompTotal + S_OtherCompensations + \r\nS_ExitCompTotal + S_ExitFee + S_ChildAndYouthCompsTotal + \r\nif((S_RenumerationForm < 2) {mzda}, S_WEndChargeTotal, 0) + \r\nS_DisasterCompTotal + S_MalfuncCompTotal + S_OtherObstCompTotal + \r\nS_PercentOfAvgCompTotal + S_KurzArbeitAmount",
"fieldcode": 1000101,
"id": "EY20000000",
"objversion": 4,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2021-12-31T23:00:00.000Z"
},
{
"checkexpression": "%V% <= WorkingFund",
"condition": "if((WorkingFund=0),True,True)\r\n{Toto donutí výpočet aby se napočetla položka WorkingFund}",
"errormessage": "%1:s přesahuje fond pracovní doby. Chyba může být způsobena tím,\r\nže se časově překrývají zadané nepřítomnosti nebo nemocenské dávky.",
"errorseverity": 1,
"explanation": "",
"expression": "{TotalAbsence - 01.01.2022}\r\n%V% + WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 5, 2) + \r\n if((WorkingRelation_ID.TypeOfWage = 1) and (S_FeastMode = 1), \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4),\r\n (-1) * (S_FeastHourInAbsenceAndSickness - \r\n (WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) + \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 0, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 1, 4) + \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 4, 4))))",
"fieldcode": 305,
"id": "JY20000000",
"objversion": 2,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2021-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_ExecutiveFeeTotal + S_CorporateFeeTotal + S_SurChargeTotal + S_POL_Wage + S_MealAmountOverLimitTotal - S_ApprenticeFeeTotal)",
"fieldcode": 1000164,
"id": "SY20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 258,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2020-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(((S_PaidFreeTotal <> 0) or\r\n (HolidayTotal <> 0) or\r\n (PaidHolidayTotal <> 0) or\r\n (S_DisasterCompTime <> 0) or\r\n (S_MalfunctionCompTime <> 0) or\r\n (S_OtherObstructionCompTime <> 0) or\r\n (S_PercentOfAvgCompTime <> 0) or\r\n (S_WEndHoursTotal <> 0) or\r\n (S_OverTimeTotal <> 0) or\r\n (S_FeastHoursTotal <> 0) or\r\n (S_NightHoursTotal <> 0) or\r\n (S_OldOvertimeHoursTotal <> 0) or\r\n (S_ExitClaim) or\r\n (S_ArmyExerciseTotal <> 0) or\r\n (S_ArmyDuty <> 0) or\r\n (S_ReadinessTotal <> 0) or\r\n (S_PaidFeastTotal <> 0) or\r\n (S_OldHolidayHoursTotal <> 0) or\r\n (S_PaidOldHolidayHoursTotal <> 0) or\r\n (S_ChildAndYouthHoursTotal <> 0) or\r\n (S_QuarantineCalDays <> 0) or\r\n (S_KurzArbeitHours <> 0) or\r\n (CalcAvgNetWage)),\r\n NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), WorkingRelation_ID.JobGroup_ID.HourClaim) * S_MinWageCoef *\r\n (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, 40\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), 40\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
"fieldcode": 1000207,
"id": "7Z20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2022-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(((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 (CalcAvgNetWage)),\r\n NxMax(AverageWage, WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID) * S_MinWageCoef),0)",
"fieldcode": 1000207,
"id": "NT10000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2013-07-31T22: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% + 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 + S_PercentOfAvgCompTotal",
"fieldcode": 1000101,
"id": "RV20000000",
"objversion": 2,
"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 (CalcAvgNetWage)),\r\n NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), if(S_DisabilityPension = 2, WorkingRelation_ID.JobGroup_ID.HourClaim2, WorkingRelation_ID.JobGroup_ID.HourClaim)) * S_MinWageCoef *\r\n (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
"fieldcode": 1000207,
"id": "5W20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2020-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 (CalcAvgNetWage)),\r\n NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), if(S_DisabilityPension = 2, WorkingRelation_ID.JobGroup_ID.HourClaim2, WorkingRelation_ID.JobGroup_ID.HourClaim)) * S_MinWageCoef *\r\n (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
"fieldcode": 1000207,
"id": "MW20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2020-07-31T22: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 (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": "QX20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2021-06-30T22: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": []
}
BodyPOST
https://atd.abra.eu/demodata/calccharts?select=id
{
"calcfieldsspecialbehaviour": false,
"clsid": "W1ZICXOZCBF13JXS00KEZYD5AW",
"code": "MDZakl",
"copied": false,
"correctedby_id": null,
"createdby_id": "SUPER00000",
"hidden": false,
"name": "Dílčí ML, základní",
"rows": [
{
"checkexpression": "WorkingRelation_ID.WageAmount>0",
"condition": "",
"errormessage": "Není zadána položka 'Mzda - částka' 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": "1000000000",
"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": "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) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 0, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 1, 4) + \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 4, 4))))",
"fieldcode": 305,
"id": "4000000000",
"objversion": 5,
"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_WorkHoursOper +\r\nIf(WorkingRelation_ID.CalcWorkingHours, \r\n NxMax(0, WorkingFund - TotalAbsence - S_OvertimeSubstFreeTotal + (S_WorkDays * S_AvgShiftLength) + S_WorkHours - \r\n (S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime)),\r\n (S_WorkDaysTotal * S_AvgShiftLength) + S_WorkHours)",
"fieldcode": 1000021,
"id": "6000000000",
"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_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% + WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OverTimeTotal', False, True) <= 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_OverTimeAbsence - S_WorkingFundForOverTime, 0), 0)",
"fieldcode": 1000014,
"id": "9000000000",
"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": "Int(TotalWorkTime) >= Int(WorkingFund) - Int(TotalAbsence) - Int((S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime))",
"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": "A000000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 257,
"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_TaskWage + S_TaskWageOper",
"fieldcode": 1000027,
"id": "B000000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 257,
"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_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",
"fieldcode": 1000100,
"id": "C000000000",
"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_FeastChargeTotal + S_NightChargeTotal + \r\nS_EnvChargeTotal + S_OverTimeChargeTotal + \r\nS_PaidFeastCompTotal + S_PaidFreeCompTotal + \r\nS_HolidayCompTotal + S_PaidHolidayCompTotal + \r\nS_ReadinessCompTotal + S_OtherCompensations + \r\nS_ExitCompTotal + S_ExitFee + \r\nif((S_RenumerationForm < 2) {mzda}, S_WEndChargeTotal, 0) + \r\nS_DisasterCompTotal + S_MalfuncCompTotal + S_OtherObstCompTotal + S_PercentOfAvgCompTotal",
"fieldcode": 1000101,
"id": "D000000000",
"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% + If(NxIBetween(WorkingRelation_ID.TypeOfActivity, 3, 6), \r\nGrossWageTotal, S_ExitCompTotal + S_ExitFee)",
"fieldcode": 1000102,
"id": "F000000000",
"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(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal + S_SurChargeTotal + S_POL_Wage)",
"fieldcode": 1000164,
"id": "G000000000",
"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_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": "if(WageSettings(3)=0,1,2)",
"fieldcode": 1000201,
"id": "TF00000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"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": "if(((S_PaidFreeTotal <> 0) or\r\n (HolidayDrawDays <> 0) or\r\n (PaidHoliday <> 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_OverTimeTotal <> 0) or\r\n (S_FeastHoursTotal <> 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_WEndHoursTotal <> 0) or\r\n (CalcAvgNetWage)),\r\n NxMax(AverageWage, WageConstant('S_MinMzdH', Wageperiod_ID.ID) * S_MinWageCoef),0)",
"fieldcode": 1000207,
"id": "8G00000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2000-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(CalcAvgNetWage, WageConstant('S_DnyMes', WagePeriod_ID.ID) * AverageWage * (S_AvgShiftLength), 0) ",
"fieldcode": 1000208,
"id": "BG00000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 257,
"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": "if(((S_PaidFreeTotal <> 0) or\r\n (HolidayDrawDays <> 0) or\r\n (PaidHoliday <> 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 + S_OldOvertimeHoursTotal - NxMin(S_UnresolvedOvertime + S_OvertimeSubstFreeTotal, S_OverTimeTotal)) <> 0) or\r\n (S_FeastHoursTotal <> 0) or\r\n (S_NightHoursTotal <> 0) or\r\n (S_FeastHoursTotal <> 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_WEndHoursTotal <> 0) or\r\n CalcAvgNetWage),\r\n NxMax(AverageWage, ((WageConstant('S_MinMzdH', Wageperiod_ID.ID)\/ \r\n if(WorkingRelation_ID.IndividualWeekDuty <> 0, \r\n WorkingRelation_ID.IndividualWeekDuty, \r\n WageConstant('S_NormUvaz', WagePeriod_ID.ID))) * WageConstant('S_PracTyden', WagePeriod_ID.ID)) * S_MinWageCoef),0)",
"fieldcode": 1000207,
"id": "T010000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"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, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal + S_SurChargeTotal + S_POL_Wage)",
"fieldcode": 1000164,
"id": "0210000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 258,
"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": "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',WageEmployeeHistoryValue(Employee_ID.ID, WagePeriod_ID.ID, 'NotPayHealthIns')),'','') +\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": "T410000000",
"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": "if((WorkingRelation_ID.TypeOfActivity = 5) and \r\n not WorkingRelation_ID.PartTimeJob,\r\n S_SocialInsBaseTotal, \r\n 0)",
"fieldcode": 1000262,
"id": "I510000000",
"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": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "%V% + If(NxIBetween(WorkingRelation_ID.TypeOfActivity, 3, 6), \r\nGrossWageTotal, S_ExitCompTotal + S_ExitFee) +\r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal",
"fieldcode": 1000102,
"id": "T510000000",
"objversion": 4,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2011-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(MainWorkingRelation,\r\n if((S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar > 0), \r\n NxMax(S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar, \r\n WageConstant('S_MinAuto', WagePeriod_ID.ID)), \r\n 0), \r\n 0)",
"fieldcode": 1000264,
"id": "0T10000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2011-12-31T23:00:00.000Z"
},
{
"checkexpression": "(WorkingRelation_ID.WageAmount>0) or (WorkingRelation_ID.FeeAmount>0) ",
"condition": "",
"errormessage": "Není zadána položka 'Mzda - částka' příp. 'Částka' odměny v pracovním poměru. Tento stav může vést k chybě ve výpočtu.",
"errorseverity": 1,
"explanation": "",
"expression": "If(WorkingRelation_ID.TypeOfWage=0,\r\n WorkingRelation_ID.WageAmount, \r\nif(MonthFund=0, 0, \r\nWorkingRelation_ID.WageAmount \/ (MonthFund + if((S_FeastMode > 1), WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID,WagePeriod_ID.ID, '', 4),0))))",
"fieldcode": 308,
"id": "DY20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2021-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "%V% + S_FeastChargeTotal + S_NightChargeTotal + \r\nS_EnvChargeTotal + S_OverTimeChargeTotal + \r\nS_PaidFeastCompTotal + S_PaidFreeCompTotal + \r\nS_HolidayCompTotal + S_PaidHolidayCompTotal +\r\nS_OldHolidayCompsTotal + S_PaidOldHolidayCompsTotal + \r\nS_ReadinessCompTotal + S_OtherCompensations + \r\nS_ExitCompTotal + S_ExitFee + S_ChildAndYouthCompsTotal + \r\nif((S_RenumerationForm < 2) {mzda}, S_WEndChargeTotal, 0) + \r\nS_DisasterCompTotal + S_MalfuncCompTotal + S_OtherObstCompTotal + \r\nS_PercentOfAvgCompTotal + S_KurzArbeitAmount",
"fieldcode": 1000101,
"id": "EY20000000",
"objversion": 4,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2021-12-31T23:00:00.000Z"
},
{
"checkexpression": "%V% <= WorkingFund",
"condition": "if((WorkingFund=0),True,True)\r\n{Toto donutí výpočet aby se napočetla položka WorkingFund}",
"errormessage": "%1:s přesahuje fond pracovní doby. Chyba může být způsobena tím,\r\nže se časově překrývají zadané nepřítomnosti nebo nemocenské dávky.",
"errorseverity": 1,
"explanation": "",
"expression": "{TotalAbsence - 01.01.2022}\r\n%V% + WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 5, 2) + \r\n if((WorkingRelation_ID.TypeOfWage = 1) and (S_FeastMode = 1), \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4),\r\n (-1) * (S_FeastHourInAbsenceAndSickness - \r\n (WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) + \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 0, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 1, 4) + \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 4, 4))))",
"fieldcode": 305,
"id": "JY20000000",
"objversion": 2,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2021-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_ExecutiveFeeTotal + S_CorporateFeeTotal + S_SurChargeTotal + S_POL_Wage + S_MealAmountOverLimitTotal - S_ApprenticeFeeTotal)",
"fieldcode": 1000164,
"id": "SY20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 258,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2020-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(((S_PaidFreeTotal <> 0) or\r\n (HolidayTotal <> 0) or\r\n (PaidHolidayTotal <> 0) or\r\n (S_DisasterCompTime <> 0) or\r\n (S_MalfunctionCompTime <> 0) or\r\n (S_OtherObstructionCompTime <> 0) or\r\n (S_PercentOfAvgCompTime <> 0) or\r\n (S_WEndHoursTotal <> 0) or\r\n (S_OverTimeTotal <> 0) or\r\n (S_FeastHoursTotal <> 0) or\r\n (S_NightHoursTotal <> 0) or\r\n (S_OldOvertimeHoursTotal <> 0) or\r\n (S_ExitClaim) or\r\n (S_ArmyExerciseTotal <> 0) or\r\n (S_ArmyDuty <> 0) or\r\n (S_ReadinessTotal <> 0) or\r\n (S_PaidFeastTotal <> 0) or\r\n (S_OldHolidayHoursTotal <> 0) or\r\n (S_PaidOldHolidayHoursTotal <> 0) or\r\n (S_ChildAndYouthHoursTotal <> 0) or\r\n (S_QuarantineCalDays <> 0) or\r\n (S_KurzArbeitHours <> 0) or\r\n (CalcAvgNetWage)),\r\n NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), WorkingRelation_ID.JobGroup_ID.HourClaim) * S_MinWageCoef *\r\n (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, 40\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), 40\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
"fieldcode": 1000207,
"id": "7Z20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2022-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(((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 (CalcAvgNetWage)),\r\n NxMax(AverageWage, WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID) * S_MinWageCoef),0)",
"fieldcode": 1000207,
"id": "NT10000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2013-07-31T22: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% + 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 + S_PercentOfAvgCompTotal",
"fieldcode": 1000101,
"id": "RV20000000",
"objversion": 2,
"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 (CalcAvgNetWage)),\r\n NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), if(S_DisabilityPension = 2, WorkingRelation_ID.JobGroup_ID.HourClaim2, WorkingRelation_ID.JobGroup_ID.HourClaim)) * S_MinWageCoef *\r\n (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
"fieldcode": 1000207,
"id": "5W20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2020-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 (CalcAvgNetWage)),\r\n NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), if(S_DisabilityPension = 2, WorkingRelation_ID.JobGroup_ID.HourClaim2, WorkingRelation_ID.JobGroup_ID.HourClaim)) * S_MinWageCoef *\r\n (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
"fieldcode": 1000207,
"id": "MW20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2020-07-31T22: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 (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": "QX20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2021-06-30T22: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": "1600000101"
}
BodyPUT
https://atd.abra.eu/demodata/calccharts/{id}?select=id
{
"calcfieldsspecialbehaviour": false,
"clsid": "W1ZICXOZCBF13JXS00KEZYD5AW",
"code": "MDZakl",
"copied": false,
"correctedby_id": null,
"createdby_id": "SUPER00000",
"hidden": false,
"name": "Dílčí ML, základní",
"rows": [
{
"checkexpression": "WorkingRelation_ID.WageAmount>0",
"condition": "",
"errormessage": "Není zadána položka 'Mzda - částka' 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": "1000000000",
"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": "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) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 0, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 1, 4) + \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 4, 4))))",
"fieldcode": 305,
"id": "4000000000",
"objversion": 5,
"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_WorkHoursOper +\r\nIf(WorkingRelation_ID.CalcWorkingHours, \r\n NxMax(0, WorkingFund - TotalAbsence - S_OvertimeSubstFreeTotal + (S_WorkDays * S_AvgShiftLength) + S_WorkHours - \r\n (S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime)),\r\n (S_WorkDaysTotal * S_AvgShiftLength) + S_WorkHours)",
"fieldcode": 1000021,
"id": "6000000000",
"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_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% + WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OverTimeTotal', False, True) <= 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_OverTimeAbsence - S_WorkingFundForOverTime, 0), 0)",
"fieldcode": 1000014,
"id": "9000000000",
"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": "Int(TotalWorkTime) >= Int(WorkingFund) - Int(TotalAbsence) - Int((S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime))",
"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": "A000000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 257,
"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_TaskWage + S_TaskWageOper",
"fieldcode": 1000027,
"id": "B000000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 257,
"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_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",
"fieldcode": 1000100,
"id": "C000000000",
"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_FeastChargeTotal + S_NightChargeTotal + \r\nS_EnvChargeTotal + S_OverTimeChargeTotal + \r\nS_PaidFeastCompTotal + S_PaidFreeCompTotal + \r\nS_HolidayCompTotal + S_PaidHolidayCompTotal + \r\nS_ReadinessCompTotal + S_OtherCompensations + \r\nS_ExitCompTotal + S_ExitFee + \r\nif((S_RenumerationForm < 2) {mzda}, S_WEndChargeTotal, 0) + \r\nS_DisasterCompTotal + S_MalfuncCompTotal + S_OtherObstCompTotal + S_PercentOfAvgCompTotal",
"fieldcode": 1000101,
"id": "D000000000",
"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% + If(NxIBetween(WorkingRelation_ID.TypeOfActivity, 3, 6), \r\nGrossWageTotal, S_ExitCompTotal + S_ExitFee)",
"fieldcode": 1000102,
"id": "F000000000",
"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(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal + S_SurChargeTotal + S_POL_Wage)",
"fieldcode": 1000164,
"id": "G000000000",
"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_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": "if(WageSettings(3)=0,1,2)",
"fieldcode": 1000201,
"id": "TF00000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"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": "if(((S_PaidFreeTotal <> 0) or\r\n (HolidayDrawDays <> 0) or\r\n (PaidHoliday <> 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_OverTimeTotal <> 0) or\r\n (S_FeastHoursTotal <> 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_WEndHoursTotal <> 0) or\r\n (CalcAvgNetWage)),\r\n NxMax(AverageWage, WageConstant('S_MinMzdH', Wageperiod_ID.ID) * S_MinWageCoef),0)",
"fieldcode": 1000207,
"id": "8G00000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2000-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(CalcAvgNetWage, WageConstant('S_DnyMes', WagePeriod_ID.ID) * AverageWage * (S_AvgShiftLength), 0) ",
"fieldcode": 1000208,
"id": "BG00000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 257,
"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": "if(((S_PaidFreeTotal <> 0) or\r\n (HolidayDrawDays <> 0) or\r\n (PaidHoliday <> 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 + S_OldOvertimeHoursTotal - NxMin(S_UnresolvedOvertime + S_OvertimeSubstFreeTotal, S_OverTimeTotal)) <> 0) or\r\n (S_FeastHoursTotal <> 0) or\r\n (S_NightHoursTotal <> 0) or\r\n (S_FeastHoursTotal <> 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_WEndHoursTotal <> 0) or\r\n CalcAvgNetWage),\r\n NxMax(AverageWage, ((WageConstant('S_MinMzdH', Wageperiod_ID.ID)\/ \r\n if(WorkingRelation_ID.IndividualWeekDuty <> 0, \r\n WorkingRelation_ID.IndividualWeekDuty, \r\n WageConstant('S_NormUvaz', WagePeriod_ID.ID))) * WageConstant('S_PracTyden', WagePeriod_ID.ID)) * S_MinWageCoef),0)",
"fieldcode": 1000207,
"id": "T010000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"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, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal + S_SurChargeTotal + S_POL_Wage)",
"fieldcode": 1000164,
"id": "0210000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 258,
"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": "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',WageEmployeeHistoryValue(Employee_ID.ID, WagePeriod_ID.ID, 'NotPayHealthIns')),'','') +\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": "T410000000",
"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": "if((WorkingRelation_ID.TypeOfActivity = 5) and \r\n not WorkingRelation_ID.PartTimeJob,\r\n S_SocialInsBaseTotal, \r\n 0)",
"fieldcode": 1000262,
"id": "I510000000",
"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": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "%V% + If(NxIBetween(WorkingRelation_ID.TypeOfActivity, 3, 6), \r\nGrossWageTotal, S_ExitCompTotal + S_ExitFee) +\r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal",
"fieldcode": 1000102,
"id": "T510000000",
"objversion": 4,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2011-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(MainWorkingRelation,\r\n if((S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar > 0), \r\n NxMax(S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar, \r\n WageConstant('S_MinAuto', WagePeriod_ID.ID)), \r\n 0), \r\n 0)",
"fieldcode": 1000264,
"id": "0T10000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2011-12-31T23:00:00.000Z"
},
{
"checkexpression": "(WorkingRelation_ID.WageAmount>0) or (WorkingRelation_ID.FeeAmount>0) ",
"condition": "",
"errormessage": "Není zadána položka 'Mzda - částka' příp. 'Částka' odměny v pracovním poměru. Tento stav může vést k chybě ve výpočtu.",
"errorseverity": 1,
"explanation": "",
"expression": "If(WorkingRelation_ID.TypeOfWage=0,\r\n WorkingRelation_ID.WageAmount, \r\nif(MonthFund=0, 0, \r\nWorkingRelation_ID.WageAmount \/ (MonthFund + if((S_FeastMode > 1), WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID,WagePeriod_ID.ID, '', 4),0))))",
"fieldcode": 308,
"id": "DY20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2021-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "%V% + S_FeastChargeTotal + S_NightChargeTotal + \r\nS_EnvChargeTotal + S_OverTimeChargeTotal + \r\nS_PaidFeastCompTotal + S_PaidFreeCompTotal + \r\nS_HolidayCompTotal + S_PaidHolidayCompTotal +\r\nS_OldHolidayCompsTotal + S_PaidOldHolidayCompsTotal + \r\nS_ReadinessCompTotal + S_OtherCompensations + \r\nS_ExitCompTotal + S_ExitFee + S_ChildAndYouthCompsTotal + \r\nif((S_RenumerationForm < 2) {mzda}, S_WEndChargeTotal, 0) + \r\nS_DisasterCompTotal + S_MalfuncCompTotal + S_OtherObstCompTotal + \r\nS_PercentOfAvgCompTotal + S_KurzArbeitAmount",
"fieldcode": 1000101,
"id": "EY20000000",
"objversion": 4,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2021-12-31T23:00:00.000Z"
},
{
"checkexpression": "%V% <= WorkingFund",
"condition": "if((WorkingFund=0),True,True)\r\n{Toto donutí výpočet aby se napočetla položka WorkingFund}",
"errormessage": "%1:s přesahuje fond pracovní doby. Chyba může být způsobena tím,\r\nže se časově překrývají zadané nepřítomnosti nebo nemocenské dávky.",
"errorseverity": 1,
"explanation": "",
"expression": "{TotalAbsence - 01.01.2022}\r\n%V% + WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 5, 2) + \r\n if((WorkingRelation_ID.TypeOfWage = 1) and (S_FeastMode = 1), \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4),\r\n (-1) * (S_FeastHourInAbsenceAndSickness - \r\n (WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) + \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 0, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 1, 4) + \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 4, 4))))",
"fieldcode": 305,
"id": "JY20000000",
"objversion": 2,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2021-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_ExecutiveFeeTotal + S_CorporateFeeTotal + S_SurChargeTotal + S_POL_Wage + S_MealAmountOverLimitTotal - S_ApprenticeFeeTotal)",
"fieldcode": 1000164,
"id": "SY20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 258,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2020-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(((S_PaidFreeTotal <> 0) or\r\n (HolidayTotal <> 0) or\r\n (PaidHolidayTotal <> 0) or\r\n (S_DisasterCompTime <> 0) or\r\n (S_MalfunctionCompTime <> 0) or\r\n (S_OtherObstructionCompTime <> 0) or\r\n (S_PercentOfAvgCompTime <> 0) or\r\n (S_WEndHoursTotal <> 0) or\r\n (S_OverTimeTotal <> 0) or\r\n (S_FeastHoursTotal <> 0) or\r\n (S_NightHoursTotal <> 0) or\r\n (S_OldOvertimeHoursTotal <> 0) or\r\n (S_ExitClaim) or\r\n (S_ArmyExerciseTotal <> 0) or\r\n (S_ArmyDuty <> 0) or\r\n (S_ReadinessTotal <> 0) or\r\n (S_PaidFeastTotal <> 0) or\r\n (S_OldHolidayHoursTotal <> 0) or\r\n (S_PaidOldHolidayHoursTotal <> 0) or\r\n (S_ChildAndYouthHoursTotal <> 0) or\r\n (S_QuarantineCalDays <> 0) or\r\n (S_KurzArbeitHours <> 0) or\r\n (CalcAvgNetWage)),\r\n NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), WorkingRelation_ID.JobGroup_ID.HourClaim) * S_MinWageCoef *\r\n (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, 40\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), 40\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
"fieldcode": 1000207,
"id": "7Z20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2022-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(((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 (CalcAvgNetWage)),\r\n NxMax(AverageWage, WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID) * S_MinWageCoef),0)",
"fieldcode": 1000207,
"id": "NT10000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2013-07-31T22: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% + 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 + S_PercentOfAvgCompTotal",
"fieldcode": 1000101,
"id": "RV20000000",
"objversion": 2,
"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 (CalcAvgNetWage)),\r\n NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), if(S_DisabilityPension = 2, WorkingRelation_ID.JobGroup_ID.HourClaim2, WorkingRelation_ID.JobGroup_ID.HourClaim)) * S_MinWageCoef *\r\n (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
"fieldcode": 1000207,
"id": "5W20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2020-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 (CalcAvgNetWage)),\r\n NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), if(S_DisabilityPension = 2, WorkingRelation_ID.JobGroup_ID.HourClaim2, WorkingRelation_ID.JobGroup_ID.HourClaim)) * S_MinWageCoef *\r\n (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
"fieldcode": 1000207,
"id": "MW20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2020-07-31T22: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 (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": "QX20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2021-06-30T22: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": "1600000101"
}
ResponseDELETE
https://atd.abra.eu/demodata/calccharts/{id}
200 - OK Everything worked as expected.
PUT
https://atd.abra.eu/demodata//batch
{
"items": [
{
"type": "create",
"id": "id0",
"data": {
"class_id": "calccharts",
"object_data": {
"calcfieldsspecialbehaviour": false,
"clsid": "W1ZICXOZCBF13JXS00KEZYD5AW",
"code": "MDZakl",
"copied": false,
"correctedby_id": null,
"createdby_id": "SUPER00000",
"hidden": false,
"name": "Dílčí ML, základní",
"rows": [
{
"checkexpression": "WorkingRelation_ID.WageAmount>0",
"condition": "",
"errormessage": "Není zadána položka 'Mzda - částka' 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": "1000000000",
"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": "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) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 0, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 1, 4) + \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 4, 4))))",
"fieldcode": 305,
"id": "4000000000",
"objversion": 5,
"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_WorkHoursOper +\r\nIf(WorkingRelation_ID.CalcWorkingHours, \r\n NxMax(0, WorkingFund - TotalAbsence - S_OvertimeSubstFreeTotal + (S_WorkDays * S_AvgShiftLength) + S_WorkHours - \r\n (S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime)),\r\n (S_WorkDaysTotal * S_AvgShiftLength) + S_WorkHours)",
"fieldcode": 1000021,
"id": "6000000000",
"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_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% + WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OverTimeTotal', False, True) <= 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_OverTimeAbsence - S_WorkingFundForOverTime, 0), 0)",
"fieldcode": 1000014,
"id": "9000000000",
"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": "Int(TotalWorkTime) >= Int(WorkingFund) - Int(TotalAbsence) - Int((S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime))",
"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": "A000000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 257,
"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_TaskWage + S_TaskWageOper",
"fieldcode": 1000027,
"id": "B000000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 257,
"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_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",
"fieldcode": 1000100,
"id": "C000000000",
"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_FeastChargeTotal + S_NightChargeTotal + \r\nS_EnvChargeTotal + S_OverTimeChargeTotal + \r\nS_PaidFeastCompTotal + S_PaidFreeCompTotal + \r\nS_HolidayCompTotal + S_PaidHolidayCompTotal + \r\nS_ReadinessCompTotal + S_OtherCompensations + \r\nS_ExitCompTotal + S_ExitFee + \r\nif((S_RenumerationForm < 2) {mzda}, S_WEndChargeTotal, 0) + \r\nS_DisasterCompTotal + S_MalfuncCompTotal + S_OtherObstCompTotal + S_PercentOfAvgCompTotal",
"fieldcode": 1000101,
"id": "D000000000",
"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% + If(NxIBetween(WorkingRelation_ID.TypeOfActivity, 3, 6), \r\nGrossWageTotal, S_ExitCompTotal + S_ExitFee)",
"fieldcode": 1000102,
"id": "F000000000",
"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(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal + S_SurChargeTotal + S_POL_Wage)",
"fieldcode": 1000164,
"id": "G000000000",
"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_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": "if(WageSettings(3)=0,1,2)",
"fieldcode": 1000201,
"id": "TF00000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"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": "if(((S_PaidFreeTotal <> 0) or\r\n (HolidayDrawDays <> 0) or\r\n (PaidHoliday <> 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_OverTimeTotal <> 0) or\r\n (S_FeastHoursTotal <> 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_WEndHoursTotal <> 0) or\r\n (CalcAvgNetWage)),\r\n NxMax(AverageWage, WageConstant('S_MinMzdH', Wageperiod_ID.ID) * S_MinWageCoef),0)",
"fieldcode": 1000207,
"id": "8G00000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2000-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(CalcAvgNetWage, WageConstant('S_DnyMes', WagePeriod_ID.ID) * AverageWage * (S_AvgShiftLength), 0) ",
"fieldcode": 1000208,
"id": "BG00000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 257,
"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": "if(((S_PaidFreeTotal <> 0) or\r\n (HolidayDrawDays <> 0) or\r\n (PaidHoliday <> 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 + S_OldOvertimeHoursTotal - NxMin(S_UnresolvedOvertime + S_OvertimeSubstFreeTotal, S_OverTimeTotal)) <> 0) or\r\n (S_FeastHoursTotal <> 0) or\r\n (S_NightHoursTotal <> 0) or\r\n (S_FeastHoursTotal <> 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_WEndHoursTotal <> 0) or\r\n CalcAvgNetWage),\r\n NxMax(AverageWage, ((WageConstant('S_MinMzdH', Wageperiod_ID.ID)\/ \r\n if(WorkingRelation_ID.IndividualWeekDuty <> 0, \r\n WorkingRelation_ID.IndividualWeekDuty, \r\n WageConstant('S_NormUvaz', WagePeriod_ID.ID))) * WageConstant('S_PracTyden', WagePeriod_ID.ID)) * S_MinWageCoef),0)",
"fieldcode": 1000207,
"id": "T010000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"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, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal + S_SurChargeTotal + S_POL_Wage)",
"fieldcode": 1000164,
"id": "0210000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 258,
"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": "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',WageEmployeeHistoryValue(Employee_ID.ID, WagePeriod_ID.ID, 'NotPayHealthIns')),'','') +\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": "T410000000",
"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": "if((WorkingRelation_ID.TypeOfActivity = 5) and \r\n not WorkingRelation_ID.PartTimeJob,\r\n S_SocialInsBaseTotal, \r\n 0)",
"fieldcode": 1000262,
"id": "I510000000",
"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": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "%V% + If(NxIBetween(WorkingRelation_ID.TypeOfActivity, 3, 6), \r\nGrossWageTotal, S_ExitCompTotal + S_ExitFee) +\r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal",
"fieldcode": 1000102,
"id": "T510000000",
"objversion": 4,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2011-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(MainWorkingRelation,\r\n if((S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar > 0), \r\n NxMax(S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar, \r\n WageConstant('S_MinAuto', WagePeriod_ID.ID)), \r\n 0), \r\n 0)",
"fieldcode": 1000264,
"id": "0T10000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2011-12-31T23:00:00.000Z"
},
{
"checkexpression": "(WorkingRelation_ID.WageAmount>0) or (WorkingRelation_ID.FeeAmount>0) ",
"condition": "",
"errormessage": "Není zadána položka 'Mzda - částka' příp. 'Částka' odměny v pracovním poměru. Tento stav může vést k chybě ve výpočtu.",
"errorseverity": 1,
"explanation": "",
"expression": "If(WorkingRelation_ID.TypeOfWage=0,\r\n WorkingRelation_ID.WageAmount, \r\nif(MonthFund=0, 0, \r\nWorkingRelation_ID.WageAmount \/ (MonthFund + if((S_FeastMode > 1), WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID,WagePeriod_ID.ID, '', 4),0))))",
"fieldcode": 308,
"id": "DY20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2021-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "%V% + S_FeastChargeTotal + S_NightChargeTotal + \r\nS_EnvChargeTotal + S_OverTimeChargeTotal + \r\nS_PaidFeastCompTotal + S_PaidFreeCompTotal + \r\nS_HolidayCompTotal + S_PaidHolidayCompTotal +\r\nS_OldHolidayCompsTotal + S_PaidOldHolidayCompsTotal + \r\nS_ReadinessCompTotal + S_OtherCompensations + \r\nS_ExitCompTotal + S_ExitFee + S_ChildAndYouthCompsTotal + \r\nif((S_RenumerationForm < 2) {mzda}, S_WEndChargeTotal, 0) + \r\nS_DisasterCompTotal + S_MalfuncCompTotal + S_OtherObstCompTotal + \r\nS_PercentOfAvgCompTotal + S_KurzArbeitAmount",
"fieldcode": 1000101,
"id": "EY20000000",
"objversion": 4,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2021-12-31T23:00:00.000Z"
},
{
"checkexpression": "%V% <= WorkingFund",
"condition": "if((WorkingFund=0),True,True)\r\n{Toto donutí výpočet aby se napočetla položka WorkingFund}",
"errormessage": "%1:s přesahuje fond pracovní doby. Chyba může být způsobena tím,\r\nže se časově překrývají zadané nepřítomnosti nebo nemocenské dávky.",
"errorseverity": 1,
"explanation": "",
"expression": "{TotalAbsence - 01.01.2022}\r\n%V% + WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 5, 2) + \r\n if((WorkingRelation_ID.TypeOfWage = 1) and (S_FeastMode = 1), \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4),\r\n (-1) * (S_FeastHourInAbsenceAndSickness - \r\n (WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) + \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 0, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 1, 4) + \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 4, 4))))",
"fieldcode": 305,
"id": "JY20000000",
"objversion": 2,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2021-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_ExecutiveFeeTotal + S_CorporateFeeTotal + S_SurChargeTotal + S_POL_Wage + S_MealAmountOverLimitTotal - S_ApprenticeFeeTotal)",
"fieldcode": 1000164,
"id": "SY20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 258,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2020-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(((S_PaidFreeTotal <> 0) or\r\n (HolidayTotal <> 0) or\r\n (PaidHolidayTotal <> 0) or\r\n (S_DisasterCompTime <> 0) or\r\n (S_MalfunctionCompTime <> 0) or\r\n (S_OtherObstructionCompTime <> 0) or\r\n (S_PercentOfAvgCompTime <> 0) or\r\n (S_WEndHoursTotal <> 0) or\r\n (S_OverTimeTotal <> 0) or\r\n (S_FeastHoursTotal <> 0) or\r\n (S_NightHoursTotal <> 0) or\r\n (S_OldOvertimeHoursTotal <> 0) or\r\n (S_ExitClaim) or\r\n (S_ArmyExerciseTotal <> 0) or\r\n (S_ArmyDuty <> 0) or\r\n (S_ReadinessTotal <> 0) or\r\n (S_PaidFeastTotal <> 0) or\r\n (S_OldHolidayHoursTotal <> 0) or\r\n (S_PaidOldHolidayHoursTotal <> 0) or\r\n (S_ChildAndYouthHoursTotal <> 0) or\r\n (S_QuarantineCalDays <> 0) or\r\n (S_KurzArbeitHours <> 0) or\r\n (CalcAvgNetWage)),\r\n NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), WorkingRelation_ID.JobGroup_ID.HourClaim) * S_MinWageCoef *\r\n (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, 40\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), 40\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
"fieldcode": 1000207,
"id": "7Z20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2022-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(((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 (CalcAvgNetWage)),\r\n NxMax(AverageWage, WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID) * S_MinWageCoef),0)",
"fieldcode": 1000207,
"id": "NT10000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2013-07-31T22: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% + 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 + S_PercentOfAvgCompTotal",
"fieldcode": 1000101,
"id": "RV20000000",
"objversion": 2,
"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 (CalcAvgNetWage)),\r\n NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), if(S_DisabilityPension = 2, WorkingRelation_ID.JobGroup_ID.HourClaim2, WorkingRelation_ID.JobGroup_ID.HourClaim)) * S_MinWageCoef *\r\n (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
"fieldcode": 1000207,
"id": "5W20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2020-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 (CalcAvgNetWage)),\r\n NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), if(S_DisabilityPension = 2, WorkingRelation_ID.JobGroup_ID.HourClaim2, WorkingRelation_ID.JobGroup_ID.HourClaim)) * S_MinWageCoef *\r\n (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
"fieldcode": 1000207,
"id": "MW20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2020-07-31T22: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 (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": "QX20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2021-06-30T22: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": "calccharts",
"object_data": {
"calcfieldsspecialbehaviour": false,
"clsid": "W1ZICXOZCBF13JXS00KEZYD5AW",
"code": "MDZakl",
"copied": false,
"correctedby_id": null,
"createdby_id": "SUPER00000",
"hidden": false,
"name": "Dílčí ML, základní",
"rows": [
{
"checkexpression": "WorkingRelation_ID.WageAmount>0",
"condition": "",
"errormessage": "Není zadána položka 'Mzda - částka' 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": "1000000000",
"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": "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) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 0, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 1, 4) + \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 4, 4))))",
"fieldcode": 305,
"id": "4000000000",
"objversion": 5,
"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_WorkHoursOper +\r\nIf(WorkingRelation_ID.CalcWorkingHours, \r\n NxMax(0, WorkingFund - TotalAbsence - S_OvertimeSubstFreeTotal + (S_WorkDays * S_AvgShiftLength) + S_WorkHours - \r\n (S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime)),\r\n (S_WorkDaysTotal * S_AvgShiftLength) + S_WorkHours)",
"fieldcode": 1000021,
"id": "6000000000",
"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_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% + WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OverTimeTotal', False, True) <= 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_OverTimeAbsence - S_WorkingFundForOverTime, 0), 0)",
"fieldcode": 1000014,
"id": "9000000000",
"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": "Int(TotalWorkTime) >= Int(WorkingFund) - Int(TotalAbsence) - Int((S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime))",
"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": "A000000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 257,
"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_TaskWage + S_TaskWageOper",
"fieldcode": 1000027,
"id": "B000000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 257,
"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_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",
"fieldcode": 1000100,
"id": "C000000000",
"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_FeastChargeTotal + S_NightChargeTotal + \r\nS_EnvChargeTotal + S_OverTimeChargeTotal + \r\nS_PaidFeastCompTotal + S_PaidFreeCompTotal + \r\nS_HolidayCompTotal + S_PaidHolidayCompTotal + \r\nS_ReadinessCompTotal + S_OtherCompensations + \r\nS_ExitCompTotal + S_ExitFee + \r\nif((S_RenumerationForm < 2) {mzda}, S_WEndChargeTotal, 0) + \r\nS_DisasterCompTotal + S_MalfuncCompTotal + S_OtherObstCompTotal + S_PercentOfAvgCompTotal",
"fieldcode": 1000101,
"id": "D000000000",
"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% + If(NxIBetween(WorkingRelation_ID.TypeOfActivity, 3, 6), \r\nGrossWageTotal, S_ExitCompTotal + S_ExitFee)",
"fieldcode": 1000102,
"id": "F000000000",
"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(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal + S_SurChargeTotal + S_POL_Wage)",
"fieldcode": 1000164,
"id": "G000000000",
"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_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": "if(WageSettings(3)=0,1,2)",
"fieldcode": 1000201,
"id": "TF00000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"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": "if(((S_PaidFreeTotal <> 0) or\r\n (HolidayDrawDays <> 0) or\r\n (PaidHoliday <> 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_OverTimeTotal <> 0) or\r\n (S_FeastHoursTotal <> 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_WEndHoursTotal <> 0) or\r\n (CalcAvgNetWage)),\r\n NxMax(AverageWage, WageConstant('S_MinMzdH', Wageperiod_ID.ID) * S_MinWageCoef),0)",
"fieldcode": 1000207,
"id": "8G00000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2000-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(CalcAvgNetWage, WageConstant('S_DnyMes', WagePeriod_ID.ID) * AverageWage * (S_AvgShiftLength), 0) ",
"fieldcode": 1000208,
"id": "BG00000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 257,
"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": "if(((S_PaidFreeTotal <> 0) or\r\n (HolidayDrawDays <> 0) or\r\n (PaidHoliday <> 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 + S_OldOvertimeHoursTotal - NxMin(S_UnresolvedOvertime + S_OvertimeSubstFreeTotal, S_OverTimeTotal)) <> 0) or\r\n (S_FeastHoursTotal <> 0) or\r\n (S_NightHoursTotal <> 0) or\r\n (S_FeastHoursTotal <> 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_WEndHoursTotal <> 0) or\r\n CalcAvgNetWage),\r\n NxMax(AverageWage, ((WageConstant('S_MinMzdH', Wageperiod_ID.ID)\/ \r\n if(WorkingRelation_ID.IndividualWeekDuty <> 0, \r\n WorkingRelation_ID.IndividualWeekDuty, \r\n WageConstant('S_NormUvaz', WagePeriod_ID.ID))) * WageConstant('S_PracTyden', WagePeriod_ID.ID)) * S_MinWageCoef),0)",
"fieldcode": 1000207,
"id": "T010000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"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, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal + S_SurChargeTotal + S_POL_Wage)",
"fieldcode": 1000164,
"id": "0210000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 258,
"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": "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',WageEmployeeHistoryValue(Employee_ID.ID, WagePeriod_ID.ID, 'NotPayHealthIns')),'','') +\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": "T410000000",
"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": "if((WorkingRelation_ID.TypeOfActivity = 5) and \r\n not WorkingRelation_ID.PartTimeJob,\r\n S_SocialInsBaseTotal, \r\n 0)",
"fieldcode": 1000262,
"id": "I510000000",
"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": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "%V% + If(NxIBetween(WorkingRelation_ID.TypeOfActivity, 3, 6), \r\nGrossWageTotal, S_ExitCompTotal + S_ExitFee) +\r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal",
"fieldcode": 1000102,
"id": "T510000000",
"objversion": 4,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2011-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(MainWorkingRelation,\r\n if((S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar > 0), \r\n NxMax(S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar, \r\n WageConstant('S_MinAuto', WagePeriod_ID.ID)), \r\n 0), \r\n 0)",
"fieldcode": 1000264,
"id": "0T10000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2011-12-31T23:00:00.000Z"
},
{
"checkexpression": "(WorkingRelation_ID.WageAmount>0) or (WorkingRelation_ID.FeeAmount>0) ",
"condition": "",
"errormessage": "Není zadána položka 'Mzda - částka' příp. 'Částka' odměny v pracovním poměru. Tento stav může vést k chybě ve výpočtu.",
"errorseverity": 1,
"explanation": "",
"expression": "If(WorkingRelation_ID.TypeOfWage=0,\r\n WorkingRelation_ID.WageAmount, \r\nif(MonthFund=0, 0, \r\nWorkingRelation_ID.WageAmount \/ (MonthFund + if((S_FeastMode > 1), WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID,WagePeriod_ID.ID, '', 4),0))))",
"fieldcode": 308,
"id": "DY20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2021-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "%V% + S_FeastChargeTotal + S_NightChargeTotal + \r\nS_EnvChargeTotal + S_OverTimeChargeTotal + \r\nS_PaidFeastCompTotal + S_PaidFreeCompTotal + \r\nS_HolidayCompTotal + S_PaidHolidayCompTotal +\r\nS_OldHolidayCompsTotal + S_PaidOldHolidayCompsTotal + \r\nS_ReadinessCompTotal + S_OtherCompensations + \r\nS_ExitCompTotal + S_ExitFee + S_ChildAndYouthCompsTotal + \r\nif((S_RenumerationForm < 2) {mzda}, S_WEndChargeTotal, 0) + \r\nS_DisasterCompTotal + S_MalfuncCompTotal + S_OtherObstCompTotal + \r\nS_PercentOfAvgCompTotal + S_KurzArbeitAmount",
"fieldcode": 1000101,
"id": "EY20000000",
"objversion": 4,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2021-12-31T23:00:00.000Z"
},
{
"checkexpression": "%V% <= WorkingFund",
"condition": "if((WorkingFund=0),True,True)\r\n{Toto donutí výpočet aby se napočetla položka WorkingFund}",
"errormessage": "%1:s přesahuje fond pracovní doby. Chyba může být způsobena tím,\r\nže se časově překrývají zadané nepřítomnosti nebo nemocenské dávky.",
"errorseverity": 1,
"explanation": "",
"expression": "{TotalAbsence - 01.01.2022}\r\n%V% + WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 5, 2) + \r\n if((WorkingRelation_ID.TypeOfWage = 1) and (S_FeastMode = 1), \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4),\r\n (-1) * (S_FeastHourInAbsenceAndSickness - \r\n (WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) + \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 0, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 1, 4) + \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 4, 4))))",
"fieldcode": 305,
"id": "JY20000000",
"objversion": 2,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2021-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_ExecutiveFeeTotal + S_CorporateFeeTotal + S_SurChargeTotal + S_POL_Wage + S_MealAmountOverLimitTotal - S_ApprenticeFeeTotal)",
"fieldcode": 1000164,
"id": "SY20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 258,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2020-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(((S_PaidFreeTotal <> 0) or\r\n (HolidayTotal <> 0) or\r\n (PaidHolidayTotal <> 0) or\r\n (S_DisasterCompTime <> 0) or\r\n (S_MalfunctionCompTime <> 0) or\r\n (S_OtherObstructionCompTime <> 0) or\r\n (S_PercentOfAvgCompTime <> 0) or\r\n (S_WEndHoursTotal <> 0) or\r\n (S_OverTimeTotal <> 0) or\r\n (S_FeastHoursTotal <> 0) or\r\n (S_NightHoursTotal <> 0) or\r\n (S_OldOvertimeHoursTotal <> 0) or\r\n (S_ExitClaim) or\r\n (S_ArmyExerciseTotal <> 0) or\r\n (S_ArmyDuty <> 0) or\r\n (S_ReadinessTotal <> 0) or\r\n (S_PaidFeastTotal <> 0) or\r\n (S_OldHolidayHoursTotal <> 0) or\r\n (S_PaidOldHolidayHoursTotal <> 0) or\r\n (S_ChildAndYouthHoursTotal <> 0) or\r\n (S_QuarantineCalDays <> 0) or\r\n (S_KurzArbeitHours <> 0) or\r\n (CalcAvgNetWage)),\r\n NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), WorkingRelation_ID.JobGroup_ID.HourClaim) * S_MinWageCoef *\r\n (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, 40\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), 40\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
"fieldcode": 1000207,
"id": "7Z20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2022-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(((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 (CalcAvgNetWage)),\r\n NxMax(AverageWage, WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID) * S_MinWageCoef),0)",
"fieldcode": 1000207,
"id": "NT10000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2013-07-31T22: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% + 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 + S_PercentOfAvgCompTotal",
"fieldcode": 1000101,
"id": "RV20000000",
"objversion": 2,
"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 (CalcAvgNetWage)),\r\n NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), if(S_DisabilityPension = 2, WorkingRelation_ID.JobGroup_ID.HourClaim2, WorkingRelation_ID.JobGroup_ID.HourClaim)) * S_MinWageCoef *\r\n (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
"fieldcode": 1000207,
"id": "5W20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2020-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 (CalcAvgNetWage)),\r\n NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), if(S_DisabilityPension = 2, WorkingRelation_ID.JobGroup_ID.HourClaim2, WorkingRelation_ID.JobGroup_ID.HourClaim)) * S_MinWageCoef *\r\n (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
"fieldcode": 1000207,
"id": "MW20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2020-07-31T22: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 (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": "QX20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2021-06-30T22: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"
]
}
}
}
]
}
{
"items": [
{
"type": "update",
"id": "id0",
"data": {
"class_id": "calccharts",
"obj_id": "1600000100",
"object_data": {
"calcfieldsspecialbehaviour": false,
"clsid": "W1ZICXOZCBF13JXS00KEZYD5AW",
"code": "MDZakl",
"copied": false,
"correctedby_id": null,
"createdby_id": "SUPER00000",
"hidden": false,
"name": "Dílčí ML, základní",
"rows": [
{
"checkexpression": "WorkingRelation_ID.WageAmount>0",
"condition": "",
"errormessage": "Není zadána položka 'Mzda - částka' 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": "1000000000",
"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": "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) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 0, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 1, 4) + \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 4, 4))))",
"fieldcode": 305,
"id": "4000000000",
"objversion": 5,
"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_WorkHoursOper +\r\nIf(WorkingRelation_ID.CalcWorkingHours, \r\n NxMax(0, WorkingFund - TotalAbsence - S_OvertimeSubstFreeTotal + (S_WorkDays * S_AvgShiftLength) + S_WorkHours - \r\n (S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime)),\r\n (S_WorkDaysTotal * S_AvgShiftLength) + S_WorkHours)",
"fieldcode": 1000021,
"id": "6000000000",
"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_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% + WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OverTimeTotal', False, True) <= 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_OverTimeAbsence - S_WorkingFundForOverTime, 0), 0)",
"fieldcode": 1000014,
"id": "9000000000",
"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": "Int(TotalWorkTime) >= Int(WorkingFund) - Int(TotalAbsence) - Int((S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime))",
"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": "A000000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 257,
"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_TaskWage + S_TaskWageOper",
"fieldcode": 1000027,
"id": "B000000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 257,
"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_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",
"fieldcode": 1000100,
"id": "C000000000",
"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_FeastChargeTotal + S_NightChargeTotal + \r\nS_EnvChargeTotal + S_OverTimeChargeTotal + \r\nS_PaidFeastCompTotal + S_PaidFreeCompTotal + \r\nS_HolidayCompTotal + S_PaidHolidayCompTotal + \r\nS_ReadinessCompTotal + S_OtherCompensations + \r\nS_ExitCompTotal + S_ExitFee + \r\nif((S_RenumerationForm < 2) {mzda}, S_WEndChargeTotal, 0) + \r\nS_DisasterCompTotal + S_MalfuncCompTotal + S_OtherObstCompTotal + S_PercentOfAvgCompTotal",
"fieldcode": 1000101,
"id": "D000000000",
"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% + If(NxIBetween(WorkingRelation_ID.TypeOfActivity, 3, 6), \r\nGrossWageTotal, S_ExitCompTotal + S_ExitFee)",
"fieldcode": 1000102,
"id": "F000000000",
"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(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal + S_SurChargeTotal + S_POL_Wage)",
"fieldcode": 1000164,
"id": "G000000000",
"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_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": "if(WageSettings(3)=0,1,2)",
"fieldcode": 1000201,
"id": "TF00000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"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": "if(((S_PaidFreeTotal <> 0) or\r\n (HolidayDrawDays <> 0) or\r\n (PaidHoliday <> 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_OverTimeTotal <> 0) or\r\n (S_FeastHoursTotal <> 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_WEndHoursTotal <> 0) or\r\n (CalcAvgNetWage)),\r\n NxMax(AverageWage, WageConstant('S_MinMzdH', Wageperiod_ID.ID) * S_MinWageCoef),0)",
"fieldcode": 1000207,
"id": "8G00000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2000-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(CalcAvgNetWage, WageConstant('S_DnyMes', WagePeriod_ID.ID) * AverageWage * (S_AvgShiftLength), 0) ",
"fieldcode": 1000208,
"id": "BG00000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 257,
"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": "if(((S_PaidFreeTotal <> 0) or\r\n (HolidayDrawDays <> 0) or\r\n (PaidHoliday <> 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 + S_OldOvertimeHoursTotal - NxMin(S_UnresolvedOvertime + S_OvertimeSubstFreeTotal, S_OverTimeTotal)) <> 0) or\r\n (S_FeastHoursTotal <> 0) or\r\n (S_NightHoursTotal <> 0) or\r\n (S_FeastHoursTotal <> 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_WEndHoursTotal <> 0) or\r\n CalcAvgNetWage),\r\n NxMax(AverageWage, ((WageConstant('S_MinMzdH', Wageperiod_ID.ID)\/ \r\n if(WorkingRelation_ID.IndividualWeekDuty <> 0, \r\n WorkingRelation_ID.IndividualWeekDuty, \r\n WageConstant('S_NormUvaz', WagePeriod_ID.ID))) * WageConstant('S_PracTyden', WagePeriod_ID.ID)) * S_MinWageCoef),0)",
"fieldcode": 1000207,
"id": "T010000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"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, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal + S_SurChargeTotal + S_POL_Wage)",
"fieldcode": 1000164,
"id": "0210000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 258,
"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": "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',WageEmployeeHistoryValue(Employee_ID.ID, WagePeriod_ID.ID, 'NotPayHealthIns')),'','') +\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": "T410000000",
"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": "if((WorkingRelation_ID.TypeOfActivity = 5) and \r\n not WorkingRelation_ID.PartTimeJob,\r\n S_SocialInsBaseTotal, \r\n 0)",
"fieldcode": 1000262,
"id": "I510000000",
"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": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "%V% + If(NxIBetween(WorkingRelation_ID.TypeOfActivity, 3, 6), \r\nGrossWageTotal, S_ExitCompTotal + S_ExitFee) +\r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal",
"fieldcode": 1000102,
"id": "T510000000",
"objversion": 4,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2011-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(MainWorkingRelation,\r\n if((S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar > 0), \r\n NxMax(S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar, \r\n WageConstant('S_MinAuto', WagePeriod_ID.ID)), \r\n 0), \r\n 0)",
"fieldcode": 1000264,
"id": "0T10000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2011-12-31T23:00:00.000Z"
},
{
"checkexpression": "(WorkingRelation_ID.WageAmount>0) or (WorkingRelation_ID.FeeAmount>0) ",
"condition": "",
"errormessage": "Není zadána položka 'Mzda - částka' příp. 'Částka' odměny v pracovním poměru. Tento stav může vést k chybě ve výpočtu.",
"errorseverity": 1,
"explanation": "",
"expression": "If(WorkingRelation_ID.TypeOfWage=0,\r\n WorkingRelation_ID.WageAmount, \r\nif(MonthFund=0, 0, \r\nWorkingRelation_ID.WageAmount \/ (MonthFund + if((S_FeastMode > 1), WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID,WagePeriod_ID.ID, '', 4),0))))",
"fieldcode": 308,
"id": "DY20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2021-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "%V% + S_FeastChargeTotal + S_NightChargeTotal + \r\nS_EnvChargeTotal + S_OverTimeChargeTotal + \r\nS_PaidFeastCompTotal + S_PaidFreeCompTotal + \r\nS_HolidayCompTotal + S_PaidHolidayCompTotal +\r\nS_OldHolidayCompsTotal + S_PaidOldHolidayCompsTotal + \r\nS_ReadinessCompTotal + S_OtherCompensations + \r\nS_ExitCompTotal + S_ExitFee + S_ChildAndYouthCompsTotal + \r\nif((S_RenumerationForm < 2) {mzda}, S_WEndChargeTotal, 0) + \r\nS_DisasterCompTotal + S_MalfuncCompTotal + S_OtherObstCompTotal + \r\nS_PercentOfAvgCompTotal + S_KurzArbeitAmount",
"fieldcode": 1000101,
"id": "EY20000000",
"objversion": 4,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2021-12-31T23:00:00.000Z"
},
{
"checkexpression": "%V% <= WorkingFund",
"condition": "if((WorkingFund=0),True,True)\r\n{Toto donutí výpočet aby se napočetla položka WorkingFund}",
"errormessage": "%1:s přesahuje fond pracovní doby. Chyba může být způsobena tím,\r\nže se časově překrývají zadané nepřítomnosti nebo nemocenské dávky.",
"errorseverity": 1,
"explanation": "",
"expression": "{TotalAbsence - 01.01.2022}\r\n%V% + WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 5, 2) + \r\n if((WorkingRelation_ID.TypeOfWage = 1) and (S_FeastMode = 1), \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4),\r\n (-1) * (S_FeastHourInAbsenceAndSickness - \r\n (WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) + \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 0, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 1, 4) + \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 4, 4))))",
"fieldcode": 305,
"id": "JY20000000",
"objversion": 2,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2021-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_ExecutiveFeeTotal + S_CorporateFeeTotal + S_SurChargeTotal + S_POL_Wage + S_MealAmountOverLimitTotal - S_ApprenticeFeeTotal)",
"fieldcode": 1000164,
"id": "SY20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 258,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2020-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(((S_PaidFreeTotal <> 0) or\r\n (HolidayTotal <> 0) or\r\n (PaidHolidayTotal <> 0) or\r\n (S_DisasterCompTime <> 0) or\r\n (S_MalfunctionCompTime <> 0) or\r\n (S_OtherObstructionCompTime <> 0) or\r\n (S_PercentOfAvgCompTime <> 0) or\r\n (S_WEndHoursTotal <> 0) or\r\n (S_OverTimeTotal <> 0) or\r\n (S_FeastHoursTotal <> 0) or\r\n (S_NightHoursTotal <> 0) or\r\n (S_OldOvertimeHoursTotal <> 0) or\r\n (S_ExitClaim) or\r\n (S_ArmyExerciseTotal <> 0) or\r\n (S_ArmyDuty <> 0) or\r\n (S_ReadinessTotal <> 0) or\r\n (S_PaidFeastTotal <> 0) or\r\n (S_OldHolidayHoursTotal <> 0) or\r\n (S_PaidOldHolidayHoursTotal <> 0) or\r\n (S_ChildAndYouthHoursTotal <> 0) or\r\n (S_QuarantineCalDays <> 0) or\r\n (S_KurzArbeitHours <> 0) or\r\n (CalcAvgNetWage)),\r\n NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), WorkingRelation_ID.JobGroup_ID.HourClaim) * S_MinWageCoef *\r\n (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, 40\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), 40\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
"fieldcode": 1000207,
"id": "7Z20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2022-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(((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 (CalcAvgNetWage)),\r\n NxMax(AverageWage, WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID) * S_MinWageCoef),0)",
"fieldcode": 1000207,
"id": "NT10000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2013-07-31T22: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% + 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 + S_PercentOfAvgCompTotal",
"fieldcode": 1000101,
"id": "RV20000000",
"objversion": 2,
"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 (CalcAvgNetWage)),\r\n NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), if(S_DisabilityPension = 2, WorkingRelation_ID.JobGroup_ID.HourClaim2, WorkingRelation_ID.JobGroup_ID.HourClaim)) * S_MinWageCoef *\r\n (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
"fieldcode": 1000207,
"id": "5W20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2020-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 (CalcAvgNetWage)),\r\n NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), if(S_DisabilityPension = 2, WorkingRelation_ID.JobGroup_ID.HourClaim2, WorkingRelation_ID.JobGroup_ID.HourClaim)) * S_MinWageCoef *\r\n (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
"fieldcode": 1000207,
"id": "MW20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2020-07-31T22: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 (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": "QX20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2021-06-30T22: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": "calccharts",
"obj_id": "1600000101",
"object_data": {
"calcfieldsspecialbehaviour": false,
"clsid": "W1ZICXOZCBF13JXS00KEZYD5AW",
"code": "MDZakl",
"copied": false,
"correctedby_id": null,
"createdby_id": "SUPER00000",
"hidden": false,
"name": "Dílčí ML, základní",
"rows": [
{
"checkexpression": "WorkingRelation_ID.WageAmount>0",
"condition": "",
"errormessage": "Není zadána položka 'Mzda - částka' 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": "1000000000",
"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": "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) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 0, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 1, 4) + \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 4, 4))))",
"fieldcode": 305,
"id": "4000000000",
"objversion": 5,
"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_WorkHoursOper +\r\nIf(WorkingRelation_ID.CalcWorkingHours, \r\n NxMax(0, WorkingFund - TotalAbsence - S_OvertimeSubstFreeTotal + (S_WorkDays * S_AvgShiftLength) + S_WorkHours - \r\n (S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime)),\r\n (S_WorkDaysTotal * S_AvgShiftLength) + S_WorkHours)",
"fieldcode": 1000021,
"id": "6000000000",
"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_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% + WageListPartialYearSum(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'S_OverTimeTotal', False, True) <= 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_OverTimeAbsence - S_WorkingFundForOverTime, 0), 0)",
"fieldcode": 1000014,
"id": "9000000000",
"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": "Int(TotalWorkTime) >= Int(WorkingFund) - Int(TotalAbsence) - Int((S_DisasterCompTime + S_MalfunctionCompTime + S_OtherObstructionCompTime + S_PercentOfAvgCompTime))",
"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": "A000000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 257,
"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_TaskWage + S_TaskWageOper",
"fieldcode": 1000027,
"id": "B000000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 257,
"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_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",
"fieldcode": 1000100,
"id": "C000000000",
"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_FeastChargeTotal + S_NightChargeTotal + \r\nS_EnvChargeTotal + S_OverTimeChargeTotal + \r\nS_PaidFeastCompTotal + S_PaidFreeCompTotal + \r\nS_HolidayCompTotal + S_PaidHolidayCompTotal + \r\nS_ReadinessCompTotal + S_OtherCompensations + \r\nS_ExitCompTotal + S_ExitFee + \r\nif((S_RenumerationForm < 2) {mzda}, S_WEndChargeTotal, 0) + \r\nS_DisasterCompTotal + S_MalfuncCompTotal + S_OtherObstCompTotal + S_PercentOfAvgCompTotal",
"fieldcode": 1000101,
"id": "D000000000",
"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% + If(NxIBetween(WorkingRelation_ID.TypeOfActivity, 3, 6), \r\nGrossWageTotal, S_ExitCompTotal + S_ExitFee)",
"fieldcode": 1000102,
"id": "F000000000",
"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(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal + S_SurChargeTotal + S_POL_Wage)",
"fieldcode": 1000164,
"id": "G000000000",
"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_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": "if(WageSettings(3)=0,1,2)",
"fieldcode": 1000201,
"id": "TF00000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"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": "if(((S_PaidFreeTotal <> 0) or\r\n (HolidayDrawDays <> 0) or\r\n (PaidHoliday <> 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_OverTimeTotal <> 0) or\r\n (S_FeastHoursTotal <> 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_WEndHoursTotal <> 0) or\r\n (CalcAvgNetWage)),\r\n NxMax(AverageWage, WageConstant('S_MinMzdH', Wageperiod_ID.ID) * S_MinWageCoef),0)",
"fieldcode": 1000207,
"id": "8G00000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2000-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(CalcAvgNetWage, WageConstant('S_DnyMes', WagePeriod_ID.ID) * AverageWage * (S_AvgShiftLength), 0) ",
"fieldcode": 1000208,
"id": "BG00000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 257,
"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": "if(((S_PaidFreeTotal <> 0) or\r\n (HolidayDrawDays <> 0) or\r\n (PaidHoliday <> 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 + S_OldOvertimeHoursTotal - NxMin(S_UnresolvedOvertime + S_OvertimeSubstFreeTotal, S_OverTimeTotal)) <> 0) or\r\n (S_FeastHoursTotal <> 0) or\r\n (S_NightHoursTotal <> 0) or\r\n (S_FeastHoursTotal <> 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_WEndHoursTotal <> 0) or\r\n CalcAvgNetWage),\r\n NxMax(AverageWage, ((WageConstant('S_MinMzdH', Wageperiod_ID.ID)\/ \r\n if(WorkingRelation_ID.IndividualWeekDuty <> 0, \r\n WorkingRelation_ID.IndividualWeekDuty, \r\n WageConstant('S_NormUvaz', WagePeriod_ID.ID))) * WageConstant('S_PracTyden', WagePeriod_ID.ID)) * S_MinWageCoef),0)",
"fieldcode": 1000207,
"id": "T010000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"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, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal + S_SurChargeTotal + S_POL_Wage)",
"fieldcode": 1000164,
"id": "0210000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 258,
"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": "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',WageEmployeeHistoryValue(Employee_ID.ID, WagePeriod_ID.ID, 'NotPayHealthIns')),'','') +\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": "T410000000",
"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": "if((WorkingRelation_ID.TypeOfActivity = 5) and \r\n not WorkingRelation_ID.PartTimeJob,\r\n S_SocialInsBaseTotal, \r\n 0)",
"fieldcode": 1000262,
"id": "I510000000",
"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": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "%V% + If(NxIBetween(WorkingRelation_ID.TypeOfActivity, 3, 6), \r\nGrossWageTotal, S_ExitCompTotal + S_ExitFee) +\r\nS_CorporateFeeTotal + S_ExecutiveFeeTotal",
"fieldcode": 1000102,
"id": "T510000000",
"objversion": 4,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2011-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(MainWorkingRelation,\r\n if((S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar > 0), \r\n NxMax(S_DutyCar + WageListCommon_ID.S_DutyCar + Employee_ID.DutyCar, \r\n WageConstant('S_MinAuto', WagePeriod_ID.ID)), \r\n 0), \r\n 0)",
"fieldcode": 1000264,
"id": "0T10000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2011-12-31T23:00:00.000Z"
},
{
"checkexpression": "(WorkingRelation_ID.WageAmount>0) or (WorkingRelation_ID.FeeAmount>0) ",
"condition": "",
"errormessage": "Není zadána položka 'Mzda - částka' příp. 'Částka' odměny v pracovním poměru. Tento stav může vést k chybě ve výpočtu.",
"errorseverity": 1,
"explanation": "",
"expression": "If(WorkingRelation_ID.TypeOfWage=0,\r\n WorkingRelation_ID.WageAmount, \r\nif(MonthFund=0, 0, \r\nWorkingRelation_ID.WageAmount \/ (MonthFund + if((S_FeastMode > 1), WageCalendarCount(WorkingRelation_ID.ShiftCalendar_ID.ID,WagePeriod_ID.ID, '', 4),0))))",
"fieldcode": 308,
"id": "DY20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2021-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "%V% + S_FeastChargeTotal + S_NightChargeTotal + \r\nS_EnvChargeTotal + S_OverTimeChargeTotal + \r\nS_PaidFeastCompTotal + S_PaidFreeCompTotal + \r\nS_HolidayCompTotal + S_PaidHolidayCompTotal +\r\nS_OldHolidayCompsTotal + S_PaidOldHolidayCompsTotal + \r\nS_ReadinessCompTotal + S_OtherCompensations + \r\nS_ExitCompTotal + S_ExitFee + S_ChildAndYouthCompsTotal + \r\nif((S_RenumerationForm < 2) {mzda}, S_WEndChargeTotal, 0) + \r\nS_DisasterCompTotal + S_MalfuncCompTotal + S_OtherObstCompTotal + \r\nS_PercentOfAvgCompTotal + S_KurzArbeitAmount",
"fieldcode": 1000101,
"id": "EY20000000",
"objversion": 4,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2021-12-31T23:00:00.000Z"
},
{
"checkexpression": "%V% <= WorkingFund",
"condition": "if((WorkingFund=0),True,True)\r\n{Toto donutí výpočet aby se napočetla položka WorkingFund}",
"errormessage": "%1:s přesahuje fond pracovní doby. Chyba může být způsobena tím,\r\nže se časově překrývají zadané nepřítomnosti nebo nemocenské dávky.",
"errorseverity": 1,
"explanation": "",
"expression": "{TotalAbsence - 01.01.2022}\r\n%V% + WageAbsence(WorkingRelation_ID.ID, WageListFrom, WageListTo, 5, 2) + \r\n if((WorkingRelation_ID.TypeOfWage = 1) and (S_FeastMode = 1), \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4),\r\n (-1) * (S_FeastHourInAbsenceAndSickness - \r\n (WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 2, 4) + \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 5, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 0, 4) +\r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 1, 4) + \r\n WageAbsence(WorkingRelation_ID.ID, WagePeriod_ID.DateFrom$DATE, WagePeriod_ID.DateTo$DATE, 4, 4))))",
"fieldcode": 305,
"id": "JY20000000",
"objversion": 2,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2021-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(CalcAvgNetWage, S_GrossWageForAvgNetWage, %V% + GrossWageTotal + S_ArmyCompTotal + \r\nS_ExecutiveFeeTotal + S_CorporateFeeTotal + S_SurChargeTotal + S_POL_Wage + S_MealAmountOverLimitTotal - S_ApprenticeFeeTotal)",
"fieldcode": 1000164,
"id": "SY20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 258,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 1,
"validfrom$date": "2020-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(((S_PaidFreeTotal <> 0) or\r\n (HolidayTotal <> 0) or\r\n (PaidHolidayTotal <> 0) or\r\n (S_DisasterCompTime <> 0) or\r\n (S_MalfunctionCompTime <> 0) or\r\n (S_OtherObstructionCompTime <> 0) or\r\n (S_PercentOfAvgCompTime <> 0) or\r\n (S_WEndHoursTotal <> 0) or\r\n (S_OverTimeTotal <> 0) or\r\n (S_FeastHoursTotal <> 0) or\r\n (S_NightHoursTotal <> 0) or\r\n (S_OldOvertimeHoursTotal <> 0) or\r\n (S_ExitClaim) or\r\n (S_ArmyExerciseTotal <> 0) or\r\n (S_ArmyDuty <> 0) or\r\n (S_ReadinessTotal <> 0) or\r\n (S_PaidFeastTotal <> 0) or\r\n (S_OldHolidayHoursTotal <> 0) or\r\n (S_PaidOldHolidayHoursTotal <> 0) or\r\n (S_ChildAndYouthHoursTotal <> 0) or\r\n (S_QuarantineCalDays <> 0) or\r\n (S_KurzArbeitHours <> 0) or\r\n (CalcAvgNetWage)),\r\n NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), WorkingRelation_ID.JobGroup_ID.HourClaim) * S_MinWageCoef *\r\n (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, 40\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), 40\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
"fieldcode": 1000207,
"id": "7Z20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": 0,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2022-12-31T23:00:00.000Z"
},
{
"checkexpression": "",
"condition": "",
"errormessage": "",
"errorseverity": 0,
"explanation": "",
"expression": "if(((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 (CalcAvgNetWage)),\r\n NxMax(AverageWage, WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID) * S_MinWageCoef),0)",
"fieldcode": 1000207,
"id": "NT10000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2013-07-31T22: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% + 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 + S_PercentOfAvgCompTotal",
"fieldcode": 1000101,
"id": "RV20000000",
"objversion": 2,
"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 (CalcAvgNetWage)),\r\n NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), if(S_DisabilityPension = 2, WorkingRelation_ID.JobGroup_ID.HourClaim2, WorkingRelation_ID.JobGroup_ID.HourClaim)) * S_MinWageCoef *\r\n (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
"fieldcode": 1000207,
"id": "5W20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2020-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 (CalcAvgNetWage)),\r\n NxMax(AverageWage, NxMax(WageConstant(if((S_DisabilityPension = 2),'S_MinMzdInvH', 'S_MinMzdH'), Wageperiod_ID.ID), if(S_DisabilityPension = 2, WorkingRelation_ID.JobGroup_ID.HourClaim2, WorkingRelation_ID.JobGroup_ID.HourClaim)) * S_MinWageCoef *\r\n (if(WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty') <> 0, WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageWorkRelationHistoryValue(WorkingRelation_ID.ID, WagePeriod_ID.ID, 'IndividualWeekDuty'), WageConstant('S_PracTyden', WagePeriod_ID.ID)\/WageConstant('S_NormUvaz', WagePeriod_ID.ID)))),0) ",
"fieldcode": 1000207,
"id": "MW20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2020-07-31T22: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 (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": "QX20000000",
"objversion": 1,
"parent_id": "1000000000",
"rounding": -33554175,
"stdactioncode": 0,
"stdactionexecute": 0,
"stdactionparams": "",
"system": true,
"typeofsum": 0,
"validfrom$date": "2021-06-30T22: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"
]
}
}
}
]
}
{
"items": [
{
"type": "delete",
"id": "id0",
"data": {
"class_id": "calccharts",
"obj_id": "1600000100"
}
},
{
"type": "delete",
"id": "id1",
"data": {
"class_id": "calccharts",
"obj_id": "1600000101"
}
},
{
"type": "delete",
"id": "id2",
"data": {
"class_id": "calccharts",
"obj_id": "1600000102"
}
},
{
"type": "delete",
"id": "id3",
"data": {
"class_id": "calccharts",
"obj_id": "1600000103"
}
},
{
"type": "delete",
"id": "id4",
"data": {
"class_id": "calccharts",
"obj_id": "1600000104"
}
}
]
}