Version 3
Fonction F_HISTOCLOTSIT
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 (
histocumulsitu(alias;1;CONSTANTE(CONTRAT.ANNEE_CLOTURE);12;CONSTANTE(GENERAL.ANNEE_PAYE))
)
)