[
    {
        "metadata": {},
        "data": [
            {
                "calculationOrder": 0,
                "code": "PNU10",
                "comment": "Nb heures de l'activités HPLUS pour le le conseiller saisie sur les bornes 22h-6h",
                "concise": null,
                "customFieldValues": null,
                "formulaLines": [
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "ACTIVITY",
                                "value": "HPLUS HEURES EN PLUS"
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "CALCULATION"
                        }
                    }
                ],
                "isActive": true,
                "label": "Majoration Nuit",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "DAILY",
                    "calendarCode": null,
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": "06:00",
                    "firstStartTimeSlot": "00:00",
                    "secondEndTimeSlot": "06:00",
                    "secondStartTimeSlot": "22:00",
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": true
                },
                "right": null,
                "saveResult": true,
                "schedule": {
                    "dayTypes": [
                        "WORKED",
                        "UNWORKED",
                        "NOT_OPEN",
                        "HOLIDAY",
                        "EXCEPTIONAL_HOLIDAY",
                        "OFF"
                    ],
                    "days": [
                        "MONDAY",
                        "TUESDAY",
                        "WEDNESDAY",
                        "THURSDAY",
                        "FRIDAY",
                        "SATURDAY"
                    ],
                    "maxTimeSlot": 1,
                    "resourcePresence": "INDIFFERENT",
                    "scheduleTypes": [
                        "DAY",
                        "NIGHT",
                        "REST",
                        "HALF_DAY_MORNING",
                        "HALF_DAY_AFTERNOON"
                    ],
                    "useDayFilter": true
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            },
            {
                "calculationOrder": 0,
                "code": "PDI10",
                "comment": "Nb heures de l'activités HPLUS pour le le conseiller (sauf s'il a un horaire auquel cas c'est la prime qui compte)",
                "concise": "MAJO DIM",
                "customFieldValues": null,
                "formulaLines": [
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "SCHEDULE",
                                "value": "040 CODE (AJPN)-(1234)"
                            },
                            "operator": "GREATER",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "0"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "END"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "ACTIVITY",
                                "value": "HPLUS HEURES EN PLUS"
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "CALCULATION"
                        }
                    }
                ],
                "isActive": true,
                "label": "Majoration Dimanche",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "DAILY",
                    "calendarCode": null,
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": null,
                    "firstStartTimeSlot": null,
                    "secondEndTimeSlot": null,
                    "secondStartTimeSlot": null,
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": false
                },
                "right": null,
                "saveResult": true,
                "schedule": {
                    "dayTypes": [
                        "WORKED",
                        "UNWORKED",
                        "NOT_OPEN",
                        "HOLIDAY",
                        "EXCEPTIONAL_HOLIDAY",
                        "OFF"
                    ],
                    "days": [
                        "SUNDAY"
                    ],
                    "maxTimeSlot": 1,
                    "resourcePresence": "INDIFFERENT",
                    "scheduleTypes": [
                        "DAY",
                        "NIGHT",
                        "REST",
                        "HALF_DAY_MORNING",
                        "HALF_DAY_AFTERNOON"
                    ],
                    "useDayFilter": true
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            },
            {
                "calculationOrder": 0,
                "code": "PNU05",
                "comment": "1 si horaire de nuit et pas d'absences",
                "concise": "PR NUIT",
                "customFieldValues": null,
                "formulaLines": [
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "ABSENCE",
                                "value": "*** (TOUTES)"
                            },
                            "operator": "DET",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-1 VARIABLE-1"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "VARIABLE",
                                "value": "V-1 VARIABLE-1"
                            },
                            "operator": "GREATER",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "0"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "END"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "SCHEDULE",
                                "value": "040 CODE (AJPN)-(1234)"
                            },
                            "operator": "EQUAL",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "4"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1"
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    }
                ],
                "isActive": true,
                "label": "Prime de nuit",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "DAILY",
                    "calendarCode": null,
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": null,
                    "firstStartTimeSlot": null,
                    "secondEndTimeSlot": null,
                    "secondStartTimeSlot": null,
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": false
                },
                "right": null,
                "saveResult": true,
                "schedule": {
                    "dayTypes": null,
                    "days": null,
                    "maxTimeSlot": 1,
                    "resourcePresence": null,
                    "scheduleTypes": null,
                    "useDayFilter": false
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            },
            {
                "calculationOrder": 0,
                "code": "POU05",
                "comment": "1 si le conseiller est d'ouverture",
                "concise": "PR OUVERT",
                "customFieldValues": null,
                "formulaLines": [
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "ABSENCE",
                                "value": "*** (TOUTES)"
                            },
                            "operator": "DET",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-1 VARIABLE-1"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "VARIABLE",
                                "value": "V-1 VARIABLE-1"
                            },
                            "operator": "GREATER",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "0"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "END"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "SCHEDULE",
                                "value": "410 ATTTIB-1"
                            },
                            "operator": "EQUAL",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1"
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    }
                ],
                "isActive": true,
                "label": "Prime d'ouverture",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "DAILY",
                    "calendarCode": null,
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": null,
                    "firstStartTimeSlot": null,
                    "secondEndTimeSlot": null,
                    "secondStartTimeSlot": null,
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": false
                },
                "right": null,
                "saveResult": true,
                "schedule": {
                    "dayTypes": null,
                    "days": null,
                    "maxTimeSlot": 1,
                    "resourcePresence": null,
                    "scheduleTypes": null,
                    "useDayFilter": false
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            },
            {
                "calculationOrder": 0,
                "code": "PDI05",
                "comment": "1 si le conseiller a un horaire le dimanche",
                "concise": "PR DIMANCHE",
                "customFieldValues": null,
                "formulaLines": [
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "ABSENCE",
                                "value": "*** (TOUTES)"
                            },
                            "operator": "DET",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-1 VARIABLE-1"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "VARIABLE",
                                "value": "V-1 VARIABLE-1"
                            },
                            "operator": "GREATER",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "0"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "END"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "SCHEDULE",
                                "value": "040 CODE (AJPN)-(1234)"
                            },
                            "operator": "GREATER",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "0"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1"
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    }
                ],
                "isActive": true,
                "label": "Prime Dimanche",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "DAILY",
                    "calendarCode": null,
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": null,
                    "firstStartTimeSlot": null,
                    "secondEndTimeSlot": null,
                    "secondStartTimeSlot": null,
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": false
                },
                "right": null,
                "saveResult": true,
                "schedule": {
                    "dayTypes": [
                        "WORKED",
                        "UNWORKED",
                        "NOT_OPEN",
                        "HOLIDAY",
                        "EXCEPTIONAL_HOLIDAY",
                        "OFF"
                    ],
                    "days": [
                        "SUNDAY"
                    ],
                    "maxTimeSlot": 1,
                    "resourcePresence": "INDIFFERENT",
                    "scheduleTypes": [
                        "DAY",
                        "NIGHT",
                        "REST",
                        "HALF_DAY_MORNING",
                        "HALF_DAY_AFTERNOON"
                    ],
                    "useDayFilter": true
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            },
            {
                "calculationOrder": 0,
                "code": "P0030",
                "comment": "29.07.2024 - GPD : \nCumul du compteur P0010",
                "concise": null,
                "customFieldValues": null,
                "formulaLines": [
                    {
                        "instruction": {
                            "comment": "CUMUL DES TR SUR LE MOIS",
                            "type": "COMMENT"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "P0020 TR - DEDUCTION"
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "CALCULATION"
                        }
                    }
                ],
                "isActive": true,
                "label": "TR mensuel à déduire",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "PERIODIC",
                    "calendarCode": "FMOIS",
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": null,
                    "firstStartTimeSlot": null,
                    "secondEndTimeSlot": null,
                    "secondStartTimeSlot": null,
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": false
                },
                "right": null,
                "saveResult": true,
                "schedule": {
                    "dayTypes": null,
                    "days": null,
                    "maxTimeSlot": 1,
                    "resourcePresence": null,
                    "scheduleTypes": null,
                    "useDayFilter": false
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            },
            {
                "calculationOrder": 0,
                "code": "P0000",
                "comment": null,
                "concise": null,
                "customFieldValues": null,
                "formulaLines": [
                    {
                        "instruction": {
                            "comment": "SI PAS ABSENCE DEDUISANT LES TR JE SORS",
                            "type": "COMMENT"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "ABSENCE_GROUP",
                                "value": "ABS_TR   ABSENCES DEDUISANT LES TR"
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-1 VARIABLE-1"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "VARIABLE",
                                "value": "V-1 VARIABLE-1"
                            },
                            "operator": "EQUAL",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "0"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "END"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1"
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "CALCULATION"
                        }
                    }
                ],
                "isActive": false,
                "label": "---Primes et Indemnités---",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "DAILY",
                    "calendarCode": null,
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": null,
                    "firstStartTimeSlot": null,
                    "secondEndTimeSlot": null,
                    "secondStartTimeSlot": null,
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": false
                },
                "right": null,
                "saveResult": false,
                "schedule": {
                    "dayTypes": null,
                    "days": null,
                    "maxTimeSlot": 1,
                    "resourcePresence": null,
                    "scheduleTypes": null,
                    "useDayFilter": false
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            },
            {
                "calculationOrder": 0,
                "code": "P0020",
                "comment": "Calcule les TR à déduire si absence à la journée ou si saisie pour le salarié (S0002) à Oui ou si saisie (S0003) invitation déjeuner à Oui",
                "concise": null,
                "customFieldValues": null,
                "formulaLines": [
                    {
                        "instruction": {
                            "comment": "DEDUCTION TR SI ABS J, TR A DEDUIRE OU INVITATION DEJ",
                            "type": "COMMENT"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "P0010 TR - DECOMPTE DES ABSENCES"
                            },
                            "operator": "EQUAL",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "S0002 TR A DEDUIRE"
                            },
                            "operator": "EQUAL",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1"
                            },
                            "type": "OR"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "S0003 INVITATION DEJEUNER"
                            },
                            "operator": "EQUAL",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1"
                            },
                            "type": "OR"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "BB005 TEMPS ATTENDU (CENT)"
                            },
                            "operator": "LOWER_OR_EQUAL",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "0"
                            },
                            "type": "OR"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1"
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    }
                ],
                "isActive": true,
                "label": "TR - Déduction",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "DAILY",
                    "calendarCode": null,
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": null,
                    "firstStartTimeSlot": null,
                    "secondEndTimeSlot": null,
                    "secondStartTimeSlot": null,
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": false
                },
                "right": null,
                "saveResult": true,
                "schedule": {
                    "dayTypes": null,
                    "days": null,
                    "maxTimeSlot": 1,
                    "resourcePresence": null,
                    "scheduleTypes": null,
                    "useDayFilter": false
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            },
            {
                "calculationOrder": 0,
                "code": "P0010",
                "comment": "Calcul abattement pour les TR si absence sur la journée\n\nSi une absence faisant partie du regroupement « absences déduisant les TR », est saisie en jour, le compteur salimente à 1",
                "concise": null,
                "customFieldValues": null,
                "formulaLines": [
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "ABSENCE_GROUP",
                                "value": "ABS_TR   ABSENCES DEDUISANT LES TR"
                            },
                            "operator": "DET",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-1 VARIABLE-1"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "VARIABLE",
                                "value": "V-1 VARIABLE-1"
                            },
                            "operator": "GREATER",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "0.5"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1"
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "THEN"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "00050 JOURS FERIES (TOUS)"
                            },
                            "operator": "EQUAL",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1"
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "THEN"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    }
                ],
                "isActive": true,
                "label": "TR - Décompte des absences",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "DAILY",
                    "calendarCode": null,
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": null,
                    "firstStartTimeSlot": null,
                    "secondEndTimeSlot": null,
                    "secondStartTimeSlot": null,
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": false
                },
                "right": null,
                "saveResult": true,
                "schedule": {
                    "dayTypes": null,
                    "days": null,
                    "maxTimeSlot": 1,
                    "resourcePresence": null,
                    "scheduleTypes": null,
                    "useDayFilter": false
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            },
            {
                "calculationOrder": 0,
                "code": "P0015",
                "comment": "Déclaration des TR de la part des salariés que sur les absences faisant parties du regroupement -- Abs autorisant déclaration TR --",
                "concise": null,
                "customFieldValues": null,
                "formulaLines": [
                    {
                        "instruction": {
                            "comment": "BLOQUER LA SAISIE SI ABSENCE <> REGROUPEMENT ABS AUTORISANT DECLARATION TR",
                            "type": "COMMENT"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "ABSENCE_GROUP",
                                "value": "ABSHRSTR ABS AUTORISANT DECLARATION TR"
                            },
                            "operator": "DIFFERENT",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "0"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1"
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "CUSTOM_FIELD",
                                "timeSlot": 0,
                                "value": "DECLARATION TR"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": null,
                                "timeSlot": 0,
                                "value": null
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "OTHERWISE"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CONSTANT",
                                "value": "0"
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "CUSTOM_FIELD",
                                "timeSlot": 0,
                                "value": "DECLARATION TR"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    }
                ],
                "isActive": true,
                "label": "TR - Déclaration sur Absences",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "DAILY",
                    "calendarCode": null,
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": null,
                    "firstStartTimeSlot": null,
                    "secondEndTimeSlot": null,
                    "secondStartTimeSlot": null,
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": false
                },
                "right": null,
                "saveResult": true,
                "schedule": {
                    "dayTypes": null,
                    "days": null,
                    "maxTimeSlot": 1,
                    "resourcePresence": null,
                    "scheduleTypes": null,
                    "useDayFilter": false
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            }
        ]
    }
]