Version 3
Fonction F_HISTOCLOTSIT
Pour le cas 1 on prend histocumulsitubyanclot
Bulletin de régul en 2025 d'un contrat en chgt de situation le 31/12/2024
Le nouveau contrat ne doit pas prendre en compte le bulletin de régul
Avant
si (CONSTANTE(GENERAL.BUDGET)=1)
alors (histocumulsitu(alias))
sinon (
si ([PLAFONDSECU.NUMCAS]=1)
alors (histocumulsitu(alias))
sinon (
histocumulsitu(alias;1;CONSTANTE(CONTRAT.ANNEE_CLOTURE);12;CONSTANTE(GENERAL.ANNEE_PAYE))
)
)
Après
si (CONSTANTE(GENERAL.BUDGET)=1)
alors (histocumulsitu(alias))
sinon (
si ([PLAFONDSECU.NUMCAS]=1)
alors (histocumulsitubyanclot(alias))
sinon (
histocumulsitubyanclot(alias;1;CONSTANTE(CONTRAT.ANNEE_CLOTURE);12;CONSTANTE(GENERAL.ANNEE_PAYE))
)
)