[
    {
        "metadata": {},
        "data": [
            {
                "calculationOrder": 2000,
                "code": "YA005",
                "comment": "Pose absences en demi-journée interdite (regroupement d'absences ABSJOUR)",
                "concise": null,
                "customFieldValues": null,
                "formulaLines": [
                    {
                        "instruction": {
                            "comment": "DETECTION ABSENCES",
                            "type": "COMMENT"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "ABSENCE_GROUP",
                                "value": "ABSJOUR  ABS. UNIQUEMENT EN JOURS"
                            },
                            "operator": "DET",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-1 VARIABLE-1"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "comment": "ALERTE BLOQUANTE",
                            "type": "COMMENT"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "VARIABLE",
                                "value": "V-1 VARIABLE-1"
                            },
                            "operator": "EQUAL",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "0.5"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1"
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "ANOMALY",
                                "timeSlot": 0,
                                "value": "A01 POSE DEMI-JOURNEE INTERDITE"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "THEN"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CONSTANT",
                                "value": "0"
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "ANOMALY",
                                "timeSlot": 0,
                                "value": "00  PAS D'ANOMALIE"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "OTHERWISE"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    }
                ],
                "isActive": true,
                "label": "Pose demi-journée interdite",
                "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": 2000,
                "code": "Y0000",
                "comment": null,
                "concise": null,
                "customFieldValues": null,
                "formulaLines": null,
                "isActive": false,
                "label": "#### ALERTES ####",
                "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": 2000,
                "code": "YA010",
                "comment": "Alerte si il reste des absences AAQ le dernier jour du mois.",
                "concise": null,
                "customFieldValues": null,
                "formulaLines": [
                    {
                        "instruction": {
                            "comment": "UNIQUEMENT DANS LE PASSE",
                            "type": "COMMENT"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "00005 PASSE=1/PRESENT ET FUTUR=2"
                            },
                            "operator": "EQUAL",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "2"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "END"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    },
                    {
                        "instruction": {
                            "comment": "ALERTE INFORMATIVE",
                            "type": "COMMENT"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "ABN05 DET : ABS A QUALIFIER"
                            },
                            "operator": "GREATER",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "0"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1"
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "ANOMALY",
                                "timeSlot": 0,
                                "value": "A03 ABS. AAQ A QUALIFIER"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "THEN"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CONSTANT",
                                "value": "0"
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "ANOMALY",
                                "timeSlot": 0,
                                "value": "00  PAS D'ANOMALIE"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "OTHERWISE"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    }
                ],
                "isActive": true,
                "label": "AAQ à qualifier",
                "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": 2000,
                "code": "YT000",
                "comment": null,
                "concise": null,
                "customFieldValues": null,
                "formulaLines": null,
                "isActive": false,
                "label": "** Liées au temps de travail**",
                "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": 2000,
                "code": "YA000",
                "comment": null,
                "concise": null,
                "customFieldValues": null,
                "formulaLines": null,
                "isActive": false,
                "label": "** ALERTES 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": 2000,
                "code": "YFR01",
                "comment": null,
                "concise": null,
                "customFieldValues": null,
                "formulaLines": null,
                "isActive": false,
                "label": "***** Liées aux contrats *****",
                "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": 2000,
                "code": "YFR05",
                "comment": "Alerte si changement de quotité",
                "concise": null,
                "customFieldValues": null,
                "formulaLines": [
                    {
                        "instruction": {
                            "comment": "CHANGEMENT DE QUOTITE",
                            "type": "COMMENT"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "00030 DETECTION CHGT DE QUOTITE"
                            },
                            "operator": "EQUAL",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1"
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "ANOMALY",
                                "timeSlot": 0,
                                "value": "FR1 CHANG. DE QUOTITE"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "THEN"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CONSTANT",
                                "value": "0"
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "ANOMALY",
                                "timeSlot": 0,
                                "value": "00  PAS D'ANOMALIE"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "OTHERWISE"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    }
                ],
                "isActive": true,
                "label": "Chang. de quotité",
                "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": "YH000",
                "comment": "1 si la saisie dépasse le droit a récupérer\n2 si 0K",
                "concise": null,
                "customFieldValues": [
                    {
                        "label": "MODE_DECOMPTE",
                        "value": "1"
                    },
                    {
                        "label": "TYPE_GESTION",
                        "value": "2"
                    }
                ],
                "formulaLines": [
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS050 SAISIE HRES A RECUPERER"
                            },
                            "operator": "GREATER",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "0"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS050 SAISIE HRES A RECUPERER"
                            },
                            "operator": "GREATER",
                            "secondOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS003 DEPASSEMENT HEBDO"
                            },
                            "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,
                            "firstOperand": {
                                "operandItem": "CONSTANT",
                                "value": "2"
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "OTHERWISE"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    }
                ],
                "isActive": true,
                "label": "*** Alerte contrat ***",
                "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": "YH005",
                "comment": "Pour les temps partiel s le dépassement hebdo dépasse les 10% plus le 1/3 du contrat\nalors anomalie C03",
                "concise": null,
                "customFieldValues": [
                    {
                        "label": "MODE_DECOMPTE",
                        "value": "1"
                    },
                    {
                        "label": "TYPE_GESTION",
                        "value": "2"
                    }
                ],
                "formulaLines": [
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CUSTOM_FIELD",
                                "value": "QUOTITE"
                            },
                            "operator": "GREATER_OR_EQUAL",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "100"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "END"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS003 DEPASSEMENT HEBDO"
                            },
                            "operator": "LOWER_OR_EQUAL",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "0"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "END"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CUSTOM_FIELD",
                                "value": "H_SEM"
                            },
                            "operator": "MULTIPLY",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-1 VARIABLE-1"
                            },
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "0.1"
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CUSTOM_FIELD",
                                "value": "H_SEM"
                            },
                            "operator": "DIVIDE",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-2 VARIABLE-2"
                            },
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "3"
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "VARIABLE",
                                "value": "V-1 VARIABLE-1"
                            },
                            "operator": "PLUS",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-3 VARIABLE-3"
                            },
                            "secondOperand": {
                                "operandItem": "VARIABLE",
                                "value": "V-2 VARIABLE-2"
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS003 DEPASSEMENT HEBDO"
                            },
                            "operator": "GREATER",
                            "secondOperand": {
                                "operandItem": "VARIABLE",
                                "value": "V-3 VARIABLE-3"
                            },
                            "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,
                            "firstOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "ANOMALY",
                                "timeSlot": 0,
                                "value": "C03 DEPASSEMENT 1/3 CONTRAT"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "THEN"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    }
                ],
                "isActive": true,
                "label": "Dépassement 1/3 Contrat",
                "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": "YH010",
                "comment": "si le dépassement hebdo est négatif\nalors anomalie C02",
                "concise": null,
                "customFieldValues": [
                    {
                        "label": "MODE_DECOMPTE",
                        "value": "1"
                    },
                    {
                        "label": "TYPE_GESTION",
                        "value": "2"
                    }
                ],
                "formulaLines": [
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS003 DEPASSEMENT HEBDO"
                            },
                            "operator": "LOWER",
                            "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": "THEN"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "ANOMALY",
                                "timeSlot": 0,
                                "value": "C02 CONTRAT NON ATTEINT"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "THEN"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    }
                ],
                "isActive": true,
                "label": "Contrat non Atteint",
                "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": "YH015",
                "comment": "si le dépassement hebdo est positif\nalors anomalie C01 sauf si on a déja l'anomalie C03 (dépassement 1/3 du contrat)",
                "concise": null,
                "customFieldValues": [
                    {
                        "label": "MODE_DECOMPTE",
                        "value": "1"
                    },
                    {
                        "label": "TYPE_GESTION",
                        "value": "2"
                    }
                ],
                "formulaLines": [
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "YH005 DEPASSEMENT 1/3 CONTRAT"
                            },
                            "operator": "EQUAL",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "END"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS003 DEPASSEMENT HEBDO"
                            },
                            "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": "THEN"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "ANOMALY",
                                "timeSlot": 0,
                                "value": "C01 DEPASSEMENT CONTRAT HEBDO"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "THEN"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    }
                ],
                "isActive": true,
                "label": "Dépassement contrat hebdo",
                "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": 2000,
                "code": "YA015",
                "comment": "Anomalie informative pour que le manager valide le formulaire de déclaration des Tickets resto",
                "concise": null,
                "customFieldValues": null,
                "formulaLines": [
                    {
                        "instruction": {
                            "comment": "PAS DE CALCUL DANS LE FUTUR",
                            "type": "COMMENT"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "00005 PASSE=1/PRESENT ET FUTUR=2"
                            },
                            "operator": "EQUAL",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "2"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "END"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    },
                    {
                        "instruction": {
                            "comment": "ALERTE POUR TRAITEMENT",
                            "type": "COMMENT"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "S0007 TR - VALIDATION SALARIE"
                            },
                            "operator": "EQUAL",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "2"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "S0004 TR - VALIDATION MANAGER"
                            },
                            "operator": "LOWER_OR_EQUAL",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "0"
                            },
                            "type": "AND"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1"
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "ANOMALY",
                                "timeSlot": 0,
                                "value": "V01 FORMULAIRE TR A VALIDER"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "THEN"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CONSTANT",
                                "value": "0"
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "ANOMALY",
                                "timeSlot": 0,
                                "value": "00  PAS D'ANOMALIE"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "OTHERWISE"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    }
                ],
                "isActive": true,
                "label": "Formulaire TR à traiter",
                "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
            }
        ]
    }
]