<?xml version="1.0" encoding="ISO-8859-1"?>
<VUE name="ACTI000063" label="Activité. Comparaison facturation" 
	database="iCTI" swf="*CTI_view1" 
	softCode="iCTI_activite" 
	globals="ACTI_globals.XML" 
	componentsFile="ACTI_components.XML" 
	helpFile="iCTI_ACTI_ACTI000063.HTML"
    helpDokuWIkiDir="activite:activite_facturee_et_valorisee:activite_clinique" 
    helpDokuWIkiFile="acti000063" 
>    
	
	<title><![CDATA[=	
		
		var group_by_label = '';
		if (SELECT.GROUPBY != '-1') {
			group_by_label = ' par ' + SELECT.GROUPBY_LABEL;
		}
		if (SELECT.GROUPBY_2 != '-1') {
			group_by_label = group_by_label + ' et ' + SELECT.GROUPBY_2_LABEL;
		}
		
		var date_label = '(' + VIEW.COMPAREPERIODETXT + ' : '+ VIEW.PERIODE_D_LABEL + ' à ' +  VIEW.TOPERIODE_D_LABEL + ' vs ' + ' N : '+ SELECT.PERIODE_LABEL + ' à ' + SELECT.TOPERIODE_LABEL + ')';

		
		return 'Comparaison facturation ' + group_by_label + ' ' + date_label;
		
	]]></title>
	
	<VIEWPROPERTIES componentName="PROPERTIES_PRESTATIONS"/>
	<VIEWPROPERTIES>
		<PROPERTY dataLink="VIEWPROPERTIES" nameField="name" valueField="value" />
		<PROPERTY name="JOURNEES_FIELD">
			<value>
					<![CDATA[
						[EVAL 
							$field = 'nb_jours';
							if ('[QJMUT]' == 'd') {$field = $field . '_d';}
							else {
								if ('[QJMUT]' == 'f') {$field = $field . '_f';}
								else {
									if ('[QJMUT]' == '12') {$field = $field . '_12';}
									else {
										if ('[QJMUT]' == 'prorata') {$field = $field . '_prorata';}
										else {
											$field = $field . '_f';
										}
									}
								}
							}
							return $field;
						EVAL]
					]]>
				</value>
		</PROPERTY>	
		<PROPERTY name="QUELLEDATE_MVT">
			<value><![CDATA[[EVAL 
                    $column_date = "v_mouvements_sejour_2.date";
                    if ('[QUELLEDATE]' == '2') {
                        $column_date = "p_factures_reference.date_fin_facture";
					}
					return $column_date;
				EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="NB_DATA">
			<value>
				<![CDATA[
					[EVAL 
						$array1 = array('[DATA1]', '[DATA2]', '[DATA3]','[DATA4]','[DATA5]','[DATA6]','[DATA7]','[DATA8]','[DATA9]','[DATA10]','[DATA011]','[DATA012]','[DATA013]','[DATA014]','[DATA015]');

						for($i=0;$i<=14;$i++){
							if($array1[$i] != '0'){
									$nb_data = $i + 1 ;
							}
						}
						return $nb_data;
					EVAL] 
					]]>
				</value>
		</PROPERTY>		
        <PROPERTY name="QMVT_SELECT">
			<value><![CDATA[[EVAL 
                    $qmvt_select = "AND 1=1";
                    if ('[QUELLEDATE]' != '1' && '[QUELLEDATE]' != '2') {
                        $qmvt_select = "AND 1<>1";
                    }
					return $qmvt_select;
				EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA01F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA1]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN date_trunc('month','[TOPERIODE]'::date) AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA01D">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA1]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN date_trunc('month','[VIEW.TOPERIODE_D]'::date) AND '[VIEW.TOPERIODE_D]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA02F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA2]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN date_trunc('month','[TOPERIODE]'::date) AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA02D">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA2]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN date_trunc('month','[VIEW.TOPERIODE_D]'::date) AND '[VIEW.TOPERIODE_D]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA03F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA3]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN date_trunc('month','[TOPERIODE]'::date) AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA03D">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA3]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN date_trunc('month','[VIEW.TOPERIODE_D]'::date) AND '[VIEW.TOPERIODE_D]'", "","0"); EVAL]]]></value>
		</PROPERTY>			
		<PROPERTY name="DATA1F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA1]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA1D">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA1]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA2F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA2]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA2D">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA2]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA3F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA3]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA3D">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA3]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]'", "","0"); EVAL]]]></value>
		</PROPERTY>			
		<PROPERTY name="DATA4F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA4]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA4D">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA4]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]'", "","0"); EVAL]]]></value>
		</PROPERTY>			
		<PROPERTY name="DATA5F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA5]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA5D">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA5]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]'", "","0"); EVAL]]]></value>
		</PROPERTY>		
		<PROPERTY name="DATA6F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA6]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA6D">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA6]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA7F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA7]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA7D">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA7]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA8F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA8]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA8D">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA8]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]'", "","0"); EVAL]]]></value>
		</PROPERTY>			
		<PROPERTY name="DATA9F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA9]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA9D">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA9]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]'", "","0"); EVAL]]]></value>
		</PROPERTY>			
		<PROPERTY name="DATA10F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA10]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA10D">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA10]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]'", "","0"); EVAL]]]></value>
		</PROPERTY>		
		<PROPERTY name="DATA11F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA011]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA11D">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA011]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA12F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA012]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA12D">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA012]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA13F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA013]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA13D">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA013]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]'", "","0"); EVAL]]]></value>
		</PROPERTY>			
		<PROPERTY name="DATA14F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA014]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA14D">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA014]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]'", "","0"); EVAL]]]></value>
		</PROPERTY>			
		<PROPERTY name="DATA15F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA015]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA15D">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA015]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D2]' AND '[VIEW.TOPERIODE_D2]'", "","0"); EVAL]]]></value>
		</PROPERTY>		
		<PROPERTY name="DATA1D2">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA1]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D2]' AND '[VIEW.TOPERIODE_D2]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA2D2">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA2]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D2]' AND '[VIEW.TOPERIODE_D2]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA3D2">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA3]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D2]' AND '[VIEW.TOPERIODE_D2]'", "","0"); EVAL]]]></value>
		</PROPERTY>		
		<PROPERTY name="DATA4D2">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA4]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D2]' AND '[VIEW.TOPERIODE_D2]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA5D2">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA5]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D2]' AND '[VIEW.TOPERIODE_D2]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA6D2">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA6]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D2]' AND '[VIEW.TOPERIODE_D2]'", "","0"); EVAL]]]></value>
		</PROPERTY>		
		<PROPERTY name="DATA7D2">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA7]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D2]' AND '[VIEW.TOPERIODE_D2]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA8D2">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA8]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D2]' AND '[VIEW.TOPERIODE_D2]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA9D2">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA9]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D2]' AND '[VIEW.TOPERIODE_D2]'", "","0"); EVAL]]]></value>
		</PROPERTY>		
		<PROPERTY name="DATA10D2">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA010]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D2]' AND '[VIEW.TOPERIODE_D2]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA11D2">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA011]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D2]' AND '[VIEW.TOPERIODE_D2]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA12D2">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA012]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D2]' AND '[VIEW.TOPERIODE_D2]'", "","0"); EVAL]]]></value>
		</PROPERTY>		
		<PROPERTY name="DATA13D2">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA013]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D2]' AND '[VIEW.TOPERIODE_D2]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA14D2">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA014]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D2]' AND '[VIEW.TOPERIODE_D2]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA15D2">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_data('[DATA015]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D2]' AND '[VIEW.TOPERIODE_D2]'", "","0"); EVAL]]]></value>
		</PROPERTY>	       
        <PROPERTY name="COMPAREPERIODETXT">
			<value><![CDATA[[EVAL 
					
                $TYPE_COMPARAISON_TXT = '[TYPE_COMPARAISON]';
                if($TYPE_COMPARAISON_TXT == '0'){
                    return 'N-1'; 
                } else if($TYPE_COMPARAISON_TXT == '1'){
                        return 'N-2';
                }else {
                    return 'N-1';
                }
			EVAL]]]></value>
		</PROPERTY>	
		<PROPERTY name="EXEPT_CHART">
			<value><![CDATA[[EVAL 
					
					$groupbys = array(
										'[GROUPBY]', 
										'[GROUPBY_2]', 
										'[GROUPBY_3]',
										substr('[GROUBY]', 0, 6), 
										substr('[GROUBY_2]', 0, 6), 
										substr('[GROUBY_3]', 0, 6)
									);
					$exceptions = array('ANNEE', 'TRIM', 'MOIS', 'JOUR', 'NUMEROTRIM', 'NUMEROMOIS', 'NUMEROJOUR','SEMAINEANNE','JOURS','SEMAINEWE','ANNEEF', 'TRIMF', 'MOISF', 'JOURF', 'NUMEROTRIMF', 'NUMEROMOISF', 'NUMEROJOURF','SEMAINEANNEF','JOURSF','SEMAINEWEF');
					
					$result = array_intersect($groupbys, $exceptions);
					
					if (count($result) > 0) {
						return "1";
					}
					else {
						return "0";
					}
					
			EVAL]]]></value>
		</PROPERTY>    
		<PROPERTY name="ORDERBY">
			<value><![CDATA[[EVAL 
					
					$groupbys = array(
										'[GROUPBY]', 
										'[GROUPBY_2]', 
										'[GROUPBY_3]',
										substr('[GROUBY]', 0, 6), 
										substr('[GROUBY_2]', 0, 6), 
										substr('[GROUBY_3]', 0, 6)
									);
					$exceptions = array('ANNEE', 'TRIM', 'MOIS', 'JOUR', 'NUMEROTRIM', 'NUMEROMOIS', 'NUMEROJOUR','SEMAINEANNE','JOURS','SEMAINEWE','ANNEEF', 'TRIMF', 'MOISF', 'JOURF', 'NUMEROTRIMF', 'NUMEROMOISF', 'NUMEROJOURF','SEMAINEANNEF','JOURSF','SEMAINEWEF');
					
					$result = array_intersect($groupbys, $exceptions);
					
					if (count($result) > 0) {
						return "DEFAULT";
					}
					else {
						return 'indicateurs[5]';
					}
					
			EVAL]]]></value>
		</PROPERTY>
        </VIEWPROPERTIES>		
	<SELECTIONS label="Paramètres de l'analyse">
		<GROUP label="Période">
			<FIELD name="QUELLEDATE" label="" UI="combo" width="130" default="1" default2="date_fin">
				<OPTION label="Date activité" data="1" data2="v_factures_lignes_c_4.date_fin"/>
				<OPTION label="Date sortie" data="2" data2="v_factures_lignes_c_4.date_fin_facture"/>
				<OPTION label="Date facture" data="3" data2="v_factures_lignes_c_4.date_facture"/>
				<OPTION label="Date vente" data="4" data2="v_factures_lignes_c_4.date_vente"/>
				<OPTION label="Date groupage" data="5" data2="v_sejours_1.date_groupage"/>
			</FIELD>
			<FIELD name="ALIAS_PERIODE" label="" UI="combo" width="220" default="CUM_LAST_MONTH" tree="true" globalListProvider="ALIAS_PERIODE" />
            <FIELD name="PERIODE" label="De" UI="combo" tree="true" width="150" default="2009-01-01" globalListProvider="DATE_DEBUT" >
			</FIELD>
			<FIELD name="TOPERIODE" label="à" UI="combo" tree="true" width="150" default="2009-01-31" globalListProvider="DATE_FIN" >
			</FIELD>
		</GROUP>
		<GROUP label="Comparer avec">
			<FIELD name="TYPE_COMPARAISON" label="" UI="combo" default="2" width="150">
				<OPTION label="Période N-1" data="2" />
				<OPTION label="Période N-2" data="1" />
				<OPTION label="Période N-2 et N-1 " data="0" />
				<OPTION label="Saisie période" data="S" />
			</FIELD>
			<FIELD name="PERIODE_D" label="De" UI="combo" tree="true" width="150" default="2011-01-01" globalListProvider="DATE_DEBUT" visible="= SELECT.TYPE_COMPARAISON == 'S'">
			</FIELD>
			<FIELD name="TOPERIODE_D" label="à" UI="combo" tree="true" width="150" default="2011-01-31" globalListProvider="DATE_FIN" visible="= SELECT.TYPE_COMPARAISON == 'S'">
			</FIELD>
		</GROUP>		
		<GROUP>
			<FIELD name="PRESENTATION" label="Présentation" UI="combo" default="1" width="300">
				<OPTION label="Automatique" data="1" />
				<OPTION label="Ecart en nombre" data="2" />
				<OPTION label="Ecart en %" data="3" />
				<OPTION label="Ecart en nombre et %" data="4" />
				<OPTION label="Aucun" data="5" />
			</FIELD>
		</GROUP>
		<GROUP>
			<FIELD name="COMPARE_OPTION" width="300" label="Option" UI="combo" default="-1" >
				<OPTION label="" data="-1"/>
				<OPTION label="Comparaison du dernier mois" data="DERNIERMOIS"/>
			</FIELD>
		</GROUP>
		<GROUP>
			<FIELD name="GROUPBY" label="Regroupement" UI="combo" default="PRF" tree="true" width="300">
				<OPTION label="PRESTATIONS_GROUPBY" data="" globalListProvider="PRESTATIONS_GROUPBY"/>
			</FIELD>
			<FIELD name="GROUPBY_TAB" label="Présentation" UI="combo" default="AUTO" visible="= SELECT.GROUPBY_2 != '-1' ">
				<OPTION label="Automatique" data="AUTO"/>
				<OPTION label="Arbre" data="TREE"/>
				<OPTION label="Onglet" data="TAB"/>
			</FIELD>
		</GROUP>
		<GROUP>
			<FIELD name="GROUPBY_2" label="" UI="combo" default="-1" tree="true" width="300">
				<OPTION label="" data="-1"/>
				<OPTION label="PRESTATIONS_GROUPBY" data="" globalListProvider="PRESTATIONS_GROUPBY"/>
			</FIELD>
		</GROUP>
		<GROUP>
			<FIELD name="GROUPBY_3" label="" UI="combo" default="-1" tree="true" width="300">
				<OPTION label="" data="-1"/>
				<OPTION label="PRESTATIONS_GROUPBY" data="" globalListProvider="PRESTATIONS_GROUPBY"/>
			</FIELD>
		</GROUP>
		<GROUP>
			<FIELD name="LGROUPBY" label="Regroupement" UI="combo" default="-1" width="200" tree="true" visible="false">
				<OPTION label="PRESTATIONS_GROUPBY" data="" globalListProvider="PRESTATIONS_GROUPBY"/>
			</FIELD>			
			<FIELD name="LGROUPBY_2" label="Regroupement" UI="combo" default="-1" width="200" tree="true" visible="false">
				<OPTION label="PRESTATIONS_GROUPBY" data="" globalListProvider="PRESTATIONS_GROUPBY"/>
			</FIELD>				
			<FIELD name="LGROUPBY_3" label="Regroupement" UI="combo" default="-1" width="200" tree="true" visible="false">
				<OPTION label="PRESTATIONS_GROUPBY" data="" globalListProvider="PRESTATIONS_GROUPBY"/>
			</FIELD>			
		</GROUP>
		<GROUP label="Données">
			<FIELD name="DATA1" tree="true" label="Données" UI="combo" default="MTFAC" width="400" showIfNotDefault="true" printable="false">
				<OPTION label="" data="0"/>				
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
			<FIELD name="DATA2" tree="true" label="" UI="combo" default="0" default2="0" width="400" showIfNotDefault="true" printable="false" visible="= (SELECT.DATA1 != '0')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
		</GROUP>
		<GROUP label="">
			<FIELD name="DATA3" tree="true" label="" UI="combo" default="0" default2="0" width="400" showIfNotDefault="true" printable="false" visible="= (SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA2 != '0')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
			<FIELD name="DATA4" tree="true" label="" UI="combo" default="0" default2="0" width="400" showIfNotDefault="true" printable="false" visible="= (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
		</GROUP>				
		<GROUP label="">
			<FIELD name="DATA5" tree="true" label="" UI="combo" default="0" default2="0" width="400" showIfNotDefault="true" printable="false" visible="= (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA4 != '0')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
			<FIELD name="DATA6" tree="true" label="" UI="combo" default="0" default2="0" width="400"  showIfNotDefault="true" printable="false" visible="= (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA4 != '0') &amp;&amp; ( SELECT.DATA5 != '0')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
		</GROUP>			
		<GROUP label="">
			<FIELD name="DATA7" tree="true" label="" UI="combo" default="0" default2="0" width="400" showIfNotDefault="true" printable="false" visible="= (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA4 != '0') &amp;&amp; ( SELECT.DATA5 != '0') &amp;&amp; ( SELECT.DATA6 != '0')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
			<FIELD name="DATA8" tree="true" label="" UI="combo" default="0" default2="0" width="400"  showIfNotDefault="true" printable="false" visible="= (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA4 != '0') &amp;&amp; ( SELECT.DATA5 != '0') &amp;&amp; ( SELECT.DATA6 != '0') &amp;&amp; ( SELECT.DATA7 != '0')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
		</GROUP>			
		<GROUP label="">
			<FIELD name="DATA9" tree="true" label="" UI="combo" default="0" default2="0" width="400" showIfNotDefault="true" printable="false" visible="= (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA4 != '0') &amp;&amp; ( SELECT.DATA5 != '0') &amp;&amp; ( SELECT.DATA6 != '0') &amp;&amp; ( SELECT.DATA7 != '0') &amp;&amp; ( SELECT.DATA8 != '0')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
			<FIELD name="DATA10" tree="true" label="" UI="combo" default="0" default2="0" width="400"  showIfNotDefault="true" printable="false" visible="= (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA4 != '0') &amp;&amp; ( SELECT.DATA5 != '0') &amp;&amp; ( SELECT.DATA6 != '0') &amp;&amp; ( SELECT.DATA7 != '0') &amp;&amp; ( SELECT.DATA8 != '0') &amp;&amp; ( SELECT.DATA9 != '0')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
		</GROUP>			
		<GROUP label="">
			<FIELD name="DATA011" tree="true" label="" UI="combo" default="0" default2="0" width="400" showIfNotDefault="true" printable="false" visible="= (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA4 != '0') &amp;&amp; ( SELECT.DATA5 != '0') &amp;&amp; ( SELECT.DATA6 != '0') &amp;&amp; ( SELECT.DATA7 != '0') &amp;&amp; ( SELECT.DATA8 != '0') &amp;&amp; ( SELECT.DATA9 != '0') &amp;&amp; ( SELECT.DATA10 != '0')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
			<FIELD name="DATA012" tree="true" label="" UI="combo" default="0" default2="0" width="400"  showIfNotDefault="true" printable="false" visible="= (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA4 != '0') &amp;&amp; ( SELECT.DATA5 != '0') &amp;&amp; ( SELECT.DATA6 != '0') &amp;&amp; ( SELECT.DATA7 != '0') &amp;&amp; ( SELECT.DATA8 != '0') &amp;&amp; ( SELECT.DATA9 != '0') &amp;&amp; ( SELECT.DATA10 != '0') &amp;&amp; ( SELECT.DATA11 != '0')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
		</GROUP>		
		<GROUP label="">
			<FIELD name="DATA013" tree="true" label="" UI="combo" default="0" default2="0" width="400" showIfNotDefault="true" printable="false" visible="= (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA4 != '0') &amp;&amp; ( SELECT.DATA5 != '0') &amp;&amp; ( SELECT.DATA6 != '0') &amp;&amp; ( SELECT.DATA7 != '0') &amp;&amp; ( SELECT.DATA8 != '0') &amp;&amp; ( SELECT.DATA9 != '0') &amp;&amp; ( SELECT.DATA10 != '0') &amp;&amp; ( SELECT.DATA011 != '0') &amp;&amp; ( SELECT.DATA012 != '0')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
			<FIELD name="DATA014" tree="true" label="" UI="combo" default="0" default2="0" width="400"  showIfNotDefault="true" printable="false" visible="= (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA4 != '0') &amp;&amp; ( SELECT.DATA5 != '0') &amp;&amp; ( SELECT.DATA6 != '0') &amp;&amp; ( SELECT.DATA7 != '0') &amp;&amp; ( SELECT.DATA8 != '0') &amp;&amp; ( SELECT.DATA9 != '0') &amp;&amp; ( SELECT.DATA10 != '0') &amp;&amp; ( SELECT.DATA011 != '0') &amp;&amp; ( SELECT.DATA012 != '0') &amp;&amp; ( SELECT.DATA013 != '0')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
		</GROUP>			
		<GROUP label="">
			<FIELD name="DATA015" tree="true" label="" UI="combo" default="0" default2="0" width="400"  showIfNotDefault="true" printable="false" visible="= (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA4 != '0') &amp;&amp; ( SELECT.DATA5 != '0') &amp;&amp; ( SELECT.DATA6 != '0') &amp;&amp; ( SELECT.DATA7 != '0') &amp;&amp; ( SELECT.DATA8 != '0') &amp;&amp; ( SELECT.DATA9 != '0') &amp;&amp; ( SELECT.DATA10 != '0') &amp;&amp; ( SELECT.DATA011 != '0') &amp;&amp; ( SELECT.DATA012 != '0') &amp;&amp; ( SELECT.DATA013 != '0') &amp;&amp; ( SELECT.DATA014 != '0')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
		</GROUP>
						
		<GROUP>
			<FIELD name="RUBRIQUE_CA" label="C.A." UI="combo" tree="true" width="200" default="-1" globalListProvider="RUBRIQUES_CA" showIfNotDefault="true" />
			<FIELD name="RUBRIQUE_CODES" label="Codes" UI="text" width="150" default="" showIfNotDefault="true" visible="= SELECT.RUBRIQUE == 'SAISIECODE' " />
		</GROUP>
	</SELECTIONS>
	<SELECTIONS componentName="FILTRES_PRESTATIONS_SOUSSELECTIONS"/>
	<SELECTIONS componentName="FILTRES_PRESTATIONS_SELECTIONS"/>
	<SELECTIONS componentName="FILTRES_SEJOURS_SELECTIONS"/>
	<SELECTIONS componentName="FILTRES_PATIENTS_SELECTIONS"/>
	<SELECTIONS componentName="FILTRES_PASSAGES_SELECTIONS" />
	<QUERIES>
		<QUERY label="">
		    <SQL optimizer="V_SEJOURS_X" optimizer2="V_FACTURES_LIGNES_C_X">
				<select><![CDATA[ 
					
					DROP TABLE IF EXISTS ACTI000063_SEJ;
                    CREATE TEMP TABLE ACTI000063_SEJ AS
                    SELECT v_factures_lignes_c_4.no_sejour
                        FROM #V_FACTURES_LIGNES_C_X#
                        JOIN #V_SEJOURS_X# ON v_sejours_1.no_sejour = v_factures_lignes_c_4.no_sejour
                    WHERE 
					(
						v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]' OR
						v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]' OR 
						v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D2]' AND '[VIEW.TOPERIODE_D2]' 
					)
                        
                        [VIEW.SEJOURS_SELECT]
                        [VIEW.PRESTATIONS_SELECT]
                        [VIEW.PASSAGES_SELECT]
                        [VIEW.PATIENTS_SELECT]
                        [VIEW.QMVT_SELECT]
						
                    GROUP BY 1
                    ;
                    CREATE INDEX ACTI000063_SEJ_i1 ON ACTI000063_SEJ USING btree (no_sejour);
				
				
				]]></select>
			</SQL>
            <SQL optimizer="V_SEJOURS_X" optimizer2="V_MOUVEMENTS_SEJOUR_X" >
				<select><![CDATA[

                    DROP TABLE IF EXISTS empty;
                    CREATE TEMP TABLE empty AS
                    SELECT -123::bigint AS empty_id, ''::text AS empty_code, ''::text AS empty_texte
                    ;
					
					DROP TABLE IF EXISTS w_factures_reference;
					CREATE TEMP TABLE w_factures_reference AS
					SELECT p_factures_reference.no_sejour,
							p_factures_reference.date_debut_facture,
							p_factures_reference.date_fin_facture,
							p_factures_reference.code_facture,
							p_factures_reference.montant_comptabilise_c,
							p_factures_reference.montant_comptabilise_budget_global_c,
							p_factures_reference.montant_comptabilise_h,
							row_number() OVER (PARTITION BY p_factures_reference.no_sejour ORDER BY date_debut_facture, date_facture) AS seq
					FROM activite.p_factures_reference
					JOIN ACTI000063_SEJ ON p_factures_reference.no_sejour = ACTI000063_SEJ.no_sejour
					;

					
					CREATE INDEX w_factures_reference_i1 ON w_factures_reference USING btree (no_sejour)
					;

					UPDATE w_factures_reference
					SET date_debut_facture = date(w_factures_reference1.date_fin_facture + interval '1 day')
					FROM w_factures_reference w_factures_reference1
					WHERE w_factures_reference.no_sejour = w_factures_reference1.no_sejour AND
						w_factures_reference.seq = w_factures_reference1.seq + 1
					;
					
					CTIPREPAR_TREE 
						WORKTABLE{ACTI000063_MVT} 
						GROUPBY1{[VIEW.GROUPBY_MVT_OID_FIELD],, [VIEW.GROUPBY_MVT_COD_FIELD],, [VIEW.GROUPBY_MVT_TXT_FIELD]} 
						GROUPBY1MODE{[GROUPBY_TAB]} 
						GROUPBY2{[VIEW.GROUPBY_MVT_2_OID_FIELD],, [VIEW.GROUPBY_MVT_2_COD_FIELD],, [VIEW.GROUPBY_MVT_2_TXT_FIELD]} 
						GROUPBY3{[VIEW.GROUPBY_MVT_3_OID_FIELD],, [VIEW.GROUPBY_MVT_3_COD_FIELD],, [VIEW.GROUPBY_MVT_3_TXT_FIELD]} 
					INDICATORS{ 
					/* 01_1_1 FACEMC (N)*/
						SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[PERIODE]' AND '[TOPERIODE]'   and  (p_factures_reference.code_facture = '1') THEN equivalent_malade_complet ELSE 0 END),,                   
                    /* 01_2_2 FACEMC (N-1)*/
						SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]'   and  (p_factures_reference.code_facture = '1') THEN equivalent_malade_complet ELSE 0 END),,
                                 
				   
                    /* 02_1_3 FACNBJ (N)*/
						SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[PERIODE]' AND '[TOPERIODE]' AND (p_factures_reference.code_facture = '1') THEN nb_jours_f + nb_ambulatoires + CASE WHEN type_sejour = '5' THEN nb_seances ELSE 0 END ELSE 0 END),,
					/* 02_2_4 FACNBJ (N-1)*/
						SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]' AND (p_factures_reference.code_facture = '1') THEN nb_jours_f + nb_ambulatoires + CASE WHEN type_sejour = '5' THEN nb_seances ELSE 0 END ELSE 0 END),,
                    
                    /* 03_1_5 VALEMC (N)*/
                        SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[PERIODE]' AND '[TOPERIODE]' AND p_factures_reference.code_facture = '0' THEN equivalent_malade_complet ELSE 0 END),,                    						
					/* 03_1_6 VALEMC (N-1)*/
                        SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]'  and p_factures_reference.code_facture = '0' THEN equivalent_malade_complet ELSE 0 END),,
                    
					
                    /* 04_1_7 VALNBJ (N)*/
                        SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[PERIODE]' AND '[TOPERIODE]' AND p_factures_reference.code_facture = '0' THEN nb_jours_f + nb_ambulatoires + CASE WHEN type_sejour = '5' THEN nb_seances ELSE 0 END ELSE 0 END),,                    
                    /* 04_2_8 VALNBJ (N-1)*/
                        SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]'  and  p_factures_reference.code_facture = '0' THEN nb_jours_f + nb_ambulatoires + CASE WHEN type_sejour = '5' THEN nb_seances ELSE 0 END ELSE 0 END),,
                    
                    /* 05_1_9 FAVEMC (N)*/
                        SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[PERIODE]' AND '[TOPERIODE]' then equivalent_malade_complet ELSE 0 END),,                            						
					/* 05_2_10 FAVEMC (N-1)*/
						SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]'  then equivalent_malade_complet ELSE 0 END),,                    
					
                    /* 06_1_11 FAVNBJ (N)*/
                        SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[PERIODE]' AND '[TOPERIODE]'    then nb_jours_f + nb_ambulatoires  + CASE WHEN type_sejour = '5' THEN nb_seances ELSE 0 END ELSE 0 END),,
					/* 06_2_12 FAVNBJ (N-1)*/
                        SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]' and  (p_factures_reference.code_facture = '1' or p_factures_reference.code_facture = '0' )   then nb_jours_f + nb_ambulatoires   + CASE WHEN  type_sejour = '5' THEN nb_seances ELSE 0 END ELSE 0 END),,
                   
					/*07_01_13 DMS hospitalisés (N)	*/		
						base.cti_division(SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[PERIODE]' AND '[TOPERIODE]' and v_sejours_1.date_sortie <= '[TOPERIODE]' AND v_sejours_1.code_sorti = 1 then [VIEW.JOURNEES_FIELD] ELSE null END),SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[PERIODE]' AND '[TOPERIODE]' then nb_sorties_directes else 0 end)),,
					/*07_01_14 DMS hospitalisés (N-1)*/			
						base.cti_division(SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]' and v_sejours_1.date_sortie <= '[VIEW.TOPERIODE_D]' AND v_sejours_1.code_sorti = 1 then [VIEW.JOURNEES_FIELD] ELSE null END),SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]' then nb_sorties_directes else 0 end)),,
					
					
					/* 08_1_15 FAVNBEMCHC (N)*/
                        SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[PERIODE]' AND '[TOPERIODE]' AND type_sejour = '1' then equivalent_malade_complet ELSE 0 END),,                            						
					/* 08_2_16 FAVNBEMCHC (N-1)*/
						SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]' AND type_sejour = '1' then equivalent_malade_complet ELSE 0 END),,
                   
                    /* 01_2_17 FACEMC (DM N)*/
						SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN  date_trunc('month','[TOPERIODE]'::date) AND '[TOPERIODE]' and  (p_factures_reference.code_facture = '1') THEN equivalent_malade_complet ELSE 0 END),,
				    /* 01_2_18 FACEMC (DM N-1)*/
						SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN  date_trunc('month','[VIEW.TOPERIODE_D]'::date) AND '[VIEW.TOPERIODE_D]'  and  (p_factures_reference.code_facture = '1') THEN equivalent_malade_complet ELSE 0 END),,
					
					/* 02_2_19 FACNBJ (DM N)*/
						SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN  date_trunc('month','[TOPERIODE]'::date) AND '[TOPERIODE]' AND (p_factures_reference.code_facture = '1') THEN nb_jours_f + nb_ambulatoires + CASE WHEN type_sejour = '5' THEN nb_seances ELSE 0 END ELSE 0 END),,
 	
					/* 02_1_20 FACNBJ (DM N-1)*/
						SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN  date_trunc('month','[VIEW.TOPERIODE_D]'::date) AND '[VIEW.TOPERIODE_D]' AND (p_factures_reference.code_facture = '1') THEN nb_jours_f + nb_ambulatoires + CASE WHEN type_sejour = '5' THEN nb_seances ELSE 0 END ELSE 0 END),,
                    
                    /* 03_1_21 VALEMC (N)*/
                        SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN  date_trunc('month','[TOPERIODE]'::date) AND '[TOPERIODE]' AND p_factures_reference.code_facture = '0' THEN equivalent_malade_complet ELSE 0 END),,                    						
					/* 03_1_22 VALEMC (N-1)*/
                        SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN  date_trunc('month','[VIEW.TOPERIODE_D]'::date) AND '[VIEW.TOPERIODE_D]'  and p_factures_reference.code_facture = '0' THEN equivalent_malade_complet ELSE 0 END),,
					
					/* 04_1_23 VALNBJ (DM N)*/
                        SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN  date_trunc('month','[TOPERIODE]'::date) AND '[TOPERIODE]' AND p_factures_reference.code_facture = '0' THEN nb_jours_f + nb_ambulatoires + CASE WHEN type_sejour = '5' THEN nb_seances ELSE 0 END ELSE 0 END),,                    
                    /* 04_2_24 VALNBJ (DM N-1)*/
                        SUM(CASE WHEN [VIEW.QUELLEDATE_MVT]  BETWEEN  date_trunc('month','[VIEW.TOPERIODE_D]'::date) AND '[VIEW.TOPERIODE_D]'  and  p_factures_reference.code_facture = '0' THEN nb_jours_f + nb_ambulatoires + CASE WHEN type_sejour = '5' THEN nb_seances ELSE 0 END ELSE 0 END),,
					
					/* 05_1_25 FAVEMC (N)*/
                        SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN  date_trunc('month','[TOPERIODE]'::date) AND '[TOPERIODE]' then equivalent_malade_complet ELSE 0 END),,                            						
					/* 05_2_26 FAVEMC (N-1)*/
						SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN  date_trunc('month','[VIEW.TOPERIODE_D]'::date) AND '[VIEW.TOPERIODE_D]'  then equivalent_malade_complet ELSE 0 END),,    
                   
				   /* 06_1_27 FAVNBJ (DM N)*/
                        SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN  date_trunc('month','[TOPERIODE]'::date) AND '[TOPERIODE]'    then nb_jours_f + nb_ambulatoires  + CASE WHEN type_sejour = '5' THEN nb_seances ELSE 0 END ELSE 0 END),,
					/* 06_2_28 FAVNBJ (DM N-1)*/
                        SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN  date_trunc('month','[VIEW.TOPERIODE_D]'::date) AND '[VIEW.TOPERIODE_D]' and  (p_factures_reference.code_facture = '1' or p_factures_reference.code_facture = '0' )   then nb_jours_f + nb_ambulatoires   + CASE WHEN  type_sejour = '5' THEN nb_seances ELSE 0 END ELSE 0 END),,
                   						
					/*07_01_29 DMS hospitalisés (DM N)	*/		
						base.cti_division(SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN  date_trunc('month','[TOPERIODE]'::date) AND '[TOPERIODE]' and v_sejours_1.date_sortie <= '[TOPERIODE]' AND v_sejours_1.code_sorti = 1 then [VIEW.JOURNEES_FIELD] ELSE null END),SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN  date_trunc('month','[TOPERIODE]'::date) AND '[TOPERIODE]' then nb_sorties_directes else 0 end)),,
					/*07_01_30 DMS hospitalisés (DM N-1)*/			
						base.cti_division(SUM(CASE WHEN  [VIEW.QUELLEDATE_MVT] BETWEEN  date_trunc('month','[VIEW.TOPERIODE_D]'::date) AND '[VIEW.TOPERIODE_D]' and v_sejours_1.date_sortie <= '[VIEW.TOPERIODE_D]' AND v_sejours_1.code_sorti = 1 then [VIEW.JOURNEES_FIELD] ELSE null END),SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN  date_trunc('month','[VIEW.TOPERIODE_D]'::date) AND '[VIEW.TOPERIODE_D]' then nb_sorties_directes else 0 end)),,
					
					/* 08_1_31 FAVNBEMCHC (DM N)*/
                        SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN date_trunc('month','[TOPERIODE]'::date) AND '[TOPERIODE]' AND type_sejour = '1' then equivalent_malade_complet ELSE 0 END),,                            						
					/* 08_2_32 FAVNBEMCHC (DM N-1)*/
						SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN date_trunc('month','[VIEW.TOPERIODE_D]'::date) AND '[VIEW.TOPERIODE_D]' AND type_sejour = '1' then equivalent_malade_complet ELSE 0 END),,
                        
                    /* 01_3_33 FACEMC (N-2)*/
						SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[VIEW.PERIODE_D2]' AND '[VIEW.TOPERIODE_D2]'   and  (p_factures_reference.code_facture = '1') THEN equivalent_malade_complet ELSE 0 END),,
                    /* 02_3_34 FACNBJ (N-2)*/
						SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[VIEW.PERIODE_D2]' AND '[VIEW.TOPERIODE_D2]' AND (p_factures_reference.code_facture = '1') THEN nb_jours_f + nb_ambulatoires + CASE WHEN type_sejour = '5' THEN nb_seances ELSE 0 END ELSE 0 END),,
					/* 03_3_35 VALEMC (N-2)*/
                        SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[VIEW.PERIODE_D2]' AND '[VIEW.TOPERIODE_D2]'  and p_factures_reference.code_facture = '0' THEN equivalent_malade_complet ELSE 0 END),,                
                    /* 04_3_36 VALNBJ (N-2)*/
                        SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[VIEW.PERIODE_D2]' AND '[VIEW.TOPERIODE_D2]'  and  p_factures_reference.code_facture = '0' THEN nb_jours_f + nb_ambulatoires + CASE WHEN type_sejour = '5' THEN nb_seances ELSE 0 END ELSE 0 END),,
					/* 05_2_37 FAVEMC (N-2)*/
						SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[VIEW.PERIODE_D2]' AND '[VIEW.TOPERIODE_D2]'  then equivalent_malade_complet ELSE 0 END),,                    
					/* 06_2_38 FAVNBJ (N-2)*/
                        SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[VIEW.PERIODE_D2]' AND '[VIEW.TOPERIODE_D2]' and  (p_factures_reference.code_facture = '1' or p_factures_reference.code_facture = '0' )   then nb_jours_f + nb_ambulatoires   + CASE WHEN  type_sejour = '5' THEN nb_seances ELSE 0 END ELSE 0 END),,
                   /*07_3_39 DMS hospitalisés (N-2)*/			
						base.cti_division(SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[VIEW.PERIODE_D2]' AND '[VIEW.TOPERIODE_D2]' and v_sejours_1.date_sortie <= '[VIEW.TOPERIODE_D2]' AND v_sejours_1.code_sorti = 1 then [VIEW.JOURNEES_FIELD] ELSE null END),SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[VIEW.PERIODE_D2]' AND '[VIEW.TOPERIODE_D2]' then nb_sorties_directes else 0 end)),,
					/* 08_3_40 FAVNBEMCHC (N-2)*/
						SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[VIEW.PERIODE_D2]' AND '[VIEW.TOPERIODE_D2]' AND type_sejour = '1' then equivalent_malade_complet ELSE 0 END)                               					
	
                    
                        						
					}
					
				FROM #V_SEJOURS_X#,#V_MOUVEMENTS_SEJOUR_X#
                    JOIN ACTI000063_SEJ ON v_mouvements_sejour_2.no_sejour = ACTI000063_SEJ.no_sejour
                    JOIN w_factures_reference p_factures_reference ON
                        p_factures_reference.no_sejour = v_mouvements_sejour_2.no_sejour AND
                        (v_mouvements_sejour_2.date BETWEEN p_factures_reference.date_debut_facture AND p_factures_reference.date_fin_facture) 
                    JOIN empty ON 1=1
				WHERE '[QUELLEDATE]' IN ('1','2') AND
						v_mouvements_sejour_2.no_sejour = v_sejours_1.no_sejour AND
						([VIEW.QUELLEDATE_MVT] BETWEEN '[PERIODE]' AND '[TOPERIODE]' OR 
						[VIEW.QUELLEDATE_MVT] BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]' OR 
						[VIEW.QUELLEDATE_MVT] BETWEEN '[VIEW.PERIODE_D2]' AND '[VIEW.TOPERIODE_D2]')
						
						[VIEW.SEJOURS_SELECT] 
						[VIEW.PATIENTS_SELECT]
                        [VIEW.PASSAGES_SELECT]
                        [VIEW.QMVT_SELECT]
                        [VIEW.MOUVEMENTS_SELECT]
						AND v_sejours_1.type_sejour <> '9' 
				
				]]></select>
			</SQL>
			<SQL optimizer="V_SEJOURS_X">
				<select><![CDATA[		
					CTISELECT_TREE
						GROUPBY1{[VIEW.GROUPBY_OID_FIELD],, [VIEW.GROUPBY_COD_FIELD],, [VIEW.GROUPBY_TXT_FIELD]}
						GROUPBY1MODE{[GROUPBY_TAB]}
						GROUPBY2{[VIEW.GROUPBY_2_OID_FIELD],, [VIEW.GROUPBY_2_COD_FIELD],, [VIEW.GROUPBY_2_TXT_FIELD]}
						GROUPBY3{[VIEW.GROUPBY_3_OID_FIELD],, [VIEW.GROUPBY_3_COD_FIELD],, [VIEW.GROUPBY_3_TXT_FIELD]}
						SIGNIFDATA{[VIEW.ACTIVITE_SIGNIFICATIVE_DATA],, [ACTIVITE_SIGNIFICATIVE_MODE],, [ACTIVITE_SIGNIFICATIVE_NUMBER]}
						INDICATORS{
						
							[VIEW.DATA1F],,
							[VIEW.DATA1D],,
							0,,
							0,,
							[VIEW.DATA2F],,
							[VIEW.DATA2D],,
							0,,
							0,,
							[VIEW.DATA3F],,
							[VIEW.DATA3D],,
							0,,
							0,,			
							[VIEW.DATA4F],,
							[VIEW.DATA4D],,
							0,,
							0,,							
							[VIEW.DATA5F],,
							[VIEW.DATA5D],,
							0,,
							0,,							
							[VIEW.DATA6F],,
							[VIEW.DATA6D],,
							0,,
							0,,
							[VIEW.DATA7F],,
							[VIEW.DATA7D],,
							0,,
							0,,
							[VIEW.DATA8F],,
							[VIEW.DATA8D],,
							0,,
							0,,			
							[VIEW.DATA9F],,
							[VIEW.DATA9D],,
							0,,
							0,,							
							[VIEW.DATA10F],,
							[VIEW.DATA10D],,
							0,,
							0,,							
							[VIEW.DATA11F],,
							[VIEW.DATA11D],,
							0,,
							0,,
							[VIEW.DATA12F],,
							[VIEW.DATA12D],,
							0,,
							0,,
							[VIEW.DATA13F],,
							[VIEW.DATA13D],,
							0,,
							0,,			
							[VIEW.DATA14F],,
							[VIEW.DATA14D],,
							0,,
							0,,							
							[VIEW.DATA15F],,
							[VIEW.DATA15D],,
							0,,
							0,,
							[VIEW.DATA01F],,
							[VIEW.DATA01D],,
							0,,
							0,,
							[VIEW.DATA02F],,
							[VIEW.DATA02D],,
							0,,
							0,,
							[VIEW.DATA03F],,
							[VIEW.DATA03D],,
							0,,
							0,,
							[VIEW.DATA1D2],,
							[VIEW.DATA2D2],,
							[VIEW.DATA3D2],,
							[VIEW.DATA4D2],,
							[VIEW.DATA5D2],,
							[VIEW.DATA6D2],,
							[VIEW.DATA7D2],,
							[VIEW.DATA8D2],,
							[VIEW.DATA9D2],,
							[VIEW.DATA10D2],,
							[VIEW.DATA11D2],,
							[VIEW.DATA12D2],,
							[VIEW.DATA13D2],,
							[VIEW.DATA14D2],,
							[VIEW.DATA15D2]
							
						}
						ORDERBY{[VIEW.ORDERBY],,DESC}
					FROM #V_FACTURES_LIGNES_C_X#
						JOIN #V_SEJOURS_X# ON v_sejours_1.no_sejour = v_factures_lignes_c_4.no_sejour
						LEFT JOIN ACTI000063_SEJ ON v_factures_lignes_c_4.no_sejour = ACTI000063_SEJ.no_sejour

					WHERE 
							(v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]' OR
							v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]' OR
							v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[VIEW.PERIODE_D2]' AND '[VIEW.TOPERIODE_D2]')
							[VIEW.SEJOURS_SELECT]
							[VIEW.PRESTATIONS_SELECT]
							[VIEW.PATIENTS_SELECT]	
							[VIEW.PASSAGES_SELECT]
					AFTER{
				
					UPDATE w_table 
						SET indicateurs[3] = COALESCE(ACTI000063_MVT.indicateurs[001],0) - COALESCE(ACTI000063_MVT.indicateurs[002],0)
							[EVAL 
								if ('[DATA1]' == 'EMC') {
									return "
										,
										indicateurs[1] = ACTI000063_MVT.indicateurs[001],
										indicateurs[2] = ACTI000063_MVT.indicateurs[002],
										indicateurs[61] = ACTI000063_MVT.indicateurs[017],
										indicateurs[62] = ACTI000063_MVT.indicateurs[018],
										indicateurs[73] = ACTI000063_MVT.indicateurs[033]
										
										
									"; 
								}								
								if ('[DATA1]' == 'VALEMC') {
									return "
										,
										indicateurs[1] = ACTI000063_MVT.indicateurs[005],
										indicateurs[2] = ACTI000063_MVT.indicateurs[006],
										indicateurs[61] = ACTI000063_MVT.indicateurs[021],
										indicateurs[62] = ACTI000063_MVT.indicateurs[022],
										indicateurs[73] = ACTI000063_MVT.indicateurs[035]
										
									";
								}								
								if ('[DATA1]' == 'FAVEMC') {
									return "
										,
										indicateurs[1] = ACTI000063_MVT.indicateurs[009],
										indicateurs[2] = ACTI000063_MVT.indicateurs[010],
										indicateurs[61] = ACTI000063_MVT.indicateurs[025],
										indicateurs[62] = ACTI000063_MVT.indicateurs[026],
										indicateurs[73] = ACTI000063_MVT.indicateurs[037]
                                        
										
									";
								}	
								if ('[DATA1]' == 'FACNBJ') {
									return "
										,
										indicateurs[1] = ACTI000063_MVT.indicateurs[003],
										indicateurs[2] = ACTI000063_MVT.indicateurs[004],
										indicateurs[61] = ACTI000063_MVT.indicateurs[019],
										indicateurs[62] = ACTI000063_MVT.indicateurs[020],
										indicateurs[73] = ACTI000063_MVT.indicateurs[034]
										
									";
								}									
								if ('[DATA1]' == 'VALNBJ') {
									return "
										,
										indicateurs[1] = ACTI000063_MVT.indicateurs[007],
										indicateurs[2] = ACTI000063_MVT.indicateurs[008],
										indicateurs[61] = ACTI000063_MVT.indicateurs[023],
										indicateurs[62] = ACTI000063_MVT.indicateurs[024],
										indicateurs[73] = ACTI000063_MVT.indicateurs[036]
										
									";
								}								
								if ('[DATA1]' == 'FAVNBJ') {
									return "
										,
										indicateurs[1] = ACTI000063_MVT.indicateurs[011],
										indicateurs[2] = ACTI000063_MVT.indicateurs[012],
										indicateurs[61] = ACTI000063_MVT.indicateurs[027],
										indicateurs[62] = ACTI000063_MVT.indicateurs[028],
										indicateurs[73] = ACTI000063_MVT.indicateurs[038]
										
									";
								}									
								if ('[DATA1]' == 'FAVDMS') {
									return "
										,
										indicateurs[1] = ACTI000063_MVT.indicateurs[013],
										indicateurs[2] = ACTI000063_MVT.indicateurs[014],
										indicateurs[61] = ACTI000063_MVT.indicateurs[029],
										indicateurs[62] = ACTI000063_MVT.indicateurs[030],
										indicateurs[73] = ACTI000063_MVT.indicateurs[039]
										
									";
								}									
								if ('[DATA1]' == 'FAVNBEMCHC') {
									return "
										,
										indicateurs[1] = ACTI000063_MVT.indicateurs[015],
										indicateurs[2] = ACTI000063_MVT.indicateurs[016],
										indicateurs[61] = ACTI000063_MVT.indicateurs[031],
										indicateurs[62] = ACTI000063_MVT.indicateurs[032],
										indicateurs[73] = ACTI000063_MVT.indicateurs[040]
										
									";
								}								
								if ('[DATA1]' == 'MFAVCAMHC') {
									return "
										,
										indicateurs[1] = base.cti_division(w_table.indicateurs[1],ACTI000063_MVT.indicateurs[015]),
										indicateurs[2] = base.cti_division(w_table.indicateurs[2],ACTI000063_MVT.indicateurs[016]),										
										indicateurs[61] = base.cti_division(w_table.indicateurs[61],ACTI000063_MVT.indicateurs[031]),
										indicateurs[62] = base.cti_division(w_table.indicateurs[62],ACTI000063_MVT.indicateurs[032]),
										indicateurs[73] = base.cti_division(w_table.indicateurs[73],ACTI000063_MVT.indicateurs[040])
										
									";
								}									
								if ('[DATA1]' == 'MMFPVEMC') {
									return "
										,
										indicateurs[1] = base.cti_division(w_table.indicateurs[1],ACTI000063_MVT.indicateurs[009]),
										indicateurs[2] = base.cti_division(w_table.indicateurs[2],ACTI000063_MVT.indicateurs[010]),
										indicateurs[61] = base.cti_division(w_table.indicateurs[61],ACTI000063_MVT.indicateurs[025]),
										indicateurs[62] = base.cti_division(w_table.indicateurs[62],ACTI000063_MVT.indicateurs[026]),
										indicateurs[73] = base.cti_division(w_table.indicateurs[73],ACTI000063_MVT.indicateurs[037])
										
										
									";
								}									
								if ('[DATA1]' == 'MMFACEMC') {
									return "
										,
										indicateurs[1] = base.cti_division(w_table.indicateurs[1],ACTI000063_MVT.indicateurs[001]),
										indicateurs[2] = base.cti_division(w_table.indicateurs[2],ACTI000063_MVT.indicateurs[002]),
										indicateurs[61] = base.cti_division(w_table.indicateurs[61],ACTI000063_MVT.indicateurs[017]),
										indicateurs[62] = base.cti_division(w_table.indicateurs[62],ACTI000063_MVT.indicateurs[018]),
										indicateurs[73] = base.cti_division(w_table.indicateurs[73],ACTI000063_MVT.indicateurs[033])
										
									";
								}								
								if ('[DATA1]' == 'MMVALEMC') {
									return "
										,
										indicateurs[1] = base.cti_division(w_table.indicateurs[1],ACTI000063_MVT.indicateurs[005]),
										indicateurs[2] = base.cti_division(w_table.indicateurs[2],ACTI000063_MVT.indicateurs[006]),
										indicateurs[61] = base.cti_division(w_table.indicateurs[61],ACTI000063_MVT.indicateurs[021]),
										indicateurs[62] = base.cti_division(w_table.indicateurs[62],ACTI000063_MVT.indicateurs[022]),
										indicateurs[73] = base.cti_division(w_table.indicateurs[73],ACTI000063_MVT.indicateurs[035])
										
									";
								}								
							EVAL]							
							[EVAL 
								if ('[DATA2]' == 'EMC') {
									return "
										,
										indicateurs[5] = ACTI000063_MVT.indicateurs[001],
										indicateurs[6] = ACTI000063_MVT.indicateurs[002],
										indicateurs[65] = ACTI000063_MVT.indicateurs[017],
										indicateurs[66] = ACTI000063_MVT.indicateurs[018],
										indicateurs[74] = ACTI000063_MVT.indicateurs[033]										

										
										
									";
								}								
								if ('[DATA2]' == 'VALEMC') {
									return "
										,
										indicateurs[5] = ACTI000063_MVT.indicateurs[005],
										indicateurs[6] = ACTI000063_MVT.indicateurs[006],
										indicateurs[65] = ACTI000063_MVT.indicateurs[021],
										indicateurs[66] = ACTI000063_MVT.indicateurs[022],
										indicateurs[74] = ACTI000063_MVT.indicateurs[035]
										
									";
								}								
								if ('[DATA2]' == 'FAVEMC') {
									return "
										,
										indicateurs[5] = ACTI000063_MVT.indicateurs[009],
										indicateurs[6] = ACTI000063_MVT.indicateurs[010],
										indicateurs[65] = ACTI000063_MVT.indicateurs[025],
										indicateurs[66] = ACTI000063_MVT.indicateurs[026],
										indicateurs[74] = ACTI000063_MVT.indicateurs[037]
										
									";
								}	
								if ('[DATA2]' == 'FACNBJ') {
									return "
										,
										indicateurs[5] = ACTI000063_MVT.indicateurs[003],
										indicateurs[6] = ACTI000063_MVT.indicateurs[004],
										indicateurs[65] = ACTI000063_MVT.indicateurs[019],
										indicateurs[66] = ACTI000063_MVT.indicateurs[020],
										indicateurs[74] = ACTI000063_MVT.indicateurs[034]
										
									";
								}								
								if ('[DATA2]' == 'VALNBJ') {
									return "
										,
										indicateurs[5] = ACTI000063_MVT.indicateurs[007],
										indicateurs[6] = ACTI000063_MVT.indicateurs[008],
										indicateurs[65] = ACTI000063_MVT.indicateurs[023],
										indicateurs[66] = ACTI000063_MVT.indicateurs[024],
										indicateurs[74] = ACTI000063_MVT.indicateurs[036]
										
									";
								}
								if ('[DATA2]' == 'FAVNBJ') {
									return "
										,
										indicateurs[5] = ACTI000063_MVT.indicateurs[011],
										indicateurs[6] = ACTI000063_MVT.indicateurs[012],
										indicateurs[65] = ACTI000063_MVT.indicateurs[027],
										indicateurs[66] = ACTI000063_MVT.indicateurs[028],
										indicateurs[74] = ACTI000063_MVT.indicateurs[038]
										
									";
								}								
								if ('[DATA2]' == 'FAVDMS') {
									return "
										,
										indicateurs[5] = ACTI000063_MVT.indicateurs[013],
										indicateurs[6] = ACTI000063_MVT.indicateurs[014],
										indicateurs[65] = ACTI000063_MVT.indicateurs[029],
										indicateurs[66] = ACTI000063_MVT.indicateurs[030],
										indicateurs[74] = ACTI000063_MVT.indicateurs[039]
										
									";
								}									
								if ('[DATA2]' == 'FAVNBEMCHC') {
									return "
										,
										indicateurs[5] = ACTI000063_MVT.indicateurs[015],
										indicateurs[6] = ACTI000063_MVT.indicateurs[016],
										indicateurs[65] = ACTI000063_MVT.indicateurs[031],
										indicateurs[66] = ACTI000063_MVT.indicateurs[032],
										indicateurs[74] = ACTI000063_MVT.indicateurs[040]
										
									";
								}
								if ('[DATA2]' == 'MFAVCAMHC') {
									return "
										,
										indicateurs[5] = base.cti_division(w_table.indicateurs[5],ACTI000063_MVT.indicateurs[015]),
										indicateurs[6] = base.cti_division(w_table.indicateurs[6],ACTI000063_MVT.indicateurs[016]),										
										indicateurs[65] = base.cti_division(w_table.indicateurs[65],ACTI000063_MVT.indicateurs[031]),
										indicateurs[66] = base.cti_division(w_table.indicateurs[66],ACTI000063_MVT.indicateurs[032]),
										indicateurs[74] = base.cti_division(w_table.indicateurs[74],ACTI000063_MVT.indicateurs[040])
										
									";
								}									
								if ('[DATA2]' == 'MMFPVEMC') {
									return "
										,
										indicateurs[5] = base.cti_division(w_table.indicateurs[5],ACTI000063_MVT.indicateurs[009]),
										indicateurs[6] = base.cti_division(w_table.indicateurs[6],ACTI000063_MVT.indicateurs[010]),
										indicateurs[65] = base.cti_division(w_table.indicateurs[65],ACTI000063_MVT.indicateurs[025]),
										indicateurs[66] = base.cti_division(w_table.indicateurs[66],ACTI000063_MVT.indicateurs[026]),
										indicateurs[74] = base.cti_division(w_table.indicateurs[74],ACTI000063_MVT.indicateurs[037])
										
										
									";
								}									
								if ('[DATA2]' == 'MMFACEMC') {
									return "
										,
										indicateurs[5] = base.cti_division(w_table.indicateurs[5],ACTI000063_MVT.indicateurs[001]),
										indicateurs[6] = base.cti_division(w_table.indicateurs[6],ACTI000063_MVT.indicateurs[002]),
										indicateurs[65] = base.cti_division(w_table.indicateurs[65],ACTI000063_MVT.indicateurs[017]),
										indicateurs[66] = base.cti_division(w_table.indicateurs[66],ACTI000063_MVT.indicateurs[018]),
										indicateurs[74] = base.cti_division(w_table.indicateurs[74],ACTI000063_MVT.indicateurs[033])
										
									";
								}								
								if ('[DATA2]' == 'MMVALEMC') {
									return "
										,
										indicateurs[5] = base.cti_division(w_table.indicateurs[5],ACTI000063_MVT.indicateurs[005]),
										indicateurs[6] = base.cti_division(w_table.indicateurs[6],ACTI000063_MVT.indicateurs[006]),
										indicateurs[65] = base.cti_division(w_table.indicateurs[65],ACTI000063_MVT.indicateurs[021]),
										indicateurs[66] = base.cti_division(w_table.indicateurs[66],ACTI000063_MVT.indicateurs[022]),
										indicateurs[74] = base.cti_division(w_table.indicateurs[74],ACTI000063_MVT.indicateurs[035])
										
									";
								}									
							EVAL]							
							[EVAL 
								if ('[DATA3]' == 'EMC') {
									return "
										,
										indicateurs[9] = ACTI000063_MVT.indicateurs[001],
										indicateurs[10] = ACTI000063_MVT.indicateurs[002],
										indicateurs[69] = ACTI000063_MVT.indicateurs[017],
										indicateurs[70] = ACTI000063_MVT.indicateurs[018],										
										indicateurs[75] = ACTI000063_MVT.indicateurs[033]										

										
										
									";
								}								
								if ('[DATA3]' == 'VALEMC') {
									return "
										,
										indicateurs[9] = ACTI000063_MVT.indicateurs[005],
										indicateurs[10] = ACTI000063_MVT.indicateurs[006],
										indicateurs[69] = ACTI000063_MVT.indicateurs[021],
										indicateurs[70] = ACTI000063_MVT.indicateurs[022],										
										indicateurs[75] = ACTI000063_MVT.indicateurs[035]
										
									";
								}								
								if ('[DATA3]' == 'FAVEMC') {
									return "
										,
										indicateurs[9] = ACTI000063_MVT.indicateurs[009],
										indicateurs[10] = ACTI000063_MVT.indicateurs[010],
										indicateurs[69] = ACTI000063_MVT.indicateurs[025],
										indicateurs[70] = ACTI000063_MVT.indicateurs[026],										
										indicateurs[75] = ACTI000063_MVT.indicateurs[037]
										
									";
								}	
								if ('[DATA3]' == 'FACNBJ') {
									return "
										,
										indicateurs[9] = ACTI000063_MVT.indicateurs[003],
										indicateurs[10] = ACTI000063_MVT.indicateurs[004],
										indicateurs[69] = ACTI000063_MVT.indicateurs[019],
										indicateurs[70] = ACTI000063_MVT.indicateurs[020],										
										indicateurs[75] = ACTI000063_MVT.indicateurs[034]
										
									";
								}								
								if ('[DATA3]' == 'VALNBJ') {
									return "
										,
										indicateurs[9] = ACTI000063_MVT.indicateurs[007],
										indicateurs[10] = ACTI000063_MVT.indicateurs[008],
										indicateurs[69] = ACTI000063_MVT.indicateurs[023],
										indicateurs[70] = ACTI000063_MVT.indicateurs[024],										
										indicateurs[75] = ACTI000063_MVT.indicateurs[036]
										
									";
								}
								if ('[DATA3]' == 'FAVNBJ') {
									return "
										,
										indicateurs[9] = ACTI000063_MVT.indicateurs[011],
										indicateurs[10] = ACTI000063_MVT.indicateurs[012],
										indicateurs[69] = ACTI000063_MVT.indicateurs[027],
										indicateurs[70] = ACTI000063_MVT.indicateurs[028],										
										indicateurs[75] = ACTI000063_MVT.indicateurs[038]
										
									";
								}								
								if ('[DATA3]' == 'FAVDMS') {
									return "
										,
										indicateurs[9] = ACTI000063_MVT.indicateurs[013],
										indicateurs[10] = ACTI000063_MVT.indicateurs[014],
										indicateurs[69] = ACTI000063_MVT.indicateurs[029],
										indicateurs[70] = ACTI000063_MVT.indicateurs[028],
										indicateurs[75] = ACTI000063_MVT.indicateurs[039]
										
									";
								}									
								if ('[DATA3]' == 'FAVNBEMCHC') {
									return "
										,
										indicateurs[9] = ACTI000063_MVT.indicateurs[015],
										indicateurs[10] = ACTI000063_MVT.indicateurs[016],
										indicateurs[69] = ACTI000063_MVT.indicateurs[031],
										indicateurs[70] = ACTI000063_MVT.indicateurs[032],										
										indicateurs[75] = ACTI000063_MVT.indicateurs[040]
										
									";
								}
								if ('[DATA3]' == 'MFAVCAMHC') {
									return "
										,
										indicateurs[9] = base.cti_division(w_table.indicateurs[9],ACTI000063_MVT.indicateurs[015]),
										indicateurs[10] = base.cti_division(w_table.indicateurs[10],ACTI000063_MVT.indicateurs[016]),										
										indicateurs[69] = base.cti_division(w_table.indicateurs[69],ACTI000063_MVT.indicateurs[031]),
										indicateurs[70] = base.cti_division(w_table.indicateurs[70],ACTI000063_MVT.indicateurs[032]),
										indicateurs[75] = base.cti_division(w_table.indicateurs[75],ACTI000063_MVT.indicateurs[040])
										
									";
								}									
								if ('[DATA3]' == 'MMFPVEMC') {
									return "
										,
										indicateurs[9] = base.cti_division(w_table.indicateurs[9],ACTI000063_MVT.indicateurs[009]),
										indicateurs[10] = base.cti_division(w_table.indicateurs[10],ACTI000063_MVT.indicateurs[010]),
										indicateurs[69] = base.cti_division(w_table.indicateurs[69],ACTI000063_MVT.indicateurs[025]),
										indicateurs[70] = base.cti_division(w_table.indicateurs[70],ACTI000063_MVT.indicateurs[026]),
										indicateurs[75] = base.cti_division(w_table.indicateurs[75],ACTI000063_MVT.indicateurs[037])
										
										
									";
								}									
								if ('[DATA3]' == 'MMFACEMC') {
									return "
										,
										indicateurs[9] = base.cti_division(w_table.indicateurs[9],ACTI000063_MVT.indicateurs[001]),
										indicateurs[10] = base.cti_division(w_table.indicateurs[10],ACTI000063_MVT.indicateurs[002]),
										indicateurs[69] = base.cti_division(w_table.indicateurs[69],ACTI000063_MVT.indicateurs[017]),
										indicateurs[70] = base.cti_division(w_table.indicateurs[70],ACTI000063_MVT.indicateurs[018]),
										indicateurs[75] = base.cti_division(w_table.indicateurs[75],ACTI000063_MVT.indicateurs[033])
										
									";
								}								
								if ('[DATA3]' == 'MMVALEMC') {
									return "
										,
										indicateurs[9] = base.cti_division(w_table.indicateurs[9],ACTI000063_MVT.indicateurs[005]),
										indicateurs[10] = base.cti_division(w_table.indicateurs[10],ACTI000063_MVT.indicateurs[006]),
										indicateurs[69] = base.cti_division(w_table.indicateurs[69],ACTI000063_MVT.indicateurs[021]),
										indicateurs[70] = base.cti_division(w_table.indicateurs[70],ACTI000063_MVT.indicateurs[022]),
										indicateurs[75] = base.cti_division(w_table.indicateurs[75],ACTI000063_MVT.indicateurs[035])
										
									";
								}									
							EVAL]							
							[EVAL 
								if ('[DATA4]' == 'EMC') {
									return "
										,
										indicateurs[13] = ACTI000063_MVT.indicateurs[001],
										indicateurs[14] = ACTI000063_MVT.indicateurs[002],
										indicateurs[76] = ACTI000063_MVT.indicateurs[033]
									";
								}								
								if ('[DATA4]' == 'VALEMC') {
									return "
										,
										indicateurs[13] =  ACTI000063_MVT.indicateurs[005],
										indicateurs[14] = ACTI000063_MVT.indicateurs[006],
										indicateurs[76] = ACTI000063_MVT.indicateurs[035]
									";
								}								
								if ('[DATA4]' == 'FAVEMC') {
									return "
										,
										indicateurs[13]  = ACTI000063_MVT.indicateurs[009],
										indicateurs[14] = ACTI000063_MVT.indicateurs[010],
										indicateurs[76] = ACTI000063_MVT.indicateurs[037]
									";
								}	
								if ('[DATA4]' == 'FACNBJ') {
									return "
										,
										indicateurs[13]  = ACTI000063_MVT.indicateurs[003],
										indicateurs[14] = ACTI000063_MVT.indicateurs[004],
										indicateurs[76] = ACTI000063_MVT.indicateurs[034]
									";
								}								
								if ('[DATA4]' == 'VALNBJ') {
									return "
										,
										indicateurs[13]  = ACTI000063_MVT.indicateurs[007],
										indicateurs[14] = ACTI000063_MVT.indicateurs[008],
										indicateurs[76] = ACTI000063_MVT.indicateurs[036]
									";
								}
								if ('[DATA4]' == 'FAVNBJ') {
									return "
										,
										indicateurs[13]  = ACTI000063_MVT.indicateurs[011],
										indicateurs[14] = ACTI000063_MVT.indicateurs[012],
										indicateurs[76] = ACTI000063_MVT.indicateurs[038]
									";
								}								
								if ('[DATA4]' == 'FAVDMS') {
									return "
										,
										indicateurs[13]  = ACTI000063_MVT.indicateurs[013],
										indicateurs[14] = ACTI000063_MVT.indicateurs[014],
										indicateurs[76] = ACTI000063_MVT.indicateurs[039]
									";
								}									
								if ('[DATA4]' == 'FAVNBEMCHC') {
									return "
										,
										indicateurs[13]  = ACTI000063_MVT.indicateurs[015],
										indicateurs[14] = ACTI000063_MVT.indicateurs[016],
										indicateurs[76] = ACTI000063_MVT.indicateurs[040]
									";
								}
								if ('[DATA4]' == 'MFAVCAMHC') {
									return "
										,
										indicateurs[13] = base.cti_division(w_table.indicateurs[13],ACTI000063_MVT.indicateurs[015]),
										indicateurs[14] = base.cti_division(w_table.indicateurs[14],ACTI000063_MVT.indicateurs[016]),
										indicateurs[76] = base.cti_division(w_table.indicateurs[76],ACTI000063_MVT.indicateurs[040])
									";
								}	
								if ('[DATA4]' == 'MMFPVEMC') {
									return "
										,
										indicateurs[13]  = base.cti_division(w_table.indicateurs[13], ACTI000063_MVT.indicateurs[009]),
										indicateurs[14] = base.cti_division(w_table.indicateurs[14],ACTI000063_MVT.indicateurs[010]),
										indicateurs[76] = base.cti_division(w_table.indicateurs[76],ACTI000063_MVT.indicateurs[037])
									";
								}	
								if ('[DATA4]' == 'MMFACEMC') {
									return "
										,
										indicateurs[13] = base.cti_division(w_table.indicateurs[13], ACTI000063_MVT.indicateurs[001]),
										indicateurs[14] = base.cti_division(w_table.indicateurs[14],ACTI000063_MVT.indicateurs[002]),
										indicateurs[76] = base.cti_division(w_table.indicateurs[76],ACTI000063_MVT.indicateurs[033])
									";
								}
								if ('[DATA4]' == 'MMVALEMC') {
									return "
										,
										indicateurs[13]  = base.cti_division(w_table.indicateurs[13], ACTI000063_MVT.indicateurs[005]),
										indicateurs[14] = base.cti_division(w_table.indicateurs[14],ACTI000063_MVT.indicateurs[006]),
										indicateurs[76] = base.cti_division(w_table.indicateurs[76],ACTI000063_MVT.indicateurs[035])
									";
								}								
							EVAL]							
							[EVAL 
								if ('[DATA5]' == 'EMC') {
									return "
										,
										indicateurs[17] = ACTI000063_MVT.indicateurs[001],
										indicateurs[18] = ACTI000063_MVT.indicateurs[002],
										indicateurs[77] = ACTI000063_MVT.indicateurs[033]
									";
								}								
								if ('[DATA5]' == 'VALEMC') {
									return "
										,
										indicateurs[17] =  ACTI000063_MVT.indicateurs[005],
										indicateurs[18] = ACTI000063_MVT.indicateurs[006],
										indicateurs[77] = ACTI000063_MVT.indicateurs[035]
									";
								}								
								if ('[DATA5]' == 'FAVEMC') {
									return "
										,
										indicateurs[17]  = ACTI000063_MVT.indicateurs[009],
										indicateurs[18] = ACTI000063_MVT.indicateurs[010],
										indicateurs[77] = ACTI000063_MVT.indicateurs[037]
									";
								}	
								if ('[DATA5]' == 'FACNBJ') {
									return "
										,
										indicateurs[17]  = ACTI000063_MVT.indicateurs[003],
										indicateurs[18] = ACTI000063_MVT.indicateurs[004],
										indicateurs[77] = ACTI000063_MVT.indicateurs[034]
									";
								}								
								if ('[DATA5]' == 'VALNBJ') {
									return "
										,
										indicateurs[17]  = ACTI000063_MVT.indicateurs[007],
										indicateurs[18] = ACTI000063_MVT.indicateurs[008],
										indicateurs[77] = ACTI000063_MVT.indicateurs[036]
									";
								}
								if ('[DATA5]' == 'FAVNBJ') {
									return "
									,
										indicateurs[17]  = ACTI000063_MVT.indicateurs[011],
										indicateurs[18] = ACTI000063_MVT.indicateurs[012],
										indicateurs[77] = ACTI000063_MVT.indicateurs[038]
									";
								}								
								if ('[DATA5]' == 'FAVDMS') {
									return "
									,
										indicateurs[17]  = ACTI000063_MVT.indicateurs[013],
										indicateurs[18] = ACTI000063_MVT.indicateurs[014],
										indicateurs[77] = ACTI000063_MVT.indicateurs[039]
									";
								}									
								if ('[DATA5]' == 'FAVNBEMCHC') {
									return "
									,
										indicateurs[17]  = ACTI000063_MVT.indicateurs[015],
										indicateurs[18] = ACTI000063_MVT.indicateurs[016],
										indicateurs[77] = ACTI000063_MVT.indicateurs[040]
									";
								}
								if ('[DATA5]' == 'MFAVCAMHC') {
									return "
									,
										indicateurs[17] = base.cti_division(w_table.indicateurs[17],ACTI000063_MVT.indicateurs[015]),
										indicateurs[18] = base.cti_division(w_table.indicateurs[18],ACTI000063_MVT.indicateurs[016]),
										indicateurs[77] = base.cti_division(w_table.indicateurs[77],ACTI000063_MVT.indicateurs[040])
									";
								}	
								if ('[DATA5]' == 'MMFPVEMC') {
									return "
									,
										indicateurs[17]  = base.cti_division(w_table.indicateurs[17], ACTI000063_MVT.indicateurs[009]),
										indicateurs[18] = base.cti_division(w_table.indicateurs[18],ACTI000063_MVT.indicateurs[010]),
										indicateurs[77] = base.cti_division(w_table.indicateurs[77],ACTI000063_MVT.indicateurs[037])
									";
								}	
								if ('[DATA5]' == 'MMFACEMC') {
									return "
									,
										indicateurs[17] = base.cti_division(w_table.indicateurs[17], ACTI000063_MVT.indicateurs[001]),
										indicateurs[18] = base.cti_division(w_table.indicateurs[18],ACTI000063_MVT.indicateurs[002]),
										indicateurs[77] = base.cti_division(w_table.indicateurs[77],ACTI000063_MVT.indicateurs[033])
									";
								}
								if ('[DATA5]' == 'MMVALEMC') {
									return "
									,
										indicateurs[17]  = base.cti_division(w_table.indicateurs[17], ACTI000063_MVT.indicateurs[005]),
										indicateurs[18] = base.cti_division(w_table.indicateurs[18],ACTI000063_MVT.indicateurs[006]),
										indicateurs[77] = base.cti_division(w_table.indicateurs[77],ACTI000063_MVT.indicateurs[035])
									";
								}
							EVAL]							
							[EVAL 
								if ('[DATA6]' == 'EMC') {
									return "
										,
										indicateurs[21] = ACTI000063_MVT.indicateurs[001],
										indicateurs[22] = ACTI000063_MVT.indicateurs[002],
										indicateurs[78] = ACTI000063_MVT.indicateurs[033]
									";
								}								
								if ('[DATA6]' == 'VALEMC') {
									return "
										,
										indicateurs[21] =  ACTI000063_MVT.indicateurs[005],
										indicateurs[22] = ACTI000063_MVT.indicateurs[006],
										indicateurs[78] = ACTI000063_MVT.indicateurs[035]
									";
								}								
								if ('[DATA6]' == 'FAVEMC') {
									return "
										,
										indicateurs[21]  = ACTI000063_MVT.indicateurs[009],
										indicateurs[22] = ACTI000063_MVT.indicateurs[010],
										indicateurs[78] = ACTI000063_MVT.indicateurs[037]
									";
								}	
								if ('[DATA6]' == 'FACNBJ') {
									return "
										,
										indicateurs[21]  = ACTI000063_MVT.indicateurs[003],
										indicateurs[22] = ACTI000063_MVT.indicateurs[004],
										indicateurs[78] = ACTI000063_MVT.indicateurs[034]
									";
								}								
								if ('[DATA6]' == 'VALNBJ') {
									return "
										,
										indicateurs[21]  = ACTI000063_MVT.indicateurs[007],
										indicateurs[22] = ACTI000063_MVT.indicateurs[008],
										indicateurs[78] = ACTI000063_MVT.indicateurs[036]
									";
								}
								if ('[DATA6]' == 'FAVNBJ') {
									return "
									,
										indicateurs[21]  = ACTI000063_MVT.indicateurs[011],
										indicateurs[22] = ACTI000063_MVT.indicateurs[012],
										indicateurs[78] = ACTI000063_MVT.indicateurs[038]
									";
								}								
								if ('[DATA6]' == 'FAVDMS') {
									return "
									,
										indicateurs[21]  = ACTI000063_MVT.indicateurs[013],
										indicateurs[22] = ACTI000063_MVT.indicateurs[014],
										indicateurs[78] = ACTI000063_MVT.indicateurs[039]
									";
								}									
								if ('[DATA6]' == 'FAVNBEMCHC') {
									return "
									,
										indicateurs[21]  = ACTI000063_MVT.indicateurs[015],
										indicateurs[22] = ACTI000063_MVT.indicateurs[016],
										indicateurs[78] = ACTI000063_MVT.indicateurs[040]
									";
								}
								if ('[DATA6]' == 'MFAVCAMHC') {
									return "
									,
										indicateurs[21] = base.cti_division(w_table.indicateurs[21],ACTI000063_MVT.indicateurs[015]),
										indicateurs[22] = base.cti_division(w_table.indicateurs[22],ACTI000063_MVT.indicateurs[016]),
										indicateurs[78] = base.cti_division(w_table.indicateurs[78],ACTI000063_MVT.indicateurs[040])
									";
								}	
								if ('[DATA6]' == 'MMFPVEMC') {
									return "
									,
										indicateurs[21]  = base.cti_division(w_table.indicateurs[21], ACTI000063_MVT.indicateurs[009]),
										indicateurs[22] = base.cti_division(w_table.indicateurs[22],ACTI000063_MVT.indicateurs[010]),
										indicateurs[78] = base.cti_division(w_table.indicateurs[78],ACTI000063_MVT.indicateurs[037])
									";
								}	
								if ('[DATA6]' == 'MMFACEMC') {
									return "
									,
										indicateurs[21] = base.cti_division(w_table.indicateurs[21], ACTI000063_MVT.indicateurs[001]),
										indicateurs[22] = base.cti_division(w_table.indicateurs[22],ACTI000063_MVT.indicateurs[002]),
										indicateurs[78] = base.cti_division(w_table.indicateurs[78],ACTI000063_MVT.indicateurs[033])
									";
								}
								if ('[DATA6]' == 'MMVALEMC') {
									return "
									,
										indicateurs[21]  = base.cti_division(w_table.indicateurs[21], ACTI000063_MVT.indicateurs[005]),
										indicateurs[22] = base.cti_division(w_table.indicateurs[22],ACTI000063_MVT.indicateurs[006]),
										indicateurs[78] = base.cti_division(w_table.indicateurs[78],ACTI000063_MVT.indicateurs[035])
									";
								}								
							EVAL]							
							[EVAL 
								if ('[DATA7]' == 'EMC') {
									return "
										,
										indicateurs[25] = ACTI000063_MVT.indicateurs[001],
										indicateurs[26] = ACTI000063_MVT.indicateurs[002],
										indicateurs[79] = ACTI000063_MVT.indicateurs[033]
									";
								}								
								if ('[DATA7]' == 'VALEMC') {
									return "
										,
										indicateurs[25] =  ACTI000063_MVT.indicateurs[005],
										indicateurs[26] = ACTI000063_MVT.indicateurs[006],
										indicateurs[79] = ACTI000063_MVT.indicateurs[035]
									";
								}								
								if ('[DATA7]' == 'FAVEMC') {
									return "
										,
										indicateurs[25]  = ACTI000063_MVT.indicateurs[009],
										indicateurs[26] = ACTI000063_MVT.indicateurs[010],
										indicateurs[79] = ACTI000063_MVT.indicateurs[037]
									";
								}	
								if ('[DATA7]' == 'FACNBJ') {
									return "
										,
										indicateurs[25]  = ACTI000063_MVT.indicateurs[003],
										indicateurs[26] = ACTI000063_MVT.indicateurs[004],
										indicateurs[79] = ACTI000063_MVT.indicateurs[034]
									";
								}								
								if ('[DATA7]' == 'VALNBJ') {
									return "
										,
										indicateurs[25]  = ACTI000063_MVT.indicateurs[007],
										indicateurs[26] = ACTI000063_MVT.indicateurs[008],
										indicateurs[79] = ACTI000063_MVT.indicateurs[036]
									";
								}
								if ('[DATA7]' == 'FAVNBJ') {
									return "
									,
										indicateurs[25]  = ACTI000063_MVT.indicateurs[011],
										indicateurs[26] = ACTI000063_MVT.indicateurs[012],
										indicateurs[79] = ACTI000063_MVT.indicateurs[038]
									";
								}								
								if ('[DATA7]' == 'FAVDMS') {
									return "
									,
										indicateurs[25]  = ACTI000063_MVT.indicateurs[013],
										indicateurs[26] = ACTI000063_MVT.indicateurs[014],
										indicateurs[79] = ACTI000063_MVT.indicateurs[039]
									";
								}									
								if ('[DATA7]' == 'FAVNBEMCHC') {
									return "
									,
										indicateurs[25]  = ACTI000063_MVT.indicateurs[015],
										indicateurs[26] = ACTI000063_MVT.indicateurs[016],
										indicateurs[79] = ACTI000063_MVT.indicateurs[040]
									";
								}
								if ('[DATA7]' == 'MFAVCAMHC') {
									return "
									,
										indicateurs[25] = base.cti_division(w_table.indicateurs[25],ACTI000063_MVT.indicateurs[015]),
										indicateurs[26] = base.cti_division(w_table.indicateurs[26],ACTI000063_MVT.indicateurs[016]),
										indicateurs[79] = base.cti_division(w_table.indicateurs[79],ACTI000063_MVT.indicateurs[040])
									";
								}	
								if ('[DATA7]' == 'MMFPVEMC') {
									return "
									,
										indicateurs[25]  = base.cti_division(w_table.indicateurs[25], ACTI000063_MVT.indicateurs[009]),
										indicateurs[26] = base.cti_division(w_table.indicateurs[26],ACTI000063_MVT.indicateurs[010]),
										indicateurs[79] = base.cti_division(w_table.indicateurs[79],ACTI000063_MVT.indicateurs[037])
									";
								}	
								if ('[DATA7]' == 'MMFACEMC') {
									return "
									,
										indicateurs[25] = base.cti_division(w_table.indicateurs[25], ACTI000063_MVT.indicateurs[001]),
										indicateurs[26] = base.cti_division(w_table.indicateurs[26],ACTI000063_MVT.indicateurs[002]),
										indicateurs[79] = base.cti_division(w_table.indicateurs[79],ACTI000063_MVT.indicateurs[033])
									";
								}
								if ('[DATA7]' == 'MMVALEMC') {
									return "
									,
										indicateurs[25]  = base.cti_division(w_table.indicateurs[25], ACTI000063_MVT.indicateurs[005]),
										indicateurs[26] = base.cti_division(w_table.indicateurs[26],ACTI000063_MVT.indicateurs[006]),
										indicateurs[79] = base.cti_division(w_table.indicateurs[79],ACTI000063_MVT.indicateurs[035])
									";
								}								
							EVAL]							
							[EVAL 
								if ('[DATA8]' == 'EMC') {
									return "
										,
										indicateurs[29] = ACTI000063_MVT.indicateurs[001],
										indicateurs[30] = ACTI000063_MVT.indicateurs[002],
										indicateurs[80] = ACTI000063_MVT.indicateurs[033]
									";
								}								
								if ('[DATA8]' == 'VALEMC') {
									return "
										,
										indicateurs[29] =  ACTI000063_MVT.indicateurs[005],
										indicateurs[30] = ACTI000063_MVT.indicateurs[006],
										indicateurs[80] = ACTI000063_MVT.indicateurs[035]
									";
								}								
								if ('[DATA8]' == 'FAVEMC') {
									return "
										,
										indicateurs[29]  = ACTI000063_MVT.indicateurs[009],
										indicateurs[30] = ACTI000063_MVT.indicateurs[010],
										indicateurs[80] = ACTI000063_MVT.indicateurs[037]
									";
								}	
								if ('[DATA8]' == 'FACNBJ') {
									return "
										,
										indicateurs[29]  = ACTI000063_MVT.indicateurs[003],
										indicateurs[30] = ACTI000063_MVT.indicateurs[004],
										indicateurs[80] = ACTI000063_MVT.indicateurs[034]
									";
								}								
								if ('[DATA8]' == 'VALNBJ') {
									return "
										,
										indicateurs[29]  = ACTI000063_MVT.indicateurs[007],
										indicateurs[30] = ACTI000063_MVT.indicateurs[008],
										indicateurs[80] = ACTI000063_MVT.indicateurs[036]
									";
								}
								if ('[DATA8]' == 'FAVNBJ') {
									return "
									,
										indicateurs[29]  = ACTI000063_MVT.indicateurs[011],
										indicateurs[30] = ACTI000063_MVT.indicateurs[012],
										indicateurs[80] = ACTI000063_MVT.indicateurs[038]
									";
								}								
								if ('[DATA8]' == 'FAVDMS') {
									return "
									,
										indicateurs[29]  = ACTI000063_MVT.indicateurs[013],
										indicateurs[30] = ACTI000063_MVT.indicateurs[014],
										indicateurs[80] = ACTI000063_MVT.indicateurs[039]
									";
								}									
								if ('[DATA8]' == 'FAVNBEMCHC') {
									return "
									,
										indicateurs[29]  = ACTI000063_MVT.indicateurs[015],
										indicateurs[30] = ACTI000063_MVT.indicateurs[016],
										indicateurs[80] = ACTI000063_MVT.indicateurs[040]
									";
								}
								if ('[DATA8]' == 'MFAVCAMHC') {
									return "
									,
										indicateurs[29] = base.cti_division(w_table.indicateurs[29],ACTI000063_MVT.indicateurs[015]),
										indicateurs[30] = base.cti_division(w_table.indicateurs[30],ACTI000063_MVT.indicateurs[016]),
										indicateurs[80] = base.cti_division(w_table.indicateurs[80],ACTI000063_MVT.indicateurs[040])
									";
								}	
								if ('[DATA8]' == 'MMFPVEMC') {
									return "
									,
										indicateurs[29]  = base.cti_division(w_table.indicateurs[29], ACTI000063_MVT.indicateurs[009]),
										indicateurs[30] = base.cti_division(w_table.indicateurs[30],ACTI000063_MVT.indicateurs[010]),
										indicateurs[80] = base.cti_division(w_table.indicateurs[80],ACTI000063_MVT.indicateurs[037])
									";
								}	
								if ('[DATA8]' == 'MMFACEMC') {
									return "
									,
										indicateurs[29] = base.cti_division(w_table.indicateurs[29], ACTI000063_MVT.indicateurs[001]),
										indicateurs[30] = base.cti_division(w_table.indicateurs[30],ACTI000063_MVT.indicateurs[002]),
										indicateurs[80] = base.cti_division(w_table.indicateurs[80],ACTI000063_MVT.indicateurs[033])
									";
								}
								if ('[DATA8]' == 'MMVALEMC') {
									return "
									,
										indicateurs[29]  = base.cti_division(w_table.indicateurs[29], ACTI000063_MVT.indicateurs[005]),
										indicateurs[30] = base.cti_division(w_table.indicateurs[30],ACTI000063_MVT.indicateurs[006]),
										indicateurs[80] = base.cti_division(w_table.indicateurs[80],ACTI000063_MVT.indicateurs[035])
									";
								}								
							EVAL]							
							[EVAL 
								if ('[DATA9]' == 'EMC') {
									return "
										,
										indicateurs[33] = ACTI000063_MVT.indicateurs[001],
										indicateurs[34] = ACTI000063_MVT.indicateurs[002],
										indicateurs[81] = ACTI000063_MVT.indicateurs[033]
									";
								}								
								if ('[DATA9]' == 'VALEMC') {
									return "
										,
										indicateurs[33] =  ACTI000063_MVT.indicateurs[005],
										indicateurs[34] = ACTI000063_MVT.indicateurs[006],
										indicateurs[81] = ACTI000063_MVT.indicateurs[035]
									";
								}								
								if ('[DATA9]' == 'FAVEMC') {
									return "
										,
										indicateurs[33]  = ACTI000063_MVT.indicateurs[009],
										indicateurs[34] = ACTI000063_MVT.indicateurs[010],
										indicateurs[81] = ACTI000063_MVT.indicateurs[037]
									";
								}	
								if ('[DATA9]' == 'FACNBJ') {
									return "
										,
										indicateurs[33]  = ACTI000063_MVT.indicateurs[003],
										indicateurs[34] = ACTI000063_MVT.indicateurs[004],
										indicateurs[81] = ACTI000063_MVT.indicateurs[034]
									";
								}								
								if ('[DATA9]' == 'VALNBJ') {
									return "
										,
										indicateurs[33]  = ACTI000063_MVT.indicateurs[007],
										indicateurs[34] = ACTI000063_MVT.indicateurs[008],
										indicateurs[81] = ACTI000063_MVT.indicateurs[036]
									";
								}
								if ('[DATA9]' == 'FAVNBJ') {
									return "
									,
										indicateurs[33]  = ACTI000063_MVT.indicateurs[011],
										indicateurs[34] = ACTI000063_MVT.indicateurs[012],
										indicateurs[81] = ACTI000063_MVT.indicateurs[038]
									";
								}								
								if ('[DATA9]' == 'FAVDMS') {
									return "
									,
										indicateurs[33]  = ACTI000063_MVT.indicateurs[013],
										indicateurs[34] = ACTI000063_MVT.indicateurs[014],
										indicateurs[81] = ACTI000063_MVT.indicateurs[039]
									";
								}									
								if ('[DATA9]' == 'FAVNBEMCHC') {
									return "
									,
										indicateurs[33]  = ACTI000063_MVT.indicateurs[015],
										indicateurs[34] = ACTI000063_MVT.indicateurs[016],
										indicateurs[81] = ACTI000063_MVT.indicateurs[040]
									";
								}
								if ('[DATA9]' == 'MFAVCAMHC') {
									return "
									,
										indicateurs[33] = base.cti_division(w_table.indicateurs[33],ACTI000063_MVT.indicateurs[015]),
										indicateurs[34] = base.cti_division(w_table.indicateurs[34],ACTI000063_MVT.indicateurs[016]),
										indicateurs[81] = base.cti_division(w_table.indicateurs[81],ACTI000063_MVT.indicateurs[040])
									";
								}	
								if ('[DATA9]' == 'MMFPVEMC') {
									return "
									,
										indicateurs[33]  = base.cti_division(w_table.indicateurs[33], ACTI000063_MVT.indicateurs[009]),
										indicateurs[34] = base.cti_division(w_table.indicateurs[44],ACTI000063_MVT.indicateurs[010]),
										indicateurs[81] = base.cti_division(w_table.indicateurs[81],ACTI000063_MVT.indicateurs[037])
									";
								}	
								if ('[DATA9]' == 'MMFACEMC') {
									return "
									,
										indicateurs[33] = base.cti_division(w_table.indicateurs[33], ACTI000063_MVT.indicateurs[001]),
										indicateurs[34] = base.cti_division(w_table.indicateurs[34],ACTI000063_MVT.indicateurs[002]),
										indicateurs[81] = base.cti_division(w_table.indicateurs[81],ACTI000063_MVT.indicateurs[033])
									";
								}
								if ('[DATA9]' == 'MMVALEMC') {
									return "
									,
										indicateurs[33]  = base.cti_division(w_table.indicateurs[33], ACTI000063_MVT.indicateurs[005]),
										indicateurs[34] = base.cti_division(w_table.indicateurs[44],ACTI000063_MVT.indicateurs[006]),
										indicateurs[81] = base.cti_division(w_table.indicateurs[81],ACTI000063_MVT.indicateurs[035])
									";
								}								
							EVAL]							
							[EVAL 
								if ('[DATA10]' == 'EMC') {
									return "
										,
										indicateurs[37] = ACTI000063_MVT.indicateurs[001],
										indicateurs[38] = ACTI000063_MVT.indicateurs[002],
										indicateurs[82] = ACTI000063_MVT.indicateurs[033]
									";
								}								
								if ('[DATA10]' == 'VALEMC') {
									return "
										,
										indicateurs[37] =  ACTI000063_MVT.indicateurs[005],
										indicateurs[38] = ACTI000063_MVT.indicateurs[006],
										indicateurs[82] = ACTI000063_MVT.indicateurs[035]
									";
								}								
								if ('[DATA10]' == 'FAVEMC') {
									return "
										,
										indicateurs[37]  = ACTI000063_MVT.indicateurs[009],
										indicateurs[38] = ACTI000063_MVT.indicateurs[010],
										indicateurs[82] = ACTI000063_MVT.indicateurs[037]
									";
								}	
								if ('[DATA10]' == 'FACNBJ') {
									return "
										,
										indicateurs[37]  = ACTI000063_MVT.indicateurs[003],
										indicateurs[38] = ACTI000063_MVT.indicateurs[004],
										indicateurs[82] = ACTI000063_MVT.indicateurs[034]
									";
								}								
								if ('[DATA10]' == 'VALNBJ') {
									return "
										,
										indicateurs[37]  = ACTI000063_MVT.indicateurs[007],
										indicateurs[38] = ACTI000063_MVT.indicateurs[008],
										indicateurs[82] = ACTI000063_MVT.indicateurs[036]
									";
								}
								if ('[DATA10]' == 'FAVNBJ') {
									return "
									,
										indicateurs[37]  = ACTI000063_MVT.indicateurs[011],
										indicateurs[38] = ACTI000063_MVT.indicateurs[012],
										indicateurs[82] = ACTI000063_MVT.indicateurs[038]
									";
								}								
								if ('[DATA10]' == 'FAVDMS') {
									return "
									,
										indicateurs[37]  = ACTI000063_MVT.indicateurs[013],
										indicateurs[38] = ACTI000063_MVT.indicateurs[014],
										indicateurs[82] = ACTI000063_MVT.indicateurs[039]
									";
								}									
								if ('[DATA10]' == 'FAVNBEMCHC') {
									return "
									,
										indicateurs[37]  = ACTI000063_MVT.indicateurs[015],
										indicateurs[38] = ACTI000063_MVT.indicateurs[016],
										indicateurs[82] = ACTI000063_MVT.indicateurs[040]
									";
								}
								if ('[DATA10]' == 'MFAVCAMHC') {
									return "
									,
										indicateurs[37] = base.cti_division(w_table.indicateurs[37],ACTI000063_MVT.indicateurs[015]),
										indicateurs[38] = base.cti_division(w_table.indicateurs[38],ACTI000063_MVT.indicateurs[016]),
										indicateurs[82] = base.cti_division(w_table.indicateurs[82],ACTI000063_MVT.indicateurs[040])
									";
								}	
								if ('[DATA10]' == 'MMFPVEMC') {
									return "
									,
										indicateurs[37]  = base.cti_division(w_table.indicateurs[37], ACTI000063_MVT.indicateurs[009]),
										indicateurs[38] = base.cti_division(w_table.indicateurs[38],ACTI000063_MVT.indicateurs[010]),
										indicateurs[82] = base.cti_division(w_table.indicateurs[82],ACTI000063_MVT.indicateurs[037])
									";
								}	
								if ('[DATA10]' == 'MMFACEMC') {
									return "
									,
										indicateurs[37] = base.cti_division(w_table.indicateurs[37], ACTI000063_MVT.indicateurs[001]),
										indicateurs[38] = base.cti_division(w_table.indicateurs[38],ACTI000063_MVT.indicateurs[002]),
										indicateurs[82] = base.cti_division(w_table.indicateurs[82],ACTI000063_MVT.indicateurs[033])
									";
								}
								if ('[DATA10]' == 'MMVALEMC') {
									return "
									,
										indicateurs[37]  = base.cti_division(w_table.indicateurs[37], ACTI000063_MVT.indicateurs[005]),
										indicateurs[38] = base.cti_division(w_table.indicateurs[38],ACTI000063_MVT.indicateurs[006]),
										indicateurs[82] = base.cti_division(w_table.indicateurs[82],ACTI000063_MVT.indicateurs[035])
									";
								}								
							EVAL]							
							[EVAL 
								if ('[DATA011]' == 'EMC') {
									return "
										,
										indicateurs[41] = ACTI000063_MVT.indicateurs[001],
										indicateurs[42] = ACTI000063_MVT.indicateurs[002],
										indicateurs[83] = ACTI000063_MVT.indicateurs[033]
									";
								}								
								if ('[DATA011]' == 'VALEMC') {
									return "
										,
										indicateurs[41] =  ACTI000063_MVT.indicateurs[005],
										indicateurs[42] = ACTI000063_MVT.indicateurs[006],
										indicateurs[83] = ACTI000063_MVT.indicateurs[035]
									";
								}								
								if ('[DATA011]' == 'FAVEMC') {
									return "
										,
										indicateurs[41]  = ACTI000063_MVT.indicateurs[009],
										indicateurs[42] = ACTI000063_MVT.indicateurs[010],
										indicateurs[83] = ACTI000063_MVT.indicateurs[037]
									";
								}	
								if ('[DATA011]' == 'FACNBJ') {
									return "
										,
										indicateurs[41]  = ACTI000063_MVT.indicateurs[003],
										indicateurs[42] = ACTI000063_MVT.indicateurs[004],
										indicateurs[83] = ACTI000063_MVT.indicateurs[034]
									";
								}								
								if ('[DATA011]' == 'VALNBJ') {
									return "
										,
										indicateurs[41]  = ACTI000063_MVT.indicateurs[007],
										indicateurs[42] = ACTI000063_MVT.indicateurs[008],
										indicateurs[83] = ACTI000063_MVT.indicateurs[036]
									";
								}
								if ('[DATA011]' == 'FAVNBJ') {
									return "
									,
										indicateurs[41]  = ACTI000063_MVT.indicateurs[011],
										indicateurs[42] = ACTI000063_MVT.indicateurs[012],
										indicateurs[83] = ACTI000063_MVT.indicateurs[038]
									";
								}								
								if ('[DATA011]' == 'FAVDMS') {
									return "
									,
										indicateurs[41]  = ACTI000063_MVT.indicateurs[013],
										indicateurs[42] = ACTI000063_MVT.indicateurs[014],
										indicateurs[83] = ACTI000063_MVT.indicateurs[039]
									";
								}									
								if ('[DATA011]' == 'FAVNBEMCHC') {
									return "
									,
										indicateurs[41]  = ACTI000063_MVT.indicateurs[015],
										indicateurs[42] = ACTI000063_MVT.indicateurs[016],
										indicateurs[83] = ACTI000063_MVT.indicateurs[040]
									";
								}
								if ('[DATA011]' == 'MFAVCAMHC') {
									return "
									,
										indicateurs[41] = base.cti_division(w_table.indicateurs[41],ACTI000063_MVT.indicateurs[015]),
										indicateurs[42] = base.cti_division(w_table.indicateurs[42],ACTI000063_MVT.indicateurs[016]),
										indicateurs[83] = base.cti_division(w_table.indicateurs[83],ACTI000063_MVT.indicateurs[040])
									";
								}	
								if ('[DATA011]' == 'MMFPVEMC') {
									return "
									,
										indicateurs[41]  = base.cti_division(w_table.indicateurs[41], ACTI000063_MVT.indicateurs[009]),
										indicateurs[42] = base.cti_division(w_table.indicateurs[42],ACTI000063_MVT.indicateurs[010]),
										indicateurs[83] = base.cti_division(w_table.indicateurs[83],ACTI000063_MVT.indicateurs[037])
									";
								}	
								if ('[DATA011]' == 'MMFACEMC') {
									return "
									,
										indicateurs[41] = base.cti_division(w_table.indicateurs[41], ACTI000063_MVT.indicateurs[001]),
										indicateurs[42] = base.cti_division(w_table.indicateurs[42],ACTI000063_MVT.indicateurs[002]),
										indicateurs[83] = base.cti_division(w_table.indicateurs[83],ACTI000063_MVT.indicateurs[033])
									";
								}
								if ('[DATA011]' == 'MMVALEMC') {
									return "
									,
										indicateurs[41]  = base.cti_division(w_table.indicateurs[41], ACTI000063_MVT.indicateurs[005]),
										indicateurs[42] = base.cti_division(w_table.indicateurs[42],ACTI000063_MVT.indicateurs[006]),
										indicateurs[83] = base.cti_division(w_table.indicateurs[83],ACTI000063_MVT.indicateurs[035])
									";
								}								
							EVAL]							
							[EVAL 
								if ('[DATA012]' == 'EMC') {
									return "
										,
										indicateurs[45] = ACTI000063_MVT.indicateurs[001],
										indicateurs[46] = ACTI000063_MVT.indicateurs[002],
										indicateurs[84] = ACTI000063_MVT.indicateurs[033]
									";
								}								
								if ('[DATA012]' == 'VALEMC') {
									return "
										,
										indicateurs[45] =  ACTI000063_MVT.indicateurs[005],
										indicateurs[46] = ACTI000063_MVT.indicateurs[006],
										indicateurs[84] = ACTI000063_MVT.indicateurs[035]
									";
								}								
								if ('[DATA012]' == 'FAVEMC') {
									return "
										,
										indicateurs[45]  = ACTI000063_MVT.indicateurs[009],
										indicateurs[46] = ACTI000063_MVT.indicateurs[010],
										indicateurs[84] = ACTI000063_MVT.indicateurs[037]
									";
								}	
								if ('[DATA012]' == 'FACNBJ') {
									return "
										,
										indicateurs[45]  = ACTI000063_MVT.indicateurs[003],
										indicateurs[46] = ACTI000063_MVT.indicateurs[004],
										indicateurs[84] = ACTI000063_MVT.indicateurs[034]
									";
								}								
								if ('[DATA012]' == 'VALNBJ') {
									return "
										,
										indicateurs[45]  = ACTI000063_MVT.indicateurs[007],
										indicateurs[46] = ACTI000063_MVT.indicateurs[008],
										indicateurs[84] = ACTI000063_MVT.indicateurs[036]
									";
								}
								if ('[DATA012]' == 'FAVNBJ') {
									return "
									,
										indicateurs[45]  = ACTI000063_MVT.indicateurs[011],
										indicateurs[46] = ACTI000063_MVT.indicateurs[012],
										indicateurs[83] = ACTI000063_MVT.indicateurs[038]
									";
								}								
								if ('[DATA012]' == 'FAVDMS') {
									return "
									,
										indicateurs[45]  = ACTI000063_MVT.indicateurs[013],
										indicateurs[46] = ACTI000063_MVT.indicateurs[014],
										indicateurs[84] = ACTI000063_MVT.indicateurs[039]
									";
								}									
								if ('[DATA012]' == 'FAVNBEMCHC') {
									return "
									,
										indicateurs[45]  = ACTI000063_MVT.indicateurs[015],
										indicateurs[46] = ACTI000063_MVT.indicateurs[016],
										indicateurs[84] = ACTI000063_MVT.indicateurs[040]
									";
								}
								if ('[DATA012]' == 'MFAVCAMHC') {
									return "
									,
										indicateurs[45] = base.cti_division(w_table.indicateurs[45],ACTI000063_MVT.indicateurs[015]),
										indicateurs[46] = base.cti_division(w_table.indicateurs[46],ACTI000063_MVT.indicateurs[016]),
										indicateurs[84] = base.cti_division(w_table.indicateurs[84],ACTI000063_MVT.indicateurs[040])
									";
								}	
								if ('[DATA012]' == 'MMFPVEMC') {
									return "
									,
										indicateurs[45]  = base.cti_division(w_table.indicateurs[45], ACTI000063_MVT.indicateurs[009]),
										indicateurs[46] = base.cti_division(w_table.indicateurs[46],ACTI000063_MVT.indicateurs[010]),
										indicateurs[84] = base.cti_division(w_table.indicateurs[84],ACTI000063_MVT.indicateurs[037])
									";
								}	
								if ('[DATA012]' == 'MMFACEMC') {
									return "
									,
										indicateurs[45] = base.cti_division(w_table.indicateurs[45], ACTI000063_MVT.indicateurs[001]),
										indicateurs[46] = base.cti_division(w_table.indicateurs[46],ACTI000063_MVT.indicateurs[002]),
										indicateurs[84] = base.cti_division(w_table.indicateurs[84],ACTI000063_MVT.indicateurs[033])
									";
								}
								if ('[DATA012]' == 'MMVALEMC') {
									return "
									,
										indicateurs[45]  = base.cti_division(w_table.indicateurs[45], ACTI000063_MVT.indicateurs[005]),
										indicateurs[46] = base.cti_division(w_table.indicateurs[46],ACTI000063_MVT.indicateurs[006]),
										indicateurs[84] = base.cti_division(w_table.indicateurs[84],ACTI000063_MVT.indicateurs[035])
									";
								}								
							EVAL]							
							[EVAL 
								if ('[DATA013]' == 'EMC') {
									return "
										,
										indicateurs[49] = ACTI000063_MVT.indicateurs[001],
										indicateurs[50] = ACTI000063_MVT.indicateurs[002],
										indicateurs[85] = ACTI000063_MVT.indicateurs[033]
									";
								}								
								if ('[DATA013]' == 'VALEMC') {
									return "
										,
										indicateurs[49] =  ACTI000063_MVT.indicateurs[005],
										indicateurs[50] = ACTI000063_MVT.indicateurs[006],
										indicateurs[85] = ACTI000063_MVT.indicateurs[035]
									";
								}								
								if ('[DATA013]' == 'FAVEMC') {
									return "
										,
										indicateurs[49]  = ACTI000063_MVT.indicateurs[009],
										indicateurs[50] = ACTI000063_MVT.indicateurs[010],
										indicateurs[85] = ACTI000063_MVT.indicateurs[037]
									";
								}	
								if ('[DATA013]' == 'FACNBJ') {
									return "
										,
										indicateurs[49]  = ACTI000063_MVT.indicateurs[003],
										indicateurs[50] = ACTI000063_MVT.indicateurs[004],
										indicateurs[85] = ACTI000063_MVT.indicateurs[034]
									";
								}								
								if ('[DATA013]' == 'VALNBJ') {
									return "
										,
										indicateurs[49]  = ACTI000063_MVT.indicateurs[007],
										indicateurs[50] = ACTI000063_MVT.indicateurs[008],
										indicateurs[85] = ACTI000063_MVT.indicateurs[036]
									";
								}
								if ('[DATA013]' == 'FAVNBJ') {
									return "
									,
										indicateurs[49]  = ACTI000063_MVT.indicateurs[011],
										indicateurs[50] = ACTI000063_MVT.indicateurs[012],
										indicateurs[85] = ACTI000063_MVT.indicateurs[038]
									";
								}								
								if ('[DATA013]' == 'FAVDMS') {
									return "
									,
										indicateurs[49]  = ACTI000063_MVT.indicateurs[013],
										indicateurs[50] = ACTI000063_MVT.indicateurs[014],
										indicateurs[85] = ACTI000063_MVT.indicateurs[039]
									";
								}									
								if ('[DATA013]' == 'FAVNBEMCHC') {
									return "
									,
										indicateurs[49]  = ACTI000063_MVT.indicateurs[015],
										indicateurs[50] = ACTI000063_MVT.indicateurs[016],
										indicateurs[85] = ACTI000063_MVT.indicateurs[040]
									";
								}
								if ('[DATA013]' == 'MFAVCAMHC') {
									return "
									,
										indicateurs[49] = base.cti_division(w_table.indicateurs[49],ACTI000063_MVT.indicateurs[015]),
										indicateurs[50] = base.cti_division(w_table.indicateurs[50],ACTI000063_MVT.indicateurs[016]),
										indicateurs[85] = base.cti_division(w_table.indicateurs[85],ACTI000063_MVT.indicateurs[040])
									";
								}	
								if ('[DATA013]' == 'MMFPVEMC') {
									return "
									,
										indicateurs[49]  = base.cti_division(w_table.indicateurs[49], ACTI000063_MVT.indicateurs[009]),
										indicateurs[50] = base.cti_division(w_table.indicateurs[50],ACTI000063_MVT.indicateurs[010]),
										indicateurs[85] = base.cti_division(w_table.indicateurs[85],ACTI000063_MVT.indicateurs[037])
									";
								}	
								if ('[DATA013]' == 'MMFACEMC') {
									return "
									,
										indicateurs[49] = base.cti_division(w_table.indicateurs[49], ACTI000063_MVT.indicateurs[001]),
										indicateurs[50] = base.cti_division(w_table.indicateurs[50],ACTI000063_MVT.indicateurs[002]),
										indicateurs[85] = base.cti_division(w_table.indicateurs[85],ACTI000063_MVT.indicateurs[033])
									";
								}
								if ('[DATA013]' == 'MMVALEMC') {
									return "
									,
										indicateurs[49]  = base.cti_division(w_table.indicateurs[49], ACTI000063_MVT.indicateurs[005]),
										indicateurs[50] = base.cti_division(w_table.indicateurs[50],ACTI000063_MVT.indicateurs[006]),
										indicateurs[85] = base.cti_division(w_table.indicateurs[85],ACTI000063_MVT.indicateurs[035])
									";
								}								
							EVAL]
							[EVAL 
								if ('[DATA014]' == 'EMC') {
									return "
										,
										indicateurs[53] = ACTI000063_MVT.indicateurs[001],
										indicateurs[54] = ACTI000063_MVT.indicateurs[002],
										indicateurs[86] = ACTI000063_MVT.indicateurs[033]
									";
								}								
								if ('[DATA014]' == 'VALEMC') {
									return "
										,
										indicateurs[53] =  ACTI000063_MVT.indicateurs[005],
										indicateurs[54] = ACTI000063_MVT.indicateurs[006],
										indicateurs[86] = ACTI000063_MVT.indicateurs[035]
									";
								}								
								if ('[DATA014]' == 'FAVEMC') {
									return "
										,
										indicateurs[53]  = ACTI000063_MVT.indicateurs[009],
										indicateurs[54] = ACTI000063_MVT.indicateurs[010],
										indicateurs[86] = ACTI000063_MVT.indicateurs[037]
									";
								}	
								if ('[DATA014]' == 'FACNBJ') {
									return "
										,
										indicateurs[53]  = ACTI000063_MVT.indicateurs[003],
										indicateurs[54] = ACTI000063_MVT.indicateurs[004],
										indicateurs[86] = ACTI000063_MVT.indicateurs[034]
									";
								}								
								if ('[DATA014]' == 'VALNBJ') {
									return "
										,
										indicateurs[53]  = ACTI000063_MVT.indicateurs[007],
										indicateurs[54] = ACTI000063_MVT.indicateurs[008],
										indicateurs[86] = ACTI000063_MVT.indicateurs[036]
									";
								}
								if ('[DATA014]' == 'FAVNBJ') {
									return "
									,
										indicateurs[53]  = ACTI000063_MVT.indicateurs[011],
										indicateurs[54] = ACTI000063_MVT.indicateurs[012],
										indicateurs[86] = ACTI000063_MVT.indicateurs[038]
									";
								}								
								if ('[DATA014]' == 'FAVDMS') {
									return "
									,
										indicateurs[53]  = ACTI000063_MVT.indicateurs[013],
										indicateurs[54] = ACTI000063_MVT.indicateurs[014],
										indicateurs[86] = ACTI000063_MVT.indicateurs[039]
									";
								}									
								if ('[DATA014]' == 'FAVNBEMCHC') {
									return "
									,
										indicateurs[53]  = ACTI000063_MVT.indicateurs[015],
										indicateurs[54] = ACTI000063_MVT.indicateurs[016],
										indicateurs[86] = ACTI000063_MVT.indicateurs[040]
									";
								}
								if ('[DATA014]' == 'MFAVCAMHC') {
									return "
									,
										indicateurs[53] = base.cti_division(w_table.indicateurs[53],ACTI000063_MVT.indicateurs[015]),
										indicateurs[54] = base.cti_division(w_table.indicateurs[54],ACTI000063_MVT.indicateurs[016]),
										indicateurs[86] = base.cti_division(w_table.indicateurs[86],ACTI000063_MVT.indicateurs[040])
									";
								}	
								if ('[DATA014]' == 'MMFPVEMC') {
									return "
									,
										indicateurs[53]  = base.cti_division(w_table.indicateurs[53], ACTI000063_MVT.indicateurs[009]),
										indicateurs[54] = base.cti_division(w_table.indicateurs[54],ACTI000063_MVT.indicateurs[010]),
										indicateurs[86] = base.cti_division(w_table.indicateurs[86],ACTI000063_MVT.indicateurs[037])
									";
								}	
								if ('[DATA014]' == 'MMFACEMC') {
									return "
									,
										indicateurs[53] = base.cti_division(w_table.indicateurs[53], ACTI000063_MVT.indicateurs[001]),
										indicateurs[54] = base.cti_division(w_table.indicateurs[54],ACTI000063_MVT.indicateurs[002]),
										indicateurs[86] = base.cti_division(w_table.indicateurs[86],ACTI000063_MVT.indicateurs[033])
									";
								}
								if ('[DATA014]' == 'MMVALEMC') {
									return "
									,
										indicateurs[53]  = base.cti_division(w_table.indicateurs[53], ACTI000063_MVT.indicateurs[005]),
										indicateurs[54] = base.cti_division(w_table.indicateurs[54],ACTI000063_MVT.indicateurs[006]),
										indicateurs[86] = base.cti_division(w_table.indicateurs[86],ACTI000063_MVT.indicateurs[035])
									";
								}								
							EVAL]
							[EVAL 
								if ('[DATA015]' == 'EMC') {
									return "
										,
										indicateurs[57] = ACTI000063_MVT.indicateurs[001],
										indicateurs[58] = ACTI000063_MVT.indicateurs[002],
										indicateurs[58] = ACTI000063_MVT.indicateurs[033]
									";
								}								
								if ('[DATA015]' == 'VALEMC') {
									return "
										,
										indicateurs[57] =  ACTI000063_MVT.indicateurs[005],
										indicateurs[58] = ACTI000063_MVT.indicateurs[006],
										indicateurs[58] = ACTI000063_MVT.indicateurs[035]
									";
								}								
								if ('[DATA015]' == 'FAVEMC') {
									return "
										,
										indicateurs[57]  = ACTI000063_MVT.indicateurs[009],
										indicateurs[58] = ACTI000063_MVT.indicateurs[010],
										indicateurs[87] = ACTI000063_MVT.indicateurs[037]
									";
								}	
								if ('[DATA015]' == 'FACNBJ') {
									return "
										,
										indicateurs[57]  = ACTI000063_MVT.indicateurs[003],
										indicateurs[58] = ACTI000063_MVT.indicateurs[004],
										indicateurs[87] = ACTI000063_MVT.indicateurs[034]
									";
								}								
								if ('[DATA015]' == 'VALNBJ') {
									return "
										,
										indicateurs[57]  = ACTI000063_MVT.indicateurs[007],
										indicateurs[58] = ACTI000063_MVT.indicateurs[008],
										indicateurs[87] = ACTI000063_MVT.indicateurs[036]
									";
								}
								if ('[DATA015]' == 'FAVNBJ') {
									return "
									,
										indicateurs[57]  = ACTI000063_MVT.indicateurs[011],
										indicateurs[58] = ACTI000063_MVT.indicateurs[012],
										indicateurs[87] = ACTI000063_MVT.indicateurs[038]
									";
								}								
								if ('[DATA015]' == 'FAVDMS') {
									return "
									,
										indicateurs[57]  = ACTI000063_MVT.indicateurs[013],
										indicateurs[58] = ACTI000063_MVT.indicateurs[014],
										indicateurs[87] = ACTI000063_MVT.indicateurs[039]
									";
								}									
								if ('[DATA015]' == 'FAVNBEMCHC') {
									return "
									,
										indicateurs[57]  = ACTI000063_MVT.indicateurs[015],
										indicateurs[58] = ACTI000063_MVT.indicateurs[016],
										indicateurs[87] = ACTI000063_MVT.indicateurs[040]
									";
								}
								if ('[DATA015]' == 'MFAVCAMHC') {
									return "
									,
										indicateurs[57] = base.cti_division(w_table.indicateurs[57],ACTI000063_MVT.indicateurs[015]),
										indicateurs[58] = base.cti_division(w_table.indicateurs[58],ACTI000063_MVT.indicateurs[016]),
										indicateurs[87] = base.cti_division(w_table.indicateurs[87],ACTI000063_MVT.indicateurs[040])
									";
								}	
								if ('[DATA015]' == 'MMFPVEMC') {
									return "
									,
										indicateurs[57]  = base.cti_division(w_table.indicateurs[57], ACTI000063_MVT.indicateurs[009]),
										indicateurs[58] = base.cti_division(w_table.indicateurs[58],ACTI000063_MVT.indicateurs[010]),
										indicateurs[87] = base.cti_division(w_table.indicateurs[87],ACTI000063_MVT.indicateurs[037])
									";
								}	
								if ('[DATA015]' == 'MMFACEMC') {
									return "
									,
										indicateurs[57] = base.cti_division(w_table.indicateurs[57], ACTI000063_MVT.indicateurs[001]),
										indicateurs[58] = base.cti_division(w_table.indicateurs[58],ACTI000063_MVT.indicateurs[002]),
										indicateurs[87] = base.cti_division(w_table.indicateurs[87],ACTI000063_MVT.indicateurs[033])
									";
								}
								if ('[DATA015]' == 'MMVALEMC') {
									return "
									,
										indicateurs[57]  = base.cti_division(w_table.indicateurs[57], ACTI000063_MVT.indicateurs[005]),
										indicateurs[58] = base.cti_division(w_table.indicateurs[58],ACTI000063_MVT.indicateurs[006]),
										indicateurs[87] = base.cti_division(w_table.indicateurs[87],ACTI000063_MVT.indicateurs[035])
									";
								}								
							EVAL]
								FROM ACTI000063_MVT
									WHERE w_table.OIDT = ACTI000063_MVT.OIDT AND
										w_table.OID1 = ACTI000063_MVT.OID1 AND
										w_table.OID2 = ACTI000063_MVT.OID2 AND
										w_table.OID3 = ACTI000063_MVT.OID3
						.,
						UPDATE w_table 
						SET 
							indicateurs[3] = COALESCE(indicateurs[1],0) - COALESCE(indicateurs[2],0),
							indicateurs[4] = base.cti_division(COALESCE(indicateurs[1],0) - indicateurs[2],indicateurs[2]/100.00),
							indicateurs[7] = COALESCE(indicateurs[5],0) - COALESCE(indicateurs[6],0),
							indicateurs[8] = base.cti_division(COALESCE(indicateurs[5],0) - indicateurs[6],indicateurs[6]/100.00),
							indicateurs[11] = COALESCE(indicateurs[9],0) - COALESCE(indicateurs[10],0),
							indicateurs[12] = base.cti_division(COALESCE(indicateurs[9],0) - indicateurs[10],indicateurs[10]/100.00),					
							indicateurs[15] = COALESCE(indicateurs[13],0) - COALESCE(indicateurs[14],0),
							indicateurs[16] = base.cti_division(COALESCE(indicateurs[13],0) - indicateurs[14],indicateurs[14]/100.00),							
							indicateurs[19] = COALESCE(indicateurs[17],0) - COALESCE(indicateurs[18],0),
							indicateurs[20] = base.cti_division(COALESCE(indicateurs[17],0) - indicateurs[18],indicateurs[18]/100.00),						
							indicateurs[23] = COALESCE(indicateurs[21],0) - COALESCE(indicateurs[22],0),
							indicateurs[24] = base.cti_division(COALESCE(indicateurs[21],0) - indicateurs[22],indicateurs[22]/100.00),							
							indicateurs[27] = COALESCE(indicateurs[25],0) - COALESCE(indicateurs[26],0),
							indicateurs[28] = base.cti_division(COALESCE(indicateurs[25],0) - indicateurs[26],indicateurs[26]/100.00),							
							indicateurs[31] = COALESCE(indicateurs[29],0) - COALESCE(indicateurs[30],0),
							indicateurs[32] = base.cti_division(COALESCE(indicateurs[29],0) - indicateurs[30],indicateurs[30]/100.00),							
							indicateurs[35] = COALESCE(indicateurs[33],0) - COALESCE(indicateurs[34],0),
							indicateurs[36] = base.cti_division(COALESCE(indicateurs[33],0) - indicateurs[34],indicateurs[34]/100.00),							
							indicateurs[39] = COALESCE(indicateurs[37],0) - COALESCE(indicateurs[38],0),
							indicateurs[40] = base.cti_division(COALESCE(indicateurs[37],0) - indicateurs[38],indicateurs[38]/100.00),							
							indicateurs[43] = COALESCE(indicateurs[41],0) - COALESCE(indicateurs[42],0),
							indicateurs[44] = base.cti_division(COALESCE(indicateurs[41],0) - indicateurs[42],indicateurs[42]/100.00),							
							indicateurs[47] = COALESCE(indicateurs[45],0) - COALESCE(indicateurs[46],0),
							indicateurs[48] = base.cti_division(COALESCE(indicateurs[45],0) - indicateurs[46],indicateurs[46]/100.00),							
							indicateurs[51] = COALESCE(indicateurs[49],0) - COALESCE(indicateurs[50],0),
							indicateurs[52] = base.cti_division(COALESCE(indicateurs[49],0) - indicateurs[50],indicateurs[50]/100.00),							
							indicateurs[55] = COALESCE(indicateurs[53],0) - COALESCE(indicateurs[54],0),
							indicateurs[56] = base.cti_division(COALESCE(indicateurs[53],0) - indicateurs[54],indicateurs[54]/100.00),							
							indicateurs[59] = COALESCE(indicateurs[57],0) - COALESCE(indicateurs[58],0),
							indicateurs[60] = base.cti_division(COALESCE(indicateurs[57],0) - indicateurs[58],indicateurs[58]/100.00),							
							indicateurs[63] = COALESCE(indicateurs[61],0) - COALESCE(indicateurs[62],0),
							indicateurs[64] = base.cti_division(COALESCE(indicateurs[61],0) - indicateurs[62],indicateurs[62]/100.00),							
							indicateurs[67] = COALESCE(indicateurs[65],0) - COALESCE(indicateurs[66],0),
							indicateurs[68] = base.cti_division(COALESCE(indicateurs[65],0) - indicateurs[66],indicateurs[66]/100.00),							
							indicateurs[71] = COALESCE(indicateurs[69],0) - COALESCE(indicateurs[70],0),
							indicateurs[72] = base.cti_division(COALESCE(indicateurs[69],0) - indicateurs[70],indicateurs[70]/100.00)
							
							
					}
				]]></select>
				<FIELDS>
					<INSERT name="CTISELECT_TREE_FIELDS"/>
					<FIELD name="SORT"/>
					<FIELD name="F1"/>
					<FIELD name="D1"/>
					<FIELD name="E1"/>
					<FIELD name="P1"/>
					<FIELD name="F2"/>
					<FIELD name="D2"/>
					<FIELD name="E2"/>
					<FIELD name="P2"/>
					<FIELD name="F3"/>
					<FIELD name="D3"/>
					<FIELD name="E3"/>
					<FIELD name="P3"/>						
					<FIELD name="F4"/>
					<FIELD name="D4"/>
					<FIELD name="E4"/>
					<FIELD name="P4"/>						
					<FIELD name="F5"/>
					<FIELD name="D5"/>
					<FIELD name="E5"/>
					<FIELD name="P5"/>						
					
					<FIELD name="F6"/>
					<FIELD name="D6"/>
					<FIELD name="E6"/>
					<FIELD name="P6"/>						
					
					<FIELD name="F7"/>
					<FIELD name="D7"/>
					<FIELD name="E7"/>
					<FIELD name="P7"/>						
					
					<FIELD name="F8"/>
					<FIELD name="D8"/>
					<FIELD name="E8"/>
					<FIELD name="P8"/>						
					
					<FIELD name="F9"/>
					<FIELD name="D9"/>
					<FIELD name="E9"/>
					<FIELD name="P9"/>						
					
					<FIELD name="F10"/>
					<FIELD name="D10"/>
					<FIELD name="E10"/>
					<FIELD name="P10"/>						
					
					<FIELD name="F11"/>
					<FIELD name="D11"/>
					<FIELD name="E11"/>
					<FIELD name="P11"/>						
					
					<FIELD name="F12"/>
					<FIELD name="D12"/>
					<FIELD name="E12"/>
					<FIELD name="P12"/>						
					
					<FIELD name="F13"/>
					<FIELD name="D13"/>
					<FIELD name="E13"/>
					<FIELD name="P13"/>						
					
					<FIELD name="F14"/>
					<FIELD name="D14"/>
					<FIELD name="E14"/>
					<FIELD name="P14"/>						
					
					<FIELD name="F15"/>
					<FIELD name="D15"/>
					<FIELD name="E15"/>
					<FIELD name="P15"/>	

					<FIELD name="MF1"/>
					<FIELD name="MD1"/>
					<FIELD name="ME1"/>
					<FIELD name="MP1"/>
					<FIELD name="MF2"/>
					<FIELD name="MD2"/>
					<FIELD name="ME2"/>
					<FIELD name="MP2"/>
					<FIELD name="MF3"/>
					<FIELD name="MD3"/>
					<FIELD name="ME3"/>
					<FIELD name="MP3"/>

                    <FIELD name="L1"/>
					<FIELD name="L2"/>
					<FIELD name="L3"/>
					<FIELD name="L4"/>
					<FIELD name="L5"/>
					<FIELD name="L6"/>
					<FIELD name="L7"/>
					<FIELD name="L8"/>
					<FIELD name="L9"/>
					<FIELD name="L10"/>
					<FIELD name="L11"/>
					<FIELD name="L12"/>
					<FIELD name="L13"/>
					<FIELD name="L14"/>
					<FIELD name="L15"/>                    
				</FIELDS>
			</SQL>
		</QUERY>
		<QUERY type="propertiesLink" name="VIEWPROPERTIES" forSelections="false"> 
		
			<SQL>
				<select><![CDATA[	
					SELECT 'PERIODE_D' , CASE WHEN '[TYPE_COMPARAISON]' = '2' OR '[TYPE_COMPARAISON]' = '0' THEN date('[PERIODE]'::date + interval '1 day' - interval '1 year' - interval '1 day')  WHEN '[TYPE_COMPARAISON]' = '1'  THEN date('[PERIODE]'::date + interval '1 day' - interval '2 year' - interval '1 day') ELSE '[PERIODE_D]' END::text
					UNION
					SELECT 'TOPERIODE_D' , CASE WHEN '[TYPE_COMPARAISON]' = '2' OR '[TYPE_COMPARAISON]' = '0' THEN date('[TOPERIODE]'::date + interval '1 day' - interval '1 year' - interval '1 day') WHEN '[TYPE_COMPARAISON]' = '1'  THEN date('[TOPERIODE]'::date + interval '1 day' - interval '2 year' - interval '1 day') ELSE '[TOPERIODE_D]' END::text
					UNION
					SELECT 'PERIODE_D_LABEL', CASE WHEN  CASE WHEN '[TYPE_COMPARAISON]' = '2' OR '[TYPE_COMPARAISON]' = '0' THEN date('[PERIODE]'::date + interval '1 day' - interval '1 year' - interval '1 day') WHEN '[TYPE_COMPARAISON]' = '1'  THEN date('[PERIODE]'::date + interval '1 day' - interval '2 year' - interval '1 day') ELSE '[PERIODE_D]' END = p_calendrier_mois.date_debut THEN p_calendrier_mois.texte ELSE p_calendrier.texte END
					FROM base.p_calendrier
						JOIN base.p_calendrier_mois ON p_calendrier.mois = p_calendrier_mois.mois
					WHERE date = CASE WHEN '[TYPE_COMPARAISON]' = '2' OR '[TYPE_COMPARAISON]' = '0' THEN date('[PERIODE]'::date + interval '1 day' - interval '1 year' - interval '1 day') WHEN '[TYPE_COMPARAISON]' = '1'  THEN date('[PERIODE]'::date + interval '1 day' - interval '2 year' - interval '1 day') ELSE '[PERIODE_D]' END
					UNION
					SELECT 'TOPERIODE_D_LABEL', CASE WHEN  CASE WHEN '[TYPE_COMPARAISON]' = '2' OR '[TYPE_COMPARAISON]' = '0'  THEN date('[TOPERIODE]'::date + interval '1 day' - interval '1 year' - interval '1 day') WHEN '[TYPE_COMPARAISON]' = '1' THEN date('[TOPERIODE]'::date + interval '1 day' - interval '2 year' - interval '1 day') ELSE '[TOPERIODE_D]' END = p_calendrier_mois.date_fin THEN p_calendrier_mois.texte ELSE p_calendrier.texte_court END
					FROM base.p_calendrier
						JOIN base.p_calendrier_mois ON p_calendrier.mois = p_calendrier_mois.mois
					WHERE date = CASE WHEN '[TYPE_COMPARAISON]' = '2' OR '[TYPE_COMPARAISON]' = '0' THEN date('[TOPERIODE]'::date + interval '1 day' - interval '1 year' - interval '1 day') WHEN '[TYPE_COMPARAISON]' = '1'  THEN date('[TOPERIODE]'::date + interval '1 day' - interval '2 year' - interval '1 day') ELSE '[TOPERIODE_D]' END
					UNION 
                    
                    SELECT 'PERIODE_D2' , CASE WHEN '[TYPE_COMPARAISON]' = '0' THEN date('[PERIODE]'::date + interval '1 day' - interval '2 year' - interval '1 day') ELSE '[PERIODE]' END::text
					UNION
					SELECT 'TOPERIODE_D2' , CASE WHEN '[TYPE_COMPARAISON]' = '0' THEN date('[TOPERIODE]'::date + interval '1 day' - interval '2 year' - interval '1 day') ELSE '[TOPERIODE]' END::text
					UNION
					SELECT 'PERIODE_D2_LABEL', CASE WHEN  CASE WHEN '[TYPE_COMPARAISON]' = '0' THEN date('[PERIODE]'::date + interval '1 day' - interval '2 year' - interval '1 day') ELSE '[PERIODE]' END = p_calendrier_mois.date_debut THEN p_calendrier_mois.texte ELSE p_calendrier.texte END
					FROM base.p_calendrier
						JOIN base.p_calendrier_mois ON p_calendrier.mois = p_calendrier_mois.mois
					WHERE date = CASE WHEN '[TYPE_COMPARAISON]' = '0' THEN date('[PERIODE]'::date + interval '1 day' - interval '2 year' - interval '1 day') ELSE '[PERIODE]' END
					UNION
					SELECT 'TOPERIODE_D2_LABEL', CASE WHEN  CASE WHEN '[TYPE_COMPARAISON]' = '0' THEN date('[TOPERIODE]'::date + interval '1 day' - interval '2 year' - interval '1 day') ELSE '[TOPERIODE]' END = p_calendrier_mois.date_fin THEN p_calendrier_mois.texte ELSE p_calendrier.texte_court END
					FROM base.p_calendrier
						JOIN base.p_calendrier_mois ON p_calendrier.mois = p_calendrier_mois.mois
					WHERE date = CASE WHEN '[TYPE_COMPARAISON]' = '0' THEN date('[TOPERIODE]'::date + interval '1 day' - interval '2 year' - interval '1 day') ELSE '[TOPERIODE]' END
				]]></select>
				<FIELDS>
					<FIELD name="name" />
					<FIELD name="value" />
				</FIELDS>
			</SQL>

		</QUERY>
		<QUERY type="propertiesLink" name="VIEWPROPERTIES" forSelections="false">
			<SQL>
				<select><![CDATA[
						SELECT 'X_PERIODE', greatest(to_date(to_char('[PERIODE]'::date - INTERVAL  '3 year', 'YYYY-MM-DD'), 'YYYY-MM-DD'), (SELECT min(date_debut) FROM activite.p_factures ))::text;
				]]></select>
				<FIELDS>
					<FIELD name="name"/>
					<FIELD name="value"/>
				</FIELDS>
			</SQL>
		</QUERY>
	</QUERIES>
	<PRESENTATION>
		<VIEWLINKS>
			<VIEWLINK label="(&#8721;) Dernier Mois/Année " shortLabel="Mois/Année"   rowContext="false" buttonType="VIEWLINKPOPUP">
				<VIEWITEM label="Dernier mois" shortLabel="Dernier mois"  view="ACTI000063.XML" rowContext="false" enabled="true" buttonType="COMPARATIF" componentName="PRESTATIONS_BASE_VIEWLINK">
					<ARG name="ALIAS_PERIODE" value="return '-1';" />
					<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,8)+'01';"/>
					<ARG name="TOPERIODE" value=" return SELECT.TOPERIODE;"/>
					<ARG name="GROUPBY">
						<value>
							<![CDATA[
								
							var s:String = '';
							switch (SELECT.GROUPBY) {
								case 'ANNEE' :			s = 'JOURS'; 		break;
								case 'TRIM' :			s = 'JOURS';		break;
								case 'MOIS' :			s = 'JOURS';		break;
								case 'NUMEROMOIS' :		s = 'JOURS';		break;
								case 'NUMEROTRIM' :		s = 'JOURS';		break;
								case 'SEMAINEWE' :		s = 'JOURS';		break;
								case 'SEMAINEANNE' :	s = 'JOURS';		break;
								case 'NUMEROJOUR' :		s = 'JOURS';		break;
								case 'JOURS' :			s = 'JOURS';		break;
								case 'JOUR' :			s = 'JOURS';		break;
								
								case 'ANNEEF' :			s = 'JOURSF'; 		break;
								case 'TRIMF' :			s = 'JOURSF';		break;
								case 'MOISF' :			s = 'JOURSF';		break;
								case 'NUMEROMOISF' :	s = 'JOURSF';		break;
								case 'NUMEROTRIMF' :	s = 'JOURSF';		break;
								case 'SEMAINEWEF' :		s = 'JOURSF';		break;
								case 'SEMAINEANNEF' :	s = 'JOURSF';		break;
								case 'NUMEROJOURF' :	s = 'JOURSF';		break;
								case 'JOURSF' :			s = 'JOURSF';		break;
								case 'JOURF' :			s = 'JOURSF';		break;
								
								case 'ANNEEA' :			s = 'JOURSA'; 		break;
								case 'TRIMA' :			s = 'JOURSA';		break;
								case 'MOISA' :			s = 'JOURSA';		break;
								case 'NUMEROMOISA' :	s = 'JOURSA';		break;
								case 'NUMEROTRIMA' :	s = 'JOURSA';		break;
								case 'SEMAINEWEA' :		s = 'JOURSA';		break;
								case 'SEMAINEANNEA' :	s = 'JOURSA';		break;
								case 'NUMEROJOURA' :	s = 'JOURSA';		break;
								case 'JOURSA' :			s = 'JOURSA';		break;
								case 'JOURA' :			s = 'JOURSA';		break;
								
								case 'ANNEEV' :			s = 'JOURSV'; 		break;
								case 'TRIMV' :			s = 'JOURSV';		break;
								case 'MOISV' :			s = 'JOURSV';		break;
								case 'NUMEROMOISV' :	s = 'JOURSV';		break;
								case 'NUMEROTRIMV' :	s = 'JOURSV';		break;
								case 'SEMAINEWEV' :		s = 'JOURSV';		break;
								case 'SEMAINEANNEV' :	s = 'JOURSV';		break;
								case 'NUMEROJOURV' :	s = 'JOURSV';		break;
								case 'JOURSV' :			s = 'JOURSV';		break;
								case 'JOURV' :			s = 'JOURSV';		break;
					
								default :				
										if(SELECT.QUELLEDATE == 1) {s = 'JOURSA';			break;}
										if(SELECT.QUELLEDATE == 2) {s = 'JOURS';			break;}
										if(SELECT.QUELLEDATE == 3) {s = 'JOURSF';			break;}
										if(SELECT.QUELLEDATE == 4) {s = 'JOURSV';			break;}
										if(SELECT.QUELLEDATE == 5) {s = 'JOURS';			break;}
								
							}
							return s;
							]]>
						</value>
					</ARG>
					<ARG name="DATA1" value="'FAVNBS'" />
					<ARG name="DATA2" value="'MTFACENC'" />
					<ARG name="DATA3" value="'MTENC'" />
					<ARG name="GROUPBY_2" value="return '-1';"/>
					<ARG name="GROUPBY_3" value="return '-1';"/>	
					<ARG name="LGROUPBY" value="return SELECT.GROUPBY;" />
					<ARG name="LGROUPBY_2" value="return SELECT.GROUPBY_2;" />
					<ARG name="LGROUPBY_3" value="return SELECT.GROUPBY_3;" />						
					<ARG name="TYPE_COMPARAISON" value="'2'" />
				</VIEWITEM>	
				<VIEWITEM label="&#8721; dernier mois" data="2" shortLabel="&#8721; dernier  mois"  view="ACTI000149.XML" enabled="true" rowContext="false" buttonType="COMPARATIF" >
					<ARG name="ALIAS_PERIODE" value="return '-1';" />
					<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,8)+'01';"/>
					<ARG name="DATA1" value="'NBSEJ'" />
					<ARG name="DATA2" value="'MTFACENC'" />
					<ARG name="GROUPBY">
						<value>
							<![CDATA[
								
							var s:String = '';
							switch (SELECT.GROUPBY) {
								case 'ANNEE' :			s = 'JOURS'; 		break;
								case 'TRIM' :			s = 'JOURS';		break;
								case 'MOIS' :			s = 'JOURS';		break;
								case 'NUMEROMOIS' :		s = 'JOURS';		break;
								case 'NUMEROTRIM' :		s = 'JOURS';		break;
								case 'SEMAINEWE' :		s = 'JOURS';		break;
								case 'SEMAINEANNE' :	s = 'JOURS';		break;
								case 'NUMEROJOUR' :		s = 'JOURS';		break;
								case 'JOURS' :			s = 'JOURS';		break;
								case 'JOUR' :			s = 'JOURS';		break;
								
								case 'ANNEEF' :			s = 'JOURSF'; 		break;
								case 'TRIMF' :			s = 'JOURSF';		break;
								case 'MOISF' :			s = 'JOURSF';		break;
								case 'NUMEROMOISF' :	s = 'JOURSF';		break;
								case 'NUMEROTRIMF' :	s = 'JOURSF';		break;
								case 'SEMAINEWEF' :		s = 'JOURSF';		break;
								case 'SEMAINEANNEF' :	s = 'JOURSF';		break;
								case 'NUMEROJOURF' :	s = 'JOURSF';		break;
								case 'JOURSF' :			s = 'JOURSF';		break;
								case 'JOURF' :			s = 'JOURSF';		break;
								
								case 'ANNEEA' :			s = 'JOURSA'; 		break;
								case 'TRIMA' :			s = 'JOURSA';		break;
								case 'MOISA' :			s = 'JOURSA';		break;
								case 'NUMEROMOISA' :	s = 'JOURSA';		break;
								case 'NUMEROTRIMA' :	s = 'JOURSA';		break;
								case 'SEMAINEWEA' :		s = 'JOURSA';		break;
								case 'SEMAINEANNEA' :	s = 'JOURSA';		break;
								case 'NUMEROJOURA' :	s = 'JOURSA';		break;
								case 'JOURSA' :			s = 'JOURSA';		break;
								case 'JOURA' :			s = 'JOURSA';		break;
								
								case 'ANNEEV' :			s = 'JOURSV'; 		break;
								case 'TRIMV' :			s = 'JOURSV';		break;
								case 'MOISV' :			s = 'JOURSV';		break;
								case 'NUMEROMOISV' :	s = 'JOURSV';		break;
								case 'NUMEROTRIMV' :	s = 'JOURSV';		break;
								case 'SEMAINEWEV' :		s = 'JOURSV';		break;
								case 'SEMAINEANNEV' :	s = 'JOURSV';		break;
								case 'NUMEROJOURV' :	s = 'JOURSV';		break;
								case 'JOURSV' :			s = 'JOURSV';		break;
								case 'JOURV' :			s = 'JOURSV';		break;
					
								default :				
										if(SELECT.QUELLEDATE == 1) {s = 'JOURSA';			break;}
										if(SELECT.QUELLEDATE == 2) {s = 'JOURS';			break;}
										if(SELECT.QUELLEDATE == 3) {s = 'JOURSF';			break;}
										if(SELECT.QUELLEDATE == 4) {s = 'JOURSV';			break;}
										if(SELECT.QUELLEDATE == 5) {s = 'JOURS';			break;}
								
							}
							return s;
							]]>
						</value>
					</ARG>
					<ARG name="GROUPBY_2" value="return '-1';"/>
					<ARG name="GROUPBY_3" value="return '-1';"/>					
					<ARG name="QUELLEDATE" value="return SELECT.QUELLEDATE"/>
					<ARG name="TYPE_COMPARAISON" value="return '2';" />
				</VIEWITEM>
				<VIEWITEM  label="Dernière année" data="2" shortLabel="derniere  année"  view="ACTI000063.XML" enabled="true" rowContext="false" buttonType="COMPARATIF" >
					<ARG name="ALIAS_PERIODE" value="return '-1';" />
					<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,4)+'-01-01';"/>
					<ARG name="TOPERIODE" value=" return SELECT.TOPERIODE;"/>
					<ARG name="GROUPBY">
						<value>
							<![CDATA[
								
							var s:String = '';
							switch (SELECT.GROUPBY) {
								case 'ANNEE' :			s = 'NUMEROMOIS'; 		break;
								case 'TRIM' :			s = 'NUMEROMOIS';		break;
								case 'MOIS' :			s = 'NUMEROMOIS';		break;
								case 'NUMEROMOIS' :		s = 'NUMEROMOIS';		break;
								case 'NUMEROTRIM' :		s = 'NUMEROMOIS';		break;
								case 'SEMAINEWE' :		s = 'NUMEROMOIS';		break;
								case 'SEMAINEANNE' :	s = 'NUMEROMOIS';		break;
								case 'NUMEROJOUR' :		s = 'NUMEROMOIS';		break;
								case 'JOURS' :			s = 'NUMEROMOIS';		break;
								case 'JOUR' :			s = 'NUMEROMOIS';		break;
								
								case 'ANNEEF' :			s = 'NUMEROMOISF'; 		break;
								case 'TRIMF' :			s = 'NUMEROMOISF';		break;
								case 'MOISF' :			s = 'NUMEROMOISF';		break;
								case 'NUMEROMOISF' :	s = 'NUMEROMOISF';		break;
								case 'NUMEROTRIMF' :	s = 'NUMEROMOISF';		break;
								case 'SEMAINEWEF' :		s = 'NUMEROMOISF';		break;
								case 'SEMAINEANNEF' :	s = 'NUMEROMOISF';		break;
								case 'NUMEROJOURF' :	s = 'NUMEROMOISF';		break;
								case 'JOURSF' :			s = 'NUMEROMOISF';		break;
								case 'JOURF' :			s = 'NUMEROMOISF';		break;
								
								case 'ANNEEA' :			s = 'NUMEROMOISA'; 		break;
								case 'TRIMA' :			s = 'NUMEROMOISA';		break;
								case 'MOISA' :			s = 'NUMEROMOISA';		break;
								case 'NUMEROMOISA' :	s = 'NUMEROMOISA';		break;
								case 'NUMEROTRIMA' :	s = 'NUMEROMOISA';		break;
								case 'SEMAINEWEA' :		s = 'NUMEROMOISA';		break;
								case 'SEMAINEANNEA' :	s = 'NUMEROMOISA';		break;
								case 'NUMEROJOURA' :	s = 'NUMEROMOISA';		break;
								case 'JOURSA' :			s = 'NUMEROMOISA';		break;
								case 'JOURA' :			s = 'NUMEROMOISA';		break;
								
								case 'ANNEEV' :			s = 'NUMEROMOISV'; 		break;
								case 'TRIMV' :			s = 'NUMEROMOISV';		break;
								case 'MOISV' :			s = 'NUMEROMOISV';		break;
								case 'NUMEROMOISV' :	s = 'NUMEROMOISV';		break;
								case 'NUMEROTRIMV' :	s = 'NUMEROMOISV';		break;
								case 'SEMAINEWEV' :		s = 'NUMEROMOISV';		break;
								case 'SEMAINEANNEV' :	s = 'NUMEROMOISV';		break;
								case 'NUMEROJOURV' :	s = 'NUMEROMOISV';		break;
								case 'JOURSV' :			s = 'NUMEROMOISV';		break;
								case 'JOURV' :			s = 'NUMEROMOISV';		break;
					
								default :				
										if(SELECT.QUELLEDATE == 1) {s = 'NUMEROMOISA';			break;}
										if(SELECT.QUELLEDATE == 2) {s = 'NUMEROMOIS';			break;}
										if(SELECT.QUELLEDATE == 3) {s = 'NUMEROMOISF';			break;}
										if(SELECT.QUELLEDATE == 4) {s = 'NUMEROMOISV';			break;}
										if(SELECT.QUELLEDATE == 5) {s = 'NUMEROMOIS';			break;}
								
							}
							return s;
							]]>
						</value>
					</ARG>
					<ARG name="GROUPBY_2" value="return '-1';"/>
					<ARG name="GROUPBY_3" value="return '-1';"/>					
					<ARG name="DATA1" value="'NBSEJ'" />
					<ARG name="DATA2" value="'MTFACENC'" />
					<ARG name="TYPE_COMPARAISON" value="'2'" />
				</VIEWITEM>	
				<VIEWITEM label="&#8721; dernière Année" shortLabel="&#8721; derniere année"  view="ACTI000149.XML" rowContext="false" enabled="true" buttonType="COMPARATIF">
					<ARG name="ALIAS_PERIODE" value="return '-1';" />
					<ARG name="PERIODE_D" value="return VIEW.COMP_PERIODE_D;" />
					<ARG name="TOPERIODE_D" value="return VIEW.COMP_TOPERIODE_D;" />
					<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,4)+'-01-01';" />
					<ARG name="TOPERIODE" value=" return SELECT.TOPERIODE;" />
					<ARG name="GROUPBY">
						<value>
							<![CDATA[
								
							var s:String = '';
							switch (SELECT.GROUPBY) {
								case 'ANNEE' :			s = 'NUMEROMOIS'; 		break;
								case 'TRIM' :			s = 'NUMEROMOIS';		break;
								case 'MOIS' :			s = 'NUMEROMOIS';		break;
								case 'NUMEROMOIS' :		s = 'NUMEROMOIS';		break;
								case 'NUMEROTRIM' :		s = 'NUMEROMOIS';		break;
								case 'SEMAINEWE' :		s = 'NUMEROMOIS';		break;
								case 'SEMAINEANNE' :	s = 'NUMEROMOIS';		break;
								case 'NUMEROJOUR' :		s = 'NUMEROMOIS';		break;
								case 'JOURS' :			s = 'NUMEROMOIS';		break;
								case 'JOUR' :			s = 'NUMEROMOIS';		break;
								
								case 'ANNEEF' :			s = 'NUMEROMOISF'; 		break;
								case 'TRIMF' :			s = 'NUMEROMOISF';		break;
								case 'MOISF' :			s = 'NUMEROMOISF';		break;
								case 'NUMEROMOISF' :	s = 'NUMEROMOISF';		break;
								case 'NUMEROTRIMF' :	s = 'NUMEROMOISF';		break;
								case 'SEMAINEWEF' :		s = 'NUMEROMOISF';		break;
								case 'SEMAINEANNEF' :	s = 'NUMEROMOISF';		break;
								case 'NUMEROJOURF' :	s = 'NUMEROMOISF';		break;
								case 'JOURSF' :			s = 'NUMEROMOISF';		break;
								case 'JOURF' :			s = 'NUMEROMOISF';		break;
								
								case 'ANNEEA' :			s = 'NUMEROMOISA'; 		break;
								case 'TRIMA' :			s = 'NUMEROMOISA';		break;
								case 'MOISA' :			s = 'NUMEROMOISA';		break;
								case 'NUMEROMOISA' :	s = 'NUMEROMOISA';		break;
								case 'NUMEROTRIMA' :	s = 'NUMEROMOISA';		break;
								case 'SEMAINEWEA' :		s = 'NUMEROMOISA';		break;
								case 'SEMAINEANNEA' :	s = 'NUMEROMOISA';		break;
								case 'NUMEROJOURA' :	s = 'NUMEROMOISA';		break;
								case 'JOURSA' :			s = 'NUMEROMOISA';		break;
								case 'JOURA' :			s = 'NUMEROMOISA';		break;
								
								case 'ANNEEV' :			s = 'NUMEROMOISV'; 		break;
								case 'TRIMV' :			s = 'NUMEROMOISV';		break;
								case 'MOISV' :			s = 'NUMEROMOISV';		break;
								case 'NUMEROMOISV' :	s = 'NUMEROMOISV';		break;
								case 'NUMEROTRIMV' :	s = 'NUMEROMOISV';		break;
								case 'SEMAINEWEV' :		s = 'NUMEROMOISV';		break;
								case 'SEMAINEANNEV' :	s = 'NUMEROMOISV';		break;
								case 'NUMEROJOURV' :	s = 'NUMEROMOISV';		break;
								case 'JOURSV' :			s = 'NUMEROMOISV';		break;
								case 'JOURV' :			s = 'NUMEROMOISV';		break;
					
								default :				
										if(SELECT.QUELLEDATE == 1) {s = 'NUMEROMOISA';			break;}
										if(SELECT.QUELLEDATE == 2) {s = 'NUMEROMOIS';			break;}
										if(SELECT.QUELLEDATE == 3) {s = 'NUMEROMOISF';			break;}
										if(SELECT.QUELLEDATE == 4) {s = 'NUMEROMOISV';			break;}
										if(SELECT.QUELLEDATE == 5) {s = 'NUMEROMOIS';			break;}
								
							}
							return s;
							]]>
						</value>
					</ARG>
					<ARG name="GROUPBY_2" value="return '-1';" />
					<ARG name="GROUPBY_3" value="return '-1';" />
					<ARG name="DATA1" value="'NBSEJ'" />
					<ARG name="DATA2" value="'MTFACENC'" />
					<ARG name="TYPE_COMPARAISON" value="'2'" />
				</VIEWITEM>	
			</VIEWLINK>	
			<VIEWLINK label="Comparatif" shortLabel="Comparatif" view="ACTI000063.XML" enabled="true" rowContext="false" >
				<ARG name="ALIAS_PERIODE" value="return '-1';" />
				<ARG name="QUELLEDATE" value="return SELECT.QUELLEDATE;" /> 
				<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,4)+'-01-01';" />
				<ARGS name="SPEC">
					<value><![CDATA[
						LINKVARIABLES['TYPE_COMPARAISON'] = '2';
						LINKVARIABLES['DATA1'] = 'MTFAC';
						LINKVARIABLES['DATA2'] = '0';
						LINKVARIABLES['DATA3'] = '0';
						if (SELECT.QUELMONTANT == '2') {
							LINKVARIABLES['DATA1'] = 'MTCPT';
						}
						if (SELECT.QUELMONTANT == 'FACVSBG') {
							//LINKVARIABLES['DATA1'] = 'MTCPT';
						}
						if (SELECT.QUELMONTANT == 'ENF') {
							LINKVARIABLES['DATA1'] = 'MTENC';
						}
						if (SELECT.QUELMONTANT == 'MF-ENF') {
							LINKVARIABLES['DATA1'] = 'MTFACENC';
						}
						if (SELECT.QUELMONTANT == 'MC-ENF') {
							LINKVARIABLES['DATA1'] = 'MTFACENC';
						}
						return 'OK';
					]]></value>
				</ARGS>
				<ARG name="GROUPBY" value="return SELECT.LGROUPBY;"/>
				<ARG name="GROUPBY_2" value="return SELECT.LGROUPBY_2;"/>
				<ARG name="GROUPBY_3" value="return SELECT.LGROUPBY_3;"/>
				<ARG name="DATA1" value="if(SELECT.QUELLEDATE == '1') {return 'FAVEMC';} else {return 'FAVNBS';}" />
				<ARG name="DATA2" value="'MTFACENC'" />
				<ARG name="DATA3" value="if(SELECT.QUELLEDATE == '1') {return 'MMFPVEMC';} else {return 'MMTFACENC';}" />
				<ARG name="DATA4" value="if(SELECT.QUELLEDATE == '1' || SELECT.QUELLEDATE == '2') {return 'FACNBJ';} else {return 'FAVNBSHC';}"/>
				<ARG name="DATA5" value="if(SELECT.QUELLEDATE == '1' || SELECT.QUELLEDATE == '2') {return 'FAVDMS';} else {return 'FAVMTTHC';}"/>
				<ARG name="TYPE_COMPARAISON" value="'2'" />
			</VIEWLINK>
			<VIEWLINK label="Comparatif mensuel" shortLabel="Comp. Mensuel" view="ACTI000156.XML" enabled="true" rowContext="false" buttonType="COMPARATIF" >
				<ARG name="ALIAS_PERIODE" value="return '-1';" />
				<ARG name="QUELLEDATE" value="return SELECT.QUELLEDATE;" /> 
				<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,4)+'-01-01';" />
				<ARGS name="SPEC">
					<value><![CDATA[
						LINKVARIABLES['TYPE_COMPARAISON'] = '2';
						LINKVARIABLES['DATA1'] = 'MTFAC';
						LINKVARIABLES['DATA2'] = '0';
						LINKVARIABLES['DATA3'] = '0';
						if (SELECT.QUELMONTANT == '2') {
							LINKVARIABLES['DATA1'] = 'MTCPT';
						}
						if (SELECT.QUELMONTANT == 'FACVSBG') {
							//LINKVARIABLES['DATA1'] = 'MTCPT';
						}
						if (SELECT.QUELMONTANT == 'ENF') {
							LINKVARIABLES['DATA1'] = 'MTENC';
						}
						if (SELECT.QUELMONTANT == 'MF-ENF') {
							LINKVARIABLES['DATA1'] = 'MTFACENC';
						}
						if (SELECT.QUELMONTANT == 'MC-ENF') {
							LINKVARIABLES['DATA1'] = 'MTFACENC';
						}
						return 'OK';
					]]></value>
				</ARGS>
				<ARG name="GROUPBY" value="return SELECT.LGROUPBY;"/>
				<ARG name="GROUPBY_2" value="return SELECT.LGROUPBY_2;"/>
				<ARG name="GROUPBY_3" value="return SELECT.LGROUPBY_3;"/>
				<ARG name="DATA1" value="if(SELECT.QUELLEDATE == '1') {return 'FAVEMC';} else {return 'FAVNBS';}" />
				<ARG name="DATA2" value="'MTFACENC'" />
				<ARG name="DATA3" value="if(SELECT.QUELLEDATE == '1') {return 'MMFPVEMC';} else {return 'MMTFACENC';}" />
				<ARG name="TYPE_COMPARAISON" value="'2'" />
			</VIEWLINK>	
			<VIEWLINK label="Effets" shortLabel="Effets"  view="ACTI000141.XML" rowContext="false" enabled="true" buttonType="COMPARATIF" >
					<ARG name="ALIAS_PERIODE" value="return '-1';" />
                    <ARG name="PERIODE" value="return VIEW.COMP_PERIODE;" />
					<ARG name="GROUPBY" value="return SELECT.LGROUPBY;"/>
					<ARG name="GROUPBY_2" value="return SELECT.LGROUPBY_2;"/>
					<ARG name="GROUPBY_3" value="return SELECT.LGROUPBY_3;"/>
					<ARG name="DATA01" value="'1.1'" />
                    <ARG name="TYPE_COMPARAISON" value="'2'" />
			</VIEWLINK>
			<VIEWLINK label="Evolution comparative" shortLabel="Evol. comparative"   rowContext="false" buttonType="VIEWLINK_EVO_COMP" >			
				<VIEWITEM label="Standard" shortLabel="Evolution comparative" view="ACTI000154.XML" rowContext="false" enabled="true" buttonType="VIEWLINK_EVO_COMP">
					<ARG name="QUELLEDATE" value="return SELECT.QUELLEDATE;" /> 
					<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,4)+'-01-01';"/>
					<ARGS name="SPEC">
						<value><![CDATA[
							LINKVARIABLES['TYPE_COMPARAISON'] = '2';
							LINKVARIABLES['DATA1'] = 'MTFAC';
							LINKVARIABLES['DATA2'] = '0';
							LINKVARIABLES['DATA3'] = '0';
							if (SELECT.QUELMONTANT == '2') {
								LINKVARIABLES['DATA1'] = 'MTCPT';
							}
							if (SELECT.QUELMONTANT == 'FACVSBG') {
								//LINKVARIABLES['DATA1'] = 'MTCPT';
							}
							if (SELECT.QUELMONTANT == 'ENF') {
								LINKVARIABLES['DATA1'] = 'MTENC';
							}
							if (SELECT.QUELMONTANT == 'MF-ENF') {
								LINKVARIABLES['DATA1'] = 'MTFACENC';
							}
							if (SELECT.QUELMONTANT == 'MC-ENF') {
								LINKVARIABLES['DATA1'] = 'MTFACENC';
							}
							return 'OK';
						]]></value>
					</ARGS>
					<ARG name="GROUPBY" value="return SELECT.LGROUPBY;" />
					<ARG name="GROUPBY_2" value="if (SELECT.QUELLEDATE == '1' ) {return 'NUMEROMOISA';}
												if (SELECT.QUELLEDATE == '2' ) {return 'NUMEROMOIS';}
												if (SELECT.QUELLEDATE == '3'  ) {return 'NUMEROMOISF';}
												if (SELECT.QUELLEDATE == '4'  ) {return 'NUMEROMOISV';}
						" />
					<ARG name="DATA1" value="if(SELECT.QUELLEDATE == '1') {return 'FAVEMC';} else {return 'FAVNBS';}" />
					<ARG name="DATA2" value="'MTFACENC'" />
					<ARG name="DATA3" value="if(SELECT.QUELLEDATE == '1') {return 'MMFPVEMC';} else {return 'MMTFACENC';}" />
					<ARG name="DATA4" value="if(SELECT.QUELLEDATE == '1' || SELECT.QUELLEDATE == '2') {return 'FACNBJ';} else {return 'FAVNBSHC';}"/>
					<ARG name="DATA5" value="if(SELECT.QUELLEDATE == '1' || SELECT.QUELLEDATE == '2') {return 'FAVDMS';} else {return 'FAVMTTHC';}"/>					
					<ARG name="DATA6"   value="return '0';" />
					<ARG name="DATA7"   value="return '0';" />
					<ARG name="DATA8"   value="return '0';" />
					<ARG name="DATA9"   value="return '0';"/>
					<ARG name="DATA10" 	value="return '0';"/>			
					<ARG name="DATA011" value="return '0';" />
					<ARG name="DATA012" value="return '0';" />
					<ARG name="DATA013" value="return '0';" />
					<ARG name="DATA014" value="return '0';"/>
					<ARG name="DATA015" value="return '0';"/>
					<ARG name="GROUPBY_TAB" value="return 'TAB';" />
					<ARG name="TYPE_COMPARAISON" value="'2'" />
				</VIEWITEM>	
				<VIEWITEM label="Détaillée" shortLabel="Evol. comparative" view="ACTI000154.XML" rowContext="false" enabled="true" buttonType="COMPARATIF">
					<ARG name="QUELLEDATE" value="return SELECT.QUELLEDATE;" /> 
					<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,4)+'-01-01';"/>
					<ARGS name="SPEC">
						<value><![CDATA[
							LINKVARIABLES['TYPE_COMPARAISON'] = '2';
							LINKVARIABLES['DATA1'] = 'MTFAC';
							LINKVARIABLES['DATA2'] = '0';
							LINKVARIABLES['DATA3'] = '0';
							if (SELECT.QUELMONTANT == '2') {
								LINKVARIABLES['DATA1'] = 'MTCPT';
							}
							if (SELECT.QUELMONTANT == 'FACVSBG') {
								//LINKVARIABLES['DATA1'] = 'MTCPT';
							}
							if (SELECT.QUELMONTANT == 'ENF') {
								LINKVARIABLES['DATA1'] = 'MTENC';
							}
							if (SELECT.QUELMONTANT == 'MF-ENF') {
								LINKVARIABLES['DATA1'] = 'MTFACENC';
							}
							if (SELECT.QUELMONTANT == 'MC-ENF') {
								LINKVARIABLES['DATA1'] = 'MTFACENC';
							}
							return 'OK';
						]]></value>
					</ARGS>
					<ARG name="GROUPBY" value="return SELECT.LGROUPBY;" />
					<ARG name="GROUPBY_2" value="if (SELECT.QUELLEDATE == '1' ) {return 'NUMEROMOISA';}
												 if (SELECT.QUELLEDATE == '2' ) {return 'NUMEROMOIS';}
												 if (SELECT.QUELLEDATE == '3'  ) {return 'NUMEROMOISF';}
												if (SELECT.QUELLEDATE == '4'  ) {return 'NUMEROMOISV';}
						" />
					<ARG name="DATA1" value="if(SELECT.QUELLEDATE == '1') {return 'FAVEMC';} else {return 'FAVNBS';}" />
					<ARG name="DATA2" value="'MTFACENC'" />
					<ARG name="DATA3" value="if(SELECT.QUELLEDATE == '1') {return 'MMFPVEMC';} else {return 'MMTFACENC';}" />
					<ARG name="DATA4" value="if(SELECT.QUELLEDATE == '1' || SELECT.QUELLEDATE == '2') {return 'FACNBJ';} else {return 'FAVNBSHC';}"/>
					<ARG name="DATA5" value="if(SELECT.QUELLEDATE == '1' || SELECT.QUELLEDATE == '2') {return 'FAVDMS';} else {return 'FAVMTTHC';}"/>
					<ARG name="DATA6" value="if(SELECT.QUELLEDATE == '1' || SELECT.QUELLEDATE == '2') {return 'FAVNBSHC';} else {return 'FAVCAMHC';}"/>
					<ARG name="DATA7" value="if(SELECT.QUELLEDATE == '1' || SELECT.QUELLEDATE == '2') {return 'FAVMTTHC';} else {return 'FAVNBSHJ';}"/>
					<ARG name="DATA8" value="if(SELECT.QUELLEDATE == '1' || SELECT.QUELLEDATE == '2') {return 'FAVCAMHC';} else {return 'FAVMTTHJ';}"/>
					<ARG name="DATA9" value="if(SELECT.QUELLEDATE == '1' || SELECT.QUELLEDATE == '2') {return 'FAVNBSHJ';} else {return 'FAVCAMHJ';}"/>
					<ARG name="DATA10" value="if(SELECT.QUELLEDATE == '1' || SELECT.QUELLEDATE == '2') {return 'FAVMTTHJ';} else {return 'FAVNBSHA';}"/>
					<ARG name="DATA011" value="if(SELECT.QUELLEDATE == '1' || SELECT.QUELLEDATE == '2') {return 'FAVCAMHJ';} else {return 'FAVMTTHA';}"/>
					<ARG name="DATA012" value="if(SELECT.QUELLEDATE == '1' || SELECT.QUELLEDATE == '2') {return 'FAVNBSHA';} else {return 'FAVCAMAU';}"/>
					<ARG name="DATA013" value="if(SELECT.QUELLEDATE == '1' || SELECT.QUELLEDATE == '2') {return 'FAVMTTHA';} else {return '0';}"/>
					<ARG name="DATA014" value="if(SELECT.QUELLEDATE == '1' || SELECT.QUELLEDATE == '2') {return 'FAVCAMAU';} else {return '0';}"/>
					<ARG name="GROUPBY_TAB" value="return 'TAB';" />
					<ARG name="TYPE_COMPARAISON" value="'2'" />
				</VIEWITEM>	
			</VIEWLINK>			
			<VIEWLINK label="Evolution" shortLabel="Evolution" view="ACTI000062.XML" enabled="true" rowContext="false" componentName="PERIODICITE_VIEWLINK" component2Name="PRESTATIONS_BASE_VIEWLINK">
				<ARG name="ALIAS_PERIODE" value="return '-1';" />
				<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,4)+'-01-01';" />
				<ARG name="QUELLEDATE" value="return SELECT.QUELLEDATE;" /> 
				<ARGS name="SPEC">
					<value><![CDATA[
						LINKVARIABLES['TYPE_COMPARAISON'] = '2';
						LINKVARIABLES['DATA'] = 'MTFAC';
						if (SELECT.QUELMONTANT == '2') {
							LINKVARIABLES['DATA'] = 'MTCPT';
						}
						if (SELECT.QUELMONTANT == 'FACVSBG') {
							//LINKVARIABLES['DATA'] = 'MTCPT';
						}
						if (SELECT.QUELMONTANT == 'ENF') {
							LINKVARIABLES['DATA'] = 'MTENC';
						}
						if (SELECT.QUELMONTANT == 'MF-ENF') {
							LINKVARIABLES['DATA'] = 'MTFACENC';
						}
						if (SELECT.QUELMONTANT == 'MC-ENF') {
							LINKVARIABLES['DATA'] = 'MTFACENC';
						}
						return 'OK';
					]]></value>
				</ARGS>
				<ARG name="GROUPBY" value="return SELECT.LGROUPBY;"/>
				<ARG name="GROUPBY_2" value="return SELECT.LGROUPBY_2;"/>
				<ARG name="GROUPBY_3" value="return SELECT.LGROUPBY_3;"/>
				<ARG name="DATA1" value="return 'FAVMTT';" />   
				<ARG name="PERIODICITE" value="'MONTH'" />   
			</VIEWLINK>
			<VIEWLINK label="Analyse croisée" shortLabel="Analyse croisée" view="ACTI000082.XML" enabled="true" rowContext="false" componentName="PRESTATIONS_ANALYSE_CROISEE_MULTIVIEWLINK" buttonType="ANALYSE_CROISEE" >
				<ARG name="PERIODE" value="return VIEW.X_PERIODE.substr(0,4)+'-01-01';"/>			
			</VIEWLINK>	
			<VIEWLINK label="Analyse"  shortLabel="Analyse"  rowContext="false" buttonType="ANALYSE_VIEWLINK">
				<VIEWITEM label="Analyse" shortLabel="Analyse"  view="ACTI000018.XML" rowContext="false" enabled="true" buttonType="ANALYSE_VIEWLINK" componentName="PRESTATIONS_BASE_VIEWLINK">
					<ARG name="ALIAS_PERIODE" value="return '-1'" />
					<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,4)+'-01-01'" />
					<ARG name="QUELLEDATE" value="return SELECT.QUELLEDATE;" /> 
					<ARG name="GROUPBY" value="return SELECT.LGROUPBY;"/>
					<ARG name="GROUPBY_2" value="return SELECT.LGROUPBY_2;"/>
					<ARG name="GROUPBY_3" value="return SELECT.LGROUPBY_3;"/>
					<ARG name="GROUPBY_TAB" value="'TAB'" />
				</VIEWITEM>					
				<VIEWITEM label="Analyse paramètrable" shortLabel="Analyse"  view="ACTI000165.XML" rowContext="false" enabled="true" buttonType="ANALYSE_VIEWLINK" componentName="PRESTATIONS_BASE_VIEWLINK" component2Name="PRESTATIONS_DATA_VIEWLINK" >
					<ARG name="ALIAS_PERIODE" value="return '-1'" />
					<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,4)+'-01-01'" />
					<ARG name="QUELLEDATE" value="return SELECT.QUELLEDATE;" /> 
					<ARG name="GROUPBY" value="return SELECT.LGROUPBY;"/>
					<ARG name="GROUPBY_2" value="return SELECT.LGROUPBY_2;"/>
					<ARG name="GROUPBY_3" value="return SELECT.LGROUPBY_3;"/>
					<ARG name="GROUPBY_TAB" value="'TAB'" />
					<ARG name="LS_DATA" value="return '-1';"/>
				</VIEWITEM>	
			</VIEWLINK>	
			<VIEWLINK label="Liste des séjours" shortLabel="Séjours" view="ACTI000016.XML" componentName="PRESTATIONS_BASE_VIEWLINK"  component2Name="ETA_DOS_BASE_VIEWLINK">
				<ARG name="ALIAS_PERIODE" value="return '-1';" />
				<ARG name="GROUPBY_2" value="return '-1';"/>
				<ARG name="QUELLEDATE" value="return SELECT.QUELLEDATE;" />
			</VIEWLINK>
		</VIEWLINKS>
		<ONGLET excelLabel="Répartition mensuelle" label="Répartition mensuelle" multiTab="true">
            <CHART title="" type="group" subType="h" percentHeight="100" fromTotal="false" visibleCondition="(SELECT.GROUPBY == 'JOURS') || (SELECT.GROUPBY == 'JOURSF')|| (SELECT.GROUPBY == 'JOURSA')|| (SELECT.GROUPBY == 'JOURSV')" >			
                <CHART title="Première donnée (10 premiers) " type="pieChart" maxItems="10" maxItemsSortOn="F1" maxItemsSortSeq="D" sortField="F1" sortSeq="D" condition="ROW.LVL == '1'">
                    <CATEGORY field="COD" type="Char"/>
                    <SERIE field="F1" displayName="SELECT.DATA13 + ' ' + '( N )'" displayNameCalc="true"/>
                </CHART>
                <CHART title="Deuxième donnée (31 premiers)" type="lineChart" maxItems="31" maxItemsSortOn="D1" maxItemsSortSeq="D" sortField="" sortSeq="D1"  condition="ROW.LVL == '1'">
                    <CATEGORY field="TXT" type="Char"/>
                    <SERIE field="L2" displayName="SELECT.DATA23 + ' ' + '( N-2 )'" displayNameCalc="true" visibleCondition="SELECT.TYPE_COMPARAISON=='0'"/>                    
                    <SERIE field="D2" displayName="SELECT.DATA23 + ' ' + '( ' + VIEW.COMPAREPERIODETXT + ' )'" displayNameCalc="true"/>
                    <SERIE field="F2" displayName="SELECT.DATA23 + ' ' + '( N )'" displayNameCalc="true"/>
                </CHART>
			</CHART>
            <CHART title="" type="group" subType="h" percentHeight="100" fromTotal="false" visibleCondition="(SELECT.GROUPBY == 'NUMEROMOIS') || (SELECT.GROUPBY == 'NUMEROMOISF') || (SELECT.GROUPBY == 'NUMEROMOISA') || (SELECT.GROUPBY == 'NUMEROMOISV')" >			
                <CHART title="Première donnée (12 premiers) " type="pieChart" maxItems="10" maxItemsSortOn="F1" maxItemsSortSeq="D" sortField="F1" sortSeq="D" condition="ROW.LVL == '1'">
                    <CATEGORY field="COD" type="Char"/>
                    <SERIE field="F1" displayName="SELECT.DATA13 + ' ' + '( N )'" displayNameCalc="true"/>
                </CHART>
                <CHART title="Deuxième donnée (12 premiers)" type="lineChart" maxItems="12" maxItemsSortOn="D1" maxItemsSortSeq="D" sortField="" sortSeq="D1"  condition="ROW.LVL == '1'">
                    <CATEGORY field="TXT" type="Char"/>
                    <SERIE field="L2" displayName="SELECT.DATA23 + ' ' + '( N-2 )'" displayNameCalc="true" visibleCondition="SELECT.TYPE_COMPARAISON=='0'"/>                    
                    <SERIE field="D2" displayName="SELECT.DATA23 + ' ' + '( ' + VIEW.COMPAREPERIODETXT + ' )'" displayNameCalc="true"/>
                    <SERIE field="F2" displayName="SELECT.DATA23 + ' ' + '( N )'" displayNameCalc="true"/>
                </CHART>
			</CHART>
            <CHART title="" type="group" subType="h" percentHeight="100" fromTotal="false" visibleCondition="VIEW.EXEPT_CHART != '1' " >			
                <CHART title="Première donnée (10 premiers) " type="pieChart" maxItems="10" maxItemsSortOn="F1" maxItemsSortSeq="D" sortField="F1" sortSeq="D" condition="ROW.LVL == '1'">
                    <CATEGORY field="COD" type="Char"/>
                    <SERIE field="F1" displayName="SELECT.DATA13 + ' ' + '( N )'" displayNameCalc="true"/>
                </CHART>
                <CHART title="Deuxième donnée (10 premiers)" type="columnChart" maxItems="10" maxItemsSortOn="D2" maxItemsSortSeq="D" sortField="F2" sortSeq="D" condition="ROW.LVL == '1'"
                    visibleCondition="SELECT.GROUPBY != 'ANNEE' &amp;&amp; SELECT.GROUPBY != 'TRIM' &amp;&amp; SELECT.GROUPBY != 'MOIS' &amp;&amp; SELECT.GROUPBY != 'JOUR'">
                    <CATEGORY field="TXT" type="Char" />
                    <SERIE field="L2" displayName="SELECT.DATA23 + ' ' + '( N-2 )'" displayNameCalc="true" visibleCondition="SELECT.TYPE_COMPARAISON=='0'"/>
                    <SERIE field="D2" displayName="SELECT.DATA23 + ' ' + '( ' + VIEW.COMPAREPERIODETXT + ' )'" displayNameCalc="true"/>
                    <SERIE field="F2" displayName="SELECT.DATA23 + ' ' + '( N )'" displayNameCalc="true"/>
                </CHART>
			</CHART>
			<DATAGRID title="" total="true" showOthers="true" headerHeight="70" variableRowHeight="true" sortable="= SELECT.GROUPBY_2 == '-1' || SELECT.GROUPBY_TAB == 'TAB'" selectRowInRows="= ROW.OID == '-9999997'" otherRowInRows="= ROW.OID == '-9999998'" totalRowInRows="= ROW.OID == '-9999999'">
				<INSERT name="DATAGRID_MULTITAB_STYLES"/>
				<COLUMN dataField="OID" width="60" type="Char" visible="false" headerText="Oid">
				</COLUMN>
				<COLUMN dataField="COD" width="80" type="Char" visibleCondition="SELECT.GROUPBY != '5'" headerText="Code" textAlign="left" otherFunction="text" totalFunction="text" totalComplement="TOTAL">
					<INSERT name="COLUMN_COD_MULTITAB_STYLES"/>
				</COLUMN>
				<COLUMN dataField="TXT" type="Char" minWidth="150" headerText="SELECT.GROUPBY_LABEL" headerTextCalc="true" textAlign="left" totalFunction="text" otherFunction="text" otherComplement="*ROW">
				</COLUMN>
				<COLUMN dataField="MD1" width="85" visibleCondition="SELECT.COMPARE_OPTION != '-1'" type="Number" outputFormat="= SELECT.DATA12" fixed="false" selectable="true" headerText="SELECT.DATA13 + String.fromCharCode(13) + VIEW.TOPERIODE_D_LABEL" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="MF1" width="85" visibleCondition="SELECT.COMPARE_OPTION != '-1'" type="Number" outputFormat="= SELECT.DATA12" fixed="false" selectable="true" headerText="SELECT.DATA13 + String.fromCharCode(13) + SELECT.TOPERIODE_LABEL" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="ME1" type="Number" headerText="Ecart" width="85"  visibleCondition="(SELECT.COMPARE_OPTION != '-1' &amp;&amp; SELECT.DATA1 != '0') &amp;&amp; (SELECT.DATA1 != '0'  &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 6)  || SELECT.PRESENTATION == '2' &amp;&amp; SELECT.DATA1 !='0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA1 !='0'" outputFormat="= SELECT.DATA12" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="MP1" type="Number" headerText="% " width="45"  visibleCondition="(SELECT.COMPARE_OPTION != '-1' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; SELECT.PRESENTATION == '3') &amp;&amp; (SELECT.DATA1 != '0' &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 4) || SELECT.PRESENTATION == '3' &amp;&amp; SELECT.DATA1 !='0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA1 !='0'"  outputFormat="= if (ROW.MD1) {return '0%'} else {return '#'}" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="MD2" width="85" visibleCondition="SELECT.COMPARE_OPTION != '-1' &amp;&amp; SELECT.DATA2 != '0'" type="Number" outputFormat="= SELECT.DATA22" fixed="false" selectable="true" headerText="SELECT.DATA23 + String.fromCharCode(13) + VIEW.TOPERIODE_D_LABEL" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="MF2" width="85" visibleCondition="SELECT.COMPARE_OPTION != '-1' &amp;&amp; SELECT.DATA2 != '0'" type="Number" outputFormat="= SELECT.DATA22" fixed="false" selectable="true" headerText="SELECT.DATA23 + String.fromCharCode(13) + SELECT.TOPERIODE_LABEL" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="ME2" type="Number" headerText="Ecart" width="85"  visibleCondition="(SELECT.COMPARE_OPTION != '-1' &amp;&amp; SELECT.DATA2 != '0') &amp;&amp; (SELECT.DATA2 != '0'  &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 6)  || SELECT.PRESENTATION == '2' &amp;&amp; SELECT.DATA2 !='0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA2 !='0'" outputFormat="= SELECT.DATA22" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="MP2" type="Number" headerText="% " width="45"  visibleCondition="(SELECT.COMPARE_OPTION != '-1' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.PRESENTATION == '3') &amp;&amp; (SELECT.DATA2 != '0' &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 4) || SELECT.PRESENTATION == '3' &amp;&amp; SELECT.DATA2 !='0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA2 !='0'" outputFormat="= if (ROW.MD2 !=0) {return '0%'} else {return '#'}" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="MD3" width="85" visibleCondition="SELECT.COMPARE_OPTION != '-1' &amp;&amp; SELECT.DATA3 != '0'" type="Number" outputFormat="= SELECT.DATA32" fixed="false" selectable="true" headerText="SELECT.DATA33 + String.fromCharCode(13) + VIEW.TOPERIODE_D_LABEL" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="MF3" width="85" visibleCondition="SELECT.COMPARE_OPTION != '-1' &amp;&amp; SELECT.DATA3 != '0'" type="Number" outputFormat="= SELECT.DATA32" fixed="false" selectable="true" headerText="SELECT.DATA33 + String.fromCharCode(13) + SELECT.TOPERIODE_LABEL" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">	
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="ME3" type="Number" headerText="Ecart" width="85"  visibleCondition="(SELECT.COMPARE_OPTION != '-1' &amp;&amp; SELECT.DATA3 != '0') &amp;&amp; (SELECT.DATA3 != '0'  &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 6)  || SELECT.PRESENTATION == '2' &amp;&amp; SELECT.DATA3 !='0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA3 !='0'"  outputFormat="= SELECT.DATA32" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="MP3" type="Number" headerText="% " width="45" visibleCondition="(SELECT.COMPARE_OPTION != '-1' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.PRESENTATION == '3') &amp;&amp; (SELECT.DATA3 != '0' &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 4) || SELECT.PRESENTATION == '3' &amp;&amp; SELECT.DATA3 !='0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA3 !='0'" outputFormat="= if (ROW.MD3 !=0) {return '0%'} else {return '#'}" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="L1" width="85" visible="true" type="Number" visibleCondition="SELECT.TYPE_COMPARAISON == '0'" outputFormat="= SELECT.DATA12" fixed="false" selectable="true" headerText="if(SELECT.DATA13.length &gt; 12){return SELECT.DATA13 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';} else {return SELECT.DATA13 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';}"  description="='Période N-2 : ' + VIEW.PERIODE_D2_LABEL + ' à ' + VIEW.TOPERIODE_D2_LABEL" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
				</COLUMN>
				<COLUMN dataField="D1" width="85" visible="true" type="Number" outputFormat="= SELECT.DATA12" fixed="false" selectable="true" headerText="if(SELECT.DATA13.length &gt; 13){return SELECT.DATA13 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';} else {return SELECT.DATA13 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';}" headerTextCalc="true" description="=SELECT.DATA14" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="F1" width="85" visible="true" type="Number" outputFormat="= SELECT.DATA12" fixed="false" selectable="true" headerText="if(SELECT.DATA13.length &gt; 13){return SELECT.DATA13 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';} else {return SELECT.DATA13 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';}" headerTextCalc="true" description="=SELECT.DATA14" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="E1" type="Number" headerText="Ecart" width="85" visibleCondition="(SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 6)  || SELECT.PRESENTATION == '2' || SELECT.PRESENTATION == '4'" outputFormat="= SELECT.DATA12" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
					<CELLSTYLE name="cellIndicator" value="triangle_down, 10, left middle, 0xD63E00" condition="(SELECT.DATA1.substr(0,3) == 'DEL' &amp;&amp; (ROW.D1 &lt; ROW.F1)) || (ROW.F1 &lt; ROW.D1)" />
					<CELLSTYLE name="cellIndicator" value="triangle_up, 10, left middle, 0x75a0eb" condition="(SELECT.DATA1.substr(0,3) == 'DEL' &amp;&amp; (ROW.F1 &lt; ROW.D1)) || (ROW.D1 &lt; ROW.F1)" />
					<CELLSTYLE name="cellIndicator" value="rectangle, 10, left middle, 0xFFA500" condition="ROW.D1 == ROW.F1" />
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="P1" type="Number" headerText="%  " width="45" visibleCondition="(SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 4) || SELECT.PRESENTATION == '3' &amp;&amp; SELECT.DATA1 !='0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA1 !='0'" outputFormat="= if (ROW.D1 != 0) {return '0%'} else {return '#'}" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="L2" width="85" visible="true" type="Number" visibleCondition="SELECT.TYPE_COMPARAISON == '0'" outputFormat="= SELECT.DATA22" fixed="false" selectable="true" headerText="if(SELECT.DATA23.length &gt; 12){return SELECT.DATA23 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';} else {return SELECT.DATA23 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';}"  description="='Période N-2 : ' + VIEW.PERIODE_D2_LABEL + ' à ' + VIEW.TOPERIODE_D2_LABEL" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="D2" width="85" visibleCondition="SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" type="Number" outputFormat="= SELECT.DATA22" fixed="false" selectable="true" headerText="if(SELECT.DATA23.length &gt; 13){return SELECT.DATA23 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';} else {return SELECT.DATA23 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';}" headerTextCalc="true" description="=SELECT.DATA24" textAlign="right" totalFunction="sum" otherFunction="sum">	
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="F2" width="85" visibleCondition="SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" type="Number" outputFormat="= SELECT.DATA22" fixed="false" selectable="true" headerText="if(SELECT.DATA23.length &gt; 13){return SELECT.DATA23 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';} else {return SELECT.DATA23 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';}" headerTextCalc="true"  description="=SELECT.DATA24" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="E2" type="Number" headerText="Ecart" width="85" visibleCondition="SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'  &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 6)  || SELECT.PRESENTATION == '2' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'  || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" outputFormat="= SELECT.DATA22" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
					<CELLSTYLE name="cellIndicator" value="triangle_down, 10, left middle, 0xD63E00" condition="(SELECT.DATA2.substr(0,3) == 'DEL' &amp;&amp; (ROW.D2 &lt; ROW.F2)) || (ROW.F2 &lt; ROW.D2)" />
					<CELLSTYLE name="cellIndicator" value="triangle_up, 10, left middle, 0x75a0eb" condition="(SELECT.DATA2.substr(0,3) == 'DEL' &amp;&amp; (ROW.F2 &lt; ROW.D2)) || (ROW.D2 &lt; ROW.F2)" />
					<CELLSTYLE name="cellIndicator" value="rectangle, 10, left middle, 0xFFA500" condition="ROW.D2 == ROW.F2" />
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="P2" type="Number" headerText="%  " width="70" visibleCondition="SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 4) || SELECT.PRESENTATION == '3' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" outputFormat="= if (ROW.D2 !=0) {return '0%'} else {return '#'}" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="L3" width="85" visible="true" type="Number" visibleCondition="SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; SELECT.TYPE_COMPARAISON == '0'"  outputFormat="= SELECT.DATA32" fixed="false" selectable="true" headerText="if(SELECT.DATA33.length &gt; 12){return SELECT.DATA33 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';} else {return SELECT.DATA33 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';}"  description="='Période N-2 : ' + VIEW.PERIODE_D2_LABEL + ' à ' + VIEW.TOPERIODE_D2_LABEL" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
				</COLUMN>
				<COLUMN dataField="D3" width="85" visibleCondition="SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" type="Number" outputFormat="= SELECT.DATA32" fixed="false" selectable="true" headerText="if(SELECT.DATA33.length &gt; 13){return SELECT.DATA33 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';} else {return SELECT.DATA33 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';}" headerTextCalc="true"  description="=SELECT.DATA34" textAlign="right" totalFunction="sum" otherFunction="sum">	
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>	
				<COLUMN dataField="F3" width="85" visibleCondition="SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" type="Number" outputFormat="= SELECT.DATA32" fixed="false" selectable="true" headerText="if(SELECT.DATA33.length &gt; 13){return SELECT.DATA33 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';} else {return SELECT.DATA33 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';}" headerTextCalc="true"  description="=SELECT.DATA34" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>	
				<COLUMN dataField="E3" type="Number" headerText="Ecart" width="85" visibleCondition="SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'  &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 6)  || SELECT.PRESENTATION == '2' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" outputFormat="= SELECT.DATA32" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
					<CELLSTYLE name="cellIndicator" value="triangle_down, 10, left middle, 0xD63E00" condition="(SELECT.DATA3.substr(0,3) == 'DEL' &amp;&amp; (ROW.D3 &lt; ROW.F3)) || (ROW.F3 &lt; ROW.D3)" />
					<CELLSTYLE name="cellIndicator" value="triangle_up, 10, left middle, 0x75a0eb" condition="(SELECT.DATA3.substr(0,3) == 'DEL' &amp;&amp; (ROW.F3 &lt; ROW.D3)) || (ROW.D3 &lt; ROW.F3)" />
					<CELLSTYLE name="cellIndicator" value="rectangle, 10, left middle, 0xFFA500" condition="ROW.D3 == ROW.F3" />
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>	
				<COLUMN dataField="P3" type="Number" headerText="%  " width="45" visibleCondition="SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 4) || SELECT.PRESENTATION == '3' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" outputFormat="= if (ROW.D3 !=0) {return '0%'} else {return '#'}" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>					
				<COLUMN dataField="L4" width="85" description="=SELECT.DATA44" visibleCondition="SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; SELECT.TYPE_COMPARAISON == '0'" type="Number" outputFormat="= SELECT.DATA42" fixed="false" selectable="true" headerText="if(SELECT.DATA43.length &gt; 13){return SELECT.DATA43 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';} else {return SELECT.DATA43 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">	
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>				
                <COLUMN dataField="D4" width="85" description="=SELECT.DATA44" visibleCondition="SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" type="Number" outputFormat="= SELECT.DATA42" fixed="false" selectable="true" headerText="if(SELECT.DATA43.length &gt; 13){return SELECT.DATA43 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';} else {return SELECT.DATA43 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">	
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="F4" width="85" description="=SELECT.DATA44" visibleCondition="SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" type="Number" outputFormat="= SELECT.DATA42" fixed="false" selectable="true" headerText="if(SELECT.DATA43.length &gt; 13){return SELECT.DATA43 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';} else {return SELECT.DATA43 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="E4" type="Number" headerText="Ecart" width="85" visibleCondition="SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'  &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 6)  || SELECT.PRESENTATION == '2' &amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" outputFormat="= SELECT.DATA42" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
					<CELLSTYLE name="cellIndicator" value="triangle_down, 10, left middle, 0xD63E00" condition="(SELECT.DATA4.substr(0,3) == 'DEL' &amp;&amp; (ROW.D4 &lt; ROW.F4)) || (ROW.F4 &lt; ROW.D4)" />
					<CELLSTYLE name="cellIndicator" value="triangle_up, 10, left middle, 0x75a0eb" condition="(SELECT.DATA4.substr(0,3) == 'DEL' &amp;&amp; (ROW.F4 &lt; ROW.D4)) || (ROW.D4 &lt; ROW.F4)" />
					<CELLSTYLE name="cellIndicator" value="rectangle, 10, left middle, 0xFFA500" condition="ROW.D4 == ROW.F4" />
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="P4" type="Number" headerText="%  " width="45" visibleCondition="SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 4) || SELECT.PRESENTATION == '3' &amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" outputFormat="= if (ROW.D4 !=0) {return '0%'} else {return '#'}" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>					
				<COLUMN dataField="L5" width="85" visibleCondition="SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; SELECT.TYPE_COMPARAISON == '0'" type="Number" outputFormat="= SELECT.DATA52" fixed="false" selectable="true" headerText="if(SELECT.DATA53.length &gt; 13){return SELECT.DATA53 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';} else {return SELECT.DATA53 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">	
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>				
                <COLUMN dataField="D5" width="85" visibleCondition="SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" type="Number" outputFormat="= SELECT.DATA52" fixed="false" selectable="true" headerText="if(SELECT.DATA53.length &gt; 13){return SELECT.DATA53 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';} else {return SELECT.DATA53 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">	
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="F5" width="85" description="=SELECT.DATA54" visibleCondition="SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" type="Number" outputFormat="= SELECT.DATA52" fixed="false" selectable="true" headerText="if(SELECT.DATA53.length &gt; 13){return SELECT.DATA53 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';} else {return SELECT.DATA53 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="E5" type="Number" headerText="Ecart" width="85"  description="=SELECT.DATA54" visibleCondition="SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'  &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 6)  || SELECT.PRESENTATION == '2' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" outputFormat="= SELECT.DATA52" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
					<CELLSTYLE name="cellIndicator" value="triangle_down, 10, left middle, 0xD63E00" condition="(SELECT.DATA5.substr(0,3) == 'DEL' &amp;&amp; (ROW.D5 &lt; ROW.F5)) || (ROW.F5 &lt; ROW.D5)" />
					<CELLSTYLE name="cellIndicator" value="triangle_up, 10, left middle, 0x75a0eb" condition="(SELECT.DATA5.substr(0,3) == 'DEL' &amp;&amp; (ROW.F5 &lt; ROW.D5)) || (ROW.D5 &lt; ROW.F5)" />
					<CELLSTYLE name="cellIndicator" value="rectangle, 10, left middle, 0xFFA500" condition="ROW.D5 == ROW.F5" />
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="P5" type="Number" headerText="%  " width="45" visibleCondition="SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 4) || SELECT.PRESENTATION == '3' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" outputFormat="= if (ROW.D5 !=0) {return '0%'} else {return '#'}" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
                <COLUMN dataField="L6" width="85" description="=SELECT.DATA64" visibleCondition="SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; SELECT.TYPE_COMPARAISON == '0'" type="Number" outputFormat="= SELECT.DATA62" fixed="false" selectable="true" headerText="if(SELECT.DATA63.length &gt; 13){return SELECT.DATA63 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';} else {return SELECT.DATA63 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">	
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="D6" width="85" description="=SELECT.DATA64" visibleCondition="SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" type="Number" outputFormat="= SELECT.DATA62" fixed="false" selectable="true" headerText="if(SELECT.DATA63.length &gt; 13){return SELECT.DATA63 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';} else {return SELECT.DATA63 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">	
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>				
				<COLUMN dataField="F6" width="85" description="=SELECT.DATA64" visibleCondition="SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" type="Number" outputFormat="= SELECT.DATA62" fixed="false" selectable="true" headerText="if(SELECT.DATA63.length &gt; 13){return SELECT.DATA63 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';} else {return SELECT.DATA63 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="E6" type="Number" headerText="Ecart" width="85" visibleCondition="SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'  &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 6)  || SELECT.PRESENTATION == '2' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" outputFormat="= SELECT.DATA62" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
					<CELLSTYLE name="cellIndicator" value="triangle_down, 10, left middle, 0xD63E00" condition="(SELECT.DATA6.substr(0,3) == 'DEL' &amp;&amp; (ROW.D6 &lt; ROW.F6)) || (ROW.F6 &lt; ROW.D6)" />
					<CELLSTYLE name="cellIndicator" value="triangle_up, 10, left middle, 0x75a0eb" condition="(SELECT.DATA6.substr(0,3) == 'DEL' &amp;&amp; (ROW.F6 &lt; ROW.D6)) || (ROW.D6 &lt; ROW.F6)" />
					<CELLSTYLE name="cellIndicator" value="rectangle, 10, left middle, 0xFFA500" condition="ROW.D6 == ROW.F6" />
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="P6" type="Number" headerText="%  " width="45" visibleCondition="SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 4) || SELECT.PRESENTATION == '3' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" outputFormat="= if (ROW.D6 !=0) {return '0%'} else {return '#'}" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="L7" width="85" description="=SELECT.DATA74" visibleCondition="SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; SELECT.TYPE_COMPARAISON == '0'" type="Number" outputFormat="= SELECT.DATA72" fixed="false" selectable="true" headerText="if(SELECT.DATA73.length &gt; 13){return SELECT.DATA73 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';} else {return SELECT.DATA73 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">	
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>				
                <COLUMN dataField="D7" width="85" description="=SELECT.DATA74" visibleCondition="SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" type="Number" outputFormat="= SELECT.DATA72" fixed="false" selectable="true" headerText="if(SELECT.DATA73.length &gt; 13){return SELECT.DATA73 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';} else {return SELECT.DATA73 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">	
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="F7" width="85"  description="=SELECT.DATA74" visibleCondition="SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" type="Number" outputFormat="= SELECT.DATA72" fixed="false" selectable="true" headerText="if(SELECT.DATA73.length &gt; 13){return SELECT.DATA73 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';} else {return SELECT.DATA73 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="E7" type="Number" headerText="Ecart" width="85" visibleCondition="SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'  &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 6)  || SELECT.PRESENTATION == '2' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" outputFormat="= SELECT.DATA72" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
					<CELLSTYLE name="cellIndicator" value="triangle_down, 10, left middle, 0xD63E00" condition="(SELECT.DATA7.substr(0,3) == 'DEL' &amp;&amp; (ROW.D7 &lt; ROW.F7)) || (ROW.F7 &lt; ROW.D7)" />
					<CELLSTYLE name="cellIndicator" value="triangle_up, 10, left middle, 0x75a0eb" condition="(SELECT.DATA7.substr(0,3) == 'DEL' &amp;&amp; (ROW.F7 &lt; ROW.D7)) || (ROW.D7 &lt; ROW.F7)" />
					<CELLSTYLE name="cellIndicator" value="rectangle, 10, left middle, 0xFFA500" condition="ROW.D7 == ROW.F7" />
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="P7" type="Number" headerText="%  " width="45" visibleCondition="SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 4) || SELECT.PRESENTATION == '3' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" outputFormat="= if (ROW.D7 !=0) {return '0%'} else {return '#'}" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="L8" width="85" description="=SELECT.DATA84" visibleCondition="SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; SELECT.TYPE_COMPARAISON == '0'" type="Number" outputFormat="= SELECT.DATA82" fixed="false" selectable="true" headerText="if(SELECT.DATA83.length &gt; 13){return SELECT.DATA83 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';} else {return SELECT.DATA83 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">	
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>				
                <COLUMN dataField="D8" width="85" description="=SELECT.DATA84" visibleCondition="SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" type="Number" outputFormat="= SELECT.DATA82" fixed="false" selectable="true" headerText="if(SELECT.DATA83.length &gt; 13){return SELECT.DATA83 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';} else {return SELECT.DATA83 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">	
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="F8" width="85" description="=SELECT.DATA84" visibleCondition="SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" type="Number" outputFormat="= SELECT.DATA82" fixed="false" selectable="true" headerText="if(SELECT.DATA83.length &gt; 13){return SELECT.DATA83 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';} else {return SELECT.DATA83 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="E8" type="Number" headerText="Ecart" width="85" visibleCondition="SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'  &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 6)  || SELECT.PRESENTATION == '2' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" outputFormat="= SELECT.DATA82" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
					<CELLSTYLE name="cellIndicator" value="triangle_down, 10, left middle, 0xD83E00" condition="(SELECT.DATA8.substr(0,3) == 'DEL' &amp;&amp; (ROW.D8 &lt; ROW.F8)) || (ROW.F8 &lt; ROW.D8)" />
					<CELLSTYLE name="cellIndicator" value="triangle_up, 10, left middle, 0x75a0eb" condition="(SELECT.DATA8.substr(0,3) == 'DEL' &amp;&amp; (ROW.F8 &lt; ROW.D8)) || (ROW.D8 &lt; ROW.F8)" />
					<CELLSTYLE name="cellIndicator" value="rectangle, 10, left middle, 0xFFA500" condition="ROW.D8 == ROW.F8" />
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="P8" type="Number" headerText="%  " width="45" visibleCondition="SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 4) || SELECT.PRESENTATION == '3' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" outputFormat="= if (ROW.D8 !=0) {return '0%'} else {return '#'}" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="L9" width="85" description="=SELECT.DATA94" visibleCondition="SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; SELECT.TYPE_COMPARAISON == '0'" type="Number" outputFormat="= SELECT.DATA92" fixed="false" selectable="true" headerText="if(SELECT.DATA93.length &gt; 13){return SELECT.DATA93 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';} else {return SELECT.DATA93 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">	
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>				
                <COLUMN dataField="D9" width="85" description="=SELECT.DATA94" visibleCondition="SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" type="Number" outputFormat="= SELECT.DATA92" fixed="false" selectable="true" headerText="if(SELECT.DATA93.length &gt; 13){return SELECT.DATA93 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';} else {return SELECT.DATA93 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">	
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="F9" width="85" description="=SELECT.DATA94" visibleCondition="SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" type="Number" outputFormat="= SELECT.DATA92" fixed="false" selectable="true" headerText="if(SELECT.DATA93.length &gt; 13){return SELECT.DATA93 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';} else {return SELECT.DATA93 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="E9" type="Number" headerText="Ecart" width="85" visibleCondition="SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'  &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 6)  || SELECT.PRESENTATION == '2' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" outputFormat="= SELECT.DATA92" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
					<CELLSTYLE name="cellIndicator" value="triangle_down, 10, left middle, 0xD63E00" condition="(SELECT.DATA9.substr(0,3) == 'DEL' &amp;&amp; (ROW.D9 &lt; ROW.F9)) || (ROW.F9 &lt; ROW.D9)" />
					<CELLSTYLE name="cellIndicator" value="triangle_up, 10, left middle, 0x75a0eb" condition="(SELECT.DATA9.substr(0,3) == 'DEL' &amp;&amp; (ROW.F9 &lt; ROW.D9)) || (ROW.D9 &lt; ROW.F9)" />
					<CELLSTYLE name="cellIndicator" value="rectangle, 10, left middle, 0xFFA500" condition="ROW.D9 == ROW.F9" />
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="P9" type="Number" headerText="%  " width="45" visibleCondition="SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 4) || SELECT.PRESENTATION == '3' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" outputFormat="= if (ROW.D9 !=0) {return '0%'} else {return '#'}" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="L10" width="85" description="=SELECT.DATA104" visibleCondition="SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; SELECT.TYPE_COMPARAISON == '0'" type="Number" outputFormat="= SELECT.DATA102" fixed="false" selectable="true" headerText="if(SELECT.DATA103.length &gt; 13){return SELECT.DATA103 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';} else {return SELECT.DATA103 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">	
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>				
                <COLUMN dataField="D10" width="85" description="=SELECT.DATA104" visibleCondition="SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" type="Number" outputFormat="= SELECT.DATA102" fixed="false" selectable="true" headerText="if(SELECT.DATA103.length &gt; 13){return SELECT.DATA103 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';} else {return SELECT.DATA103 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">	
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="F10" width="85" description="=SELECT.DATA104" visibleCondition="SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" type="Number" outputFormat="= SELECT.DATA102" fixed="false" selectable="true" headerText="if(SELECT.DATA103.length &gt; 13){return SELECT.DATA103 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';} else {return SELECT.DATA103 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="E10" type="Number" headerText="Ecart" width="85" visibleCondition="SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'  &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 6)  || SELECT.PRESENTATION == '2' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" outputFormat="= SELECT.DATA102" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
					<CELLSTYLE name="cellIndicator" value="triangle_down, 10, left middle, 0xD63E00" condition="(SELECT.DATA10.substr(0,3) == 'DEL' &amp;&amp; (ROW.D10 &lt; ROW.F10)) || (ROW.F10 &lt; ROW.D10)" />
					<CELLSTYLE name="cellIndicator" value="triangle_up, 10, left middle, 0x75a0eb" condition="(SELECT.DATA10.substr(0,3) == 'DEL' &amp;&amp; (ROW.F10 &lt; ROW.D10)) || (ROW.D10 &lt; ROW.F10)" />
					<CELLSTYLE name="cellIndicator" value="rectangle, 10, left middle, 0xFFA500" condition="ROW.D10 == ROW.F10" />
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="P10" type="Number" headerText="%  " width="45" visibleCondition="SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 4) || SELECT.PRESENTATION == '3' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" outputFormat="= if (ROW.D10 !=0) {return '0%'} else {return '#'}" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="L11" width="85" description="=SELECT.DATA0114" visibleCondition="SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; SELECT.TYPE_COMPARAISON == '0'" type="Number" outputFormat="= SELECT.DATA0112" fixed="false" selectable="true" headerText="if(SELECT.DATA0113.length &gt; 13){return SELECT.DATA0113 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';} else {return SELECT.DATA0113 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">	
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>				
                <COLUMN dataField="D11" width="85" description="=SELECT.DATA0114" visibleCondition="SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" type="Number" outputFormat="= SELECT.DATA0112" fixed="false" selectable="true" headerText="if(SELECT.DATA0113.length &gt; 13){return SELECT.DATA0113 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';} else {return SELECT.DATA0113 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">	
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="F11" width="85" description="=SELECT.DATA0114" visibleCondition="SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" type="Number" outputFormat="= SELECT.DATA0112" fixed="false" selectable="true" headerText="if(SELECT.DATA0113.length &gt; 13){return SELECT.DATA0113 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';} else {return SELECT.DATA0113 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="E11" type="Number" headerText="Ecart" width="85" visibleCondition="SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'  &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 6)  || SELECT.PRESENTATION == '2' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" outputFormat="= SELECT.DATA0112" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
					<CELLSTYLE name="cellIndicator" value="triangle_down, 10, left middle, 0xD63E00" condition="(SELECT.DATA011.substr(0,3) == 'DEL' &amp;&amp; (ROW.D11 &lt; ROW.F11)) || (ROW.F11 &lt; ROW.D11)" />
					<CELLSTYLE name="cellIndicator" value="triangle_up, 10, left middle, 0x75a0eb" condition="(SELECT.DATA011.substr(0,3) == 'DEL' &amp;&amp; (ROW.F11 &lt; ROW.D11)) || (ROW.D11 &lt; ROW.F11)" />
					<CELLSTYLE name="cellIndicator" value="rectangle, 10, left middle, 0xFFA500" condition="ROW.D11 == ROW.F11" />
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="P11" type="Number" headerText="%  " width="45" visibleCondition="SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 4) || SELECT.PRESENTATION == '3' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" outputFormat="= if (ROW.D11 !=0) {return '0%'} else {return '#'}" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="L12" width="85" description="=SELECT.DATA0124" visibleCondition="SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; SELECT.TYPE_COMPARAISON == '0'" type="Number" outputFormat="= SELECT.DATA0122" fixed="false" selectable="true" headerText="if(SELECT.DATA0123.length &gt; 13){return SELECT.DATA0123 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';} else {return SELECT.DATA0123 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">	
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>				
                <COLUMN dataField="D12" width="85" description="=SELECT.DATA0124" visibleCondition="SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" type="Number" outputFormat="= SELECT.DATA0122" fixed="false" selectable="true" headerText="if(SELECT.DATA0123.length &gt; 13){return SELECT.DATA0123 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';} else {return SELECT.DATA0123 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">	
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="F12" width="85" description="=SELECT.DATA0124" visibleCondition="SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" type="Number" outputFormat="= SELECT.DATA0122" fixed="false" selectable="true" headerText="if(SELECT.DATA0123.length &gt; 13){return SELECT.DATA0123 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';} else {return SELECT.DATA0123 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="E12" type="Number" headerText="Ecart" width="85" visibleCondition="SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'  &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 6)  || SELECT.PRESENTATION == '2' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" outputFormat="= SELECT.DATA0122" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
					<CELLSTYLE name="cellIndicator" value="triangle_down, 10, left middle, 0xD63E00" condition="(SELECT.DATA012.substr(0,3) == 'DEL' &amp;&amp; (ROW.D12 &lt; ROW.F12)) || (ROW.F12 &lt; ROW.D12)" />
					<CELLSTYLE name="cellIndicator" value="triangle_up, 10, left middle, 0x75a0eb" condition="(SELECT.DATA012.substr(0,3) == 'DEL' &amp;&amp; (ROW.F12 &lt; ROW.D12)) || (ROW.D12 &lt; ROW.F12)" />
					<CELLSTYLE name="cellIndicator" value="rectangle, 10, left middle, 0xFFA500" condition="ROW.D12 == ROW.F12" />
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="P12" type="Number" headerText="%  " width="45" visibleCondition="SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 4) || SELECT.PRESENTATION == '3' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" outputFormat="= if (ROW.D12 !=0) {return '0%'} else {return '#'}" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>	
				<COLUMN dataField="L13" width="85" description="=SELECT.DATA0134" visibleCondition="SELECT.DATA013 != '0' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; SELECT.TYPE_COMPARAISON == '0'" type="Number" outputFormat="= SELECT.DATA0132" fixed="false" selectable="true" headerText="if(SELECT.DATA0133.length &gt; 13){return SELECT.DATA0133 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';} else {return SELECT.DATA0133 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">	
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>				
                <COLUMN dataField="D13" width="85" description="=SELECT.DATA0134" visibleCondition="SELECT.DATA013 != '0' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" type="Number" outputFormat="= SELECT.DATA0132" fixed="false" selectable="true" headerText="if(SELECT.DATA0133.length &gt; 13){return SELECT.DATA0133 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';} else {return SELECT.DATA0133 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">	
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="F13" width="85" description="=SELECT.DATA0134" visibleCondition="SELECT.DATA013 != '0' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" type="Number" outputFormat="= SELECT.DATA0132" fixed="false" selectable="true" headerText="if(SELECT.DATA0133.length &gt; 13){return SELECT.DATA0133 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';} else {return SELECT.DATA0133 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="E13" type="Number" headerText="Ecart" width="85" visibleCondition="SELECT.DATA013 != '0' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'  &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 6)  || SELECT.PRESENTATION == '2' &amp;&amp; SELECT.DATA013 != '0' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA013 != '0' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" outputFormat="= SELECT.DATA0132" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
					<CELLSTYLE name="cellIndicator" value="triangle_down, 10, left middle, 0xD63E00" condition="(SELECT.DATA013.substr(0,3) == 'DEL' &amp;&amp; (ROW.D13 &lt; ROW.F13)) || (ROW.F13 &lt; ROW.D13)" />
					<CELLSTYLE name="cellIndicator" value="triangle_up, 10, left middle, 0x75a0eb" condition="(SELECT.DATA013.substr(0,3) == 'DEL' &amp;&amp; (ROW.F13 &lt; ROW.D13)) || (ROW.D13 &lt; ROW.F13)" />
					<CELLSTYLE name="cellIndicator" value="rectangle, 10, left middle, 0xFFA500" condition="ROW.D13 == ROW.F13" />
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="P13" type="Number" headerText="%  " width="45" visibleCondition="SELECT.DATA013 != '0' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 4) || SELECT.PRESENTATION == '3' &amp;&amp; SELECT.DATA013 != '0' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA013 != '0' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" outputFormat="= if (ROW.D13 !=0) {return '0%'} else {return '#'}" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="L14" width="85" description="=SELECT.DATA0144" visibleCondition="SELECT.DATA014 != '0' &amp;&amp; SELECT.DATA013 != '0' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; SELECT.TYPE_COMPARAISON == '0'" type="Number" outputFormat="= SELECT.DATA0142" fixed="false" selectable="true" headerText="if(SELECT.DATA0143.length &gt; 13){return SELECT.DATA0143 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';} else {return SELECT.DATA0143 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">	
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>				
                <COLUMN dataField="D14" width="85" description="=SELECT.DATA0144" visibleCondition="SELECT.DATA014 != '0' &amp;&amp; SELECT.DATA013 != '0' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" type="Number" outputFormat="= SELECT.DATA0142" fixed="false" selectable="true" headerText="if(SELECT.DATA0143.length &gt; 13){return SELECT.DATA0143 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';} else {return SELECT.DATA0143 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">	
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="F14" width="85" description="=SELECT.DATA0144" visibleCondition="SELECT.DATA014 != '0' &amp;&amp; SELECT.DATA013 != '0' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" type="Number" outputFormat="= SELECT.DATA0142" fixed="false" selectable="true" headerText="if(SELECT.DATA0143.length &gt; 13){return SELECT.DATA0143 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';} else {return SELECT.DATA0143 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="E14" type="Number" headerText="Ecart" width="85" visibleCondition="SELECT.DATA014 != '0' &amp;&amp; SELECT.DATA013 != '0' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 6)  || SELECT.PRESENTATION == '2' &amp;&amp; SELECT.DATA014 != '0' &amp;&amp; SELECT.DATA013 != '0' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA014 != '0' &amp;&amp; SELECT.DATA013 != '0' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" outputFormat="= SELECT.DATA0142" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
					<CELLSTYLE name="cellIndicator" value="triangle_down, 10, left middle, 0xD63E00" condition="(SELECT.DATA014.substr(0,3) == 'DEL' &amp;&amp; (ROW.D14 &lt; ROW.F14)) || (ROW.F14 &lt; ROW.D14)" />
					<CELLSTYLE name="cellIndicator" value="triangle_up, 10, left middle, 0x75a0eb" condition="(SELECT.DATA014.substr(0,3) == 'DEL' &amp;&amp; (ROW.F14 &lt; ROW.D14)) || (ROW.D14 &lt; ROW.F14)" />
					<CELLSTYLE name="cellIndicator" value="rectangle, 10, left middle, 0xFFA500" condition="ROW.D14 == ROW.F14" />
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="P14" type="Number" headerText="%  " width="45" visibleCondition="SELECT.DATA014 != '0' &amp;&amp; SELECT.DATA013 != '0' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 4) || SELECT.PRESENTATION == '3' &amp;&amp; SELECT.DATA014 != '0' &amp;&amp; SELECT.DATA013 != '0' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA014 != '0' &amp;&amp; SELECT.DATA013 != '0' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" outputFormat="= if (ROW.D14 !=0) {return '0%'} else {return '#'}" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="L15" width="85" description="=SELECT.DATA0154" visibleCondition="SELECT.DATA015 != '0' &amp;&amp; SELECT.DATA014 != '0' &amp;&amp; SELECT.DATA013 != '0' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; SELECT.TYPE_COMPARAISON == '0'" type="Number" outputFormat="= SELECT.DATA0152" fixed="false" selectable="true" headerText="if(SELECT.DATA0153.length &gt; 13){return SELECT.DATA0153 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';} else {return SELECT.DATA0153 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N-2&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">	
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>				
                <COLUMN dataField="D15" width="85" description="=SELECT.DATA0154" visibleCondition="SELECT.DATA015 != '0' &amp;&amp; SELECT.DATA014 != '0' &amp;&amp; SELECT.DATA013 != '0' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" type="Number" outputFormat="= SELECT.DATA0152" fixed="false" selectable="true" headerText="if(SELECT.DATA0153.length &gt; 13){return SELECT.DATA0153 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';} else {return SELECT.DATA0153 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;'+VIEW.COMPAREPERIODETXT+'&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">	
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="F15" width="85" description="=SELECT.DATA0154" visibleCondition="SELECT.DATA015 != '0' &amp;&amp; SELECT.DATA014 != '0' &amp;&amp; SELECT.DATA013 != '0' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" type="Number" outputFormat="= SELECT.DATA0152" fixed="false" selectable="true" headerText="if(SELECT.DATA0153.length &gt; 13){return SELECT.DATA0153 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';} else {return SELECT.DATA0153 + String.fromCharCode(13) +'\n'+ '&lt;font color=\'#DB1702\'&gt;N&lt;/font&gt;';}" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="E15" type="Number" headerText="Ecart" width="85" visibleCondition="SELECT.DATA015 != '0' &amp;&amp; SELECT.DATA014 != '0' &amp;&amp; SELECT.DATA013 != '0' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'  &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 6)  || SELECT.PRESENTATION == '2' &amp;&amp; SELECT.DATA015 != '0' &amp;&amp; SELECT.DATA014 != '0' &amp;&amp; SELECT.DATA013 != '0' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA015 != '0' &amp;&amp; SELECT.DATA014 != '0' &amp;&amp; SELECT.DATA013 != '0' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" outputFormat="= SELECT.DATA0152" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
					<CELLSTYLE name="cellIndicator" value="triangle_down, 10, left middle, 0xD63E00" condition="(SELECT.DATA015.substr(0,3) == 'DEL' &amp;&amp; (ROW.D15 &lt; ROW.F15)) || (ROW.F15 &lt; ROW.D15)" />
					<CELLSTYLE name="cellIndicator" value="triangle_up, 10, left middle, 0x75a0eb" condition="(SELECT.DATA015.substr(0,3) == 'DEL' &amp;&amp; (ROW.F15 &lt; ROW.D15)) || (ROW.D15 &lt; ROW.F15)" />
					<CELLSTYLE name="cellIndicator" value="rectangle, 10, left middle, 0xFFA500" condition="ROW.D15 == ROW.F15" />
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="P15" type="Number" headerText="%  " width="45" visibleCondition="SELECT.DATA015 != '0' &amp;&amp; SELECT.DATA014 != '0' &amp;&amp; SELECT.DATA013 != '0' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' &amp;&amp; (SELECT.PRESENTATION == '1' &amp;&amp; VIEW.NB_DATA &lt; 4) || SELECT.PRESENTATION == '3' &amp;&amp; SELECT.DATA015 != '0' &amp;&amp; SELECT.DATA014 != '0' &amp;&amp; SELECT.DATA013 != '0' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0' || SELECT.PRESENTATION == '4' &amp;&amp; SELECT.DATA015 != '0' &amp;&amp; SELECT.DATA014 != '0' &amp;&amp; SELECT.DATA013 != '0' &amp;&amp; SELECT.DATA012 != '0' &amp;&amp; SELECT.DATA011 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA9 != '0' &amp;&amp; SELECT.DATA8 != '0' &amp;&amp; SELECT.DATA7 != '0' &amp;&amp; SELECT.DATA6 != '0' &amp;&amp; SELECT.DATA5 != '0'&amp;&amp; SELECT.DATA4 != '0' &amp;&amp; SELECT.DATA3 != '0' &amp;&amp; SELECT.DATA2 != '0' &amp;&amp; SELECT.DATA1 != '0'" outputFormat="= if (ROW.D15 !=0) {return '0%'} else {return '#'}" fixed="false" textAlign="right" totalFunction="sum" totalComplement="" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xbccbed"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>				
			</DATAGRID>
		</ONGLET>
	</PRESENTATION>
</VUE>
