<?xml version="1.0" encoding="ISO-8859-1"?>
<VUE name="RH000017" 
	label="RH. Comparatif de la paie" 
	title="= 'Comparatif par ' +  SELECT.GROUPBY_LABEL + ' ('+ VIEW.COMPAREPERIODETXT + ' : ' + VIEW.PERIODE_D_LABEL + ' à ' + VIEW.TOPERIODE_D_LABEL  + ' vs ' + '  N : '+   SELECT.PERIODE_LABEL + ' à ' + SELECT.TOPERIODE_LABEL + ')' " 
	database="iCTI" 
	swf="*CTI_view1" 
	globals="RH_globals.XML" 
	componentsFile="RH_components.XML" 
	softCode="iCTI_rh"
	dboptimizer="RH_dboptimizer.XML"
		helpDokuWIkiDir="rh:vues:historique_de_paie" helpDokuWIkiFile="rh000017"  helpFile=""
>	
	<VIEWPROPERTIES>
		<PROPERTY dataLink="VIEWPROPERTIES" nameField="name" valueField="value" />
	</VIEWPROPERTIES>

	<VIEWPROPERTIES componentName="PROPERTIES_PAIE"/>
	<VIEWPROPERTIES componentName="PROPERTIES_GROUPBY"/>


	
	<VIEWPROPERTIES>
		<PROPERTY name="DATAFUNC">
			<value><![CDATA[[EVAL 
				// <?php
				
				function RH000017_calcSQL($data) {
                
                    $array_data_contrat = array('AGEMOYDJ','NSALH','NSALF','NSALPJ','EFFPERM','ROTEMP','NCDI','NCDD','NSALDJ');
                    $return = '';
                    
                    if(!in_array($data,$array_data_contrat)) {
                    
                            $ctiDivision = "base.cti_division(%s, %s)";
                            $countDistinctCaseWhen = "count(DISTINCT CASE WHEN v_rh_view_1.date_paie BETWEEN @date_debut@ AND @date_fin@ THEN %s ELSE null END)";
                            $sumDistinctCaseWhen = "sum(CASE WHEN v_rh_view_1.date_paie BETWEEN @date_debut@ AND @date_fin@ THEN %s ELSE 0 END)";
							$sumDistinctCaseWhenETPCDI = "sum(CASE WHEN v_rh_view_1.date_paie BETWEEN @date_debut@ AND @date_fin@ AND type_contrat_section_code[9] = 'CDI' THEN %s ELSE 0 END)";
							$sumDistinctCaseWhenETPCDD = "sum(CASE WHEN v_rh_view_1.date_paie BETWEEN @date_debut@ AND @date_fin@ AND type_contrat_section_code[9] = 'CDD' THEN %s ELSE 0 END)";
                            $periodeDebut = '\'[PERIODE]\'::date';
                            $periodeFin = '\'[TOPERIODE]\'::date';
                            $periodePrecDebut = '\'[VIEW.PERIODE_D]\'::date';
                            $periodePrecFin = '\'[VIEW.TOPERIODE_D]\'::date';
                            
                            switch ($data) {
                                case 'NBSAL':
                                    $tmp1 = sprintf($countDistinctCaseWhen, 'v_rh_view_1.salarie_id');
                                    break;
                                case 'NBRUB':
                                    $tmp1 = sprintf($countDistinctCaseWhen, 'v_rh_view_1.rubrique_id');
                                    break;
                                case 'EFFPHY':
                                    $tmp1 = sprintf($countDistinctCaseWhen, 'case when v_rh_view_1.heures_contrat > 0 or v_rh_view_1.heures_payees > 0 then v_rh_view_1.salarie_id else null end');
                                    break;
                                case 'NBETP':
                                    $tmp1 = 'base.cti_division('.sprintf($sumDistinctCaseWhen, 'v_rh_view_1.etp_paye').', base.cti_months_between(@date_debut@, @date_fin@))';
                                    break;
                                case 'NBETPCDI':
                                    $tmp1 = 'base.cti_division('.sprintf($sumDistinctCaseWhenETPCDI, 'v_rh_view_1.etp_paye').', base.cti_months_between(@date_debut@, @date_fin@))';
                                    break;   
                                case 'NBETPCDD':
                                    $tmp1 = 'base.cti_division('.sprintf($sumDistinctCaseWhenETPCDD, 'v_rh_view_1.etp_paye').', base.cti_months_between(@date_debut@, @date_fin@))';
                                    break;   									
                                case 'NBETPT':
                                    $tmp1 = 'base.cti_division('.sprintf($sumDistinctCaseWhen, 'v_rh_view_1.etp_travaille').', base.cti_months_between(@date_debut@, @date_fin@))';
                                    break;
                                case 'NBETPTCDI':
                                    $tmp1 = 'base.cti_division('.sprintf($sumDistinctCaseWhenETPCDI, 'v_rh_view_1.etp_travaille').', base.cti_months_between(@date_debut@, @date_fin@))';
                                    break;   
                                case 'NBETPTCDD':
                                    $tmp1 = 'base.cti_division('.sprintf($sumDistinctCaseWhenETPCDD, 'v_rh_view_1.etp_travaille').', base.cti_months_between(@date_debut@, @date_fin@))';
                                    break;   									
                                case 'NBETPC':
                                    $tmp1 = 'base.cti_division('.sprintf($sumDistinctCaseWhen, 'v_rh_view_1.etp_contrat').', base.cti_months_between(@date_debut@, @date_fin@))';
                                    break;
								case 'NBETPCCDI':
                                    $tmp1 = 'base.cti_division('.sprintf($sumDistinctCaseWhenETPCDI, 'v_rh_view_1.etp_contrat').', base.cti_months_between(@date_debut@, @date_fin@))';
                                    break;
								case 'NBETPCCDD':
                                    $tmp1 = 'base.cti_division('.sprintf($sumDistinctCaseWhenETPCDD, 'v_rh_view_1.etp_contrat').', base.cti_months_between(@date_debut@, @date_fin@))';
                                    break;
                                case 'NBHC':
                                    $tmp1 = sprintf($sumDistinctCaseWhen, 'v_rh_view_1.heures_contrat');
                                    break;
                                case 'NBHP':
                                    $tmp1 = sprintf($sumDistinctCaseWhen, 'v_rh_view_1.heures_payees');
                                    break;                                
                                case 'NBHT':
                                    $tmp1 = sprintf($sumDistinctCaseWhen, 'v_rh_view_1.heures_travaillees');
                                    break;
                                case 'MTMASSE':
                                    $tmp1 = sprintf($sumDistinctCaseWhen, 'v_rh_view_1.montant_masse_salariale');
                                    break;
                                case 'MTHORMOYCHAR':
                                    $tmp1 = 'base.cti_division('.sprintf($sumDistinctCaseWhen, 'v_rh_view_1.montant_masse_salariale').', '.sprintf($sumDistinctCaseWhen, 'v_rh_view_1.heures_payees').')';
                                    break;
                                case 'MTMASSEMOY':
                                    $tmp1 = '
                                        base.cti_division('.
                                            sprintf($sumDistinctCaseWhen, 'v_rh_view_1.montant_masse_salariale').','.
                                            sprintf($sumDistinctCaseWhen, 'v_rh_view_1.etp_paye').'
                                        )
                                    ';
                                    break;
                                case 'MTMASSEPCT':
                                    $tmp1 = '
                                        base.cti_division(
                                            base.cti_division('.
                                                sprintf($sumDistinctCaseWhen, 'v_rh_view_1.montant_net_a_payer_salarie').','.
                                                sprintf($sumDistinctCaseWhen, 'v_rh_view_1.etp_paye').'
                                            ),
                                            base.cti_division('.
                                                sprintf($sumDistinctCaseWhen, 'v_rh_view_1.montant_masse_salariale').','.
                                                sprintf($sumDistinctCaseWhen, 'v_rh_view_1.etp_paye').'
                                            )
                                        ) * 100
                                    ';
                                    break;
                                case 'MTNETAPAYERMOY' :
                                    $tmp1 = 'base.cti_division('.sprintf($sumDistinctCaseWhen, 'v_rh_view_1.montant_net_a_payer_salarie').', '.sprintf($sumDistinctCaseWhen, 'v_rh_view_1.etp_paye').')';
                                    break;
                                case 'MTBRUT':
                                    $tmp1 = sprintf($sumDistinctCaseWhen, 'v_rh_view_1.montant_brut');
                                    break;
                                case 'MTBRUTMOY':
                                    $tmp1 = 'base.cti_division('.sprintf($sumDistinctCaseWhen, 'v_rh_view_1.montant_brut').','.sprintf($sumDistinctCaseWhen, 'v_rh_view_1.etp_paye').')';
                                    break;
                                case 'MTBRUTAVANTAGE':
                                    $tmp1 = sprintf($sumDistinctCaseWhen, 'v_rh_view_1.montant_brut + v_rh_view_1.montant_avantage_nature');
                                    break;
                                case 'MTAVANTAGE':
                                    $tmp1 = sprintf($sumDistinctCaseWhen, 'v_rh_view_1.montant_avantage_nature');
                                    break;
                                case 'MTFRAISIMPOS':
                                    $tmp1 = sprintf($sumDistinctCaseWhen, 'v_rh_view_1.montant_frais_imposables');
                                    break;
                                case 'MTODNETSALARIE':
                                    $tmp1 = sprintf($sumDistinctCaseWhen, 'v_rh_view_1.montant_od_net_salarie');
                                    break;
                                case 'MTODNETPATRONALE':
                                    $tmp1 = sprintf($sumDistinctCaseWhen, 'v_rh_view_1.montant_od_net_patronale');
                                    break;
                                case 'MTCOTSALARIE':
                                    $tmp1 = sprintf($sumDistinctCaseWhen, 'v_rh_view_1.montant_cotisation_salarie');
                                    break;
                                case 'MTCOTPATRONALE':
                                    $tmp1 = sprintf($sumDistinctCaseWhen, 'v_rh_view_1.montant_cotisation_patronale');
                                    break;
                                case 'MTNETIMPOSABLE':
                                    $tmp1 = sprintf($sumDistinctCaseWhen, 'v_rh_view_1.montant_net_imposable_salarie');
                                    break;
                                case 'MTNETAPAYER':
                                    $tmp1 = sprintf($sumDistinctCaseWhen, 'v_rh_view_1.montant_net_a_payer_salarie');
                                    break;
                                case 'BASE':
                                    $tmp1 = sprintf($sumDistinctCaseWhen, 'v_rh_view_1.base');
                                    break;
                                case 'NOMBRE':
                                    $tmp1 = sprintf($sumDistinctCaseWhen, 'v_rh_view_1.nombre');
                                    break;
								case 'NBPROVISIONS':
                                    $tmp1 = sprintf($sumDistinctCaseWhen, 'v_rh_view_1.nombre_provisions');
                                    break;
								case 'MTPROVISIONS':
                                    $tmp1 = sprintf($sumDistinctCaseWhen, 'v_rh_view_1.montant_provisions');
                                    break;
								case 'MTMASSEPROV':
                                    $tmp1 = sprintf($sumDistinctCaseWhen, 'v_rh_view_1.montant_masse_salariale_provisionnee');
                                    break;
                                default :
                                    $tmp1 = 'null';
                            }
                            
                            $return = str_replace(array('@date_debut@', '@date_fin@'), array($periodeDebut, $periodeFin), $tmp1) . ',' . str_replace(array('@date_debut@', '@date_fin@'), array($periodePrecDebut, $periodePrecFin), $tmp1);
                    } else {
                            $ctiDivision = "base.cti_division(%s, %s)";
                            $countDistinctCaseWhen = "count(DISTINCT CASE WHEN v_rh_view_1.date_fin_activite BETWEEN @date_debut@ AND @date_fin@ %s THEN %s ELSE null END)";
                            $periodeDebut = '\'[PERIODE]\'::date';
                            $periodeFin = '\'[TOPERIODE]\'::date';
                            $periodePrecDebut = '\'[VIEW.PERIODE_D]\'::date';
                            $periodePrecFin = '\'[VIEW.TOPERIODE_D]\'::date';
                            
                            switch ($data) {
                                case 'NSALPJ':
                                    $tmp0 = "AND present_debut_mois = 1 AND to_char(date_debut_activite, 'YYYYMM') = to_char(@date_debut@, 'YYYYMM')";
                                    $tmp1 = sprintf($countDistinctCaseWhen, $tmp0, 'salarie_id');
                                    break;
                                case 'NSALH':
                                    $tmp0 = 'AND sexe_code = \'M\'';
                                    $tmp1 = sprintf($countDistinctCaseWhen, $tmp0, 'salarie_id');
                                    break;                                
                                case 'NCDI':
                                    $tmp0 = 'AND type_contrat_section_code[9] = \'CDI\'';
                                    $tmp1 = sprintf($countDistinctCaseWhen, $tmp0, 'contrat_id');
                                    break;                                
                                case 'NCDD':
                                    $tmp0 = 'AND type_contrat_section_code[9] = \'CDD\'';
                                    $tmp1 = sprintf($countDistinctCaseWhen, $tmp0, 'contrat_id');
                                    break;
                                case 'NSALF':
                                    $tmp0 = 'AND sexe_code = \'F\'';
                                    $tmp1 = sprintf($countDistinctCaseWhen, $tmp0, 'salarie_id');
                                    break;
                                case 'AGEMOYDJ':
                                    $tmp1 = 'base.cti_avg_distinct_on(
                                            DISTINCT 
                                                (CASE WHEN 1=1
                                                    AND v_rh_view_1.date_fin_activite BETWEEN @date_debut@ AND @date_fin@
                                                THEN ARRAY[salarie_id::numeric, age_id::numeric]
                                                ELSE null END)
                                        )
                                    ';
                                    break;
                                case 'ETPTH':
                                    $tmp1 = '
                                        sum(
                                                CASE WHEN v_rh_view_1.date_fin_activite BETWEEN @date_debut@ AND @date_fin@
                                                THEN equivalent_temps_plein / base.cti_months_between(@date_debut@, @date_fin@)
                                                ELSE 0 END
                                                
                                        )::numeric
                                        
                                    ';
                                    break;
                                case 'NSALDJ':
                                    $tmp0 = "AND present_fin_mois = 1 AND to_char(date_fin_activite, 'YYYYMM') = to_char(@date_fin@, 'YYYYMM')";
                                    $tmp1 = sprintf($countDistinctCaseWhen, $tmp0, 'salarie_id');
                                    break;
                                default :
                                    $tmp1 = 'null';
                            }
        
                            $toReplace = array(
                                '@date_debut@',
                                '@date_fin@',
                                '@date_debut_efp@'
                            );
        
                            $curPeriod = array(
                                $periodeDebut,
                                $periodeFin,
                                "[PERIODE]"
                            );
        
                            $prevPeriod = array(
                                $periodePrecDebut,
                                $periodePrecFin,
                                "[VIEW.PERIODE_D]"
                            );
                            
                           $return = str_replace($toReplace, $curPeriod, $tmp1) . ',' . str_replace($toReplace, $prevPeriod, $tmp1);
                    
                    }
                    
                    return $return;
                }
				
				// ?>
			EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATASQL">
			<value><![CDATA[[EVAL 
				// <?php
				
				return RH000017_calcSQL('[DATA1]') . ',0,0,'. PHP_EOL . RH000017_calcSQL('[DATA2]') . ',0,0,'
                    . RH000017_calcSQL('[DATA3]') . ',0,0,'. PHP_EOL . RH000017_calcSQL('[DATA4]') . ',0,0,'
                    . RH000017_calcSQL('[DATA5]') . ',0,0,'. PHP_EOL . RH000017_calcSQL('[DATA6]') . ',0,0,'
                    . RH000017_calcSQL('[DATA7]') . ',0,0,'. PHP_EOL . RH000017_calcSQL('[DATA8]') . ',0,0,'
                    . RH000017_calcSQL('[DATA9]') . ',0,0,'. PHP_EOL . RH000017_calcSQL('[DATA10]') . ',0,0,'
                    . RH000017_calcSQL('[DATA011]') . ',0,0,'. PHP_EOL . RH000017_calcSQL('[DATA012]') . ',0,0,'
                    . RH000017_calcSQL('[DATA013]') . ',0,0,'. PHP_EOL . RH000017_calcSQL('[DATA014]') . ',0,0,'
                    . RH000017_calcSQL('[DATA015]') . ',0,0';
				
				// ?>
			EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="ORDERBY">
			<value><![CDATA[[EVAL 
					
					$groupBys = array(
						'[GROUPBY]', 
						'[GROUPBY_2]', 
						'[GROUPBY_3]'
					);
					$exceptions = array('AMCAL', 'ATRIMCAL', 'ACAL', 'MCAL', 'TRIMCAL', 'AMACT', 'ATRIMACT', 'AACT', 'MACT', 'TRIMACT');
					
					$result = array_intersect($groupBys, $exceptions);
					
					if (count($result) > 0) {
						return "DEFAULT";
					} else {
						return "indicateurs[1]";
					}
					
			EVAL]]]></value>
		</PROPERTY>		
        <PROPERTY name="COMPAREPERIODETXT">
			<value><![CDATA[[EVAL 
					
                $TYPE_COMPARAISON_TXT = '[TYPE_COMPARAISON]';
                if($TYPE_COMPARAISON_TXT == '2'){
                    return 'N-1'; 
                } else if ($TYPE_COMPARAISON_TXT == 'S') {
                    return 'Saisie';
                }
                else {
					return 'N-2'; 
				}
					
			EVAL]]]></value>
		</PROPERTY>
	</VIEWPROPERTIES>
	<SELECTIONS label="Paramètres de l'analyse" displayText="">
		<GROUP label="Période">
			<FIELD name="ALIAS_PERIODE" label="" UI="combo" width="220" default="CUM_LAST_MONTH" tree="true" globalListProvider="ALIAS_PERIODE" />
			<FIELD name="PERIODE" label="" UI="combo" tree="true" width="200" default="2010-01-01" globalListProvider="PERIODE_DEBUT" />
			<FIELD name="TOPERIODE" label="au" UI="combo" tree="true" width="200" default="2010-01-31" globalListProvider="PERIODE_FIN" />
		</GROUP>
		<GROUP label="Comparer avec">
			<FIELD name="TYPE_COMPARAISON" label="" UI="combo" default="S" width="130">
				<OPTION label="Période N-1" data="2" />
				<OPTION label="Période N-2" data="1" />
				<OPTION label="Saisie période" data="S" />
			</FIELD>
			<FIELD name="PERIODE_D" label="" UI="combo" tree="true" width="200" default="2010-01-01" globalListProvider="PERIODE_DEBUT" visible="= SELECT.TYPE_COMPARAISON == 'S'" />
			<FIELD name="TOPERIODE_D" label="au" UI="combo" tree="true" width="200" default="2010-01-31" globalListProvider="PERIODE_FIN" visible="= SELECT.TYPE_COMPARAISON == 'S'" />
		</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 label="Données">
			<FIELD name="DATA1" tree="true" label="" UI="combo" default="MTMASSE" width="400" showIfNotDefault="true" printable="false">
				<OPTION label="" data="0"/>				
				<OPTION label="DATA_HISTO_PAIE" data="" globalListProvider="DATA_HISTO_PAIE"/>
			</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="DATA_HISTO_PAIE" data="" globalListProvider="DATA_HISTO_PAIE"/>
			</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="DATA_HISTO_PAIE" data="" globalListProvider="DATA_HISTO_PAIE"/>
			</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="DATA_HISTO_PAIE" data="" globalListProvider="DATA_HISTO_PAIE"/>
			</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="DATA_HISTO_PAIE" data="" globalListProvider="DATA_HISTO_PAIE"/>
			</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="DATA_HISTO_PAIE" data="" globalListProvider="DATA_HISTO_PAIE"/>
			</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="DATA_HISTO_PAIE" data="" globalListProvider="DATA_HISTO_PAIE"/>
			</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="DATA_HISTO_PAIE" data="" globalListProvider="DATA_HISTO_PAIE"/>
			</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="DATA_HISTO_PAIE" data="" globalListProvider="DATA_HISTO_PAIE"/>
			</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="DATA_HISTO_PAIE" data="" globalListProvider="DATA_HISTO_PAIE"/>
			</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="DATA_HISTO_PAIE" data="" globalListProvider="DATA_HISTO_PAIE"/>
			</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="DATA_HISTO_PAIE" data="" globalListProvider="DATA_HISTO_PAIE"/>
			</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="DATA_HISTO_PAIE" data="" globalListProvider="DATA_HISTO_PAIE"/>
			</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="DATA_HISTO_PAIE" data="" globalListProvider="DATA_HISTO_PAIE"/>
			</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="DATA_HISTO_PAIE" data="" globalListProvider="DATA_HISTO_PAIE"/>
			</FIELD>
		</GROUP>
		<GROUP label="Regroupement">
			<FIELD name="GROUPBY" label="" width="250" UI="combo" default="RUP" tree="true" >
				<OPTION label="Entreprise" data="ENT" treeLevel="1" globalListProvider="ENTREPRISE_GROUPBY"/>
				<OPTION label="Paie" data="RUP" treeLevel="1" globalListProvider="PAIE_GROUPBY"/>
				<OPTION label="[DICT.RH.SALARIE#1]" data="SAL" treeLevel="1" globalListProvider="SALARIE_GROUPBY"/>
				<OPTION label="[DICT.RH.CONTRAT#1]" data="CNT" treeLevel="1" globalListProvider="CONTRAT_GROUPBY"/>
				<OPTION label="Temporel" data="MOIACT" treeLevel="1" globalListProvider="TEMPOREL_PAIE_GROUPBY"/>
				<OPTION label="Référentiel SAE" data="REFERENTIEL_SAE" treeLevel="1" globalListProvider="REFERENTIEL_SAE_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 label="">
			<FIELD name="GROUPBY_2" label="" width="250" UI="combo" default="-1" tree="true" >
				<OPTION label="Pas de second niveau" data="-1"/>
				<OPTION label="Entreprise" data="ENT" treeLevel="1" globalListProvider="ENTREPRISE_GROUPBY"/>
				<OPTION label="Paie" data="RUP" treeLevel="1" globalListProvider="PAIE_GROUPBY"/>
				<OPTION label="[DICT.RH.SALARIE#1]" data="SAL" treeLevel="1" globalListProvider="SALARIE_GROUPBY"/>
				<OPTION label="[DICT.RH.CONTRAT#1]" data="CNT" treeLevel="1" globalListProvider="CONTRAT_GROUPBY"/>
				<OPTION label="Temporel" data="MOIACT" treeLevel="1" globalListProvider="TEMPOREL_PAIE_GROUPBY"/>
				<OPTION label="Référentiel SAE" data="REFERENTIEL_SAE" treeLevel="1" globalListProvider="REFERENTIEL_SAE_GROUPBY"/>
			</FIELD>
		</GROUP>
		<GROUP label="">
			<FIELD name="GROUPBY_3" label="" width="250" UI="combo" default="-1" tree="true" >
				<OPTION label="Pas de troisième niveau" data="-1"/>
				<OPTION label="Entreprise" data="ENT" treeLevel="1" globalListProvider="ENTREPRISE_GROUPBY"/>
				<OPTION label="Paie" data="RUP" treeLevel="1" globalListProvider="PAIE_GROUPBY"/>
				<OPTION label="[DICT.RH.SALARIE#1]" data="SAL" treeLevel="1" globalListProvider="SALARIE_GROUPBY"/>
				<OPTION label="[DICT.RH.CONTRAT#1]" data="CNT" treeLevel="1" globalListProvider="CONTRAT_GROUPBY"/>
				<OPTION label="Temporel" data="MOIACT" treeLevel="1" globalListProvider="TEMPOREL_PAIE_GROUPBY"/>
				<OPTION label="Référentiel SAE" data="REFERENTIEL_SAE" treeLevel="1" globalListProvider="REFERENTIEL_SAE_GROUPBY"/>
			</FIELD>
		</GROUP>
        <GROUP label="">
			<FIELD name="LGROUPBY" label="" width="250" UI="combo" default="-1" tree="true" visible="false" >
				<OPTION label="Entreprise" data="ENT" treeLevel="1" globalListProvider="ENTREPRISE_GROUPBY"/>
				<OPTION label="Paie" data="RUP" treeLevel="1" globalListProvider="PAIE_GROUPBY"/>
				<OPTION label="[DICT.RH.SALARIE#1]" data="SAL" treeLevel="1" globalListProvider="SALARIE_GROUPBY"/>
				<OPTION label="[DICT.RH.CONTRAT#1]" data="CNT" treeLevel="1" globalListProvider="CONTRAT_GROUPBY"/>
				<OPTION label="Temporel" data="MOIACT" treeLevel="1" globalListProvider="TEMPOREL_PAIE_GROUPBY"/>
				<OPTION label="Référentiel SAE" data="REFERENTIEL_SAE" treeLevel="1" globalListProvider="REFERENTIEL_SAE_GROUPBY"/>
			</FIELD>			
            <FIELD name="LGROUPBY_2" label="" width="250" UI="combo" default="-1" tree="true" visible="false" >
				<OPTION label="Entreprise" data="ENT" treeLevel="1" globalListProvider="ENTREPRISE_GROUPBY"/>
				<OPTION label="Paie" data="RUP" treeLevel="1" globalListProvider="PAIE_GROUPBY"/>
				<OPTION label="[DICT.RH.SALARIE#1]" data="SAL" treeLevel="1" globalListProvider="SALARIE_GROUPBY"/>
				<OPTION label="[DICT.RH.CONTRAT#1]" data="CNT" treeLevel="1" globalListProvider="CONTRAT_GROUPBY"/>
				<OPTION label="Temporel" data="MOIACT" treeLevel="1" globalListProvider="TEMPOREL_PAIE_GROUPBY"/>
				<OPTION label="Référentiel SAE" data="REFERENTIEL_SAE" treeLevel="1" globalListProvider="REFERENTIEL_SAE_GROUPBY"/>
			</FIELD>            
            <FIELD name="LGROUPBY_3" label="" width="250" UI="combo" default="-1" tree="true" visible="false" >
				<OPTION label="Entreprise" data="ENT" treeLevel="1" globalListProvider="ENTREPRISE_GROUPBY"/>
				<OPTION label="Paie" data="RUP" treeLevel="1" globalListProvider="PAIE_GROUPBY"/>
				<OPTION label="[DICT.RH.SALARIE#1]" data="SAL" treeLevel="1" globalListProvider="SALARIE_GROUPBY"/>
				<OPTION label="[DICT.RH.CONTRAT#1]" data="CNT" treeLevel="1" globalListProvider="CONTRAT_GROUPBY"/>
				<OPTION label="Temporel" data="MOIACT" treeLevel="1" globalListProvider="TEMPOREL_PAIE_GROUPBY"/>
				<OPTION label="Référentiel SAE" data="REFERENTIEL_SAE" treeLevel="1" globalListProvider="REFERENTIEL_SAE_GROUPBY"/>
			</FIELD>
		</GROUP>
	</SELECTIONS>
	<SELECTIONS componentName="FILTRES_SALCNT_SOUSSELECTIONS"/>
	<SELECTIONS componentName="FILTRES_PAIE_SELECTIONS"/>
	<SELECTIONS componentName="FILTRES_SALARIES_SELECTIONS"/>
	<SELECTIONS componentName="FILTRES_CONTRATS_SELECTIONS"/>
	<SELECTIONS componentName="FILTRES_REFERENTIEL_SAE_SELECTIONS"/>
	<QUERIES>
		<QUERY label="">
			<SQL optimizer="V_HP_X" optimizer2="V_ALL_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]}
						OPTIONS{NOTZERO=1}
						ORDERBY{[VIEW.ORDERBY],, DESC}
						INDICATORS{
							[VIEW.DATASQL]
						}
					FROM #V_HP_X##V_ALL_X#
					WHERE 
						(v_rh_view_1.date_paie BETWEEN '[PERIODE]' AND '[TOPERIODE]' OR
						v_rh_view_1.date_paie BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]')
						[VIEW.SALARIES_SELECT]
						[VIEW.CONTRATS_SELECT]
						[VIEW.REFERENTIEL_SAE_SELECT]
						
						[VIEW.PAIE_SELECT]
						
					AFTER{
						UPDATE w_table SET 
							indicateurs[3] = indicateurs[1] - indicateurs[2],
							indicateurs[4] = CASE 
											WHEN indicateurs[1] > 0 AND indicateurs[2] > 0 THEN base.cti_division(indicateurs[1] - indicateurs[2], indicateurs[2]) * 100
											ELSE 0 END,
							indicateurs[7] = indicateurs[5] - indicateurs[6],
							indicateurs[8] = CASE 
											WHEN indicateurs[5] > 0 AND indicateurs[6] > 0 THEN base.cti_division(indicateurs[5] - indicateurs[6], indicateurs[6]) * 100
											ELSE 0 END,
							indicateurs[11] = indicateurs[9] - indicateurs[10],
							indicateurs[12] = CASE 
											WHEN indicateurs[9] > 0 AND indicateurs[10] > 0 THEN base.cti_division(indicateurs[9] - indicateurs[10], indicateurs[10]) * 100
											ELSE 0 END,							
                            indicateurs[15] = indicateurs[13] - indicateurs[14],
							indicateurs[16] = CASE 
											WHEN indicateurs[13] > 0 AND indicateurs[14] > 0 THEN base.cti_division(indicateurs[13] - indicateurs[14], indicateurs[14]) * 100
											ELSE 0 END,                         
                            indicateurs[19] = indicateurs[17] - indicateurs[18],
							indicateurs[20] = CASE 
											WHEN indicateurs[17] > 0 AND indicateurs[18] > 0 THEN base.cti_division(indicateurs[17] - indicateurs[18], indicateurs[18]) * 100
											ELSE 0 END,                           
                            indicateurs[23] = indicateurs[21] - indicateurs[22],
							indicateurs[24] = CASE 
											WHEN indicateurs[21] > 0 AND indicateurs[22] > 0 THEN base.cti_division(indicateurs[21] - indicateurs[22], indicateurs[22]) * 100
											ELSE 0 END,                             
                            indicateurs[27] = indicateurs[25] - indicateurs[26],
							indicateurs[28] = CASE 
											WHEN indicateurs[25] > 0 AND indicateurs[26] > 0 THEN base.cti_division(indicateurs[25] - indicateurs[26], indicateurs[26]) * 100
											ELSE 0 END,                             
                            indicateurs[31] = indicateurs[29] - indicateurs[30],
							indicateurs[32] = CASE 
											WHEN indicateurs[29] > 0 AND indicateurs[30] > 0 THEN base.cti_division(indicateurs[29] - indicateurs[30], indicateurs[30]) * 100
											ELSE 0 END,                             
                            indicateurs[35] = indicateurs[33] - indicateurs[34],
							indicateurs[36] = CASE 
											WHEN indicateurs[33] > 0 AND indicateurs[34] > 0 THEN base.cti_division(indicateurs[33] - indicateurs[34], indicateurs[34]) * 100
											ELSE 0 END,                              
                            indicateurs[39] = indicateurs[37] - indicateurs[38],
							indicateurs[40] = CASE 
											WHEN indicateurs[37] > 0 AND indicateurs[38] > 0 THEN base.cti_division(indicateurs[37] - indicateurs[38], indicateurs[38]) * 100
											ELSE 0 END,                            
                            indicateurs[43] = indicateurs[41] - indicateurs[42],
							indicateurs[44] = CASE 
											WHEN indicateurs[41] > 0 AND indicateurs[42] > 0 THEN base.cti_division(indicateurs[41] - indicateurs[42], indicateurs[42]) * 100
											ELSE 0 END,                             
                            indicateurs[47] = indicateurs[45] - indicateurs[46],
							indicateurs[48] = CASE 
											WHEN indicateurs[45] > 0 AND indicateurs[46] > 0 THEN base.cti_division(indicateurs[45] - indicateurs[46], indicateurs[46]) * 100
											ELSE 0 END,                             
                            indicateurs[51] = indicateurs[49] - indicateurs[50],
							indicateurs[52] = CASE 
											WHEN indicateurs[49] > 0 AND indicateurs[50] > 0 THEN base.cti_division(indicateurs[49] - indicateurs[50], indicateurs[50]) * 100
											ELSE 0 END,                             
                            indicateurs[55] = indicateurs[53] - indicateurs[54],
							indicateurs[56] = CASE 
											WHEN indicateurs[53] > 0 AND indicateurs[54] > 0 THEN base.cti_division(indicateurs[53] - indicateurs[54], indicateurs[54]) * 100
											ELSE 0 END,                             
                            indicateurs[59] = indicateurs[57] - indicateurs[58],
							indicateurs[60] = CASE 
											WHEN indicateurs[57] > 0 AND indicateurs[58] > 0 THEN base.cti_division(indicateurs[57] - indicateurs[58], indicateurs[58]) * 100
											ELSE 0 END         
                                            
					}
					

				]]></select>
				<FIELDS>
					<INSERT name="CTISELECT_TREE_FIELDS"/>
					<FIELD name="SORT" /><!-- colonne exploitée pour le mécanisme de tri uniquement ORDERBY{indicateur[7]} -->
					<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"/>
				</FIELDS>
			</SQL>
		</QUERY>
		<QUERY type="propertiesLink" name="VIEWPROPERTIES" forSelections="false">
			<SQL>
				<select><![CDATA[	
					SELECT 'PERIODE_D' , CASE WHEN '[TYPE_COMPARAISON]' = '2' 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' 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' 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' 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' 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' 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 'X_PERIODE', greatest(('[PERIODE]'::date - '3 years'::interval)::date, (SELECT (min(mois)::text||'01')::date FROM rh.p_chiffrier_production))::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"  view="RH000017.XML" rowContext="false" buttonType="VIEWLINKPOPUP_RH">
				<VIEWITEM  label="Dernière année"  shortLabel="derniere  année"  view="RH000017.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="PERIODE_D" value="return VIEW.X_PERIODE_D;" />
                    <ARG name="TOPERIODE_D" value="return VIEW.X_TOPERIODE_D;" />                    
					<ARG name="GROUPBY" value="return 'MCAL';"/>
					<ARG name="GROUPBY_TAB" value="return 'TAB';" />                   
                </VIEWITEM>	
				<VIEWITEM label="&#8721; dernière Année" shortLabel="&#8721; derniere année"  view="RH000115.XML" rowContext="false" enabled="true" 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="PERIODE_D" value="return VIEW.X_PERIODE_D;" />
                    <ARG name="TOPERIODE_D" value="return VIEW.X_TOPERIODE_D;" />                    
					<ARG name="GROUPBY" value="return 'MCAL';"/>
					<ARG name="LGROUPBY" value="SELECT.GROUPBY;"/>
					<ARG name="DATA1" value="return 'MTMASSE';"/>
					<ARG name="DATA2" value="return 'MTBRUT';"/>    
					<ARG name="LGROUPBY_2" value="SELECT.GROUPBY_2;"/>				
                </VIEWITEM>	
			</VIEWLINK>
			<VIEWLINK label="Comparatif" shortLabel="Comparatif" view="RH000017.XML" enabled="true" rowContext="false" buttonType="COMPARATIF">
				<ARG name="PERIODE_D" value="return VIEW.X_PERIODE_D;" />
				<ARG name="TOPERIODE_D" value="return VIEW.X_TOPERIODE_D;" />
				<ARG name="DATA1" value="SELECT.DATA1" />
				<ARG name="DATA2" value="SELECT.DATA2" />
				<ARG name="DATA3" value="SELECT.DATA3" />
			</VIEWLINK>			
            <VIEWLINK label="Comparatif mensuel" shortLabel="Comp. Mensuel" view="RH000112.XML" enabled="true" rowContext="false" buttonType="COMPARATIF">
				<ARG name="ALIAS_PERIODE" value="return '-1';"/>				
                <ARG name="GROUPBY" value="SELECT.LGROUPBY" />
                <ARG name="GROUPBY_2" value="SELECT.LGROUPBY_2" />
                <ARG name="GROUPBY_3" value="SELECT.LGROUPBY_3" />
				<ARG name="DATA1" value="SELECT.DATA1" />
				<ARG name="DATA2" value="SELECT.DATA2" />
				<ARG name="DATA3" value="SELECT.DATA3" />
                <ARG name="TYPE_COMPARAISON" value="'2'" />
			</VIEWLINK>
            <VIEWLINK label="Effets" shortLabel="Effets" view="RH000111.XML" enabled="true" rowContext="false" buttonType="COMPARATIF">
				<ARG name="ALIAS_PERIODE" value="return '-1';" />
                <ARG name="GROUPBY" value="SELECT.LGROUPBY" />
                <ARG name="GROUPBY_2" value="SELECT.LGROUPBY_2" />
                <ARG name="GROUPBY_3" value="SELECT.LGROUPBY_3" />                
                <ARG name="TYPE_COMPARAISON" value="'2'" />
				<ARG name="DATA01" value="'NBETP'" />
				<ARG name="DATA02" value="'MSAL'" />
			</VIEWLINK>
			<VIEWLINK label="Evolution comparative" shortLabel="Evol. comparative"  view="RH000114.XML"  rowContext="false"  enabled="true" buttonType="VIEWLINK_EVO_COMP_1" >			
					<ARG name="GROUPBY_2" value="return 'MCAL';" />
                    <ARG name="GROUPBY" value="SELECT.LGROUPBY" />                  
                    <ARG name="DATA1" value="SELECT.DATA1"/>
                    <ARG name="DATA2" value="SELECT.DATA2"/>
                    <ARG name="DATA3" value="SELECT.DATA3"/>
                    <ARG name="DATA4" value="SELECT.DATA4"/>
                    <ARG name="DATA5" value="SELECT.DATA5"/>
                    <ARG name="DATA6" value="SELECT.DATA6"/>
                    <ARG name="DATA7" value="SELECT.DATA7"/>
                    <ARG name="DATA8" value="SELECT.DATA8"/>
                    <ARG name="DATA9" value="SELECT.DATA9"/>
                    <ARG name="DATA10" value="SELECT.DATA10"/>
                    <ARG name="DATA011" value="SELECT.DATA011"/>
                    <ARG name="DATA012" value="SELECT.DATA012"/>
                    <ARG name="DATA013" value="SELECT.DATA013"/>
                    <ARG name="DATA014" value="SELECT.DATA014"/>
                    <ARG name="DATA015" value="SELECT.DATA015"/>
					<ARG name="GROUPBY_TAB" value="return 'TAB';" />
					<ARG name="TYPE_COMPARAISON" value="'2'" />
			</VIEWLINK>	            
			<VIEWLINK label="Evolution" shortLabel="Evolution" view="RH000015.XML" enabled="true" rowContext="false" componentName="PERIODICITE_VIEWLINK" buttonType="EVOLUTION">
			   	<ARG name="ALIAS_PERIODE" value="return '-1'"/>
				<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,4)+'-01-01';"/>
                <ARG name="GROUPBY" value="SELECT.LGROUPBY" />
                <ARG name="GROUPBY_2" value="SELECT.LGROUPBY_2" />
                <ARG name="GROUPBY_3" value="SELECT.LGROUPBY_3" />                
                <ARG name="DATA" value="'MTMASSE'"/>
				<ARG name="PERIODICITE" value="'MONTH'"/>
			</VIEWLINK>
			<VIEWLINK label="Analyse croisée" shortLabel="Analyse croisée" view="RH000016.XML" enabled="true" rowContext="false" buttonType="ANALYSE_CROISEE">
				<ARG name="ALIAS_PERIODE" value="return '-1'" />				
				<ARG name="PERIODE" value="return VIEW.X_PERIODE.substr(0,4)+'-01-01';"/>
				<ARG name="DATA" value="'MTMASSE'" />
				<ARG name="COLUMNBY" value="'MCAL'" />
				<ARG name="GROUPBY" value="'ACAL'" />
				<ARG name="GROUPBY_2" value="return SELECT.LGROUPBY;" />
				<ARG name="GROUPBY_3" value="return SELECT.LGROUPBY_2;" />
				<ARG name="GROUPBY_TAB" value="'TAB'" />
				<ARG name="COLUMNBYCOUNT" value="'12'" />
			</VIEWLINK>
			<VIEWLINK label="Analyse"  shortLabel="Analyse" view="RH000119.XML" rowContext="false" buttonType="ANALYSE_VIEWLINK_RH">
				<VIEWITEM label="Analyse" shortLabel="Analyse"  view="RH000119.XML" rowContext="false" enabled="true" buttonType="ANALYSE_VIEWLINK_RH" componentName="">
                    <ARGS name="SPEC" >
                        <value><![CDATA[
                            LINKVARIABLES['ALIAS_PERIODE'] = '-1';
                            LINKVARIABLES['PERIODE'] = SELECT.PERIODE;
                            LINKVARIABLES['TOPERIODE'] = SELECT.TOPERIODE;
                            LINKVARIABLES['GROUPBY'] = SELECT.LGROUPBY;
                            LINKVARIABLES['GROUPBY_2'] = SELECT.LGROUPBY_2;
                            LINKVARIABLES['GROUPBY_3'] = SELECT.LGROUPBY_3;
                            LINKVARIABLES['GROUPBY_TAB'] = 'TAB';
                            return 'OK';
                        ]]></value>
                    </ARGS>                    
                </VIEWITEM>					
				<VIEWITEM label="Analyse paramètrable" shortLabel="Analyse"  view="RH000113.XML" rowContext="false" enabled="true" buttonType="ANALYSE_VIEWLINK_RH" componentName="" component2Name="" >
                    <ARGS name="SPEC" >
                        <value><![CDATA[
                            LINKVARIABLES['ALIAS_PERIODE'] = '-1';
                            LINKVARIABLES['PERIODE'] = SELECT.PERIODE;
                            LINKVARIABLES['TOPERIODE'] = SELECT.TOPERIODE;
                            LINKVARIABLES['GROUPBY'] = SELECT.LGROUPBY;
                            LINKVARIABLES['GROUPBY_2'] = SELECT.LGROUPBY_2;
                            LINKVARIABLES['GROUPBY_3'] = SELECT.LGROUPBY_3;
                            LINKVARIABLES['GROUPBY_TAB'] = 'TAB';
                            LINKVARIABLES['DATA1'] = SELECT.DATA1;
                            LINKVARIABLES['DATA2'] = SELECT.DATA2;
                            LINKVARIABLES['DATA3'] = SELECT.DATA3;
                            LINKVARIABLES['DATA4'] = SELECT.DATA4;
                            LINKVARIABLES['DATA5'] = SELECT.DATA5;
                            LINKVARIABLES['DATA6'] = SELECT.DATA6;
                            LINKVARIABLES['DATA7'] = SELECT.DATA7;
                            LINKVARIABLES['DATA8'] = SELECT.DATA8;
                            LINKVARIABLES['DATA9'] = SELECT.DATA9;
                            LINKVARIABLES['DATA10'] = SELECT.DATA10;
                            LINKVARIABLES['DATA011'] = SELECT.DATA011;
                            LINKVARIABLES['DATA012'] = SELECT.DATA012;
                            LINKVARIABLES['DATA013'] = SELECT.DATA013;
                            LINKVARIABLES['DATA014'] = SELECT.DATA014;
                            LINKVARIABLES['DATA015'] = SELECT.DATA015;
                            return 'OK';
                        ]]></value>
                    </ARGS>
                </VIEWITEM>	
			</VIEWLINK>
			<VIEWLINK label="Justificatif paie" shortLabel="Justificatif paie" view="RH000011.XML" componentName="RH_VIEWLINK" >
				<ARGS name="SPEC" >
					<value><![CDATA[
						LINKVARIABLES['GROUPBY_2'] = 'SAL'
						return 'OK';
					]]></value>
				</ARGS>
				<ARG name="PERIODE" value="	if (COLUMN.NAME == 'F1') {return SELECT.PERIODE}
											if (COLUMN.NAME == 'D1') {return SELECT.PERIODE_D}
											if (COLUMN.NAME == 'F2') {return SELECT.PERIODE}
											if (COLUMN.NAME == 'D2') {return SELECT.PERIODE_D}
											if (COLUMN.NAME == 'F3') {return SELECT.PERIODE}
											if (COLUMN.NAME == 'D3') {return SELECT.PERIODE_D}
                                            if (COLUMN.NAME == 'F4') {return SELECT.PERIODE}
											if (COLUMN.NAME == 'D4') {return SELECT.PERIODE_D}
											if (COLUMN.NAME == 'F5') {return SELECT.PERIODE}
											if (COLUMN.NAME == 'D5') {return SELECT.PERIODE_D}
											if (COLUMN.NAME == 'F6') {return SELECT.PERIODE}
											if (COLUMN.NAME == 'D6') {return SELECT.PERIODE_D}
                                            if (COLUMN.NAME == 'F7') {return SELECT.PERIODE}
											if (COLUMN.NAME == 'D7') {return SELECT.PERIODE_D}
											if (COLUMN.NAME == 'F8') {return SELECT.PERIODE}
											if (COLUMN.NAME == 'D8') {return SELECT.PERIODE_D}
											if (COLUMN.NAME == 'F9') {return SELECT.PERIODE}
											if (COLUMN.NAME == 'D9') {return SELECT.PERIODE_D}
                                            if (COLUMN.NAME == 'F10') {return SELECT.PERIODE}
											if (COLUMN.NAME == 'D10') {return SELECT.PERIODE_D}
											if (COLUMN.NAME == 'F11') {return SELECT.PERIODE}
											if (COLUMN.NAME == 'D11') {return SELECT.PERIODE_D}
											if (COLUMN.NAME == 'F12') {return SELECT.PERIODE}
											if (COLUMN.NAME == 'D12') {return SELECT.PERIODE_D}
                                            if (COLUMN.NAME == 'F13') {return SELECT.PERIODE}
											if (COLUMN.NAME == 'D13') {return SELECT.PERIODE_D}
											if (COLUMN.NAME == 'F14') {return SELECT.PERIODE}
											if (COLUMN.NAME == 'D14') {return SELECT.PERIODE_D}
											if (COLUMN.NAME == 'F15') {return SELECT.PERIODE}
											if (COLUMN.NAME == 'D15') {return SELECT.PERIODE_D}
											"/>
				<ARG name="TOPERIODE" value="if (COLUMN.NAME == 'F1') {return SELECT.TOPERIODE}
											 if (COLUMN.NAME == 'D1') {return SELECT.TOPERIODE_D}
											 if (COLUMN.NAME == 'F2') {return SELECT.TOPERIODE}
											 if (COLUMN.NAME == 'D2') {return SELECT.TOPERIODE_D}
											 if (COLUMN.NAME == 'F3') {return SELECT.TOPERIODE}
											 if (COLUMN.NAME == 'D3') {return SELECT.TOPERIODE_D}
                                             if (COLUMN.NAME == 'F4') {return SELECT.TOPERIODE}
											 if (COLUMN.NAME == 'D4') {return SELECT.TOPERIODE_D}
											 if (COLUMN.NAME == 'F5') {return SELECT.TOPERIODE}
											 if (COLUMN.NAME == 'D5') {return SELECT.TOPERIODE_D}
											 if (COLUMN.NAME == 'F6') {return SELECT.TOPERIODE}
											 if (COLUMN.NAME == 'D6') {return SELECT.TOPERIODE_D}
                                             if (COLUMN.NAME == 'F7') {return SELECT.TOPERIODE}
											 if (COLUMN.NAME == 'D7') {return SELECT.TOPERIODE_D}
											 if (COLUMN.NAME == 'F8') {return SELECT.TOPERIODE}
											 if (COLUMN.NAME == 'D8') {return SELECT.TOPERIODE_D}
											 if (COLUMN.NAME == 'F9') {return SELECT.TOPERIODE}
											 if (COLUMN.NAME == 'D9') {return SELECT.TOPERIODE_D}
                                             if (COLUMN.NAME == 'F10') {return SELECT.TOPERIODE}
											 if (COLUMN.NAME == 'D10') {return SELECT.TOPERIODE_D}
											 if (COLUMN.NAME == 'F11') {return SELECT.TOPERIODE}
											 if (COLUMN.NAME == 'D11') {return SELECT.TOPERIODE_D}
											 if (COLUMN.NAME == 'F12') {return SELECT.TOPERIODE}
											 if (COLUMN.NAME == 'D12') {return SELECT.TOPERIODE_D}
                                             if (COLUMN.NAME == 'F13') {return SELECT.TOPERIODE}
											 if (COLUMN.NAME == 'D13') {return SELECT.TOPERIODE_D}
											 if (COLUMN.NAME == 'F14') {return SELECT.TOPERIODE}
											 if (COLUMN.NAME == 'D14') {return SELECT.TOPERIODE_D}
											 if (COLUMN.NAME == 'F15') {return SELECT.TOPERIODE}
											 if (COLUMN.NAME == 'D15') {return SELECT.TOPERIODE_D}
											 "/>
			</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 != 'MCAL')">			
                <CHART title="Première donnée (10 premiers) " type="pieChart" maxItems="10" maxItemsSortOn="D1" maxItemsSortSeq="D" sortField="D1" sortSeq="D" condition="ROW.LVL == '1'">
                    <CATEGORY field="COD" type="Char"/>
                    <SERIE field="D1" displayName="SELECT.DATA13 + ' ' + VIEW.PERIODE_D_LABEL + '-' + VIEW.TOPERIODE_D_LABEL" displayNameCalc="true"/>
                </CHART>
                <CHART title="Deuxième donnée (10 premiers)" type="columnChart" maxItems="10" maxItemsSortOn="F2" maxItemsSortSeq="D" sortField="F2" sortSeq="D" condition="ROW.LVL == '1'">
                    <CATEGORY field="COD" type="Char"/>
                    <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 == 'MCAL') || (SELECT.GROUPBY == 'MACT')">			
                <CHART title="Première donnée (10 premiers) " type="pieChart" maxItems="10" maxItemsSortOn="D1" maxItemsSortSeq="D" sortField="D1" sortSeq="D" visibleCondition="SELECT.DATA1 != '-1'" condition="ROW.LVL == '1'">
                    <CATEGORY field="COD" type="Char"/>
                    <SERIE field="D1" displayName="SELECT.DATA13 + ' ' + VIEW.PERIODE_D_LABEL + '-' + VIEW.TOPERIODE_D_LABEL" displayNameCalc="true"/>
                </CHART>
                <CHART title="Comparatif (10 premiers)" type="lineChart" maxItems="10" maxItemsSortOn="D2" maxItemsSortSeq="D" sortField="" visibleCondition="(SELECT.GROUPBY == 'MCAL') || (SELECT.GROUPBY == 'MACT')" sortSeq="D1"  condition="ROW.LVL == '1'">
                    <CATEGORY field="TXT" type="Char"/>
                    <SERIE field="D2" displayName="SELECT.DATA23 + ' ' + '( N-1 )' " 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_3 == '-1' &amp;&amp; (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="90" type="Char" visible="true" 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="D1" width="85" visible="true" type="Number" 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;'+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; 12){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="70" 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 '#,00%'} 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="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; 12){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; 12){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 '#,00%'} 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="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; 12){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; 12){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="70" 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 '#,00%'} 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="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; 12){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; 12){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="70" 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 '#,00%'} 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="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; 12){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; 12){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="70" 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 '#,00%'} 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="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; 12){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; 12){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="70" 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 '#,00%'} 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="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; 12){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; 12){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="70" 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 '#,00%'} 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="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; 12){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; 12){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="70" 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 '#,00%'} 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="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; 12){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; 12){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="70" 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 '#,00%'} 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="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; 12){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; 12){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="70" 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 '#,00%'} 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="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; 12){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; 12){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="70" 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 '#,00%'} 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="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; 12){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; 12){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="70" 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 '#,00%'} 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="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; 12){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; 12){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="70" 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 '#,00%'} 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="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; 12){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; 12){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="70" 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 '#,00%'} 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="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; 12){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; 12){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="70" 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 '#,00%'} 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>
