<?xml version="1.0" encoding="ISO-8859-15"?>
<VUE name="ACTI000165" label="Activité facturation. Analyse Paramétrable" title="= 'Analyse Paramétrable par ' +  SELECT.GROUPBY_LABEL + ' (' + SELECT.PERIODE_LABEL + ' à ' + SELECT.TOPERIODE_LABEL + ')  '" database="iCTI" swf="*CTI_view1" softCode="iCTI_activite" globals="ACTI_globals.XML" componentsFile="ACTI_components.XML" helpDokuWIkiDir="activite:activite_facturee_et_valorisee:activite_clinique"  helpDokuWIkiFile="acti000165"  helpFile="iCTI_ACTI_ACTI000165.HTML">
	<VIEWPROPERTIES componentName="PROPERTIES_PRESTATIONS"/>
	<VIEWPROPERTIES>
		<PROPERTY dataLink="VIEWPROPERTIES" nameField="name" valueField="value" />
		<PROPERTY name="ORDER_BY">
			<value>
					<![CDATA[
						[EVAL 
							if(SELECT.LS_DATA !='-1'){
								return 'indicateurs[2]';
							}else {return 'indicateurs[1]';}
						EVAL]
					]]>
				</value>
		</PROPERTY>		
		<PROPERTY name="JOURNEES_FIELD">
			<value>
					<![CDATA[
						[EVAL 
							$field = 'nb_jours';
							if ('[QJMUT]' == 'd') {$field = $field . '_d';}
							else {
								if ('[QJMUT]' == 'f') {$field = $field . '_f';}
								else {
									if ('[QJMUT]' == '12') {$field = $field . '_12';}
									else {
										if ('[QJMUT]' == 'prorata') {$field = $field . '_prorata';}
										else {
											$field = $field . '_f';
										}
									}
								}
							}
							return $field;
						EVAL]
					]]>
				</value>
		</PROPERTY>
		<PROPERTY name="QUELLEDATE_MVT">
			<value><![CDATA[[EVAL 
                    $column_date = "v_mouvements_sejour_2.date";
                    if ('[QUELLEDATE]' == '2') {
                        $column_date = "p_factures_reference.date_fin_facture";
					}
					return $column_date;
				EVAL]]]></value>
		</PROPERTY>			
		<PROPERTY name="NB_DATA">
			<value>
				<![CDATA[
					[EVAL 
						$array1 = array('[DATA1]', '[DATA2]', '[DATA3]','[DATA4]','[DATA5]','[DATA6]','[DATA7]','[DATA8]','[DATA9]','[DATA10]','[DATA011]','[DATA012]','[DATA013]','[DATA014]','[DATA015]','0');
						$nb_data = array_search('0',$array1);
						if('[LS_DATA]' != "-1"){
							$nb_data = 0;
						}
						return $nb_data;
					EVAL] 
					]]>
				</value>
		</PROPERTY>		
		<PROPERTY name="NB_DATA_LS">
			<value>
				<![CDATA[
					[EVAL 

						$wdata_array_1 = explode("=",'[LS_DATA]');
						$wdata_array_2 = $wdata_array_1[1];
						$wdata_array = explode(",",$wdata_array_2);


						for($i=0;$i<=14;$i++){
							$taille = strlen($wdata_array[$i]);
							if( $taille > 1){
									$nb_data = $i+1;
							}
						}
						return $nb_data;
					EVAL] 
					]]>
				</value>
		</PROPERTY>	
		<PROPERTY name="H_DATA">
			<value>
				<![CDATA[
					[EVAL 
						$Myarray1 = array('L_DATA_4', 'L_DATA_5','L_DATA_104','L_DATA_105');
						$Myarray2 = array('L_DATA_3','L_DATA_103');
						$Myarray3 = array('L_DATA_6','L_DATA_106');
						$Myarray4 = array('L_DATA_7','L_DATA_107');
						$Myarray5 = array('L_DATA_8','L_DATA_108');
						if(in_array('[VIEW.LIB_DATA_LS]',$Myarray1)){
							$result = "1";
						}else if(in_array('[VIEW.LIB_DATA_LS]',$Myarray2)){
							$result = "2";
						} else if (in_array('[VIEW.LIB_DATA_LS]',$Myarray3)){
							$result = "3";
						}else if (in_array('[VIEW.LIB_DATA_LS]',$Myarray4)){
							$result = '4';
						}else if (in_array('[VIEW.LIB_DATA_LS]',$Myarray5)){
							$result = '5';
						}else {
							$result = '-1';
						}
						return $result;
					EVAL] 
					]]>
				</value>
		</PROPERTY>
		<PROPERTY name="LIB_DATA_LS">
			<value>
				<![CDATA[
					[EVAL 

						$wdata_array_1 = explode("=",'[LS_DATA]');
						$wdata_array = $wdata_array_1[0];
						return $wdata_array;
					EVAL] 
					]]>
				</value>
		</PROPERTY>		
        <PROPERTY name="QMVT_SELECT">
			<value><![CDATA[[EVAL 
                    $qmvt_select = "AND 1=1";
                    if ('[QUELLEDATE]' != '1' && '[QUELLEDATE]' != '2') {
                        $qmvt_select = "AND 1<>1";
                    }
					return $qmvt_select;
				EVAL]]]></value>
		</PROPERTY>	
		<PROPERTY name="DATA1F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_param_data('[LS_DATA]',1,'[DATA1]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA2F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_param_data('[LS_DATA]',2,'[DATA2]', "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA3F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_param_data('[LS_DATA]',3,'[DATA3]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>		
		<PROPERTY name="DATA4F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_param_data('[LS_DATA]',4,'[DATA4]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>		
		<PROPERTY name="DATA5F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_param_data('[LS_DATA]',5,'[DATA5]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>	
		<PROPERTY name="DATA6F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_param_data('[LS_DATA]',6,'[DATA6]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA7F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_param_data('[LS_DATA]',7,'[DATA7]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA8F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_param_data('[LS_DATA]',8,'[DATA8]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>			
		<PROPERTY name="DATA9F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_param_data('[LS_DATA]',9,'[DATA9]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>			
		<PROPERTY name="DATA10F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_param_data('[LS_DATA]',10,'[DATA10]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>	
		<PROPERTY name="DATA11F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_param_data('[LS_DATA]',11,'[DATA011]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA12F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_param_data('[LS_DATA]',12,'[DATA012]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="DATA13F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_param_data('[LS_DATA]',13,'[DATA013]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>			
		<PROPERTY name="DATA14F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_param_data('[LS_DATA]',14,'[DATA014]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>		
		<PROPERTY name="DATA15F">
			<value><![CDATA[[EVAL return ACTI_facturation_clinique_param_data('[LS_DATA]',15,'[DATA015]', 0, "v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
		</PROPERTY>	
        <PROPERTY name="ENT_RATIO2">
			<value><![CDATA[[EVAL 
				// <?php
                    $ENT = '';

					switch(substr('[LS_DATA3]',1,1)) {
						case '2' :
							$ENT = '%&#xD;D2/D1';
							break;
						case '3' :
							$ENT =  'Ecart en&#xD;nombre&#xD;D1-D2';
							break;
						case '4' :
							$ENT =  'Ecart en&#xD;%&#xD;D1-D2';
							break;						
                        case '5' :
							$ENT =  'Ecart en&#xD;nombre&#xD;D2-D1';
							break;
						case '6' :
							$ENT =  'Ecart en&#xD;%&#xD;D2-D1';
							break;
						default :
							$ENT =  'Ratio 2';
							break;
					}
                    return $ENT;
                   
				
				// ?>
			EVAL]]]></value>
		</PROPERTY>        
        <PROPERTY name="ENT_RATIO3">
			<value><![CDATA[[EVAL 
				// <?php
                    $ENT = '';

					switch(substr('[LS_DATA3]',2,1)) {
						case '2' :
							$ENT = '%&#xD;D3/D2';
							break;						
                        case '7' :
							$ENT = '%&#xD;D3/D1';
							break;
						case '3' :
							$ENT =  'Ecart en&#xD;nombre&#xD;D2-D3';
							break;
						case '4' :
							$ENT =  'Ecart en&#xD;%&#xD;D2-D3';
							break;						
                        case '5' :
							$ENT =  'Ecart en&#xD;nombre&#xD;D3-D2';
							break;
						case '6' :
							$ENT =  'Ecart en&#xD;%&#xD;D3-D2';
							break;
						default :
							$ENT =  'Ratio 3';
							break;
					}
                    return $ENT;
                   
				
				// ?>
			EVAL]]]></value>
		</PROPERTY>        
        <PROPERTY name="ENT_RATIO4">
			<value><![CDATA[[EVAL 
				// <?php
                    $ENT = '';

					switch(substr('[LS_DATA3]',3,1)) {
						case '2' :
							$ENT = '%&#xD;D4/D3';
							break;						
                        case '7' :
							$ENT = '%&#xD;D4/D1';
							break;
						case '3' :
							$ENT =  'Ecart en&#xD;nombre&#xD;D3-D4';
							break;
						case '4' :
							$ENT =  'Ecart en&#xD;%&#xD;D3-D4';
							break;						
                        case '5' :
							$ENT =  'Ecart en&#xD;nombre&#xD;D4-D3';
							break;
						case '6' :
							$ENT =  'Ecart en&#xD;%&#xD;D4-D3';
							break;
						default :
							$ENT =  'Ratio 4';
							break;
					}
                    return $ENT;
                   
				
				// ?>
			EVAL]]]></value>
		</PROPERTY>        
        <PROPERTY name="ENT_RATIO5">
			<value><![CDATA[[EVAL 
				// <?php
                    $ENT = '';

					switch(substr('[LS_DATA3]',4,1)) {
						case '2' :
							$ENT = '%&#xD;D5/D4';
							break;						
                        case '7' :
							$ENT = '%&#xD;D5/D1';
							break;
						case '3' :
							$ENT =  'Ecart en&#xD;nombre&#xD;D4-D5';
							break;
						case '4' :
							$ENT =  'Ecart en&#xD;%&#xD;D4-D5';
							break;						
                        case '5' :
							$ENT =  'Ecart en&#xD;nombre&#xD;D5-D4';
							break;
						case '6' :
							$ENT =  'Ecart en &#xD;%&#xD;D5-D4';
							break;
						default :
							$ENT =  'Ratio 5';
							break;
					}
                    return $ENT;
                   
				
				// ?>
			EVAL]]]></value>
		</PROPERTY>        
        <PROPERTY name="ENT_RATIO6">
			<value><![CDATA[[EVAL 
				// <?php
                    $ENT = '';

					switch(substr('[LS_DATA3]',5,1)) {
						case '2' :
							$ENT = '%&#xD;D6/D5';
							break;						
                        case '7' :
							$ENT = '%&#xD;D6/D1';
							break;
						case '3' :
							$ENT =  'Ecart en&#xD;nombre&#xD;D5-D6';
							break;
						case '4' :
							$ENT =  'Ecart en&#xD;%&#xD;D5-D6';
							break;						
                        case '5' :
							$ENT =  'Ecart en&#xD;nombre&#xD;D6-D5';
							break;
						case '6' :
							$ENT =  'Ecart en&#xD;%&#xD;D6-D5';
							break;
						default :
							$ENT =  'Ratio 6';
							break;
					}
                    return $ENT;
                   
				
				// ?>
			EVAL]]]></value>
		</PROPERTY>        
        <PROPERTY name="ENT_RATIO7">
			<value><![CDATA[[EVAL 
				// <?php
                    $ENT = '';

					switch(substr('[LS_DATA3]',6,1)) {
						case '2' :
							$ENT = '%&#xD;D7/D6';
							break;						
                        case '7' :
							$ENT = '%&#xD;D7/D1';
							break;
						case '3' :
							$ENT =  'Ecart en&#xD;nombre&#xD;D6-D7';
							break;
						case '4' :
							$ENT =  'Ecart en&#xD;%&#xD;D6-D7';
							break;						
                        case '5' :
							$ENT =  'Ecart en&#xD;nombre&#xD;D7-D6';
							break;
						case '6' :
							$ENT =  'Ecart en&#xD;%&#xD;D7-D6';
							break;
						default :
							$ENT =  'Ratio 7';
							break;
					}
                    return $ENT;
                   
				
				// ?>
			EVAL]]]></value>
		</PROPERTY>        
        <PROPERTY name="ENT_RATIO8">
			<value><![CDATA[[EVAL 
				// <?php
                    $ENT = '';

					switch(substr('[LS_DATA3]',7,1)) {
						case '2' :
							$ENT = '%&#xD;D8/D7';
							break;						
                        case '7' :
							$ENT = '%&#xD;D8/D1';
							break;
						case '3' :
							$ENT =  'Ecart en&#xD;nombre&#xD;D7-D8';
							break;
						case '4' :
							$ENT =  'Ecart en&#xD;%&#xD;D7-D8';
							break;						
                        case '5' :
							$ENT =  'Ecart en&#xD;nombre&#xD;D8-D7';
							break;
						case '6' :
							$ENT =  'Ecart en&#xD;%&#xD;D8-D7';
							break;
						default :
							$ENT =  'Ratio 8';
							break;
					}
                    return $ENT;
                   
				
				// ?>
			EVAL]]]></value>
		</PROPERTY>        
        <PROPERTY name="ENT_RATIO9">
			<value><![CDATA[[EVAL 
				// <?php
                    $ENT = '';

					switch(substr('[LS_DATA3]',8,1)) {
						case '2' :
							$ENT = '%&#xD;D9/D8';
							break;						
                        case '7' :
							$ENT = '%&#xD;D9/D1';
							break;
						case '3' :
							$ENT =  'Ecart en&#xD;nombre&#xD;D8-D9';
							break;
						case '4' :
							$ENT =  'Ecart en&#xD;%&#xD;D8-D9';
							break;						
                        case '5' :
							$ENT =  'Ecart en&#xD;nombre&#xD;D9-D8';
							break;
						case '6' :
							$ENT =  'Ecart en&#xD;%&#xD;D9-D8';
							break;
						default :
							$ENT =  'Ratio 9';
							break;
					}
                    return $ENT;
                   
				
				// ?>
			EVAL]]]></value>
		</PROPERTY>        
        <PROPERTY name="ENT_RATIO10">
			<value><![CDATA[[EVAL 
				// <?php
                    $ENT = '';

					switch(substr('[LS_DATA3]',9,1)) {
						case '2' :
							$ENT = '%&#xD;D10/D9';
							break;						
                        case '7' :
							$ENT = '%&#xD;D10/D1';
							break;
						case '3' :
							$ENT =  'Ecart en&#xD;nombre&#xD;D9-D10';
							break;
						case '4' :
							$ENT =  'Ecart en&#xD;%&#xD;D9-D10';
							break;						
                        case '5' :
							$ENT =  'Ecart en&#xD;nombre&#xD;D10-D9';
							break;
						case '6' :
							$ENT =  'Ecart en&#xD;%&#xD;D10-D9';
							break;
						default :
							$ENT =  'Ratio 10';
							break;
					}
                    return $ENT;
                   
				
				// ?>
			EVAL]]]></value>
		</PROPERTY>        
        <PROPERTY name="ENT_RATIO11">
			<value><![CDATA[[EVAL 
				// <?php
                    $ENT = '';

					switch(substr('[LS_DATA3]',10,1)) {
						case '2' :
							$ENT = '%&#xD;D11/D10';
							break;						
                        case '7' :
							$ENT = '%&#xD;D11/D1';
							break;
						case '3' :
							$ENT =  'Ecart en&#xD;nombre&#xD;D10-D11';
							break;
						case '4' :
							$ENT =  'Ecart en&#xD;%&#xD;D10-D11';
							break;						
                        case '5' :
							$ENT =  'Ecart en&#xD;nombre&#xD;D11-D10';
							break;
						case '6' :
							$ENT =  'Ecart en&#xD;%&#xD;D11-D10';
							break;
						default :
							$ENT =  'Ratio 11';
							break;
					}
                    return $ENT;
                   
				
				// ?>
			EVAL]]]></value>
		</PROPERTY>        
        <PROPERTY name="ENT_RATIO12">
			<value><![CDATA[[EVAL 
				// <?php
                    $ENT = '';

					switch(substr('[LS_DATA3]',11,1)) {
						case '2' :
							$ENT = '%&#xD;D12/D11';
							break;						
                        case '7' :
							$ENT = '%&#xD;D12/D1';
							break;
						case '3' :
							$ENT =  'Ecart en&#xD;nombre&#xD;D11-D12';
							break;
						case '4' :
							$ENT =  'Ecart en&#xD;%&#xD;D11-D12';
							break;						
                        case '5' :
							$ENT =  'Ecart en&#xD;nombre&#xD;D12-D11';
							break;
						case '6' :
							$ENT =  'Ecart en&#xD;%&#xD;D12-D11';
							break;
						default :
							$ENT =  'Ratio 12';
							break;
					}
                    return $ENT;
                   
				
				// ?>
			EVAL]]]></value>
		</PROPERTY>        
        <PROPERTY name="ENT_RATIO13">
			<value><![CDATA[[EVAL 
				// <?php
                    $ENT = '';

					switch(substr('[LS_DATA3]',12,1)) {
						case '2' :
							$ENT = '%&#xD;D13/D12';
							break;						
                        case '7' :
							$ENT = '%&#xD;D13/D1';
							break;
						case '3' :
							$ENT =  'Ecart en&#xD;nombre&#xD;D12-D13';
							break;
						case '4' :
							$ENT =  'Ecart en&#xD;%&#xD;D12-D13';
							break;						
                        case '5' :
							$ENT =  'Ecart en&#xD;nombre&#xD;D13-D12';
							break;
						case '6' :
							$ENT =  'Ecart en&#xD;%&#xD;D13-D12';
							break;
						default :
							$ENT =  'Ratio 13';
							break;
					}
                    return $ENT;
                   
				
				// ?>
			EVAL]]]></value>
		</PROPERTY>        
        <PROPERTY name="ENT_RATIO14">
			<value><![CDATA[[EVAL 
				// <?php
                    $ENT = '';

					switch(substr('[LS_DATA3]',13,1)) {
						case '2' :
							$ENT = '%&#xD;D14/D13';
							break;						
                        case '7' :
							$ENT = '%&#xD;D14/D1';
							break;
						case '3' :
							$ENT =  'Ecart en&#xD;nombre&#xD;D13-D14';
							break;
						case '4' :
							$ENT =  'Ecart en&#xD;%&#xD;D13-D14';
							break;						
                        case '5' :
							$ENT =  'Ecart en&#xD;nombre&#xD;D14-D13';
							break;
						case '6' :
							$ENT =  'Ecart en&#xD;%&#xD;D14-D13';
							break;
						default :
							$ENT =  'Ratio 14';
							break;
					}
                    return $ENT;
                   
				
				// ?>
			EVAL]]]></value>
		</PROPERTY>        
        <PROPERTY name="ENT_RATIO15">
			<value><![CDATA[[EVAL 
				// <?php
                    $ENT = '';

					switch(substr('[LS_DATA3]',14,1)) {
						case '2' :
							$ENT = '%&#xD;D15/D14';
							break;						
                        case '7' :
							$ENT = '%&#xD;D15/D1';
							break;
						case '3' :
							$ENT =  'Ecart en&#xD;nombre&#xD;D14-D15';
							break;
						case '4' :
							$ENT =  'Ecart en&#xD;%&#xD;D14-D15';
							break;						
                        case '5' :
							$ENT =  'Ecart en&#xD;nombre&#xD;D15-D14';
							break;
						case '6' :
							$ENT =  'Ecart en&#xD;%&#xD;D15-D14';
							break;
						default :
							$ENT =  'Ratio 15';
							break;
					}
                    return $ENT;
                   
				
				// ?>
			EVAL]]]></value>
		</PROPERTY>        
        <PROPERTY name="FMT_RATIO">
			<value><![CDATA[[EVAL 
				// <?php
                    $FMT = '0';
                    $i = 1;
                    for($i = 1;$i <= 14 ; $i++){
                        if(substr('[LS_DATA3]',$i,1)== '2' || substr('[LS_DATA3]',$i,1)== '4' || substr('[LS_DATA3]',$i,1)== '6'|| substr('[LS_DATA3]',$i,1)== '7'){
                            $FMT .='P'; 
                        }else {
                            $FMT .='E';
                        }
                    }
                    return $FMT;

                   
				
				// ?>
			EVAL]]]></value>
		</PROPERTY>		

	</VIEWPROPERTIES>
	<SELECTIONS label="Paramètres de l'analyse">
		<GROUP label="Période">
			<FIELD name="QUELLEDATE" label="" UI="combo" width="130" default="1" default2="date_fin">
				<OPTION label="Date activité" data="1" data2="v_factures_lignes_c_4.date_fin"/>
				<OPTION label="Date sortie" data="2" data2="v_factures_lignes_c_4.date_fin_facture"/>
				<OPTION label="Date facture" data="3" data2="v_factures_lignes_c_4.date_facture"/>
				<OPTION label="Date vente" data="4" data2="v_factures_lignes_c_4.date_vente"/>
			</FIELD>
			<FIELD name="ALIAS_PERIODE" label="" UI="combo" width="220" default="CUM_LAST_MONTH" tree="true" globalListProvider="ALIAS_PERIODE" />
            <FIELD name="PERIODE" label="De" UI="combo" tree="true" width="150" default="2009-01-01" globalListProvider="DATE_DEBUT" >
			</FIELD>
			<FIELD name="TOPERIODE" label="à" UI="combo" tree="true" width="150" default="2009-01-31" globalListProvider="DATE_FIN" >
			</FIELD>
		</GROUP>
		<GROUP>
			<FIELD name="GROUPBY" label="Regroupement" UI="combo" default="PRF" tree="true" width="300">
				<OPTION label="PRESTATIONS_GROUPBY" data="" globalListProvider="PRESTATIONS_GROUPBY"/>
			</FIELD>
			<FIELD name="GROUPBY_TAB" label="Présentation" UI="combo" default="AUTO" visible="= SELECT.GROUPBY_2 != '-1' ">
				<OPTION label="Automatique" data="AUTO"/>
				<OPTION label="Arbre" data="TREE"/>
				<OPTION label="Onglet" data="TAB"/>
			</FIELD>
		</GROUP>
		<GROUP>
			<FIELD name="GROUPBY_2" label="" UI="combo" default="-1" tree="true" width="300">
				<OPTION label="" data="-1"/>
				<OPTION label="PRESTATIONS_GROUPBY" data="" globalListProvider="PRESTATIONS_GROUPBY"/>
			</FIELD>
		</GROUP>
		<GROUP>
			<FIELD name="GROUPBY_3" label="" UI="combo" default="-1" tree="true" width="300">
				<OPTION label="" data="-1"/>
				<OPTION label="PRESTATIONS_GROUPBY" data="" globalListProvider="PRESTATIONS_GROUPBY"/>
			</FIELD>
		</GROUP>
		<GROUP>
			<FIELD name="LGROUPBY" label="Regroupement" UI="combo" default="-1" width="200" tree="true" visible="false">
				<OPTION label="PRESTATIONS_GROUPBY" data="" globalListProvider="PRESTATIONS_GROUPBY"/>
			</FIELD>			
			<FIELD name="LGROUPBY_2" label="Regroupement" UI="combo" default="-1" width="200" tree="true" visible="false">
				<OPTION label="PRESTATIONS_GROUPBY" data="" globalListProvider="PRESTATIONS_GROUPBY"/>
			</FIELD>				
			<FIELD name="LGROUPBY_3" label="Regroupement" UI="combo" default="-1" width="200" tree="true" visible="false">
				<OPTION label="PRESTATIONS_GROUPBY" data="" globalListProvider="PRESTATIONS_GROUPBY"/>
			</FIELD>			
		</GROUP>		

		<GROUP label="Champs prédéfinis">
			<FIELD name="LS_DATA" tree="true" label="" UI="combo" default="-1" default2="0" width="450">
				<OPTION label="LS_DATA" data="" globalListProvider="LS_DATA"/>
			</FIELD>
		</GROUP>		
		<GROUP label="">
			<FIELD name="DATA1" tree="true" label="Données:          D1" UI="combo" default="MTFAC"  width="400" showIfNotDefault="true" printable="false" visible="= (SELECT.LS_DATA == '-1')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
            <FIELD name="RATIO1" label="" UI="combo" width="180" default="0" default2="0" tree="true" printable="false"  visible="= SELECT.LS_DATA == '-1'" showIfNotDefault="true">
				<OPTION label="Pas de ratio 1" data="0" />		
                <OPTION label="% Total" data="1" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente" data4="P" treeLevel="1"/>
			</FIELD>
			<FIELD name="DATA2" tree="true" label="|     D2" UI="combo" default="0" default2="0" width="400" showIfNotDefault="true" printable="false" visible="= (SELECT.LS_DATA == '-1') &amp;&amp; (SELECT.DATA1 != '0')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
            <FIELD name="RATIO2" label="" UI="combo" width="180" default="0" default2="0" tree="true" printable="false"  visible="= SELECT.LS_DATA == '-1' &amp;&amp; (SELECT.DATA1 != '0')" showIfNotDefault="true">
				<OPTION label="Pas de ratio 2" data="0" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente" data4="P" data5="%&#xD;Total" treeLevel="1" />
                <OPTION label="% Total" data="1" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente" data4="P" data5="%&#xD;Total" treeLevel="1"/>
                <OPTION label="% D2 / D1" data="2" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (D2 / D1)*100" data4="P" data5="%&#xD;D2/D1" treeLevel="1"/>
                <OPTION label="Ecart en nombre D1-D2" data="3" data2="#,0" data3="Ecart en nombre entre les deux colonnes précédentes D1 - D2" data4="N" data5="Ecart en&#xD;nombre &#xD;D1-D2" treeLevel="1"/>
                <OPTION label="Ecart en % D1-D2" data="4" data2="#,00%" data3="Ecart en % entre les deux colonnes précédentes D1-D2" data4="P" data5="Ecart en&#xD; %&#xD; D1-D2" treeLevel="1"/>                
                <OPTION label="Ecart en nombre D2-D1" data="5" data2="#,0" data3="Ecart en nombre entre les deux colonnes précédentes D2 - D1" data4="N" data5="Ecart en&#xD;nombre&#xD;D2-D1" treeLevel="1"/>
                <OPTION label="Ecart en % D2-D1" data="6" data2="#,00%" data3="Ecart en % entre les deux colonnes précédentes D2 - D1" data4="P" data5="Ecart en&#xD; % &#xD;D2-D1 " treeLevel="1"/>
			</FIELD>
		</GROUP>
		<GROUP label="">
			<FIELD name="DATA3" tree="true" label="                        D3" UI="combo" default="0" default2="0" width="400" showIfNotDefault="true" printable="false" visible="= (SELECT.LS_DATA == '-1') &amp;&amp;  (SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA2 != '0')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
            <FIELD name="RATIO3" label="" UI="combo" width="180" default="0" default2="" tree="true" printable="false"  showIfNotDefault="true" visible="= SELECT.LS_DATA == '-1' &amp;&amp; (SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA2 != '0')">	
				<OPTION label="Pas de ratio 3" data="0" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente" data4="P" data5="%&#xD;Total" treeLevel="1" />		
                <OPTION label="% Total" data="1" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (donnée 3)" data4="P" data5="%&#xD;Total" treeLevel="1"/>
                <OPTION label="% D3 / D2" data="2" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (D3 / D2)*100" data4="P" data5="%&#xD;D3/D2" treeLevel="1"/>              
                <OPTION label="% D3 / D1" data="7" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (D3 / D1)*100" data4="P" data5="%&#xD;D3/D1" treeLevel="1"/>              
                <OPTION label="Ecart en nombre D2-D3" data="3" data2="#,0" data3="Ecart en nombre entre les deux colonnes précédentes (Donnée 2 - Donnée 3)" data4="N" data5="Ecart en&#xD;nombre&#xD;D2-D3" treeLevel="1"/>
                <OPTION label="Ecart en % D2-D3" data="4" data2="#,00%" data3="Ecart en % entre les deux colonnes précédentes (Donnée 2 - Donnée 3)" data4="P" data5="Ecart en&#xD;%&#xD;D2-D3" treeLevel="1"/>                
                <OPTION label="Ecart en nombre D3-D2" data="5" data2="#,0" data3="Ecart en nombre entre les deux colonnes précédentes ( Donnée 3 - donnée 2 )" data4="N" data5="Ecart en&#xD;nombre&#xD;D3-D2" treeLevel="1"/>
                <OPTION label="Ecart en % D3-D2" data="6" data2="#,00%" data3="Ecart en % entre les deux colonnes précédentes ( Donnée 3 - donnée 2 )" data4="P" data5="Ecart en&#xD;%&#xD;D3-D2" treeLevel="1"/>
			</FIELD>
			<FIELD name="DATA4" tree="true" label="|     D4" UI="combo" default="0" default2="0" width="400" showIfNotDefault="true" printable="false" visible="= (SELECT.LS_DATA == '-1') &amp;&amp;  (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
            <FIELD name="RATIO4" label="" UI="combo" width="180" default="0" default2="" tree="true" printable="false" showIfNotDefault="true"  visible="= SELECT.LS_DATA == '-1' &amp;&amp; (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0')">
				<OPTION label="Pas de ratio 4" data="0" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente" data4="P" data5="% Total" treeLevel="1"  />		
                <OPTION label="% Total" data="1" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (donnée 4)" data4="P" data5="%&#xD;Total" treeLevel="1"/>
                <OPTION label="% D4 / D3" data="2" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (D4 / D3)*100" data4="P" data5="%&#xD;D4/D3" treeLevel="1"/>                
                <OPTION label="% D4 / D1" data="7" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (D4 / D1)*100" data4="P" data5="%&#xD;D4/D1" treeLevel="1"/>                
                <OPTION label="Ecart en nombre D3-D4" data="3" data2="#,0" data3="Ecart en nombre entre les deux colonnes précédentes (Donnée 3 - Donnée 4)" data4="N" data5="Ecart en&#xD;nombre&#xD;D3-D4" treeLevel="1"/>
                <OPTION label="Ecart en % D3-D4" data="4" data2="#,00%" data3="Ecart en % entre les deux colonnes précédentes (Donnée 3 - Donnée 4)" data4="P" data5="Ecart en&#xD;%&#xD;D3-D4" treeLevel="1"/>                
                <OPTION label="Ecart en nombre D4-D3" data="5" data2="#,0" data3="Ecart en nombre entre les deux colonnes précédentes ( Donnée 4 - donnée 3 )" data4="N" data5="Ecart en&#xD;nombre&#xD;D4-D3" treeLevel="1"/>
                <OPTION label="Ecart en % D4-D3" data="6" data2="#,00%" data3="Ecart en % entre les deux colonnes précédentes ( Donnée 4 - donnée 3 )" data4="P" data5="Ecart en&#xD;%&#xD;D4-D3" treeLevel="1"/>
			</FIELD>
		</GROUP>				
		<GROUP label="">
			<FIELD name="DATA5" tree="true" label="                        D5" UI="combo" default="0" default2="0" width="400" showIfNotDefault="true" printable="false" visible="= (SELECT.LS_DATA == '-1') &amp;&amp;  (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA4 != '0')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
            <FIELD name="RATIO5" label="" UI="combo" width="180" default="0" default2="" tree="true" printable="false" showIfNotDefault="true"  visible="= SELECT.LS_DATA == '-1' &amp;&amp; (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA4 != '0')">	
				<OPTION label="Pas de ratio 5" data="0" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente" data4="P" data5="% Total" treeLevel="1"  />		
                <OPTION label="% Total" data="1" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (donnée 5)" data4="P" data5="%&#xD;Total" treeLevel="1"/>
                <OPTION label="% D5 / D4" data="2" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (D5 / D4)*100" data4="P" data5="%&#xD;D5/D4" treeLevel="1"/>                
                <OPTION label="% D5 / D1" data="7" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (D5 / D1)*100" data4="P" data5="%&#xD;D5/D1" treeLevel="1"/>                
                <OPTION label="Ecart en nombre D4-D5" data="3" data2="#,0" data3="Ecart en nombre entre les deux colonnes précédentes (Donnée 4 - Donnée 5)" data4="N" data5="Ecart en&#xD;nombre&#xD;D4-D5" treeLevel="1"/>
                <OPTION label="Ecart en % D4-D5" data="4" data2="#,00%" data3="Ecart en % entre les deux colonnes précédentes (Donnée 4 - Donnée 5)" data4="P" data5="Ecart en&#xD;%&#xD;D4-D5" treeLevel="1"/>                
                <OPTION label="Ecart en nombre D5-D4" data="5" data2="#,0" data3="Ecart en nombre entre les deux colonnes précédentes ( Donnée 5 - donnée 4 )" data4="N" data5="Ecart en&#xD;nombre&#xD;D5-D4" treeLevel="1"/>
                <OPTION label="Ecart en % D5-D4" data="6" data2="#,00%" data3="Ecart en % entre les deux colonnes précédentes ( Donnée 5 - donnée 4 )" data4="P" data5="Ecart en&#xD;%&#xD;D5-D4" treeLevel="1"/>
			</FIELD> 
			<FIELD name="DATA6" tree="true" label="|     D6" UI="combo" default="0" default2="0" width="400"  showIfNotDefault="true" printable="false" visible="= (SELECT.LS_DATA == '-1') &amp;&amp;  (SELECT.LS_DATA != '0') &amp;&amp;  (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA4 != '0') &amp;&amp; ( SELECT.DATA5 != '0')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
            <FIELD name="RATIO6" label="" UI="combo" width="180" default="0" default2="" tree="true" printable="false" showIfNotDefault="true"  visible="= SELECT.LS_DATA == '-1' &amp;&amp; (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="Pas de ratio 6" data="0" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente" data4="P" data5="% Total" treeLevel="1"  />		
                <OPTION label="% Total" data="1" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (donnée 6)" data4="P" data5="%&#xD;Total" treeLevel="1"/>
                <OPTION label="% D6 / D5" data="2" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (D6 / D5)*100" data4="P" data5="%&#xD;D6/D5" treeLevel="1"/>                
                <OPTION label="% D6 / D1" data="7" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (D6 / D1)*100" data4="P" data5="%&#xD;D6/D1" treeLevel="1"/>                
                <OPTION label="Ecart en nombre D5-D6" data="3" data2="#,0" data3="Ecart en nombre entre les deux colonnes précédentes (Donnée 5 - Donnée 6)" data4="N" data5="Ecart en&#xD;nombre&#xD;D5-D6" treeLevel="1"/>
                <OPTION label="Ecart en % D5-D6" data="4" data2="#,00%" data3="Ecart en % entre les deux colonnes précédentes (Donnée 5 - Donnée 6)" data4="P" data5="Ecart en&#xD;%&#xD;D5-D6" treeLevel="1"/>                
                <OPTION label="Ecart en nombre D6-D5" data="5" data2="#,0" data3="Ecart en nombre entre les deux colonnes précédentes ( Donnée 6 - donnée 5 )" data4="N" data5="Ecart en&#xD;nombre&#xD;D6-D5" treeLevel="1"/>
                <OPTION label="Ecart en % D6-D5" data="6" data2="#,00%" data3="Ecart en % entre les deux colonnes précédentes ( Donnée 6 - donnée 5 )" data4="P" data5="Ecart en&#xD;%&#xD;D6-D5" treeLevel="1"/>
			</FIELD>
		</GROUP>			
		<GROUP label="">
			<FIELD name="DATA7" tree="true" label="                        D7" UI="combo" default="0" default2="0" width="400" showIfNotDefault="true" printable="false" visible="= (SELECT.LS_DATA == '-1') &amp;&amp;  (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA4 != '0') &amp;&amp; ( SELECT.DATA5 != '0') &amp;&amp; ( SELECT.DATA6 != '0')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
            <FIELD name="RATIO7" label="" UI="combo" width="180" default="0" default2="" tree="true" printable="false" showIfNotDefault="true"  visible="= SELECT.LS_DATA == '-1' &amp;&amp; (SELECT.DATA5 != '0') &amp;&amp; ( SELECT.DATA6 != '0') &amp;&amp; ( SELECT.DATA4 != '0') &amp;&amp; (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0')">
				<OPTION label="Pas de ratio 7" data="0" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente" data4="P" data5="%&#xD;Total" treeLevel="1"  />		
                <OPTION label="% Total" data="1" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (donnée 7)" data4="P" data5="%&#xD;Total" treeLevel="1"/>
                <OPTION label="% D7 / D6" data="2" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (D7 / D6)*100" data4="P" data5="%&#xD;D7/D6" treeLevel="1"/>                
                <OPTION label="% D7 / D1" data="7" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (D7 / D1)*100" data4="P" data5="%&#xD;D7/D1" treeLevel="1"/>                
                <OPTION label="Ecart en nombre D6-D7" data="3" data2="#,0" data3="Ecart en nombre entre les deux colonnes précédentes (Donnée 6 - Donnée 7)" data4="N" data5="Ecart en&#xD;nombre&#xD;D6-D7" treeLevel="1"/>
                <OPTION label="Ecart en % D6-D7" data="4" data2="#,00%" data3="Ecart en % entre les deux colonnes précédentes (Donnée 6 - Donnée 7)" data4="P" data5="Ecart en&#xD;%&#xD;D6-D7" treeLevel="1"/>                
                <OPTION label="Ecart en nombre D7-D6" data="5" data2="#,0" data3="Ecart en nombre entre les deux colonnes précédentes ( Donnée 7 - donnée 6 )" data4="N" data5="Ecart en&#xD;nombre&#xD;D7-D6" treeLevel="1"/>
                <OPTION label="Ecart en % D7-D6" data="6" data2="#,00%" data3="Ecart en % entre les deux colonnes précédentes ( Donnée 7 - donnée 6 )" data4="P" data5="Ecart en&#xD;%&#xD;D7-D6" treeLevel="1"/>
			</FIELD>
			<FIELD name="DATA8" tree="true" label="|     D8" UI="combo" default="0" default2="0" width="400"  showIfNotDefault="true" printable="false" visible="= (SELECT.LS_DATA == '-1') &amp;&amp; (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA4 != '0') &amp;&amp; ( SELECT.DATA5 != '0') &amp;&amp; ( SELECT.DATA6 != '0') &amp;&amp; ( SELECT.DATA7 != '0')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
            <FIELD name="RATIO8" label="" UI="combo" width="180" default="0" default2="" tree="true" printable="false" showIfNotDefault="true"  visible="= SELECT.LS_DATA == '-1' &amp;&amp; (SELECT.DATA5 != '0') &amp;&amp; ( SELECT.DATA6 != '0') &amp;&amp; ( SELECT.DATA4 != '0') &amp;&amp; (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA7 != '0')">
				<OPTION label="Pas de ratio 8" data="0" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente" data4="P" data5="%&#xD;Total" treeLevel="1"  />		
                <OPTION label="% Total" data="1" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (donnée 8)" data4="P" data5="%&#xD;Total" treeLevel="1"/>
                <OPTION label="% D8 / D7" data="2" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (D8 / D7)*100" data4="P" data5="%&#xD;D8/D7" treeLevel="1"/>                
                <OPTION label="% D8 / D1" data="7" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (D8 / D1)*100" data4="P" data5="%&#xD;D8/D1" treeLevel="1"/>                
                <OPTION label="Ecart en nombre D7-D8" data="3" data2="#,0" data3="Ecart en nombre entre les deux colonnes précédentes (Donnée 7 - Donnée 8)" data4="N" data5="Ecart en&#xD;nombre&#xD;D7-D8" treeLevel="1"/>
                <OPTION label="Ecart en % D7-D8" data="4" data2="#,00%" data3="Ecart en % entre les deux colonnes précédentes (Donnée 7 - Donnée 8)" data4="P" data5="Ecart en&#xD;%&#xD;D7-D8" treeLevel="1"/>                
                <OPTION label="Ecart en nombre D8-D7" data="5" data2="#,0" data3="Ecart en nombre entre les deux colonnes précédentes ( Donnée 8 - donnée 7 )" data4="N" data5="Ecart en&#xD;nombre&#xD;D8-D7" treeLevel="1"/>
                <OPTION label="Ecart en % D8-D7" data="6" data2="#,00%" data3="Ecart en % entre les deux colonnes précédentes ( Donnée 8 - donnée 7 )" data4="P" data5="Ecart en&#xD;%&#xD;D8-D7" treeLevel="1"/>
			</FIELD>
		</GROUP>			
		<GROUP label="">
			<FIELD name="DATA9" tree="true" label="                        D9" UI="combo" default="0" default2="0" width="400" showIfNotDefault="true" printable="false" visible="= (SELECT.LS_DATA == '-1') &amp;&amp; (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA4 != '0') &amp;&amp; ( SELECT.DATA5 != '0') &amp;&amp; ( SELECT.DATA6 != '0') &amp;&amp; ( SELECT.DATA7 != '0') &amp;&amp; ( SELECT.DATA8 != '0')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
            <FIELD name="RATIO9" label="" UI="combo" width="180" default="0" default2="" tree="true" printable="false" showIfNotDefault="true"  visible="= SELECT.LS_DATA == '-1' &amp;&amp; (SELECT.DATA5 != '0') &amp;&amp; ( SELECT.DATA6 != '0') &amp;&amp; ( SELECT.DATA4 != '0') &amp;&amp; (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA7 != '0') &amp;&amp; ( SELECT.DATA8 != '0')">	
				<OPTION label="Pas de ratio 9" data="0" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente" data4="P" data5="%&#xD;Total" treeLevel="1"  />		
                <OPTION label="% Total" data="1" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (donnée 9)" data4="P" data5="%&#xD;Total" treeLevel="1"/>
                <OPTION label="% D9 / D8" data="2" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (D9 / D8)*100" data4="P" data5="%&#xD;D9/D8" treeLevel="1"/>                
                <OPTION label="% D9 / D1" data="7" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (D9 / D1)*100" data4="P" data5="%&#xD;D9/D1" treeLevel="1"/>                
                <OPTION label="Ecart en nombre D8-D9" data="3" data2="#,0" data3="Ecart en nombre entre les deux colonnes précédentes (Donnée 8 - Donnée 9)" data4="N" data5="Ecart en&#xD;nombre&#xD;D8-D9" treeLevel="1"/>
                <OPTION label="Ecart en % D8-D9" data="4" data2="#,00%" data3="Ecart en % entre les deux colonnes précédentes (Donnée 8 - Donnée 9)" data4="P" data5="Ecart en %&#xD;D8-D9" treeLevel="1"/>                
                <OPTION label="Ecart en nombre D9-D8" data="5" data2="#,0" data3="Ecart en nombre entre les deux colonnes précédentes ( Donnée 9 - donnée 8 )" data4="N" data5="Ecart en&#xD;nombre&#xD;D9-D8" treeLevel="1"/>
                <OPTION label="Ecart en % D9-D8" data="6" data2="#,00%" data3="Ecart en % entre les deux colonnes précédentes ( Donnée 9 - donnée 8 )" data4="P" data5="Ecart en&#xD;%&#xD;D9-D8" treeLevel="1"/>
			</FIELD>
			<FIELD name="DATA10" tree="true" label="|   D10" UI="combo" default="0" default2="0" width="400"  showIfNotDefault="true" printable="false" visible="= (SELECT.LS_DATA == '-1') &amp;&amp; (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA4 != '0') &amp;&amp; ( SELECT.DATA5 != '0') &amp;&amp; ( SELECT.DATA6 != '0') &amp;&amp; ( SELECT.DATA7 != '0') &amp;&amp; ( SELECT.DATA8 != '0') &amp;&amp; ( SELECT.DATA9 != '0')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
            <FIELD name="RATIO10" label="" UI="combo" width="180" default="0" default2="" tree="true" printable="false" showIfNotDefault="true"  visible="= SELECT.LS_DATA == '-1' &amp;&amp; (SELECT.DATA9 != '0') &amp;&amp; ( SELECT.DATA8 != '0') &amp;&amp; ( SELECT.DATA7 != '0') &amp;&amp; (SELECT.DATA5 != '0') &amp;&amp; ( SELECT.DATA6 != '0') &amp;&amp; ( SELECT.DATA4 != '0') &amp;&amp; (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0')">		
				<OPTION label="Pas de ratio 10" data="0" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente" data4="P" data5="%&#xD;Total" treeLevel="1"  />		
                <OPTION label="% Total" data="1" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (donnée 10)" data4="P" data5="%&#xD;Total" treeLevel="1"/>
                <OPTION label="% D10 / D9" data="2" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (D10 / D9)*100" data4="P" data5="%&#xD;D10/D9" treeLevel="1"/>                
                <OPTION label="% D10 / D1" data="7" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (D10 / D1)*100" data4="P" data5="%&#xD;D10/D1" treeLevel="1"/>                
                <OPTION label="Ecart en nombre D9-D10" data="3" data2="#,0" data3="Ecart en nombre entre les deux colonnes précédentes (Donnée 9 - Donnée 10)" data4="N" data5="Ecart en&#xD;nombre&#xD;D9-D10" treeLevel="1"/>
                <OPTION label="Ecart en % D9-D10" data="4" data2="#,00%" data3="Ecart en % entre les deux colonnes précédentes (Donnée 9 - Donnée 10)" data4="P" data5="Ecart en&#xD;%&#xD;D9-D10" treeLevel="1"/>                
                <OPTION label="Ecart en nombre D10-D9" data="5" data2="#,0" data3="Ecart en nombre entre les deux colonnes précédentes ( Donnée 10 - donnée 9 )" data4="N" data5="Ecart en&#xD;nombre&#xD;D10-D9" treeLevel="1"/>
                <OPTION label="Ecart en % D10-D9" data="6" data2="#,00%" data3="Ecart en % entre les deux colonnes précédentes ( Donnée 10 - donnée 9 )" data4="P" data5="Ecart en&#xD;%&#xD;D10-D9" treeLevel="1"/>
			</FIELD>
		</GROUP>			
		<GROUP label="">
			<FIELD name="DATA011" tree="true" label="                      D11" UI="combo" default="0" default2="0" width="400" showIfNotDefault="true" printable="false" visible="= (SELECT.LS_DATA == '-1') &amp;&amp; (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA4 != '0') &amp;&amp; ( SELECT.DATA5 != '0') &amp;&amp; ( SELECT.DATA6 != '0') &amp;&amp; ( SELECT.DATA7 != '0') &amp;&amp; ( SELECT.DATA8 != '0') &amp;&amp; ( SELECT.DATA9 != '0') &amp;&amp; ( SELECT.DATA10 != '0')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
            <FIELD name="RATIO011" label="" UI="combo" width="180" default="0" default2="" tree="true" printable="false" showIfNotDefault="true"  visible="= SELECT.LS_DATA == '-1' &amp;&amp; (SELECT.DATA9 != '0') &amp;&amp; ( SELECT.DATA8 != '0') &amp;&amp; ( SELECT.DATA7 != '0')  &amp;&amp; (SELECT.DATA5 != '0') &amp;&amp; ( SELECT.DATA6 != '0') &amp;&amp; ( SELECT.DATA4 != '0') &amp;&amp; (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA10 != '0')">		
				<OPTION label="Pas de ratio 11" data="0" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente" data4="P" data5="%&#xD;Total" treeLevel="1"  />		
                <OPTION label="% Total" data="1" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (donnée 11)" data4="P" data5="%&#xD;Total" treeLevel="1"/>
                <OPTION label="% D11 / D10" data="2" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (D11 / D10)*100" data4="P" data5="%&#xD;D11/D10" treeLevel="1"/>                
                <OPTION label="% D11 / D1" data="7" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (D11 / D1)*100" data4="P" data5="%&#xD;D11/D1" treeLevel="1"/>                
                <OPTION label="Ecart en nombre D10-D11" data="3" data2="#,0" data3="Ecart en nombre entre les deux colonnes précédentes (Donnée 10 - Donnée 11)" data4="N" data5="Ecart en&#xD;nombre&#xD;D10-D11" treeLevel="1"/>
                <OPTION label="Ecart en % D10-D11" data="4" data2="#,00%" data3="Ecart en % entre les deux colonnes précédentes (Donnée 10 - Donnée 11)" data4="P" data5="Ecart en&#xD;%&#xD;D10-D11" treeLevel="1"/>                
                <OPTION label="Ecart en nombre D11-D10" data="5" data2="#,0" data3="Ecart en nombre entre les deux colonnes précédentes ( Donnée 11 - donnée 10 )" data4="N" data5="Ecart en&#xD;nombre&#xD;D11-D10" treeLevel="1"/>
                <OPTION label="Ecart en % D11-D10" data="6" data2="#,00%" data3="Ecart en % entre les deux colonnes précédentes ( Donnée 11 - donnée 10 )" data4="P" data5="Ecart en&#xD;%&#xD;D11-D10" treeLevel="1"/>
			</FIELD>
			<FIELD name="DATA012" tree="true" label="|   D12" UI="combo" default="0" default2="0" width="400"  showIfNotDefault="true" printable="false" visible="= (SELECT.LS_DATA == '-1') &amp;&amp; (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')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
			<FIELD name="RATIO012" label="" UI="combo" width="180" default="0" default2="" tree="true" printable="false" showIfNotDefault="true"  visible="= SELECT.LS_DATA == '-1' &amp;&amp; (SELECT.DATA9 != '0') &amp;&amp; ( SELECT.DATA8 != '0') &amp;&amp; ( SELECT.DATA7 != '0') &amp;&amp; (SELECT.DATA5 != '0') &amp;&amp; ( SELECT.DATA6 != '0') &amp;&amp; ( SELECT.DATA4 != '0') &amp;&amp; (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA10 != '0') &amp;&amp; ( SELECT.DATA011 != '0')">		
				<OPTION label="Pas de ratio 12" data="0" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente" data4="P" data5="%&#xD;Total" treeLevel="1"  />		
                <OPTION label="% Total" data="1" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (donnée 12)" data4="P" data5="%&#xD;Total" treeLevel="1"/>
                <OPTION label="% D12 / D11" data="2" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (D12 / D11)*100" data4="P" data5="%&#xD;D12/D11" treeLevel="1"/>                
                <OPTION label="% D12 / D1" data="7" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (D12 / D1)*100" data4="P" data5="%&#xD;D12/D1" treeLevel="1"/>                
                <OPTION label="Ecart en nombre D11-D12" data="3" data2="#,0" data3="Ecart en nombre entre les deux colonnes précédentes (Donnée 11 - Donnée 12)" data4="N" data5="Ecart en&#xD;nombre&#xD;D11-D12" treeLevel="1"/>
                <OPTION label="Ecart en % D11-D12" data="4" data2="#,00%" data3="Ecart en % entre les deux colonnes précédentes (Donnée 11 - Donnée 12)" data4="P" data5="Ecart en&#xD;%&#xD;D11-D12" treeLevel="1"/>                
                <OPTION label="Ecart en nombre D12-D11" data="5" data2="#,0" data3="Ecart en nombre entre les deux colonnes précédentes ( Donnée 12 - donnée 11 )" data4="N" data5="Ecart en&#xD;nombre&#xD;D12-D11" treeLevel="1"/>
                <OPTION label="Ecart en % D12-D11" data="6" data2="#,00%" data3="Ecart en % entre les deux colonnes précédentes ( Donnée 12 - donnée 11 )" data4="P" data5="Ecart en&#xD;%&#xD;D12-D11" treeLevel="1"/>
			</FIELD>
		</GROUP>		
		<GROUP label="">
			<FIELD name="DATA013" tree="true" label="                      D13" UI="combo" default="0" default2="0" width="400" showIfNotDefault="true" printable="false" visible="= (SELECT.LS_DATA == '-1') &amp;&amp; (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA4 != '0') &amp;&amp; ( SELECT.DATA5 != '0') &amp;&amp; ( SELECT.DATA6 != '0') &amp;&amp; ( SELECT.DATA7 != '0') &amp;&amp; ( SELECT.DATA8 != '0') &amp;&amp; ( SELECT.DATA9 != '0') &amp;&amp; ( SELECT.DATA10 != '0') &amp;&amp; ( SELECT.DATA011 != '0') &amp;&amp; ( SELECT.DATA012 != '0')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
            <FIELD name="RATIO013" label="" UI="combo" width="180" default="0" default2="" tree="true" printable="false" showIfNotDefault="true"  visible="= SELECT.LS_DATA == '-1' &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.DATA5 != '0') &amp;&amp; ( SELECT.DATA6 != '0') &amp;&amp; ( SELECT.DATA4 != '0') &amp;&amp; (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0')">		
				<OPTION label="Pas de ratio 13" data="0" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente" data4="P" data5="%&#xD;Total" treeLevel="1"  />		
                <OPTION label="% Total" data="1" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (donnée 13)" data4="P" data5="%&#xD;Total" treeLevel="1"/>
                <OPTION label="% D13 / D12" data="2" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (D13 / D12)*100" data4="P" data5="%&#xD;D13/D12" treeLevel="1"/>                
                <OPTION label="% D13 / D1" data="7" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (D13 / D1)*100" data4="P" data5="%&#xD;D13/D1" treeLevel="1"/>                
                <OPTION label="Ecart en nombre D12-D13" data="3" data2="#,0" data3="Ecart en nombre entre les deux colonnes précédentes (Donnée 12 - Donnée 13)" data4="N" data5="Ecart en&#xD;nombre&#xD;D12-D13" treeLevel="1"/>
                <OPTION label="Ecart en % D12-D13" data="4" data2="#,00%" data3="Ecart en % entre les deux colonnes précédentes (Donnée 12 - Donnée 13)" data4="P" data5="Ecart en %&#xD;D12-D13" treeLevel="1"/>                
                <OPTION label="Ecart en nombre D13-D12" data="5" data2="#,0" data3="Ecart en nombre entre les deux colonnes précédentes ( Donnée 13 - donnée 12 )" data4="N" data5="Ecart en &#xD;nombre&#xD;D13-D12" treeLevel="1"/>
                <OPTION label="Ecart en % D13-D12" data="6" data2="#,00%" data3="Ecart en % entre les deux colonnes précédentes ( Donnée 13 - donnée 12 )" data4="P" data5="Ecart en &#xD;%&#xD;D13-D12" treeLevel="1"/>
			</FIELD>
			<FIELD name="DATA014" tree="true" label="|   D14" UI="combo" default="0" default2="0" width="400"  showIfNotDefault="true" printable="false" visible="= (SELECT.LS_DATA == '-1') &amp;&amp; (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA4 != '0') &amp;&amp; ( SELECT.DATA5 != '0') &amp;&amp; ( SELECT.DATA6 != '0') &amp;&amp; ( SELECT.DATA7 != '0') &amp;&amp; ( SELECT.DATA8 != '0') &amp;&amp; ( SELECT.DATA9 != '0') &amp;&amp; ( SELECT.DATA10 != '0') &amp;&amp; ( SELECT.DATA011 != '0') &amp;&amp; ( SELECT.DATA012 != '0') &amp;&amp; ( SELECT.DATA013 != '0')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
            <FIELD name="RATIO014" label="" UI="combo" width="180" default="0" default2="" tree="true" printable="false" showIfNotDefault="true"  visible="= SELECT.LS_DATA == '-1' &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.DATA5 != '0') &amp;&amp; ( SELECT.DATA6 != '0') &amp;&amp; ( SELECT.DATA4 != '0') &amp;&amp; (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA10 != '0')">	
				<OPTION label="Pas de ratio 14" data="0" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente" data4="P" data5="%&#xD;Total" treeLevel="1"  />		
                <OPTION label="% Total" data="1" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (donnée 14)" data4="P" data5="%&#xD;Total" treeLevel="1"/>
                <OPTION label="% D14 / D13" data="2" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (D14 / D13)*100" data4="P" data5="%&#xD;D14/D13" treeLevel="1"/>                
                <OPTION label="% D14 / D1" data="7" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (D14 / D1)*100" data4="P" data5="%&#xD;D14/D1" treeLevel="1"/>                
                <OPTION label="Ecart en nombre D13-D14" data="3" data2="#,0" data3="Ecart en nombre entre les deux colonnes précédentes (Donnée 13 - Donnée 14)" data4="N" data5="Ecart en&#xD;nombre&#xD;D13-D14" treeLevel="1"/>
                <OPTION label="Ecart en % D13-D14" data="4" data2="#,00%" data3="Ecart en % entre les deux colonnes précédentes (Donnée 13 - Donnée 14)" data4="P" data5="Ecart en&#xD;%&#xD;D13-D14" treeLevel="1"/>                
                <OPTION label="Ecart en nombre D14-D13" data="5" data2="#,0" data3="Ecart en nombre entre les deux colonnes précédentes ( Donnée 14 - donnée 13 )" data4="N" data5="Ecart en&#xD;nombre&#xD;D14-D13" treeLevel="1"/>
                <OPTION label="Ecart en % D14-D13" data="6" data2="#,00%" data3="Ecart en % entre les deux colonnes précédentes ( Donnée 14 - donnée 13 )" data4="P" data5="Ecart en&#xD;%&#xD;D14-D13" treeLevel="1"/>
			</FIELD>
		</GROUP>			
		<GROUP label="">
			<FIELD name="DATA015" tree="true" label="                      D15" UI="combo" default="0" default2="0" width="400"  showIfNotDefault="true" printable="false" visible="= (SELECT.LS_DATA == '-1') &amp;&amp; (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA4 != '0') &amp;&amp; ( SELECT.DATA5 != '0') &amp;&amp; ( SELECT.DATA6 != '0') &amp;&amp; ( SELECT.DATA7 != '0') &amp;&amp; ( SELECT.DATA8 != '0') &amp;&amp; ( SELECT.DATA9 != '0') &amp;&amp; ( SELECT.DATA10 != '0') &amp;&amp; ( SELECT.DATA011 != '0') &amp;&amp; ( SELECT.DATA012 != '0') &amp;&amp; ( SELECT.DATA013 != '0') &amp;&amp; ( SELECT.DATA014 != '0')">
				<OPTION label="" data="0"/>
				<OPTION label="PRESTATIONS_DATA" data="" globalListProvider="PRESTATIONS_DATA"/>
			</FIELD>
            <FIELD name="RATIO015" label="" UI="combo" width="180" default="0" default2="" tree="true" printable="false" showIfNotDefault="true"  visible="= SELECT.LS_DATA == '-1' &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.DATA5 != '0') &amp;&amp; ( SELECT.DATA6 != '0') &amp;&amp; ( SELECT.DATA4 != '0') &amp;&amp; (SELECT.DATA3 != '0') &amp;&amp; ( SELECT.DATA2 != '0') &amp;&amp; ( SELECT.DATA1 != '0') &amp;&amp; ( SELECT.DATA10 != '0') &amp;&amp; ( SELECT.DATA11 != '0')">		
				<OPTION label="Pas de ratio 15" data="0" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente" data4="P" data5="%&#xD;Total" treeLevel="1"  />		
                <OPTION label="% Total" data="1" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (donnée 15)" data4="P" data5="%&#xD;Total" treeLevel="1"/>
                <OPTION label="% D15 / D14" data="2" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (D15 / D14)*100" data4="P" data5="%&#xD;D15/D14" treeLevel="1"/>                
                <OPTION label="% D15 / D1" data="7" data2="#,00%" data3="Représentation en % des chiffres de la colonne précédente (D15 / D1)*100" data4="P" data5="%&#xD;D15/D1" treeLevel="1"/>                
                <OPTION label="Ecart en nombre D14-D15" data="3" data2="#,0" data3="Ecart en nombre entre les deux colonnes précédentes (Donnée 14 - Donnée 15)" data4="N" data5="Ecart en&#xD;nombre&#xD;D14-D15" treeLevel="1"/>
                <OPTION label="Ecart en % D14-D15" data="4" data2="#,00%" data3="Ecart en % entre les deux colonnes précédentes (Donnée 14 - Donnée 15)" data4="P" data5="Ecart en&#xD;%&#xD;D14-D15" treeLevel="1"/>                
                <OPTION label="Ecart en nombre D15-D14" data="5" data2="#,0" data3="Ecart en nombre entre les deux colonnes précédentes ( Donnée 15 - donnée 14 )" data4="N" data5="Ecart en&#xD;nombre&#xD;D15-D14" treeLevel="1"/>
                <OPTION label="Ecart en % D15-D14" data="6" data2="#,00%" data3="Ecart en % entre les deux colonnes précédentes ( Donnée 15 - donnée 14 )" data4="P" data5="Ecart en&#xD;%&#xD;D15-D14" treeLevel="1"/>
			</FIELD>
		</GROUP>
						
		<GROUP>
			<FIELD name="RUBRIQUE_CA" label="C.A." UI="combo" tree="true" width="200" default="-1" globalListProvider="RUBRIQUES_CA" showIfNotDefault="true" />
			<FIELD name="RUBRIQUE_CODES" label="Codes" UI="text" width="150" default="" showIfNotDefault="true" visible="= SELECT.RUBRIQUE == 'SAISIECODE' " />
		</GROUP>
	</SELECTIONS>
	<SELECTIONS componentName="FILTRES_PRESTATIONS_SOUSSELECTIONS"/>
	<SELECTIONS componentName="FILTRES_PRESTATIONS_SELECTIONS"/>
	<SELECTIONS componentName="FILTRES_SEJOURS_SELECTIONS"/>
	<SELECTIONS componentName="FILTRES_PATIENTS_SELECTIONS"/>
	<SELECTIONS componentName="FILTRES_PASSAGES_SELECTIONS" />
	<QUERIES>
		<QUERY label="">
		    <SQL optimizer="V_SEJOURS_X" optimizer2="V_FACTURES_LIGNES_C_X">
				<select><![CDATA[ 
					
					DROP TABLE IF EXISTS ACTI000063_SEJ;
                    CREATE TEMP TABLE ACTI000063_SEJ AS
                    SELECT v_factures_lignes_c_4.no_sejour
                        FROM #V_FACTURES_LIGNES_C_X#
                        JOIN #V_SEJOURS_X# ON v_sejours_1.no_sejour = v_factures_lignes_c_4.no_sejour
                    WHERE 
                        v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]' 
                        
                        [VIEW.SEJOURS_SELECT]
                        [VIEW.PRESTATIONS_SELECT]
                        [VIEW.PASSAGES_SELECT]
						[VIEW.PATIENTS_SELECT]
                        [VIEW.QMVT_SELECT]
						GROUP BY 1
                    ;
                    CREATE INDEX ACTI000063_SEJ_i1 ON ACTI000063_SEJ USING btree (no_sejour);
				
				
				]]></select>
			</SQL>
            <SQL optimizer="V_SEJOURS_X" optimizer2="V_MOUVEMENTS_SEJOUR_X" >
				<select><![CDATA[

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

					
					CREATE INDEX w_factures_reference_i1 ON w_factures_reference USING btree (no_sejour)
					;

					UPDATE w_factures_reference
					SET date_debut_facture = date(w_factures_reference1.date_fin_facture+interval '1 day')
					FROM w_factures_reference w_factures_reference1
					WHERE w_factures_reference.no_sejour = w_factures_reference1.no_sejour AND
						w_factures_reference.seq = w_factures_reference1.seq +1
					;
					
					CTIPREPAR_TREE 
						WORKTABLE{ACTI000063_MVT} 
						GROUPBY1{[VIEW.GROUPBY_MVT_OID_FIELD],, [VIEW.GROUPBY_MVT_COD_FIELD],, [VIEW.GROUPBY_MVT_TXT_FIELD]} 
						GROUPBY1MODE{[GROUPBY_TAB]} 
						GROUPBY2{[VIEW.GROUPBY_MVT_2_OID_FIELD],, [VIEW.GROUPBY_MVT_2_COD_FIELD],, [VIEW.GROUPBY_MVT_2_TXT_FIELD]} 
						GROUPBY3{[VIEW.GROUPBY_MVT_3_OID_FIELD],, [VIEW.GROUPBY_MVT_3_COD_FIELD],, [VIEW.GROUPBY_MVT_3_TXT_FIELD]} 
					INDICATORS{ 
					/* 01 FACEMC (N)*/
						SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[PERIODE]' AND '[TOPERIODE]'   and  (p_factures_reference.code_facture = '1') THEN equivalent_malade_complet ELSE 0 END),,                   
                                 
				   
                    /* 02 FACNBJ (N)*/
						SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[PERIODE]' AND '[TOPERIODE]' AND (p_factures_reference.code_facture = '1') THEN nb_jours_f + nb_ambulatoires + CASE WHEN type_sejour = '5' THEN nb_seances ELSE 0 END ELSE 0 END),,
      
                    /* 03 VALEMC (N)*/
                        SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[PERIODE]' AND '[TOPERIODE]' AND p_factures_reference.code_facture = '0' THEN equivalent_malade_complet ELSE 0 END),,                    						

                    /* 04 VALNBJ (N)*/
                        SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[PERIODE]' AND '[TOPERIODE]' AND p_factures_reference.code_facture = '0' THEN nb_jours_f + nb_ambulatoires + CASE WHEN type_sejour = '5' THEN nb_seances ELSE 0 END ELSE 0 END),,                    
      
                    /* 05 FAVEMC (N)*/
                        SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[PERIODE]' AND '[TOPERIODE]' then equivalent_malade_complet ELSE 0 END),,                            						
	
                    /* 06 FAVNBJ (N)*/
                        SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[PERIODE]' AND '[TOPERIODE]'    then nb_jours_f + nb_ambulatoires  + CASE WHEN type_sejour = '5' THEN nb_seances ELSE 0 END ELSE 0 END),,
      
					/*07 DMS hospitalisés (N)	*/		
						base.cti_division(SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[PERIODE]' AND '[TOPERIODE]' and v_sejours_1.date_sortie <= '[TOPERIODE]' AND v_sejours_1.code_sorti = 1 then [VIEW.JOURNEES_FIELD] ELSE null END),SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[PERIODE]' AND '[TOPERIODE]' then nb_sorties_directes else 0 end)),,
			
					
					/* 08 FAVNBEMCHC (N)*/
                        SUM(CASE WHEN [VIEW.QUELLEDATE_MVT] BETWEEN '[PERIODE]' AND '[TOPERIODE]' AND type_sejour = '1' then equivalent_malade_complet ELSE 0 END)                           						
      
					}
					
				FROM #V_SEJOURS_X#,#V_MOUVEMENTS_SEJOUR_X#
                    JOIN ACTI000063_SEJ ON v_mouvements_sejour_2.no_sejour = ACTI000063_SEJ.no_sejour
                    JOIN w_factures_reference p_factures_reference ON
                        p_factures_reference.no_sejour = v_mouvements_sejour_2.no_sejour AND
                        (v_mouvements_sejour_2.date BETWEEN p_factures_reference.date_debut_facture AND p_factures_reference.date_fin_facture) 
                    JOIN empty ON 1=1
				WHERE '[QUELLEDATE]' IN ('1','2') AND
						v_mouvements_sejour_2.no_sejour = v_sejours_1.no_sejour AND
						([VIEW.QUELLEDATE_MVT] BETWEEN '[PERIODE]' AND '[TOPERIODE]')
						
						[VIEW.SEJOURS_SELECT] 
                        [VIEW.PASSAGES_SELECT]
						[VIEW.PATIENTS_SELECT]
                        [VIEW.QMVT_SELECT]
                        [VIEW.MOUVEMENTS_SELECT]
						AND v_sejours_1.type_sejour <> '9' 
				
				]]></select>
			</SQL>
			<SQL optimizer="V_SEJOURS_X">
				<select><![CDATA[		
					CTISELECT_TREE
						GROUPBY1{[VIEW.GROUPBY_OID_FIELD],, [VIEW.GROUPBY_COD_FIELD],, [VIEW.GROUPBY_TXT_FIELD]}
						GROUPBY1MODE{[GROUPBY_TAB]}
						GROUPBY2{[VIEW.GROUPBY_2_OID_FIELD],, [VIEW.GROUPBY_2_COD_FIELD],, [VIEW.GROUPBY_2_TXT_FIELD]}
						GROUPBY3{[VIEW.GROUPBY_3_OID_FIELD],, [VIEW.GROUPBY_3_COD_FIELD],, [VIEW.GROUPBY_3_TXT_FIELD]}
						SIGNIFDATA{[VIEW.ACTIVITE_SIGNIFICATIVE_DATA],, [ACTIVITE_SIGNIFICATIVE_MODE],, [ACTIVITE_SIGNIFICATIVE_NUMBER]}
						INDICATORS{
						
							[VIEW.DATA1F],,

							[VIEW.DATA2F],,

							[VIEW.DATA3F],,
			
							[VIEW.DATA4F],,
						
							[VIEW.DATA5F],,
							
							[VIEW.DATA6F],,

							[VIEW.DATA7F],,

							[VIEW.DATA8F],,
		
							[VIEW.DATA9F],,
							
							[VIEW.DATA10F],,
						
							[VIEW.DATA11F],,

							[VIEW.DATA12F],,

							[VIEW.DATA13F],,
			
							[VIEW.DATA14F],,
						
							[VIEW.DATA15F],,
							0,,0,,0,,0,,0,,
							0,,0,,0,,0,,0,,
							0,,0,,0,,0,,0,,
							0
							
						}
						ORDERBY{[VIEW.ORDER_BY],, DESC}
					FROM #V_FACTURES_LIGNES_C_X#
						JOIN #V_SEJOURS_X# ON v_sejours_1.no_sejour = v_factures_lignes_c_4.no_sejour
						LEFT JOIN ACTI000063_SEJ ON v_factures_lignes_c_4.no_sejour = ACTI000063_SEJ.no_sejour

					WHERE 
							(v_factures_lignes_c_4.[VIEW.QUELLEDATE_FIELD] BETWEEN '[PERIODE]' AND '[TOPERIODE]') 
							[VIEW.SEJOURS_SELECT]
							[VIEW.PRESTATIONS_SELECT]
							[VIEW.PASSAGES_SELECT]
							[VIEW.PATIENTS_SELECT]
					AFTER{
				
					UPDATE w_table 
						SET indicateurs[3] = w_table.indicateurs[3]
							[EVAL 
								$wdata_array_1 = explode("=",'[LS_DATA]');
								$wdata_array_2 = $wdata_array_1[1];
								$wdata_array = explode(",",$wdata_array_2);
								if ('[DATA1]' == 'EMC' || $wdata_array[0] == 'EMC') {
									return "
										,
										indicateurs[1] = ACTI000063_MVT.indicateurs[001]
										
									"; 
								}								
								if ('[DATA1]' == 'VALEMC' || $wdata_array[0] == 'VALEMC') {
									return "
										,
										indicateurs[1] = ACTI000063_MVT.indicateurs[003]
										
									";
								}								
								if ('[DATA1]' == 'FAVEMC' || $wdata_array[0] == 'FAVEMC') {
									return "
										,
										indicateurs[1] = ACTI000063_MVT.indicateurs[005]
										
									";
								}	
								if ('[DATA1]' == 'FACNBJ' || $wdata_array[0] == 'FACNBJ') {
									return "
										,
										indicateurs[1] = ACTI000063_MVT.indicateurs[002]
										
									";
								}									
								if ('[DATA1]' == 'VALNBJ' || $wdata_array[0] == 'VALNBJ') {
									return "
										,
										indicateurs[1] = ACTI000063_MVT.indicateurs[004]
										
									";
								}								
								if ('[DATA1]' == 'FAVNBJ' || $wdata_array[0] == 'FAVNBJ') {
									return "
										,
										indicateurs[1] = ACTI000063_MVT.indicateurs[006]
										
									";
								}									
								if ('[DATA1]' == 'FAVDMS' || $wdata_array[0] == 'FAVDMS') {
									return "
										,
										indicateurs[1] = ACTI000063_MVT.indicateurs[007]
										
									";
								}									
								if ('[DATA1]' == 'FAVNBEMCHC' || $wdata_array[0] == 'FAVNBEMCHC') {
									return "
										,
										indicateurs[1] = ACTI000063_MVT.indicateurs[008]
										
									";
								}								
								if ('[DATA1]' == 'MFAVCAMHC' || $wdata_array[0] == 'MFAVCAMHC') {
									return "
										,
										indicateurs[1] = base.cti_division(w_table.indicateurs[1],ACTI000063_MVT.indicateurs[008])
										
									";
								}									
								if ('[DATA1]' == 'MMFPVEMC' || $wdata_array[0] == 'MMFPVEMC') {
									return "
										,
										indicateurs[1] = base.cti_division(w_table.indicateurs[1],ACTI000063_MVT.indicateurs[005])
										
										
									";
								}									
								if ('[DATA1]' == 'MMFACEMC' || $wdata_array[0] == 'MMFACEMC') {
									return "
										,
										indicateurs[1] = base.cti_division(w_table.indicateurs[1],ACTI000063_MVT.indicateurs[001])
										
									";
								}								
								if ('[DATA1]' == 'MMVALEMC' || $wdata_array[0] == 'MMVALEMC') {
									return "
										,
										indicateurs[1] = base.cti_division(w_table.indicateurs[1],ACTI000063_MVT.indicateurs[003])
										
									";
								}								
							EVAL]
							[EVAL 
								if ('[DATA2]' == 'EMC' || $wdata_array[1] == 'EMC') {
									return "
										,
										indicateurs[2] = ACTI000063_MVT.indicateurs[001]
										
									"; 
								}								
								if ('[DATA2]' == 'VALEMC' || $wdata_array[1] == 'VALEMC') {
									return "
										,
										indicateurs[2] = ACTI000063_MVT.indicateurs[003]
										
									";
								}								
								if ('[DATA2]' == 'FAVEMC' || $wdata_array[1] == 'FAVEMC') {
									return "
										,
										indicateurs[2] = ACTI000063_MVT.indicateurs[005]
										
									";
								}	
								if ('[DATA2]' == 'FACNBJ' || $wdata_array[1] == 'FACNBJ') {
									return "
										,
										indicateurs[2] = ACTI000063_MVT.indicateurs[002]
										
									";
								}									
								if ('[DATA2]' == 'VALNBJ' || $wdata_array[1] == 'VALNBJ') {
									return "
										,
										indicateurs[2] = ACTI000063_MVT.indicateurs[004]
										
									";
								}								
								if ('[DATA2]' == 'FAVNBJ' || $wdata_array[1] == 'FAVNBJ') {
									return "
										,
										indicateurs[2] = ACTI000063_MVT.indicateurs[006]
										
									";
								}									
								if ('[DATA2]' == 'FAVDMS' || $wdata_array[1] == 'FAVDMS') {
									return "
										,
										indicateurs[2] = ACTI000063_MVT.indicateurs[007]
										
									";
								}									
								if ('[DATA2]' == 'FAVNBEMCHC' || $wdata_array[1] == 'FAVNBEMCHC') {
									return "
										,
										indicateurs[2] = ACTI000063_MVT.indicateurs[008]
										
									";
								}								
								if ('[DATA2]' == 'MFAVCAMHC' || $wdata_array[1] == 'MFAVCAMHC') {
									return "
										,
										indicateurs[2] = base.cti_division(w_table.indicateurs[2],ACTI000063_MVT.indicateurs[008])
										
									";
								}									
								if ('[DATA2]' == 'MMFPVEMC' || $wdata_array[1] == 'MMFPVEMC') {
									return "
										,
										indicateurs[2] = base.cti_division(w_table.indicateurs[2],ACTI000063_MVT.indicateurs[005])
										
										
									";
								}									
								if ('[DATA2]' == 'MMFACEMC' || $wdata_array[1] == 'MMFACEMC' ) {
									return "
										,
										indicateurs[2] = base.cti_division(w_table.indicateurs[2],ACTI000063_MVT.indicateurs[001])
										
									";
								}								
								if ('[DATA2]' == 'MMVALEMC' || $wdata_array[1] == 'MMVALEMC' ) {
									return "
										,
										indicateurs[2] = base.cti_division(w_table.indicateurs[2],ACTI000063_MVT.indicateurs[003])
										
									";
								}								
							EVAL]
							[EVAL 
								if ('[DATA3]' == 'EMC' || $wdata_array[2] == 'EMC' ) {
									return "
										,
										indicateurs[3] = ACTI000063_MVT.indicateurs[001]
										
									"; 
								}								
								if ('[DATA3]' == 'VALEMC' || $wdata_array[2] ==  'VALEMC') {
									return "
										,
										indicateurs[3] = ACTI000063_MVT.indicateurs[003]
										
									";
								}								
								if ('[DATA3]' == 'FAVEMC' || $wdata_array[2] == 'FAVEMC') {
									return "
										,
										indicateurs[3] = ACTI000063_MVT.indicateurs[005]
										
									";
								}	
								if ('[DATA3]' == 'FACNBJ' || $wdata_array[2] == 'FACNBJ') {
									return "
										,
										indicateurs[3] = ACTI000063_MVT.indicateurs[002]
										
									";
								}									
								if ('[DATA3]' == 'VALNBJ' || $wdata_array[2] == 'VALNBJ') {
									return "
										,
										indicateurs[3] = ACTI000063_MVT.indicateurs[004]
										
									";
								}								
								if ('[DATA3]' == 'FAVNBJ' || $wdata_array[2] == 'FAVNBJ') {
									return "
										,
										indicateurs[3] = ACTI000063_MVT.indicateurs[006]
										
									";
								}									
								if ('[DATA3]' == 'FAVDMS' || $wdata_array[2] == 'FAVDMS') {
									return "
										,
										indicateurs[3] = ACTI000063_MVT.indicateurs[007]
										
									";
								}									
								if ('[DATA3]' == 'FAVNBEMCHC' || $wdata_array[2] == 'FAVNBEMCHC' ) {
									return "
										,
										indicateurs[3] = ACTI000063_MVT.indicateurs[008]
										
									";
								}								
								if ('[DATA3]' == 'MFAVCAMHC' || $wdata_array[2] == 'MFAVCAMHC') {
									return "
										,
										indicateurs[3] = base.cti_division(w_table.indicateurs[3],ACTI000063_MVT.indicateurs[008])
										
									";
								}									
								if ('[DATA3]' == 'MMFPVEMC' || $wdata_array[2] == 'MMFPVEMC') {
									return "
										,
										indicateurs[3] = base.cti_division(w_table.indicateurs[3],ACTI000063_MVT.indicateurs[005])
										
										
									";
								}									
								if ('[DATA3]' == 'MMFACEMC' || $wdata_array[2] == 'MMFACEMC') {
									return "
										,
										indicateurs[3] = base.cti_division(w_table.indicateurs[3],ACTI000063_MVT.indicateurs[001])
										
									";
								}								
								if ('[DATA3]' == 'MMVALEMC' || $wdata_array[2] == 'MMVALEMC') {
									return "
										,
										indicateurs[3] = base.cti_division(w_table.indicateurs[3],ACTI000063_MVT.indicateurs[003])
										
									";
								}								
							EVAL]
							[EVAL 
								if ('[DATA4]' == 'EMC' || $wdata_array[3] == 'EMC' ) {
									return "
										,
										indicateurs[4] = ACTI000063_MVT.indicateurs[001]
										
									"; 
								}								
								if ('[DATA4]' == 'VALEMC' || $wdata_array[3] ==  'VALEMC') {
									return "
										,
										indicateurs[4] = ACTI000063_MVT.indicateurs[003]
										
									";
								}								
								if ('[DATA4]' == 'FAVEMC' || $wdata_array[3] == 'FAVEMC') {
									return "
										,
										indicateurs[4] = ACTI000063_MVT.indicateurs[005]
										
									";
								}	
								if ('[DATA4]' == 'FACNBJ' || $wdata_array[3] =='FACNBJ') {
									return "
										,
										indicateurs[4] = ACTI000063_MVT.indicateurs[002]
										
									";
								}									
								if ('[DATA4]' == 'VALNBJ' || $wdata_array[3] =='VALNBJ') {
									return "
										,
										indicateurs[4] = ACTI000063_MVT.indicateurs[004]
										
									";
								}								
								if ('[DATA4]' == 'FAVNBJ'|| $wdata_array[3] =='FAVNBJ') {
									return "
										,
										indicateurs[4] = ACTI000063_MVT.indicateurs[006]
										
									";
								}									
								if ('[DATA4]' == 'FAVDMS' || $wdata_array[3] == 'FAVDMS') {
									return "
										,
										indicateurs[4] = ACTI000063_MVT.indicateurs[007]
										
									";
								}									
								if ('[DATA4]' == 'FAVNBEMCHC' || $wdata_array[3] == 'FAVNBEMCHC') {
									return "
										,
										indicateurs[4] = ACTI000063_MVT.indicateurs[008]
										
									";
								}								
								if ('[DATA4]' == 'MFAVCAMHC' || $wdata_array[3] =='MFAVCAMHC') {
									return "
										,
										indicateurs[4] = base.cti_division(w_table.indicateurs[4],ACTI000063_MVT.indicateurs[008])
										
									";
								}									
								if ('[DATA4]' == 'MMFPVEMC' || $wdata_array[3] =='MMFPVEMC') {
									return "
										,
										indicateurs[4] = base.cti_division(w_table.indicateurs[4],ACTI000063_MVT.indicateurs[005])
										
										
									";
								}									
								if ('[DATA4]' == 'MMFACEMC' || $wdata_array[3] =='MMFACEMC') {
									return "
										,
										indicateurs[4] = base.cti_division(w_table.indicateurs[4],ACTI000063_MVT.indicateurs[001])
										
									";
								}								
								if ('[DATA4]' == 'MMVALEMC' || $wdata_array[3] == 'MMVALEMC') {
									return "
										,
										indicateurs[4] = base.cti_division(w_table.indicateurs[4],ACTI000063_MVT.indicateurs[003])
										
									";
								}								
							EVAL]
							[EVAL 
								if ('[DATA5]' == 'EMC' || $wdata_array[4] == 'EMC' ) {
									return "
										,
										indicateurs[5] = ACTI000063_MVT.indicateurs[001]
										
									"; 
								}								
								if ('[DATA5]' == 'VALEMC' || $wdata_array[4] == 'VALEMC') {
									return "
										,
										indicateurs[5] = ACTI000063_MVT.indicateurs[003]
										
									";
								}								
								if ('[DATA5]' == 'FAVEMC' || $wdata_array[4] == 'FAVEMC') {
									return "
										,
										indicateurs[5] = ACTI000063_MVT.indicateurs[005]
										
									";
								}	
								if ('[DATA5]' == 'FACNBJ' || $wdata_array[4] == 'FACNBJ') {
									return "
										,
										indicateurs[5] = ACTI000063_MVT.indicateurs[002]
										
									";
								}									
								if ('[DATA5]' == 'VALNBJ' || $wdata_array[4] == 'VALNBJ') {
									return "
										,
										indicateurs[5] = ACTI000063_MVT.indicateurs[004]
										
									";
								}								
								if ('[DATA5]' == 'FAVNBJ' || $wdata_array[4] =='FAVNBJ') {
									return "
										,
										indicateurs[5] = ACTI000063_MVT.indicateurs[006]
										
									";
								}									
								if ('[DATA5]' == 'FAVDMS' || $wdata_array[4] =='FAVDMS') {
									return "
										,
										indicateurs[5] = ACTI000063_MVT.indicateurs[007]
										
									";
								}									
								if ('[DATA5]' == 'FAVNBEMCHC' || $wdata_array[4] == 'FAVNBEMCHC' ) {
									return "
										,
										indicateurs[5] = ACTI000063_MVT.indicateurs[008]
										
									";
								}								
								if ('[DATA5]' == 'MFAVCAMHC' || $wdata_array[4] == 'MFAVCAMHC') {
									return "
										,
										indicateurs[5] = base.cti_division(w_table.indicateurs[5],ACTI000063_MVT.indicateurs[008])
										
									";
								}									
								if ('[DATA5]' == 'MMFPVEMC' || $wdata_array[4] == 'MMFPVEMC') {
									return "
										,
										indicateurs[5] = base.cti_division(w_table.indicateurs[5],ACTI000063_MVT.indicateurs[005])
										
										
									";
								}									
								if ('[DATA5]' == 'MMFACEMC' || $wdata_array[4] =='MMFACEMC') {
									return "
										,
										indicateurs[5] = base.cti_division(w_table.indicateurs[5],ACTI000063_MVT.indicateurs[001])
										
									";
								}								
								if ('[DATA5]' == 'MMVALEMC' || $wdata_array[4] =='MMVALEMC') {
									return "
										,
										indicateurs[5] = base.cti_division(w_table.indicateurs[5],ACTI000063_MVT.indicateurs[003])
										
									";
								}								
							EVAL]
							[EVAL 
								if ('[DATA6]' == 'EMC' || $wdata_array[5] == 'EMC' ) {
									return "
										,
										indicateurs[6] = ACTI000063_MVT.indicateurs[001]
										
									"; 
								}								
								if ('[DATA6]' == 'VALEMC' || $wdata_array[5] == 'VALEMC' ) {
									return "
										,
										indicateurs[6] = ACTI000063_MVT.indicateurs[003]
										
									";
								}								
								if ('[DATA6]' == 'FAVEMC' || $wdata_array[5] == 'FAVEMC') {
									return "
										,
										indicateurs[6] = ACTI000063_MVT.indicateurs[005]
										
									";
								}	
								if ('[DATA6]' == 'FACNBJ' || $wdata_array[5] == 'FACNBJ') {
									return "
										,
										indicateurs[6] = ACTI000063_MVT.indicateurs[002]
										
									";
								}									
								if ('[DATA6]' == 'VALNBJ' || $wdata_array[5] == 'VALNBJ') {
									return "
										,
										indicateurs[6] = ACTI000063_MVT.indicateurs[004]
										
									";
								}								
								if ('[DATA6]' == 'FAVNBJ' || $wdata_array[5] == 'FAVNBJ') {
									return "
										,
										indicateurs[6] = ACTI000063_MVT.indicateurs[006]
										
									";
								}									
								if ('[DATA6]' == 'FAVDMS' || $wdata_array[5] == 'FAVDMS' ) {
									return "
										,
										indicateurs[6] = ACTI000063_MVT.indicateurs[007]
										
									";
								}									
								if ('[DATA6]' == 'FAVNBEMCHC' || $wdata_array[5] == 'FAVNBEMCHC' ) {
									return "
										,
										indicateurs[6] = ACTI000063_MVT.indicateurs[008]
										
									";
								}								
								if ('[DATA6]' == 'MFAVCAMHC' || $wdata_array[5] == 'MFAVCAMHC') {
									return "
										,
										indicateurs[6] = base.cti_division(w_table.indicateurs[6],ACTI000063_MVT.indicateurs[008])
										
									";
								}									
								if ('[DATA6]' == 'MMFPVEMC' || $wdata_array[5] == 'MMFPVEMC') {
									return "
										,
										indicateurs[6] = base.cti_division(w_table.indicateurs[6],ACTI000063_MVT.indicateurs[005])
										
										
									";
								}									
								if ('[DATA6]' == 'MMFACEMC' || $wdata_array[5] == 'MMFACEMC') {
									return "
										,
										indicateurs[6] = base.cti_division(w_table.indicateurs[6],ACTI000063_MVT.indicateurs[001])
										
									";
								}								
								if ('[DATA6]' == 'MMVALEMC' || $wdata_array[5] ==  'MMVALEMC') {
									return "
										,
										indicateurs[6] = base.cti_division(w_table.indicateurs[6],ACTI000063_MVT.indicateurs[003])
										
									";
								}								
							EVAL]
							[EVAL 
								if ('[DATA7]' == 'EMC' || $wdata_array[6] == 'EMC') {
									return "
										,
										indicateurs[7] = ACTI000063_MVT.indicateurs[001]
										
									"; 
								}								
								if ('[DATA7]' == 'VALEMC' || $wdata_array[6] == 'VALEMC') {
									return "
										,
										indicateurs[7] = ACTI000063_MVT.indicateurs[003]
										
									";
								}								
								if ('[DATA7]' == 'FAVEMC' || $wdata_array[6] ==  'FAVEMC' ) {
									return "
										,
										indicateurs[7] = ACTI000063_MVT.indicateurs[005]
										
									";
								}	
								if ('[DATA7]' == 'FACNBJ' || $wdata_array[6] == 'FACNBJ') {
									return "
										,
										indicateurs[7] = ACTI000063_MVT.indicateurs[002]
										
									";
								}									
								if ('[DATA7]' == 'VALNBJ' || $wdata_array[6] ==  'VALNBJ') {
									return "
										,
										indicateurs[7] = ACTI000063_MVT.indicateurs[004]
										
									";
								}								
								if ('[DATA7]' == 'FAVNBJ' || $wdata_array[6] == 'FAVNBJ') {
									return "
										,
										indicateurs[7] = ACTI000063_MVT.indicateurs[006]
										
									";
								}									
								if ('[DATA7]' == 'FAVDMS' || $wdata_array[6] == 'FAVDMS') {
									return "
										,
										indicateurs[7] = ACTI000063_MVT.indicateurs[007]
										
									";
								}									
								if ('[DATA7]' == 'FAVNBEMCHC' || $wdata_array[6] == 'FAVNBEMCHC') {
									return "
										,
										indicateurs[7] = ACTI000063_MVT.indicateurs[008]
										
									";
								}								
								if ('[DATA7]' == 'MFAVCAMHC' || $wdata_array[6] == 'MFAVCAMHC') {
									return "
										,
										indicateurs[7] = base.cti_division(w_table.indicateurs[7],ACTI000063_MVT.indicateurs[008])
										
									";
								}									
								if ('[DATA7]' == 'MMFPVEMC' || $wdata_array[6] == 'MMFPVEMC' ) {
									return "
										,
										indicateurs[7] = base.cti_division(w_table.indicateurs[7],ACTI000063_MVT.indicateurs[005])
										
										
									";
								}									
								if ('[DATA7]' == 'MMFACEMC' || $wdata_array[6] == 'MMFACEMC') {
									return "
										,
										indicateurs[7] = base.cti_division(w_table.indicateurs[7],ACTI000063_MVT.indicateurs[001])
										
									";
								}								
								if ('[DATA7]' == 'MMVALEMC' || $wdata_array[6] == 'MMVALEMC') {
									return "
										,
										indicateurs[7] = base.cti_division(w_table.indicateurs[7],ACTI000063_MVT.indicateurs[003])
										
									";
								}								
							EVAL]
							[EVAL 
								if ('[DATA8]' == 'EMC' || $wdata_array[7] == 'EMC') {
									return "
										,
										indicateurs[8] = ACTI000063_MVT.indicateurs[001]
										
									"; 
								}								
								if ('[DATA8]' == 'VALEMC' || $wdata_array[7] == 'VALEMC' ) {
									return "
										,
										indicateurs[8] = ACTI000063_MVT.indicateurs[003]
										
									";
								}								
								if ('[DATA8]' == 'FAVEMC' || $wdata_array[7] =='FAVEMC' ) {
									return "
										,
										indicateurs[8] = ACTI000063_MVT.indicateurs[005]
										
									";
								}	
								if ('[DATA8]' == 'FACNBJ' || $wdata_array[7] =='FACNBJ' ) {
									return "
										,
										indicateurs[8] = ACTI000063_MVT.indicateurs[002]
										
									";
								}									
								if ('[DATA8]' == 'VALNBJ' || $wdata_array[7] =='VALNBJ') {
									return "
										,
										indicateurs[8] = ACTI000063_MVT.indicateurs[004]
										
									";
								}								
								if ('[DATA8]' == 'FAVNBJ' || $wdata_array[7] == 'FAVNBJ' ) {
									return "
										,
										indicateurs[8] = ACTI000063_MVT.indicateurs[006]
										
									";
								}									
								if ('[DATA8]' == 'FAVDMS' || $wdata_array[7] =='FAVDMS') {
									return "
										,
										indicateurs[8] = ACTI000063_MVT.indicateurs[007]
										
									";
								}									
								if ('[DATA8]' == 'FAVNBEMCHC' || $wdata_array[7] == 'FAVNBEMCHC') {
									return "
										,
										indicateurs[8] = ACTI000063_MVT.indicateurs[008]
										
									";
								}								
								if ('[DATA8]' == 'MFAVCAMHC' || $wdata_array[7] =='MFAVCAMHC') {
									return "
										,
										indicateurs[8] = base.cti_division(w_table.indicateurs[8],ACTI000063_MVT.indicateurs[008])
										
									";
								}									
								if ('[DATA8]' == 'MMFPVEMC' || $wdata_array[7] == 'MMFPVEMC') {
									return "
										,
										indicateurs[8] = base.cti_division(w_table.indicateurs[8],ACTI000063_MVT.indicateurs[005])
										
										
									";
								}									
								if ('[DATA8]' == 'MMFACEMC' || $wdata_array[7] == 'MMFACEMC') {
									return "
										,
										indicateurs[8] = base.cti_division(w_table.indicateurs[8],ACTI000063_MVT.indicateurs[001])
										
									";
								}								
								if ('[DATA8]' == 'MMVALEMC' || $wdata_array[7] ==  'MMVALEMC') {
									return "
										,
										indicateurs[8] = base.cti_division(w_table.indicateurs[8],ACTI000063_MVT.indicateurs[003])
										
									";
								}								
							EVAL]
							[EVAL 
								if ('[DATA9]' == 'EMC' || $wdata_array[8] == 'EMC') {
									return "
										,
										indicateurs[9] = ACTI000063_MVT.indicateurs[001]
										
									"; 
								}								
								if ('[DATA9]' == 'VALEMC' || $wdata_array[8] ==  'VALEMC') {
									return "
										,
										indicateurs[9] = ACTI000063_MVT.indicateurs[003]
										
									";
								}								
								if ('[DATA9]' == 'FAVEMC' || $wdata_array[8] ==  'FAVEMC') {
									return "
										,
										indicateurs[9] = ACTI000063_MVT.indicateurs[005]
										
									";
								}	
								if ('[DATA9]' == 'FACNBJ' || $wdata_array[8] == 'FACNBJ') {
									return "
										,
										indicateurs[9] = ACTI000063_MVT.indicateurs[002]
										
									";
								}									
								if ('[DATA9]' == 'VALNBJ' || $wdata_array[8] ==  'VALNBJ') {
									return "
										,
										indicateurs[9] = ACTI000063_MVT.indicateurs[004]
										
									";
								}								
								if ('[DATA9]' == 'FAVNBJ' || $wdata_array[8] == 'FAVNBJ') {
									return "
										,
										indicateurs[9] = ACTI000063_MVT.indicateurs[006]
										
									";
								}									
								if ('[DATA9]' == 'FAVDMS' || $wdata_array[8] ==  'FAVDMS') {
									return "
										,
										indicateurs[9] = ACTI000063_MVT.indicateurs[007]
										
									";
								}									
								if ('[DATA9]' == 'FAVNBEMCHC' || $wdata_array[8] ==  'FAVNBEMCHC') {
									return "
										,
										indicateurs[9] = ACTI000063_MVT.indicateurs[008]
										
									";
								}								
								if ('[DATA9]' == 'MFAVCAMHC' || $wdata_array[8] ==  'MFAVCAMHC' ) {
									return "
										,
										indicateurs[9] = base.cti_division(w_table.indicateurs[9],ACTI000063_MVT.indicateurs[008])
										
									";
								}									
								if ('[DATA9]' == 'MMFPVEMC' || $wdata_array[8] ==  'MMFPVEMC') {
									return "
										,
										indicateurs[9] = base.cti_division(w_table.indicateurs[9],ACTI000063_MVT.indicateurs[005])
										
										
									";
								}									
								if ('[DATA9]' == 'MMFACEMC' || $wdata_array[8] ==  'MMFACEMC' ) {
									return "
										,
										indicateurs[9] = base.cti_division(w_table.indicateurs[9],ACTI000063_MVT.indicateurs[001])
										
									";
								}								
								if ('[DATA9]' == 'MMVALEMC' || $wdata_array[8] ==  'MMVALEMC') {
									return "
										,
										indicateurs[9] = base.cti_division(w_table.indicateurs[9],ACTI000063_MVT.indicateurs[003])
										
									";
								}								
							EVAL]
							[EVAL 
								if ('[DATA10]' == 'EMC' || $wdata_array[9] == 'EMC') {
									return "
										,
										indicateurs[10] = ACTI000063_MVT.indicateurs[001]
										
									"; 
								}								
								if ('[DATA10]' == 'VALEMC' || $wdata_array[9] ==  'VALEMC') {
									return "
										,
										indicateurs[10] = ACTI000063_MVT.indicateurs[003]
										
									";
								}								
								if ('[DATA10]' == 'FAVEMC' || $wdata_array[9] ==  'FAVEMC') {
									return "
										,
										indicateurs[10] = ACTI000063_MVT.indicateurs[005]
										
									";
								}	
								if ('[DATA10]' == 'FACNBJ' || $wdata_array[9] ==  'FACNBJ' ) {
									return "
										,
										indicateurs[10] = ACTI000063_MVT.indicateurs[002]
										
									";
								}									
								if ('[DATA10]' == 'VALNBJ' || $wdata_array[9] ==  'VALNBJ') {
									return "
										,
										indicateurs[10] = ACTI000063_MVT.indicateurs[004]
										
									";
								}								
								if ('[DATA10]' == 'FAVNBJ' || $wdata_array[9] ==  'FAVNBJ') {
									return "
										,
										indicateurs[10] = ACTI000063_MVT.indicateurs[006]
										
									";
								}									
								if ('[DATA10]' == 'FAVDMS' || $wdata_array[9] ==  'FAVDMS' ) {
									return "
										,
										indicateurs[10] = ACTI000063_MVT.indicateurs[007]
										
									";
								}									
								if ('[DATA10]' == 'FAVNBEMCHC' || $wdata_array[9] ==  'FAVNBEMCHC') {
									return "
										,
										indicateurs[10] = ACTI000063_MVT.indicateurs[008]
										
									";
								}								
								if ('[DATA10]' == 'MFAVCAMHC' || $wdata_array[9] ==  'MFAVCAMHC') {
									return "
										,
										indicateurs[10] = base.cti_division(w_table.indicateurs[10],ACTI000063_MVT.indicateurs[008])
										
									";
								}									
								if ('[DATA10]' == 'MMFPVEMC' || $wdata_array[9] == 'MMFPVEMC') {
									return "
										,
										indicateurs[10] = base.cti_division(w_table.indicateurs[10],ACTI000063_MVT.indicateurs[005])
										
										
									";
								}									
								if ('[DATA10]' == 'MMFACEMC' || $wdata_array[9] == 'MMFACEMC') {
									return "
										,
										indicateurs[10] = base.cti_division(w_table.indicateurs[10],ACTI000063_MVT.indicateurs[001])
										
									";
								}								
								if ('[DATA10]' == 'MMVALEMC' || $wdata_array[9] == 'MMVALEMC') {
									return "
										,
										indicateurs[10] = base.cti_division(w_table.indicateurs[10],ACTI000063_MVT.indicateurs[003])
										
									";
								}								
							EVAL]
							[EVAL 
								if ('[DATA011]' == 'EMC' || $wdata_array[10] == 'EMC') {
									return "
										,
										indicateurs[11] = ACTI000063_MVT.indicateurs[001]
										
									"; 
								}								
								if ('[DATA011]' == 'VALEMC' || $wdata_array[10] == 'VALEMC') {
									return "
										,
										indicateurs[11] = ACTI000063_MVT.indicateurs[003]
										
									";
								}								
								if ('[DATA011]' == 'FAVEMC' || $wdata_array[10] ==  'FAVEMC') {
									return "
										,
										indicateurs[11] = ACTI000063_MVT.indicateurs[005]
										
									";
								}	
								if ('[DATA011]' == 'FACNBJ' || $wdata_array[10] ==  'FACNBJ' ) {
									return "
										,
										indicateurs[11] = ACTI000063_MVT.indicateurs[002]
										
									";
								}									
								if ('[DATA011]' == 'VALNBJ' || $wdata_array[10] ==  'VALNBJ') {
									return "
										,
										indicateurs[11] = ACTI000063_MVT.indicateurs[004]
										
									";
								}								
								if ('[DATA011]' == 'FAVNBJ' || $wdata_array[10] ==  'FAVNBJ') {
									return "
										,
										indicateurs[11] = ACTI000063_MVT.indicateurs[006]
										
									";
								}									
								if ('[DATA011]' == 'FAVDMS' || $wdata_array[10] == 'FAVDMS') {
									return "
										,
										indicateurs[11] = ACTI000063_MVT.indicateurs[007]
										
									";
								}									
								if ('[DATA011]' == 'FAVNBEMCHC' || $wdata_array[10] == 'FAVNBEMCHC') {
									return "
										,
										indicateurs[11] = ACTI000063_MVT.indicateurs[008]
										
									";
								}								
								if ('[DATA011]' == 'MFAVCAMHC' || $wdata_array[10] ==  'MFAVCAMHC') {
									return "
										,
										indicateurs[11] = base.cti_division(w_table.indicateurs[11],ACTI000063_MVT.indicateurs[008])
										
									";
								}									
								if ('[DATA011]' == 'MMFPVEMC' || $wdata_array[10] ==  'MMFPVEMC') {
									return "
										,
										indicateurs[11] = base.cti_division(w_table.indicateurs[11],ACTI000063_MVT.indicateurs[005])
										
										
									";
								}									
								if ('[DATA011]' == 'MMFACEMC' || $wdata_array[10] ==  'MMFACEMC' ) {
									return "
										,
										indicateurs[11] = base.cti_division(w_table.indicateurs[11],ACTI000063_MVT.indicateurs[001])
										
									";
								}								
								if ('[DATA011]' == 'MMVALEMC' || $wdata_array[10] ==  'MMVALEMC') {
									return "
										,
										indicateurs[11] = base.cti_division(w_table.indicateurs[11],ACTI000063_MVT.indicateurs[003])
										
									";
								}								
							EVAL]
							[EVAL 
								if ('[DATA012]' == 'EMC' || $wdata_array[11] == 'EMC') {
									return "
										,
										indicateurs[12] = ACTI000063_MVT.indicateurs[001]
										
									"; 
								}								
								if ('[DATA012]' == 'VALEMC' || $wdata_array[11] ==  'VALEMC') {
									return "
										,
										indicateurs[12] = ACTI000063_MVT.indicateurs[003]
										
									";
								}								
								if ('[DATA012]' == 'FAVEMC' || $wdata_array[11] ==  'FAVEMC') {
									return "
										,
										indicateurs[12] = ACTI000063_MVT.indicateurs[005]
										
									";
								}	
								if ('[DATA012]' == 'FACNBJ' || $wdata_array[11] == 'FACNBJ') {
									return "
										,
										indicateurs[12] = ACTI000063_MVT.indicateurs[002]
										
									";
								}									
								if ('[DATA012]' == 'VALNBJ' || $wdata_array[11] =='VALNBJ' ) {
									return "
										,
										indicateurs[12] = ACTI000063_MVT.indicateurs[004]
										
									";
								}								
								if ('[DATA012]' == 'FAVNBJ' || $wdata_array[11] == 'FAVNBJ') {
									return "
										,
										indicateurs[12] = ACTI000063_MVT.indicateurs[006]
										
									";
								}									
								if ('[DATA012]' == 'FAVDMS' || $wdata_array[11] ==  'FAVDMS') {
									return "
										,
										indicateurs[12] = ACTI000063_MVT.indicateurs[007]
										
									";
								}									
								if ('[DATA012]' == 'FAVNBEMCHC' || $wdata_array[11] ==  'FAVNBEMCHC') {
									return "
										,
										indicateurs[12] = ACTI000063_MVT.indicateurs[008]
										
									";
								}								
								if ('[DATA012]' == 'MFAVCAMHC' || $wdata_array[11] ==  'MFAVCAMHC' ) {
									return "
										,
										indicateurs[12] = base.cti_division(w_table.indicateurs[12],ACTI000063_MVT.indicateurs[008])
										
									";
								}									
								if ('[DATA012]' == 'MMFPVEMC' || $wdata_array[11] ==  'MMFPVEMC') {
									return "
										,
										indicateurs[12] = base.cti_division(w_table.indicateurs[12],ACTI000063_MVT.indicateurs[005])
										
										
									";
								}									
								if ('[DATA012]' == 'MMFACEMC' || $wdata_array[11] ==  'MMFACEMC') {
									return "
										,
										indicateurs[12] = base.cti_division(w_table.indicateurs[12],ACTI000063_MVT.indicateurs[001])
										
									";
								}								
								if ('[DATA012]' == 'MMVALEMC' || $wdata_array[11] ==  'MMVALEMC') {
									return "
										,
										indicateurs[12] = base.cti_division(w_table.indicateurs[12],ACTI000063_MVT.indicateurs[003])
										
									";
								}								
							EVAL]
							[EVAL 
								if ('[DATA013]' == 'EMC' || $wdata_array[12] == 'EMC') {
									return "
										,
										indicateurs[13] = ACTI000063_MVT.indicateurs[001]
										
									"; 
								}								
								if ('[DATA013]' == 'VALEMC' || $wdata_array[12] ==  'VALEMC' ) {
									return "
										,
										indicateurs[13] = ACTI000063_MVT.indicateurs[003]
										
									";
								}								
								if ('[DATA013]' == 'FAVEMC' || $wdata_array[12] == 'FAVEMC') {
									return "
										,
										indicateurs[13] = ACTI000063_MVT.indicateurs[005]
										
									";
								}	
								if ('[DATA013]' == 'FACNBJ' || $wdata_array[12] =='FACNBJ' ) {
									return "
										,
										indicateurs[13] = ACTI000063_MVT.indicateurs[002]
										
									";
								}									
								if ('[DATA013]' == 'VALNBJ' || $wdata_array[12] == 'VALNBJ') {
									return "
										,
										indicateurs[13] = ACTI000063_MVT.indicateurs[004]
										
									";
								}								
								if ('[DATA013]' == 'FAVNBJ' || $wdata_array[12] == 'FAVNBJ') {
									return "
										,
										indicateurs[13] = ACTI000063_MVT.indicateurs[006]
										
									";
								}									
								if ('[DATA013]' == 'FAVDMS' || $wdata_array[12] ==  'FAVDMS' ) {
									return "
										,
										indicateurs[13] = ACTI000063_MVT.indicateurs[007]
										
									";
								}									
								if ('[DATA013]' == 'FAVNBEMCHC' || $wdata_array[12] == 'FAVNBEMCHC') {
									return "
										,
										indicateurs[13] = ACTI000063_MVT.indicateurs[008]
										
									";
								}								
								if ('[DATA013]' == 'MFAVCAMHC' || $wdata_array[12] =='MFAVCAMHC' ) {
									return "
										,
										indicateurs[13] = base.cti_division(w_table.indicateurs[13],ACTI000063_MVT.indicateurs[008])
										
									";
								}									
								if ('[DATA013]' == 'MMFPVEMC' || $wdata_array[12] ==  'MMFPVEMC' ) {
									return "
										,
										indicateurs[13] = base.cti_division(w_table.indicateurs[13],ACTI000063_MVT.indicateurs[005])
										
										
									";
								}									
								if ('[DATA013]' == 'MMFACEMC' || $wdata_array[12] ==  'MMFACEMC') {
									return "
										,
										indicateurs[13] = base.cti_division(w_table.indicateurs[13],ACTI000063_MVT.indicateurs[001])
										
									";
								}								
								if ('[DATA013]' == 'MMVALEMC' || $wdata_array[12] ==  'MMVALEMC' ) {
									return "
										,
										indicateurs[13] = base.cti_division(w_table.indicateurs[13],ACTI000063_MVT.indicateurs[003])
										
									";
								}								
							EVAL]
							[EVAL 
								if ('[DATA014]' == 'EMC' || $wdata_array[13] == 'EMC') {
									return "
										,
										indicateurs[14] = ACTI000063_MVT.indicateurs[001]
										
									"; 
								}								
								if ('[DATA014]' == 'VALEMC' || $wdata_array[13] ==  'VALEMC') {
									return "
										,
										indicateurs[14] = ACTI000063_MVT.indicateurs[003]
										
									";
								}								
								if ('[DATA014]' == 'FAVEMC' || $wdata_array[13] ==  'FAVEMC' ) {
									return "
										,
										indicateurs[14] = ACTI000063_MVT.indicateurs[005]
										
									";
								}	
								if ('[DATA014]' == 'FACNBJ' || $wdata_array[13] ==  'FACNBJ' ) {
									return "
										,
										indicateurs[14] = ACTI000063_MVT.indicateurs[002]
										
									";
								}									
								if ('[DATA014]' == 'VALNBJ' || $wdata_array[13] ==  'VALNBJ') {
									return "
										,
										indicateurs[14] = ACTI000063_MVT.indicateurs[004]
										
									";
								}								
								if ('[DATA014]' == 'FAVNBJ' || $wdata_array[13] ==  'FAVNBJ') {
									return "
										,
										indicateurs[14] = ACTI000063_MVT.indicateurs[006]
										
									";
								}									
								if ('[DATA014]' == 'FAVDMS' || $wdata_array[13] == 'FAVDMS') {
									return "
										,
										indicateurs[14] = ACTI000063_MVT.indicateurs[007]
										
									";
								}									
								if ('[DATA014]' == 'FAVNBEMCHC' || $wdata_array[13] == 'FAVNBEMCHC') {
									return "
										,
										indicateurs[14] = ACTI000063_MVT.indicateurs[008]
										
									";
								}								
								if ('[DATA014]' == 'MFAVCAMHC' || $wdata_array[13] == 'MFAVCAMHC' ) {
									return "
										,
										indicateurs[14] = base.cti_division(w_table.indicateurs[14],ACTI000063_MVT.indicateurs[008])
										
									";
								}									
								if ('[DATA014]' == 'MMFPVEMC' || $wdata_array[13] ==  'MMFPVEMC' ) {
									return "
										,
										indicateurs[14] = base.cti_division(w_table.indicateurs[14],ACTI000063_MVT.indicateurs[005])
										
										
									";
								}									
								if ('[DATA014]' == 'MMFACEMC' || $wdata_array[13] ==  'MMFACEMC') {
									return "
										,
										indicateurs[14] = base.cti_division(w_table.indicateurs[14],ACTI000063_MVT.indicateurs[001])
										
									";
								}								
								if ('[DATA014]' == 'MMVALEMC' || $wdata_array[13] ==  'MMVALEMC') {
									return "
										,
										indicateurs[14] = base.cti_division(w_table.indicateurs[14],ACTI000063_MVT.indicateurs[003])
										
									";
								}								
							EVAL]
							[EVAL 
								if ('[DATA015]' == 'EMC' || $wdata_array[14] == 'EMC') {
									return "
										,
										indicateurs[15] = ACTI000063_MVT.indicateurs[001]
										
									"; 
								}								
								if ('[DATA015]' == 'VALEMC' || $wdata_array[14] == 'VALEMC' ) {
									return "
										,
										indicateurs[15] = ACTI000063_MVT.indicateurs[003]
										
									";
								}								
								if ('[DATA015]' == 'FAVEMC' || $wdata_array[14] ==  'FAVEMC') {
									return "
										,
										indicateurs[15] = ACTI000063_MVT.indicateurs[005]
										
									";
								}	
								if ('[DATA015]' == 'FACNBJ' || $wdata_array[14] ==  'FACNBJ') {
									return "
										,
										indicateurs[15] = ACTI000063_MVT.indicateurs[002]
										
									";
								}									
								if ('[DATA015]' == 'VALNBJ' || $wdata_array[14] ==  'VALNBJ') {
									return "
										,
										indicateurs[15] = ACTI000063_MVT.indicateurs[004]
										
									";
								}								
								if ('[DATA015]' == 'FAVNBJ' || $wdata_array[14] ==  'FAVNBJ') {
									return "
										,
										indicateurs[15] = ACTI000063_MVT.indicateurs[006]
										
									";
								}									
								if ('[DATA015]' == 'FAVDMS' || $wdata_array[14] ==  'FAVDMS') {
									return "
										,
										indicateurs[15] = ACTI000063_MVT.indicateurs[007]
										
									";
								}									
								if ('[DATA015]' == 'FAVNBEMCHC' || $wdata_array[14] ==  'FAVNBEMCHC') {
									return "
										,
										indicateurs[15] = ACTI000063_MVT.indicateurs[008]
										
									";
								}								
								if ('[DATA015]' == 'MFAVCAMHC' || $wdata_array[14] ==  'MFAVCAMHC') {
									return "
										,
										indicateurs[15] = base.cti_division(w_table.indicateurs[15],ACTI000063_MVT.indicateurs[008])
										
									";
								}									
								if ('[DATA015]' == 'MMFPVEMC' || $wdata_array[14] ==  'MMFPVEMC' ) {
									return "
										,
										indicateurs[15] = base.cti_division(w_table.indicateurs[15],ACTI000063_MVT.indicateurs[005])
										
										
									";
								}									
								if ('[DATA015]' == 'MMFACEMC' || $wdata_array[14] ==  'MMFACEMC' ) {
									return "
										,
										indicateurs[15] = base.cti_division(w_table.indicateurs[15],ACTI000063_MVT.indicateurs[001])
										
									";
								}								
								if ('[DATA015]' == 'MMVALEMC' || $wdata_array[14] ==  'MMVALEMC') {
									return "
										,
										indicateurs[15] = base.cti_division(w_table.indicateurs[15],ACTI000063_MVT.indicateurs[003])
										
									";
								}								
							EVAL]
								FROM ACTI000063_MVT
									WHERE w_table.OIDT = ACTI000063_MVT.OIDT AND
										w_table.OID1 = ACTI000063_MVT.OID1 AND
										w_table.OID2 = ACTI000063_MVT.OID2 AND
										w_table.OID3 = ACTI000063_MVT.OID3.,
							
							UPDATE w_table 
								SET indicateurs[0] = w_table.indicateurs[3]
                                [EVAL 
                                    if (substr('[LS_DATA3]',1,1) == '2') {
                                        return "
                                            ,
                                            indicateurs[17] = base.cti_division(indicateurs[2],indicateurs[1])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',1,1) == '3') {
                                        return "
                                            ,
                                            indicateurs[17] = indicateurs[1] - indicateurs[2] 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',1,1) == '4') {
                                        return "
                                            ,
                                            indicateurs[17] = base.cti_division(indicateurs[1] - indicateurs[2] ,indicateurs[1])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',1,1) == '5') {
                                        return "
                                            ,
                                            indicateurs[17] = indicateurs[2] - indicateurs[1]
                                            
                                        "; 
                                    }	                                    
                                    if (substr('[LS_DATA3]',1,1) == '6') {
                                        return "
                                            ,
                                            indicateurs[17] = base.cti_division(indicateurs[2] - indicateurs[1],indicateurs[2])*100
                                            
                                        "; 
                                    }	
                                EVAL]                                
                                [EVAL 
                                    if (substr('[LS_DATA3]',2,1) == '2') {
                                        return "
                                            ,
                                            indicateurs[18] = base.cti_division(indicateurs[3],indicateurs[2])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',2,1) == '3') {
                                        return "
                                            ,
                                            indicateurs[18] = indicateurs[2] - indicateurs[3] 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',2,1) == '4') {
                                        return "
                                            ,
                                            indicateurs[18] = base.cti_division(indicateurs[2] - indicateurs[3] ,indicateurs[2])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',2,1) == '5') {
                                        return "
                                            ,
                                            indicateurs[18] = indicateurs[3] - indicateurs[2]
                                            
                                        "; 
                                    }	                                    
                                    if (substr('[LS_DATA3]',2,1) == '6') {
                                        return "
                                            ,
                                            indicateurs[18] = base.cti_division(indicateurs[3] - indicateurs[2],indicateurs[3])*100
                                            
                                        "; 
                                    }
                                    if (substr('[LS_DATA3]',2,1) == '7') {
                                        return "
                                            ,
                                            indicateurs[18] = base.cti_division(indicateurs[3],indicateurs[1])*100 
                                            
                                        "; 
                                    }                                    
                                EVAL]                                
                                [EVAL 
                                    if (substr('[LS_DATA3]',3,1) == '2') {
                                        return "
                                            ,
                                            indicateurs[19] = base.cti_division(indicateurs[4],indicateurs[5])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',3,1) == '7') {
                                        return "
                                            ,
                                            indicateurs[19] = base.cti_division(indicateurs[4],indicateurs[1])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',3,1) == '3') {
                                        return "
                                            ,
                                            indicateurs[19] = indicateurs[3] - indicateurs[4] 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',3,1) == '4') {
                                        return "
                                            ,
                                            indicateurs[19] = base.cti_division(indicateurs[3] - indicateurs[4] ,indicateurs[3])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',3,1) == '5') {
                                        return "
                                            ,
                                            indicateurs[19] = indicateurs[4] - indicateurs[3]
                                            
                                        "; 
                                    }	                                    
                                    if (substr('[LS_DATA3]',3,1) == '6') {
                                        return "
                                            ,
                                            indicateurs[19] = base.cti_division(indicateurs[4] - indicateurs[3],indicateurs[4])*100
                                            
                                        "; 
                                    }	
                                EVAL]                                
                                [EVAL 
                                    if (substr('[LS_DATA3]',4,1) == '2') {
                                        return "
                                            ,
                                            indicateurs[20] = base.cti_division(indicateurs[5],indicateurs[6])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',4,1) == '7') {
                                        return "
                                            ,
                                            indicateurs[20] = base.cti_division(indicateurs[5],indicateurs[1])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',4,1) == '3') {
                                        return "
                                            ,
                                            indicateurs[20] = indicateurs[4] - indicateurs[5] 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',4,1) == '4') {
                                        return "
                                            ,
                                            indicateurs[20] = base.cti_division(indicateurs[4] - indicateurs[5] ,indicateurs[4])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',4,1) == '5') {
                                        return "
                                            ,
                                            indicateurs[20] = indicateurs[5] - indicateurs[4]
                                            
                                        "; 
                                    }	                                    
                                    if (substr('[LS_DATA3]',4,1) == '6') {
                                        return "
                                            ,
                                            indicateurs[20] = base.cti_division(indicateurs[5] - indicateurs[4],indicateurs[5])*100
                                            
                                        "; 
                                    }	
                                EVAL]                               
                                [EVAL 
                                    if (substr('[LS_DATA3]',5,1) == '2') {
                                        return "
                                            ,
                                            indicateurs[21] = base.cti_division(indicateurs[6],indicateurs[5])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',5,1) == '7') {
                                        return "
                                            ,
                                            indicateurs[21] = base.cti_division(indicateurs[6],indicateurs[1])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',5,1) == '3') {
                                        return "
                                            ,
                                            indicateurs[21] = indicateurs[5] - indicateurs[6] 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',5,1) == '4') {
                                        return "
                                            ,
                                            indicateurs[21] = base.cti_division(indicateurs[5] - indicateurs[6] ,indicateurs[5])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',5,1) == '5') {
                                        return "
                                            ,
                                            indicateurs[21] = indicateurs[6] - indicateurs[5]
                                            
                                        "; 
                                    }	                                    
                                    if (substr('[LS_DATA3]',5,1) == '6') {
                                        return "
                                            ,
                                            indicateurs[21] = base.cti_division(indicateurs[6] - indicateurs[5],indicateurs[6])*100
                                            
                                        "; 
                                    }	
                                EVAL]                                
                                [EVAL 
                                    if (substr('[LS_DATA3]',6,1) == '2') {
                                        return "
                                            ,
                                            indicateurs[22] = base.cti_division(indicateurs[7],indicateurs[6])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',6,1) == '7') {
                                        return "
                                            ,
                                            indicateurs[22] = base.cti_division(indicateurs[7],indicateurs[1])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',6,1) == '3') {
                                        return "
                                            ,
                                            indicateurs[22] = indicateurs[6] - indicateurs[7] 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',6,1) == '4') {
                                        return "
                                            ,
                                            indicateurs[22] = base.cti_division(indicateurs[6] - indicateurs[7] ,indicateurs[6])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',6,1) == '5') {
                                        return "
                                            ,
                                            indicateurs[22] = indicateurs[7] - indicateurs[6]
                                            
                                        "; 
                                    }	                                    
                                    if (substr('[LS_DATA3]',6,1) == '6') {
                                        return "
                                            ,
                                            indicateurs[22] = base.cti_division(indicateurs[7] - indicateurs[6],indicateurs[7])*100
                                            
                                        "; 
                                    }	
                                EVAL]                                
                                [EVAL 
                                    if (substr('[LS_DATA3]',7,1) == '2') {
                                        return "
                                            ,
                                            indicateurs[23] = base.cti_division(indicateurs[8],indicateurs[7])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',7,1) == '7') {
                                        return "
                                            ,
                                            indicateurs[23] = base.cti_division(indicateurs[8],indicateurs[1])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',7,1) == '3') {
                                        return "
                                            ,
                                            indicateurs[23] = indicateurs[7] - indicateurs[8] 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',7,1) == '4') {
                                        return "
                                            ,
                                            indicateurs[23] = base.cti_division(indicateurs[7] - indicateurs[8] ,indicateurs[7])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',7,1) == '5') {
                                        return "
                                            ,
                                            indicateurs[23] = indicateurs[8] - indicateurs[7]
                                            
                                        "; 
                                    }	                                    
                                    if (substr('[LS_DATA3]',7,1) == '6') {
                                        return "
                                            ,
                                            indicateurs[23] = base.cti_division(indicateurs[8] - indicateurs[7],indicateurs[8])*100
                                            
                                        "; 
                                    }	
                                EVAL]                                 
                                [EVAL 
                                    if (substr('[LS_DATA3]',8,1) == '2') {
                                        return "
                                            ,
                                            indicateurs[24] = base.cti_division(indicateurs[9],indicateurs[8])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',8,1) == '7') {
                                        return "
                                            ,
                                            indicateurs[24] = base.cti_division(indicateurs[9],indicateurs[1])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',8,1) == '3') {
                                        return "
                                            ,
                                            indicateurs[24] = indicateurs[8] - indicateurs[9] 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',8,1) == '4') {
                                        return "
                                            ,
                                            indicateurs[24] = base.cti_division(indicateurs[8] - indicateurs[9] ,indicateurs[8])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',8,1) == '5') {
                                        return "
                                            ,
                                            indicateurs[24] = indicateurs[9] - indicateurs[8]
                                            
                                        "; 
                                    }	                                    
                                    if (substr('[LS_DATA3]',8,1) == '6') {
                                        return "
                                            ,
                                            indicateurs[24] = base.cti_division(indicateurs[9] - indicateurs[8],indicateurs[9])*100
                                            
                                        "; 
                                    }	
                                EVAL]
                                [EVAL 
                                    if (substr('[LS_DATA3]',9,1) == '2') {
                                        return "
                                            ,
                                            indicateurs[25] = base.cti_division(indicateurs[10],indicateurs[9])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',9,1) == '7') {
                                        return "
                                            ,
                                            indicateurs[25] = base.cti_division(indicateurs[10],indicateurs[1])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',9,1) == '3') {
                                        return "
                                            ,
                                            indicateurs[25] = indicateurs[9] - indicateurs[10] 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',9,1) == '4') {
                                        return "
                                            ,
                                            indicateurs[25] = base.cti_division(indicateurs[9] - indicateurs[10] ,indicateurs[9])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',9,1) == '5') {
                                        return "
                                            ,
                                            indicateurs[25] = indicateurs[10] - indicateurs[9]
                                            
                                        "; 
                                    }	                                    
                                    if (substr('[LS_DATA3]',9,1) == '6') {
                                        return "
                                            ,
                                            indicateurs[25] = base.cti_division(indicateurs[10] - indicateurs[9],indicateurs[10])*100
                                            
                                        "; 
                                    }	
                                EVAL]
                                [EVAL 
                                    if (substr('[LS_DATA3]',10,1) == '2') {
                                        return "
                                            ,
                                            indicateurs[26] = base.cti_division(indicateurs[11],indicateurs[10])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',10,1) == '7') {
                                        return "
                                            ,
                                            indicateurs[26] = base.cti_division(indicateurs[11],indicateurs[1])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',10,1) == '3') {
                                        return "
                                            ,
                                            indicateurs[26] = indicateurs[10] - indicateurs[11] 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',10,1) == '4') {
                                        return "
                                            ,
                                            indicateurs[26] = base.cti_division(indicateurs[10] - indicateurs[11] ,indicateurs[10])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',10,1) == '5') {
                                        return "
                                            ,
                                            indicateurs[26] = indicateurs[11] - indicateurs[10]
                                            
                                        "; 
                                    }	                                    
                                    if (substr('[LS_DATA3]',10,1) == '6') {
                                        return "
                                            ,
                                            indicateurs[26] = base.cti_division(indicateurs[11] - indicateurs[10],indicateurs[11])*100
                                            
                                        "; 
                                    }	
                                EVAL]
                                [EVAL 
                                    if (substr('[LS_DATA3]',11,1) == '2') {
                                        return "
                                            ,
                                            indicateurs[27] = base.cti_division(indicateurs[12],indicateurs[11])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',11,1) == '7') {
                                        return "
                                            ,
                                            indicateurs[27] = base.cti_division(indicateurs[12],indicateurs[1])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',11,1) == '3') {
                                        return "
                                            ,
                                            indicateurs[27] = indicateurs[11] - indicateurs[12] 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',11,1) == '4') {
                                        return "
                                            ,
                                            indicateurs[27] = base.cti_division(indicateurs[11] - indicateurs[12] ,indicateurs[11])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',11,1) == '5') {
                                        return "
                                            ,
                                            indicateurs[27] = indicateurs[12] - indicateurs[11]
                                            
                                        "; 
                                    }	                                    
                                    if (substr('[LS_DATA3]',11,1) == '6') {
                                        return "
                                            ,
                                            indicateurs[27] = base.cti_division(indicateurs[12] - indicateurs[11],indicateurs[12])*100
                                            
                                        "; 
                                    }	
                                EVAL]
                                [EVAL 
                                    if (substr('[LS_DATA3]',12,1) == '2') {
                                        return "
                                            ,
                                            indicateurs[28] = base.cti_division(indicateurs[13],indicateurs[12])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',12,1) == '7') {
                                        return "
                                            ,
                                            indicateurs[28] = base.cti_division(indicateurs[13],indicateurs[1])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',12,1) == '3') {
                                        return "
                                            ,
                                            indicateurs[28] = indicateurs[12] - indicateurs[13] 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',12,1) == '4') {
                                        return "
                                            ,
                                            indicateurs[28] = base.cti_division(indicateurs[12] - indicateurs[13] ,indicateurs[12])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',12,1) == '5') {
                                        return "
                                            ,
                                            indicateurs[28] = indicateurs[13] - indicateurs[12]
                                            
                                        "; 
                                    }	                                    
                                    if (substr('[LS_DATA3]',12,1) == '6') {
                                        return "
                                            ,
                                            indicateurs[28] = base.cti_division(indicateurs[13] - indicateurs[12],indicateurs[13])*100
                                            
                                        "; 
                                    }	
                                EVAL]
                                [EVAL 
                                    if (substr('[LS_DATA3]',13,1) == '2') {
                                        return "
                                            ,
                                            indicateurs[29] = base.cti_division(indicateurs[14],indicateurs[13])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',13,1) == '7') {
                                        return "
                                            ,
                                            indicateurs[29] = base.cti_division(indicateurs[14],indicateurs[1])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',13,1) == '3') {
                                        return "
                                            ,
                                            indicateurs[29] = indicateurs[13] - indicateurs[14] 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',13,1) == '4') {
                                        return "
                                            ,
                                            indicateurs[29] = base.cti_division(indicateurs[13] - indicateurs[14] ,indicateurs[13])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',13,1) == '5') {
                                        return "
                                            ,
                                            indicateurs[29] = indicateurs[14] - indicateurs[13]
                                            
                                        "; 
                                    }	                                    
                                    if (substr('[LS_DATA3]',13,1) == '6') {
                                        return "
                                            ,
                                            indicateurs[29] = base.cti_division(indicateurs[14] - indicateurs[13],indicateurs[14])*100
                                            
                                        "; 
                                    }	
                                EVAL]
                                [EVAL 
                                    if (substr('[LS_DATA3]',14,1) == '2') {
                                        return "
                                            ,
                                            indicateurs[30] = base.cti_division(indicateurs[15],indicateurs[14])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',14,1) == '7') {
                                        return "
                                            ,
                                            indicateurs[30] = base.cti_division(indicateurs[15],indicateurs[1])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',14,1) == '3') {
                                        return "
                                            ,
                                            indicateurs[30] = indicateurs[14] - indicateurs[15] 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',14,1) == '4') {
                                        return "
                                            ,
                                            indicateurs[30] = base.cti_division(indicateurs[14] - indicateurs[15] ,indicateurs[14])*100 
                                            
                                        "; 
                                    }                                    
                                    if (substr('[LS_DATA3]',14,1) == '5') {
                                        return "
                                            ,
                                            indicateurs[30] = indicateurs[15] - indicateurs[14]
                                            
                                        "; 
                                    }	                                    
                                    if (substr('[LS_DATA3]',14,1) == '6') {
                                        return "
                                            ,
                                            indicateurs[30] = base.cti_division(indicateurs[15] - indicateurs[14],indicateurs[15])*100
                                            
                                        "; 
                                    }
                                EVAL]								

					}
				]]></select>
				<FIELDS>
					<INSERT name="CTISELECT_TREE_FIELDS"/>
					<FIELD name="SORT" />
					<FIELD name="F1"/>
					<FIELD name="F2"/>
					<FIELD name="F3"/>						
					<FIELD name="F4"/>						
					<FIELD name="F5"/>						
					<FIELD name="F6"/>
					<FIELD name="F7"/>
					<FIELD name="F8"/>
					<FIELD name="F9"/>
					<FIELD name="F10"/>
					<FIELD name="F11"/>
					<FIELD name="F12"/>					
					<FIELD name="F13"/>
					<FIELD name="F14"/>
					<FIELD name="F15"/>
					<FIELD name="RAT1" />
					<FIELD name="RAT2" />
                    <FIELD name="RAT3" />
					<FIELD name="RAT4" />
                    <FIELD name="RAT5" />
					<FIELD name="RAT6" />
                    <FIELD name="RAT7" />
					<FIELD name="RAT8" />
                    <FIELD name="RAT9" />
					<FIELD name="RAT10" />
                    <FIELD name="RAT11" />
					<FIELD name="RAT12" />
                    <FIELD name="RAT13" />
					<FIELD name="RAT14" />
                    <FIELD name="RAT15" />
				</FIELDS>
			</SQL>
		</QUERY>
		<QUERY type="propertiesLink" name="VIEWPROPERTIES" forSelections="false">
			<SQL>
				<select><![CDATA[
						SELECT 'X_PERIODE', greatest(to_date(to_char('[PERIODE]'::date - INTERVAL  '3 year', 'YYYY-MM-DD'), 'YYYY-MM-DD'), (SELECT min(date_debut) FROM activite.p_factures ))::text;
				]]></select>
				<FIELDS>
					<FIELD name="name"/>
					<FIELD name="value"/>
				</FIELDS>
			</SQL>
		</QUERY>		
		<QUERY type="propertiesLink" name="VIEWPROPERTIES" forSelections="false">
			<SQL>
				<select><![CDATA[
						CREATE TEMP TABLE w_lsdata AS SELECT oid,code,texte,data_code,data_entete,data_format,data_description,rang,position_ratio FROM activite.t_vue_parametre  WHERE code = '[VIEW.LIB_DATA_LS]'
                        UNION ALL 
                        SELECT 99999,'-1','-1',string_to_array('-1', '@'),string_to_array('-1', '@'),string_to_array('-1', '@'),string_to_array('-1', '@'),0,'0' 
						;
						
						SELECT 'DATA_LS1_ENT1',data_entete[1] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_FMT1',data_format[1] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION							
						SELECT 'DATA_LS1_DSC1',data_description[1] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION						
						SELECT 'DATA_LS1_ENT2',data_entete[2] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_FMT2',data_format[2] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_DSC2',data_description[2] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION						
						SELECT 'DATA_LS1_ENT3',data_entete[3] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_FMT3',data_format[3] FROM w_lsdata	WHERE code = '[VIEW.LIB_DATA_LS]'					
						UNION
						SELECT 'DATA_LS1_DSC3',data_description[3] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_ENT4',data_entete[4] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_FMT4',data_format[4] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_DSC4',data_description[4] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION						
						SELECT 'DATA_LS1_ENT5',data_entete[5] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_FMT5',data_format[5] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_DSC5',data_description[5] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'					
						
						UNION						
						SELECT 'DATA_LS1_ENT6',data_entete[6] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_FMT6',data_format[6] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_DSC6',data_description[6] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'					
						
						UNION						
						SELECT 'DATA_LS1_ENT7',data_entete[7] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_FMT7',data_format[7] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_DSC7',data_description[7] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'						
						
						UNION						
						SELECT 'DATA_LS1_ENT8',data_entete[8] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_FMT8',data_format[8] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_DSC8',data_description[8] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'					
						
						UNION						
						SELECT 'DATA_LS1_ENT9',data_entete[9] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_FMT9',data_format[9] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_DSC9',data_description[9] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'						
						
						UNION						
						SELECT 'DATA_LS1_ENT10',data_entete[10] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_FMT10',data_format[10] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_DSC10',data_description[10] FROM w_lsdata	WHERE code = '[VIEW.LIB_DATA_LS]'						
						
						UNION						
						SELECT 'DATA_LS1_ENT11',data_entete[11] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_FMT11',data_format[11] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_DSC11',data_description[11] FROM w_lsdata	 WHERE code = '[VIEW.LIB_DATA_LS]'						
						
						UNION						
						SELECT 'DATA_LS1_ENT12',data_entete[12] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_FMT12',data_format[12] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_DSC12',data_description[12] FROM w_lsdata	 WHERE code = '[VIEW.LIB_DATA_LS]'						
						
						UNION						
						SELECT 'DATA_LS1_ENT13',data_entete[13] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_FMT13',data_format[13] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_DSC13',data_description[13] FROM w_lsdata	 WHERE code = '[VIEW.LIB_DATA_LS]'						
						
						UNION						
						SELECT 'DATA_LS1_ENT14',data_entete[14] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_FMT14',data_format[14] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_DSC14',data_description[14] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'							
						
						UNION						
						SELECT 'DATA_LS1_ENT15',data_entete[15] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_FMT15',data_format[15] FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]'
						UNION
						SELECT 'DATA_LS1_DSC15',data_description[15] FROM w_lsdata	WHERE code = '[VIEW.LIB_DATA_LS]'
                        UNION
                        SELECT 'DATA_LS_RATIO',position_ratio FROM w_lsdata WHERE code = '[VIEW.LIB_DATA_LS]';					
						

				]]></select>
				<FIELDS>
					<FIELD name="name"/>
					<FIELD name="value"/>
				</FIELDS>
			</SQL>
		</QUERY>
	</QUERIES>
	<PRESENTATION>
		<VIEWLINKS>	
			<VIEWLINK label="(&#8721;) Dernier Mois/Année " shortLabel="Mois/Année"   rowContext="false" buttonType="VIEWLINKPOPUP">
				<VIEWITEM label="Dernier mois" shortLabel="Dernier mois"  view="ACTI000063.XML" rowContext="false" enabled="true" buttonType="COMPARATIF" componentName="PRESTATIONS_BASE_VIEWLINK" component2Name="PRESTATIONS_DATA_VIEWLINK" >
					<ARG name="ALIAS_PERIODE" value="return '-1';" />
					<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,8)+'01';"/>
					<ARG name="TOPERIODE" value=" return SELECT.TOPERIODE;"/>
					<ARG name="GROUPBY">
						<value>
							<![CDATA[
								
							var s:String = '';
							switch (SELECT.GROUPBY) {
								case 'ANNEE' :			s = 'JOURS'; 		break;
								case 'TRIM' :			s = 'JOURS';		break;
								case 'MOIS' :			s = 'JOURS';		break;
								case 'NUMEROMOIS' :		s = 'JOURS';		break;
								case 'NUMEROTRIM' :		s = 'JOURS';		break;
								case 'SEMAINEWE' :		s = 'JOURS';		break;
								case 'SEMAINEANNE' :	s = 'JOURS';		break;
								case 'NUMEROJOUR' :		s = 'JOURS';		break;
								case 'JOURS' :			s = 'JOURS';		break;
								case 'JOUR' :			s = 'JOURS';		break;
								
								case 'ANNEEF' :			s = 'JOURSF'; 		break;
								case 'TRIMF' :			s = 'JOURSF';		break;
								case 'MOISF' :			s = 'JOURSF';		break;
								case 'NUMEROMOISF' :	s = 'JOURSF';		break;
								case 'NUMEROTRIMF' :	s = 'JOURSF';		break;
								case 'SEMAINEWEF' :		s = 'JOURSF';		break;
								case 'SEMAINEANNEF' :	s = 'JOURSF';		break;
								case 'NUMEROJOURF' :	s = 'JOURSF';		break;
								case 'JOURSF' :			s = 'JOURSF';		break;
								case 'JOURF' :			s = 'JOURSF';		break;
								
								case 'ANNEEA' :			s = 'JOURSA'; 		break;
								case 'TRIMA' :			s = 'JOURSA';		break;
								case 'MOISA' :			s = 'JOURSA';		break;
								case 'NUMEROMOISA' :	s = 'JOURSA';		break;
								case 'NUMEROTRIMA' :	s = 'JOURSA';		break;
								case 'SEMAINEWEA' :		s = 'JOURSA';		break;
								case 'SEMAINEANNEA' :	s = 'JOURSA';		break;
								case 'NUMEROJOURA' :	s = 'JOURSA';		break;
								case 'JOURSA' :			s = 'JOURSA';		break;
								case 'JOURA' :			s = 'JOURSA';		break;
								
								case 'ANNEEV' :			s = 'JOURSV'; 		break;
								case 'TRIMV' :			s = 'JOURSV';		break;
								case 'MOISV' :			s = 'JOURSV';		break;
								case 'NUMEROMOISV' :	s = 'JOURSV';		break;
								case 'NUMEROTRIMV' :	s = 'JOURSV';		break;
								case 'SEMAINEWEV' :		s = 'JOURSV';		break;
								case 'SEMAINEANNEV' :	s = 'JOURSV';		break;
								case 'NUMEROJOURV' :	s = 'JOURSV';		break;
								case 'JOURSV' :			s = 'JOURSV';		break;
								case 'JOURV' :			s = 'JOURSV';		break;
					
								default :				
										if(SELECT.QUELLEDATE == 1) {s = 'JOURSA';			break;}
										if(SELECT.QUELLEDATE == 2) {s = 'JOURS';			break;}
										if(SELECT.QUELLEDATE == 3) {s = 'JOURSF';			break;}
										if(SELECT.QUELLEDATE == 4) {s = 'JOURSV';			break;}
								
							}
							return s;
							]]>
						</value>
					</ARG>
					<ARG name="GROUPBY_2" value="return '-1';" />
					<ARG name="GROUPBY_3" value="return '-1';" />
					<ARG name="LGROUPBY" value="return SELECT.GROUPBY;" />
					<ARG name="LGROUPBY_2" value="return SELECT.GROUPBY_2;" />
					<ARG name="LGROUPBY_3" value="return SELECT.GROUPBY_3;" />						
					<ARG name="TYPE_COMPARAISON" value="'2'" />
				</VIEWITEM>	
				<VIEWITEM label="&#8721; dernier mois" data="2" shortLabel="&#8721; dernier  mois"  view="ACTI000149.XML" enabled="true" rowContext="false" buttonType="COMPARATIF" >
					<ARG name="ALIAS_PERIODE" value="return '-1';" />
					<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,8)+'01';"/>
					<ARG name="DATA1" value="'NBSEJ'" />
					<ARG name="DATA2" value="'MTFACENC'" />
					<ARG name="GROUPBY">
						<value>
							<![CDATA[
								
							var s:String = '';
							switch (SELECT.GROUPBY) {
								case 'ANNEE' :			s = 'JOURS'; 		break;
								case 'TRIM' :			s = 'JOURS';		break;
								case 'MOIS' :			s = 'JOURS';		break;
								case 'NUMEROMOIS' :		s = 'JOURS';		break;
								case 'NUMEROTRIM' :		s = 'JOURS';		break;
								case 'SEMAINEWE' :		s = 'JOURS';		break;
								case 'SEMAINEANNE' :	s = 'JOURS';		break;
								case 'NUMEROJOUR' :		s = 'JOURS';		break;
								case 'JOURS' :			s = 'JOURS';		break;
								case 'JOUR' :			s = 'JOURS';		break;
								
								case 'ANNEEF' :			s = 'JOURSF'; 		break;
								case 'TRIMF' :			s = 'JOURSF';		break;
								case 'MOISF' :			s = 'JOURSF';		break;
								case 'NUMEROMOISF' :	s = 'JOURSF';		break;
								case 'NUMEROTRIMF' :	s = 'JOURSF';		break;
								case 'SEMAINEWEF' :		s = 'JOURSF';		break;
								case 'SEMAINEANNEF' :	s = 'JOURSF';		break;
								case 'NUMEROJOURF' :	s = 'JOURSF';		break;
								case 'JOURSF' :			s = 'JOURSF';		break;
								case 'JOURF' :			s = 'JOURSF';		break;
								
								case 'ANNEEA' :			s = 'JOURSA'; 		break;
								case 'TRIMA' :			s = 'JOURSA';		break;
								case 'MOISA' :			s = 'JOURSA';		break;
								case 'NUMEROMOISA' :	s = 'JOURSA';		break;
								case 'NUMEROTRIMA' :	s = 'JOURSA';		break;
								case 'SEMAINEWEA' :		s = 'JOURSA';		break;
								case 'SEMAINEANNEA' :	s = 'JOURSA';		break;
								case 'NUMEROJOURA' :	s = 'JOURSA';		break;
								case 'JOURSA' :			s = 'JOURSA';		break;
								case 'JOURA' :			s = 'JOURSA';		break;
								
								case 'ANNEEV' :			s = 'JOURSV'; 		break;
								case 'TRIMV' :			s = 'JOURSV';		break;
								case 'MOISV' :			s = 'JOURSV';		break;
								case 'NUMEROMOISV' :	s = 'JOURSV';		break;
								case 'NUMEROTRIMV' :	s = 'JOURSV';		break;
								case 'SEMAINEWEV' :		s = 'JOURSV';		break;
								case 'SEMAINEANNEV' :	s = 'JOURSV';		break;
								case 'NUMEROJOURV' :	s = 'JOURSV';		break;
								case 'JOURSV' :			s = 'JOURSV';		break;
								case 'JOURV' :			s = 'JOURSV';		break;
					
								default :				
										if(SELECT.QUELLEDATE == 1) {s = 'JOURSA';			break;}
										if(SELECT.QUELLEDATE == 2) {s = 'JOURS';			break;}
										if(SELECT.QUELLEDATE == 3) {s = 'JOURSF';			break;}
										if(SELECT.QUELLEDATE == 4) {s = 'JOURSV';			break;}
								
							}
							return s;
							]]>
						</value>
					</ARG>
					<ARG name="GROUPBY_2" value="return '-1';"/>
					<ARG name="GROUPBY_3" value="return '-1';"/>					
					<ARG name="QUELLEDATE" value="return SELECT.QUELLEDATE"/>
					<ARG name="TYPE_COMPARAISON" value="return '2';" />
				</VIEWITEM>
				<VIEWITEM  label="Dernière année" data="2" shortLabel="derniere  année"  view="ACTI000063.XML" enabled="true" rowContext="false" buttonType="COMPARATIF" componentName="PRESTATIONS_DATA_VIEWLINK"  >
					<ARG name="ALIAS_PERIODE" value="return '-1';" />
					<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,4)+'-01-01';"/>
					<ARG name="TOPERIODE" value=" return SELECT.TOPERIODE;"/>
					<ARG name="GROUPBY">
						<value>
							<![CDATA[
								
							var s:String = '';
							switch (SELECT.GROUPBY) {
								case 'ANNEE' :			s = 'NUMEROMOIS'; 		break;
								case 'TRIM' :			s = 'NUMEROMOIS';		break;
								case 'MOIS' :			s = 'NUMEROMOIS';		break;
								case 'NUMEROMOIS' :		s = 'NUMEROMOIS';		break;
								case 'NUMEROTRIM' :		s = 'NUMEROMOIS';		break;
								case 'SEMAINEWE' :		s = 'NUMEROMOIS';		break;
								case 'SEMAINEANNE' :	s = 'NUMEROMOIS';		break;
								case 'NUMEROJOUR' :		s = 'NUMEROMOIS';		break;
								case 'JOURS' :			s = 'NUMEROMOIS';		break;
								case 'JOUR' :			s = 'NUMEROMOIS';		break;
								
								case 'ANNEEF' :			s = 'NUMEROMOISF'; 		break;
								case 'TRIMF' :			s = 'NUMEROMOISF';		break;
								case 'MOISF' :			s = 'NUMEROMOISF';		break;
								case 'NUMEROMOISF' :	s = 'NUMEROMOISF';		break;
								case 'NUMEROTRIMF' :	s = 'NUMEROMOISF';		break;
								case 'SEMAINEWEF' :		s = 'NUMEROMOISF';		break;
								case 'SEMAINEANNEF' :	s = 'NUMEROMOISF';		break;
								case 'NUMEROJOURF' :	s = 'NUMEROMOISF';		break;
								case 'JOURSF' :			s = 'NUMEROMOISF';		break;
								case 'JOURF' :			s = 'NUMEROMOISF';		break;
								
								case 'ANNEEA' :			s = 'NUMEROMOISA'; 		break;
								case 'TRIMA' :			s = 'NUMEROMOISA';		break;
								case 'MOISA' :			s = 'NUMEROMOISA';		break;
								case 'NUMEROMOISA' :	s = 'NUMEROMOISA';		break;
								case 'NUMEROTRIMA' :	s = 'NUMEROMOISA';		break;
								case 'SEMAINEWEA' :		s = 'NUMEROMOISA';		break;
								case 'SEMAINEANNEA' :	s = 'NUMEROMOISA';		break;
								case 'NUMEROJOURA' :	s = 'NUMEROMOISA';		break;
								case 'JOURSA' :			s = 'NUMEROMOISA';		break;
								case 'JOURA' :			s = 'NUMEROMOISA';		break;
								
								case 'ANNEEV' :			s = 'NUMEROMOISV'; 		break;
								case 'TRIMV' :			s = 'NUMEROMOISV';		break;
								case 'MOISV' :			s = 'NUMEROMOISV';		break;
								case 'NUMEROMOISV' :	s = 'NUMEROMOISV';		break;
								case 'NUMEROTRIMV' :	s = 'NUMEROMOISV';		break;
								case 'SEMAINEWEV' :		s = 'NUMEROMOISV';		break;
								case 'SEMAINEANNEV' :	s = 'NUMEROMOISV';		break;
								case 'NUMEROJOURV' :	s = 'NUMEROMOISV';		break;
								case 'JOURSV' :			s = 'NUMEROMOISV';		break;
								case 'JOURV' :			s = 'NUMEROMOISV';		break;
					
								default :				
										if(SELECT.QUELLEDATE == 1) {s = 'NUMEROMOISA';			break;}
										if(SELECT.QUELLEDATE == 2) {s = 'NUMEROMOIS';			break;}
										if(SELECT.QUELLEDATE == 3) {s = 'NUMEROMOISF';			break;}
										if(SELECT.QUELLEDATE == 4) {s = 'NUMEROMOISV';			break;}
								
							}
							return s;
							]]>
						</value>
					</ARG>
					<ARG name="GROUPBY_2" value="return '-1';" />
					<ARG name="GROUPBY_3" value="return '-1';" />					
					<ARG name="DATA1" value="'NBSEJ'" />
					<ARG name="DATA2" value="'MTFACENC'" />
					<ARG name="TYPE_COMPARAISON" value="'2'" />
				</VIEWITEM>	
				<VIEWITEM label="&#8721; dernière Année" shortLabel="&#8721; derniere année"  view="ACTI000149.XML" rowContext="false" enabled="true" buttonType="COMPARATIF">
					<ARG name="ALIAS_PERIODE" value="return '-1';" />
					<ARG name="PERIODE_D" value="return VIEW.COMP_PERIODE_D;" />
					<ARG name="TOPERIODE_D" value="return VIEW.COMP_TOPERIODE_D;" />
					<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,4)+'-01-01';" />
					<ARG name="TOPERIODE" value=" return SELECT.TOPERIODE;" />
					<ARG name="GROUPBY">
						<value>
							<![CDATA[
								
							var s:String = '';
							switch (SELECT.GROUPBY) {
								case 'ANNEE' :			s = 'NUMEROMOIS'; 		break;
								case 'TRIM' :			s = 'NUMEROMOIS';		break;
								case 'MOIS' :			s = 'NUMEROMOIS';		break;
								case 'NUMEROMOIS' :		s = 'NUMEROMOIS';		break;
								case 'NUMEROTRIM' :		s = 'NUMEROMOIS';		break;
								case 'SEMAINEWE' :		s = 'NUMEROMOIS';		break;
								case 'SEMAINEANNE' :	s = 'NUMEROMOIS';		break;
								case 'NUMEROJOUR' :		s = 'NUMEROMOIS';		break;
								case 'JOURS' :			s = 'NUMEROMOIS';		break;
								case 'JOUR' :			s = 'NUMEROMOIS';		break;
								
								case 'ANNEEF' :			s = 'NUMEROMOISF'; 		break;
								case 'TRIMF' :			s = 'NUMEROMOISF';		break;
								case 'MOISF' :			s = 'NUMEROMOISF';		break;
								case 'NUMEROMOISF' :	s = 'NUMEROMOISF';		break;
								case 'NUMEROTRIMF' :	s = 'NUMEROMOISF';		break;
								case 'SEMAINEWEF' :		s = 'NUMEROMOISF';		break;
								case 'SEMAINEANNEF' :	s = 'NUMEROMOISF';		break;
								case 'NUMEROJOURF' :	s = 'NUMEROMOISF';		break;
								case 'JOURSF' :			s = 'NUMEROMOISF';		break;
								case 'JOURF' :			s = 'NUMEROMOISF';		break;
								
								case 'ANNEEA' :			s = 'NUMEROMOISA'; 		break;
								case 'TRIMA' :			s = 'NUMEROMOISA';		break;
								case 'MOISA' :			s = 'NUMEROMOISA';		break;
								case 'NUMEROMOISA' :	s = 'NUMEROMOISA';		break;
								case 'NUMEROTRIMA' :	s = 'NUMEROMOISA';		break;
								case 'SEMAINEWEA' :		s = 'NUMEROMOISA';		break;
								case 'SEMAINEANNEA' :	s = 'NUMEROMOISA';		break;
								case 'NUMEROJOURA' :	s = 'NUMEROMOISA';		break;
								case 'JOURSA' :			s = 'NUMEROMOISA';		break;
								case 'JOURA' :			s = 'NUMEROMOISA';		break;
								
								case 'ANNEEV' :			s = 'NUMEROMOISV'; 		break;
								case 'TRIMV' :			s = 'NUMEROMOISV';		break;
								case 'MOISV' :			s = 'NUMEROMOISV';		break;
								case 'NUMEROMOISV' :	s = 'NUMEROMOISV';		break;
								case 'NUMEROTRIMV' :	s = 'NUMEROMOISV';		break;
								case 'SEMAINEWEV' :		s = 'NUMEROMOISV';		break;
								case 'SEMAINEANNEV' :	s = 'NUMEROMOISV';		break;
								case 'NUMEROJOURV' :	s = 'NUMEROMOISV';		break;
								case 'JOURSV' :			s = 'NUMEROMOISV';		break;
								case 'JOURV' :			s = 'NUMEROMOISV';		break;
					
								default :				
										if(SELECT.QUELLEDATE == 1) {s = 'NUMEROMOISA';			break;}
										if(SELECT.QUELLEDATE == 2) {s = 'NUMEROMOIS';			break;}
										if(SELECT.QUELLEDATE == 3) {s = 'NUMEROMOISF';			break;}
										if(SELECT.QUELLEDATE == 4) {s = 'NUMEROMOISV';			break;}
								
							}
							return s;
							]]>
						</value>
					</ARG>
					<ARG name="GROUPBY_2" value="return '-1';" />
					<ARG name="GROUPBY_3" value="return '-1';" />
					<ARG name="DATA1" value="'NBSEJ'" />
					<ARG name="DATA2" value="'MTFACENC'" />
					<ARG name="TYPE_COMPARAISON" value="'2'" />
				</VIEWITEM>	
			</VIEWLINK>	
			<VIEWLINK label="Comparatif" shortLabel="Comparatif" view="ACTI000063.XML" componentName="PRESTATIONS_DATA_VIEWLINK" enabled="true" rowContext="false">
				<ARG name="QUELLEDATE" value="return SELECT.QUELLEDATE;" /> 
				<ARG name="GROUPBY" value="if (SELECT.GROUPBY == 'JOUR' ) {return 'JOURS'}
											   if (SELECT.GROUPBY == 'JOURF' ) {return 'JOURSF'}
											   if (SELECT.GROUPBY == 'JOURA' ) {return 'JOURSA'}
											   if (SELECT.GROUPBY == 'MOIS' ) {return 'NUMEROMOIS'}
											   if (SELECT.GROUPBY == 'MOISF' ) {return 'NUMEROMOISF'}
											   return 	SELECT.GROUPBY;
					
					" />
				<ARG name="GROUPBY" value="return SELECT.GROUPBY;"/>
				<ARG name="GROUPBY_2" value="return SELECT.GROUPBY_2;"/>
				<ARG name="GROUPBY_3" value="return SELECT.GROUPBY_3;"/>
				<ARG name="LGROUPBY" value="return SELECT.GROUPBY;" />
				<ARG name="LGROUPBY_2" value="return SELECT.GROUPBY_2;" />
				<ARG name="LGROUPBY_3" value="return SELECT.GROUPBY_3;" />
				<ARG name="GROUPBY_TAB" value="return 'TAB';" />
				<ARG name="TYPE_COMPARAISON" value="'2'" />
			</VIEWLINK>
			<VIEWLINK label="Comparatif mensuel" shortLabel="Comp. Mensuel" view="ACTI000156.XML" enabled="true" rowContext="false" buttonType="COMPARATIF" componentName="PRESTATIONS_DATA_VIEWLINK" >
				<ARG name="ALIAS_PERIODE" value="return '-1';" />
				<ARG name="QUELLEDATE" value="return SELECT.QUELLEDATE;" /> 
				<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,4)+'-01-01';" />
				<ARG name="GROUPBY" value="return SELECT.GROUPBY;" />
				<ARG name="GROUPBY_2" value="return SELECT.GROUPBY_2;" />
				<ARG name="GROUPBY_3" value="return SELECT.GROUPBY_3;" />
				<ARG name="LGROUPBY" value="return SELECT.GROUPBY;"/>
				<ARG name="LGROUPBY_2" value="return SELECT.GROUPBY_2;"/>
				<ARG name="LGROUPBY_3" value="return SELECT.GROUPBY_3;"/>
				<ARG name="TYPE_COMPARAISON" value="'2'" />
			</VIEWLINK>	
			<VIEWLINK label="Effets" shortLabel="Effets"  view="ACTI000141.XML" rowContext="false" enabled="true" buttonType="COMPARATIF" >
					<ARG name="ALIAS_PERIODE" value="return '-1';" />
                    <ARG name="PERIODE" value="return VIEW.COMP_PERIODE;" />
					<ARG name="GROUPBY" value="return SELECT.GROUPBY;" />
					<ARG name="GROUPBY_2" value="return SELECT.GROUPBY_2;" />
					<ARG name="GROUPBY_3" value="return SELECT.GROUPBY_3;" />
					<ARG name="LGROUPBY" value="return SELECT.GROUPBY;"/>
					<ARG name="LGROUPBY_2" value="return SELECT.GROUPBY_2;"/>
					<ARG name="LGROUPBY_3" value="return SELECT.GROUPBY_3;"/>
					<ARG name="DATA01" value="'1.1'" />
                    <ARG name="TYPE_COMPARAISON" value="'2'" />
			</VIEWLINK>
			<VIEWLINK label="Evolution comparative" shortLabel="Evol. comparative"  view="ACTI000154.XML"  rowContext="false" componentName="PRESTATIONS_DATA_VIEWLINK"  enabled="true" buttonType="VIEWLINK_EVO_COMP_1" >			
					<ARG name="QUELLEDATE" value="return SELECT.QUELLEDATE;" /> 
					<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,4)+'-01-01';"/>
					<ARG name="GROUPBY" value="return SELECT.GROUPBY;" />
					<ARG name="GROUPBY_2" value="if (SELECT.QUELLEDATE == '1' ) {return 'NUMEROMOISA';}
												if (SELECT.QUELLEDATE == '2' ) {return 'NUMEROMOIS';}
												if (SELECT.QUELLEDATE == '3'  ) {return 'NUMEROMOISF';}
												if (SELECT.QUELLEDATE == '4'  ) {return 'NUMEROMOISV';}
						" />
					<ARG name="GROUPBY_TAB" value="return 'TAB';" />
					<ARG name="TYPE_COMPARAISON" value="'2'" />
			</VIEWLINK>			
			<VIEWLINK label="Evolution" shortLabel="Evolution" view="ACTI000062.XML" enabled="true" rowContext="false" componentName="PERIODICITE_VIEWLINK" component2Name="PRESTATIONS_BASE_VIEWLINK">
				<ARG name="ALIAS_PERIODE" value="return '-1';" />
				<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,4)+'-01-01';" />
				<ARG name="QUELLEDATE" value="return SELECT.QUELLEDATE;" /> 
				<ARGS name="SPEC">
					<value><![CDATA[
						LINKVARIABLES['TYPE_COMPARAISON'] = '2';
						LINKVARIABLES['DATA'] = 'MTFAC';
						if (SELECT.QUELMONTANT == '2') {
							LINKVARIABLES['DATA'] = 'MTCPT';
						}
						if (SELECT.QUELMONTANT == 'FACVSBG') {
							//LINKVARIABLES['DATA'] = 'MTCPT';
						}
						if (SELECT.QUELMONTANT == 'ENF') {
							LINKVARIABLES['DATA'] = 'MTENC';
						}
						if (SELECT.QUELMONTANT == 'MF-ENF') {
							LINKVARIABLES['DATA'] = 'MTFACENC';
						}
						if (SELECT.QUELMONTANT == 'MC-ENF') {
							LINKVARIABLES['DATA'] = 'MTFACENC';
						}
						return 'OK';
					]]></value>
				</ARGS>
				<ARG name="GROUPBY" value="return SELECT.GROUPBY;" />
				<ARG name="GROUPBY_2" value="return SELECT.GROUPBY_2;" />
				<ARG name="GROUPBY_3" value="return SELECT.GROUPBY_3;" />
				<ARG name="LGROUPBY" value="return SELECT.GROUPBY;"/>
				<ARG name="LGROUPBY_2" value="return SELECT.GROUPBY_2;"/>
				<ARG name="LGROUPBY_3" value="return SELECT.GROUPBY_3;"/>
				<ARG name="DATA1" value="return 'FAVMTT';" />   
				<ARG name="PERIODICITE" value="'MONTH'" />   
			</VIEWLINK>
			<VIEWLINK label="Analyse croisée" shortLabel="Analyse croisée" view="ACTI000082.XML" enabled="true" rowContext="false" componentName="PRESTATIONS_ANALYSE_CROISEE_MULTIVIEWLINK" buttonType="ANALYSE_CROISEE" >
				<ARG name="PERIODE" value="return VIEW.X_PERIODE.substr(0,4)+'-01-01';"/>			
			</VIEWLINK>					
			<VIEWLINK label="Analyse"  shortLabel="Analyse"  rowContext="false" buttonType="ANALYSE_VIEWLINK">
				<VIEWITEM label="Analyse" shortLabel="Analyse"  view="ACTI000018.XML" rowContext="false" enabled="true" buttonType="ANALYSE_VIEWLINK" componentName="PRESTATIONS_BASE_VIEWLINK">
					<ARG name="ALIAS_PERIODE" value="return '-1'" />
					<ARG name="QUELLEDATE" value="return SELECT.QUELLEDATE;" /> 
					<ARG name="QUELMONTANT" value="return '1';" /> 
					<ARG name="GROUPBY" value="return SELECT.GROUPBY;" />
					<ARG name="GROUPBY_2" value="reurn SELECT.GROUPBY_2" />
					<ARG name="GROUPBY_2" value="reurn SELECT.GROUPBY_3" />
					<ARG name="GROUPBY_TAB" value="return 'TAB';" />
					<ARG name="LGROUPBY" value="return SELECT.GROUPBY;"/>
					<ARG name="LGROUPBY_2" value="return SELECT.GROUPBY_2;"/>
					<ARG name="LGROUPBY_3" value="return SELECT.GROUPBY_3;"/>
				</VIEWITEM>					
				<VIEWITEM label="Analyse paramètrable" shortLabel="Analyse"  view="ACTI000165.XML" rowContext="false" enabled="true" buttonType="ANALYSE_VIEWLINK" componentName="PRESTATIONS_BASE_VIEWLINK">
					<ARG name="ALIAS_PERIODE" value="return '-1'" />
					<ARG name="PERIODE" value="return SELECT.TOPERIODE.substr(0,4)+'-01-01'" />
					<ARG name="QUELLEDATE" value="return SELECT.QUELLEDATE;" /> 
					<ARG name="GROUPBY" value="return SELECT.GROUPBY;" />
					<ARG name="GROUPBY_2" value="return SELECT.GROUPBY_2;" />
					<ARG name="GROUPBY_3" value="return SELECT.GROUPBY_3;" />
					<ARG name="LGROUPBY" value="return SELECT.GROUPBY;"/>
					<ARG name="LGROUPBY_2" value="return SELECT.GROUPBY_2;"/>
					<ARG name="LGROUPBY_3" value="return SELECT.GROUPBY_3;"/>
					<ARG name="DATA1" value="if(SELECT.QUELLEDATE == '1') {return 'FAVEMC';} else {return 'FAVNBS';}" />
					<ARG name="DATA2" value="'MTFACENC'" />
					<ARG name="DATA3" value="if(SELECT.QUELLEDATE == '1') {return 'MMFPVEMC';} else {return 'MMTFACENC';}" />
					<ARG name="DATA4" value="return 'FAVNBEMCHC';"/>
					<ARG name="DATA5" value="return 'FAVMTTHC';"/>
					<ARG name="DATA6" value="return 'FAVCAMHC';"/>
					<ARG name="DATA7" value="return 'FAVNBSHJ';"/>
					<ARG name="DATA8" value="return 'FAVMTTHJ';"/>
					<ARG name="DATA9" value="return 'FAVCAMHJ';"/>
					<ARG name="DATA10" value="return '0'" />
					<ARG name="DATA011" value="return '0'" />
					<ARG name="DATA012" value="return '0'" />
					<ARG name="DATA013" value="return '0'" />
					<ARG name="DATA014" value="return '0'" />
					<ARG name="DATA014" value="return '0'" />
					<ARG name="GROUPBY_TAB" value="'TAB'" />
				</VIEWITEM>	
			</VIEWLINK>	
			<VIEWLINK label="Liste séjours" shortLabel="Séjours" view="ACTI000016.XML"  componentName="PRESTATIONS_BASE_VIEWLINK"  component2Name="ETA_DOS_BASE_VIEWLINK">
			   	<ARG name="ALIAS_PERIODE" value="return '-1'"/>
			    <ARG name="QUELLEDATE" value="return SELECT.QUELLEDATE;"/> 
				<ARG name="GROUPBY_2" value="return '-1';"/>			   
				<ARG name="PERIODE">
					<value>
						<![CDATA[
							if (SELECT.GROUPBY == 'MOIS') {return ROW.OID1;}
							if (SELECT.GROUPBY_2 == 'MOIS' && ROW.OID2 != '0' && ROW.OID2 != '-9999999') {return ROW.OID2;} 
							if (SELECT.GROUPBY_3 == 'MOIS' && ROW.OID3 != '0' && ROW.OID3 != '-9999999') {return ROW.OID3;} 							
							if (SELECT.GROUPBY == 'MOISV') {return ROW.OID1;}
							if (SELECT.GROUPBY_2 == 'MOISV' && ROW.OID2 != '0' && ROW.OID2 != '-9999999') {return ROW.OID2;} 
							if (SELECT.GROUPBY_3 == 'MOISV' && ROW.OID3 != '0' && ROW.OID3 != '-9999999') {return ROW.OID3;} 
							if (SELECT.GROUPBY == 'MOISF') {return ROW.OID1;}
							if (SELECT.GROUPBY_2 == 'MOISF' && ROW.OID2 != '0' && ROW.OID2 != '-9999999') {return ROW.OID2;} 
							if (SELECT.GROUPBY_3 == 'MOISF' && ROW.OID3 != '0' && ROW.OID3 != '-9999999') {return ROW.OID3;} 
							if (SELECT.GROUPBY == 'MOISEX') {return ROW.OID1;}
							if (SELECT.GROUPBY_2 == 'MOISEX' && ROW.OID2 != '0' && ROW.OID2 != '-9999999') {return ROW.OID2;} 
							if (SELECT.GROUPBY_3 == 'MOISEX' && ROW.OID3 != '0' && ROW.OID3 != '-9999999') {return ROW.OID3;} 
							
						]]>
					</value>
				</ARG>
				<ARG name="TOPERIODE">
					<value>
						<![CDATA[
							if (SELECT.GROUPBY == 'MOIS') {return ROW.OID1;} 	
							if (SELECT.GROUPBY_2 == 'MOIS' && ROW.OID2 != '0' && ROW.OID2 != '-9999999') {return ROW.OID2;} 
							if (SELECT.GROUPBY_3 == 'MOIS' && ROW.OID3 != '0' && ROW.OID3 != '-9999999') {return ROW.OID3;} 	
							if (SELECT.GROUPBY == 'MOISV') {return ROW.OID1;} 	
							if (SELECT.GROUPBY_2 == 'MOISV' && ROW.OID2 != '0' && ROW.OID2 != '-9999999') {return ROW.OID2;} 
							if (SELECT.GROUPBY_3 == 'MOISV' && ROW.OID3 != '0' && ROW.OID3 != '-9999999') {return ROW.OID3;} 
							if (SELECT.GROUPBY == 'MOISF') {return ROW.OID1;}	
							if (SELECT.GROUPBY_2 == 'MOISF' && ROW.OID2 != '0' && ROW.OID2 != '-9999999') {return ROW.OID2;} 
							if (SELECT.GROUPBY_3 == 'MOISF' && ROW.OID3 != '0' && ROW.OID3 != '-9999999') {return ROW.OID3;} 
							if (SELECT.GROUPBY == 'MOISEX') {return ROW.OID1;}	
							if (SELECT.GROUPBY_2 == 'MOISEX' && ROW.OID2 != '0' && ROW.OID2 != '-9999999') {return ROW.OID2;} 
							if (SELECT.GROUPBY_3 == 'MOISEX' && ROW.OID3 != '0' && ROW.OID3 != '-9999999') {return ROW.OID3;} 
						]]>
					</value>
				</ARG>
			</VIEWLINK>
		
		</VIEWLINKS>
		<ONGLET excelLabel="Analyse" label="Analyse" multiTab="true" multiTabBreakField="TABD" multiTabBreakLabelField="TABDL" multiTabBreakLonglabelField="TABDLL">
			<CHART title="" type="group" subType="" percentHeight="100" visibleCondition="VIEW.H_DATA == '-1'">
				<CHART title="Graphique 1ère donnée" type="pieChart" subType="" maxItems="10" maxItemsSortOn="" maxItemsSortSeq="" sortField="F1" sortSeq="D" condition="ROW.LVL == '1'">
					<CATEGORY field="TXT" type="Char" />
					<SERIE field="F1" displayName="if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_ENT1;}else{return SELECT.DATA13;}" displayNameCalc="true"/>
				</CHART>
				<CHART title="Histogramme 2ème donnée" type="columnChart" subType="" maxItems="10" maxItemsSortOn="" maxItemsSortSeq="" sortField="F2" sortSeq="D" condition="ROW.LVL == '1'">
					<CATEGORY field="TXT" type="Char" />
					<SERIE field="F2" displayName="if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_ENT2;}else{return SELECT.DATA23;}" displayNameCalc="true"/>
				</CHART>
			</CHART>			
			<CHART title="" type="group" subType="" percentHeight="100" visibleCondition="VIEW.H_DATA == '2'" >
				<CHART title="Graphique 1ère donnée" type="pieChart" subType="" maxItems="10" maxItemsSortOn="" maxItemsSortSeq="" sortField="F1" sortSeq="D" condition="ROW.LVL == '1'">
					<CATEGORY field="TXT" type="Char" />
					<SERIE field="F1" displayName="if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_ENT1;}else{return SELECT.DATA13;}" displayNameCalc="true"/>
				</CHART>
				<CHART title="Histogramme 2ème donnée" type="columnChart" subType="stacked" maxItems="10" maxItemsSortOn="" maxItemsSortSeq="" sortField="F2" sortSeq="D" condition="ROW.LVL == '1'">
					<CATEGORY field="TXT" type="Char" />
					<SERIE field="F6" displayName="if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_ENT6;}" displayNameCalc="true"/>
					<SERIE field="F9" displayName="if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_ENT9;}" displayNameCalc="true"/>
				</CHART>
			</CHART>			
			<CHART title="" type="group" subType="" percentHeight="100" visibleCondition="VIEW.H_DATA == '1'" >
				<CHART title="Graphique 1ère donnée" type="pieChart" subType="" maxItems="10" maxItemsSortOn="" maxItemsSortSeq="" sortField="F1" sortSeq="D" condition="ROW.LVL == '1'">
					<CATEGORY field="TXT" type="Char" />
					<SERIE field="F1" displayName="if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_ENT1;}else{return SELECT.DATA13;}" displayNameCalc="true"/>
				</CHART>
				<CHART title="Histogramme 2ème donnée" type="columnChart" subType="stacked" maxItems="10" maxItemsSortOn="" maxItemsSortSeq="" sortField="F2" sortSeq="D" condition="ROW.LVL == '1'">
					<CATEGORY field="TXT" type="Char" />
					<SERIE field="F6" displayName="if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_ENT6;}" displayNameCalc="true"/>
					<SERIE field="F9" displayName="if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_ENT9;}" displayNameCalc="true"/>
					<SERIE field="F12" displayName="if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_ENT12;}" displayNameCalc="true"/>
				</CHART>
			</CHART>			
			<CHART title="" type="group" subType="" percentHeight="100" visibleCondition="VIEW.H_DATA == '3'" >
				<CHART title="Graphique 1ère donnée" type="pieChart" subType="" maxItems="10" maxItemsSortOn="" maxItemsSortSeq="" sortField="F1" sortSeq="D" condition="ROW.LVL == '1'">
					<CATEGORY field="TXT" type="Char" />
					<SERIE field="F1" displayName="if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_ENT1;}else{return SELECT.DATA13;}" displayNameCalc="true"/>
				</CHART>
				<CHART title="Histogramme 2ème donnée" type="columnChart" subType="stacked" maxItems="10" maxItemsSortOn="" maxItemsSortSeq="" sortField="F2" sortSeq="D" condition="ROW.LVL == '1'">
					<CATEGORY field="TXT" type="Char" />
					<SERIE field="F7" displayName="if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_ENT7;}" displayNameCalc="true"/>
					<SERIE field="F9" displayName="if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_ENT9;}" displayNameCalc="true"/>
					<SERIE field="F11" displayName="if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_ENT11;}" displayNameCalc="true"/>
				</CHART>
			</CHART>			
			<CHART title="" type="group" subType="" percentHeight="100" visibleCondition="VIEW.H_DATA == '4'" >
				<CHART title="Graphique 1ère donnée" type="pieChart" subType="" maxItems="10" maxItemsSortOn="" maxItemsSortSeq="" sortField="F1" sortSeq="D" condition="ROW.LVL == '1'">
					<CATEGORY field="TXT" type="Char" />
					<SERIE field="F1" displayName="if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_ENT1;}else{return SELECT.DATA13;}" displayNameCalc="true"/>
				</CHART>
				<CHART title="Histogramme 2ème donnée" type="columnChart" subType="stacked" maxItems="10" maxItemsSortOn="" maxItemsSortSeq="" sortField="F2" sortSeq="D" condition="ROW.LVL == '1'">
					<CATEGORY field="TXT" type="Char" />
					<SERIE field="F7" displayName="if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_ENT7;}" displayNameCalc="true"/>
					<SERIE field="F8" displayName="if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_ENT8;}" displayNameCalc="true"/>
					<SERIE field="F9" displayName="if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_ENT9;}" displayNameCalc="true"/>
				</CHART>
			</CHART>
            <CHART title="" type="group" subType="" percentHeight="100" visibleCondition="VIEW.H_DATA == '5'" >
				<CHART title="Graphique 1ère donnée" type="pieChart" subType="" maxItems="10" maxItemsSortOn="" maxItemsSortSeq="" sortField="F1" sortSeq="D" condition="ROW.LVL == '1'">
					<CATEGORY field="TXT" type="Char" />
					<SERIE field="F1" displayName="if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_ENT1;}else{return SELECT.DATA13;}" displayNameCalc="true"/>
				</CHART>
				<CHART title="Histogramme 2ème donnée" type="columnChart" subType="stacked" maxItems="10" maxItemsSortOn="" maxItemsSortSeq="" sortField="F2" sortSeq="D" condition="ROW.LVL == '1'">
					<CATEGORY field="TXT" type="Char" />
					<SERIE field="F7" displayName="if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_ENT7;}" displayNameCalc="true"/>
					<SERIE field="F8" displayName="if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_ENT8;}" displayNameCalc="true"/>
					<SERIE field="F9" displayName="if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_ENT9;}" displayNameCalc="true"/>
				</CHART>
			</CHART>			
			<DATAGRID title="" total="true" showOthers="true" headerHeight="85" variableRowHeight="true" sortable="= SELECT.GROUPBY_2 == '-1' || SELECT.GROUPBY_TAB == 'TAB'" selectRowInRows="= ROW.OID == '-9999997'" otherRowInRows="= ROW.OID == '-9999998'" totalRowInRows="= ROW.OID == '-9999999'">
				<INSERT name="DATAGRID_MULTITAB_STYLES"/>
				<COLUMN dataField="OID" width="60" type="Char" visible="false" headerText="Oid">
				</COLUMN>
				<COLUMN dataField="COD" width="80" type="Char" visibleCondition="SELECT.GROUPBY != '5'" headerText="Code" textAlign="left" otherFunction="text" totalFunction="text" totalComplement="TOTAL">
					<INSERT name="COLUMN_COD_MULTITAB_STYLES"/>
				</COLUMN>
				<COLUMN dataField="TXT" type="Char" minWidth="150" headerText="SELECT.GROUPBY_LABEL" headerTextCalc="true" textAlign="left" totalFunction="text" otherFunction="text" otherComplement="*ROW">
				</COLUMN>
				<COLUMN dataField="F1" width="85"  visibleCondition="(VIEW.NB_DATA_LS >= 1) || (VIEW.NB_DATA >= 1)" visible="true" type="Number" outputFormat="=if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_FMT1;}else{return SELECT.DATA12}" fixed="false" selectable="true" headerText="if(SELECT.LS_DATA != '-1'){ return '&lt;font color=\'#0da6fc\'&gt;D1&lt;/font&gt;'+'\n'+ VIEW.DATA_LS1_ENT1;}else{return '&lt;font color=\'#0da6fc\'&gt;D1&lt;/font&gt;'+'\n'+SELECT.DATA13;}" headerTextCalc="true" description="=if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_DSC1;}else{return SELECT.DATA14;}" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="R1" type="Number" width="55" outputFormat="#,00%" headerText="'&lt;font color=\'#0da6fc\'&gt;'+'%\n'+'Total'+'&lt;/font&gt;'"  headerTextCalc="true" description="= SELECT.DATA053 " visibleCondition="SELECT.RATIO1 != '0' || VIEW.DATA_LS_RATIO.substr(0,1) == '1'" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
                    <CALC formula="
                        switch(SELECT.RATIO1) {
                            case '1' :
                                return ROW.F1 / TOTALROW.F1 * 100;
                                break;
                            default :
                                return ROW.F1 / TOTALROW.F1 * 100;
                                break;
                        }" />
						<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="F2" width="85"  visibleCondition="(VIEW.NB_DATA_LS >= 2) || VIEW.NB_DATA >= 2" type="Number" outputFormat="= if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_FMT2;}else{return SELECT.DATA22}" fixed="false" selectable="true" headerText="if(SELECT.LS_DATA != '-1'){ return '&lt;font color=\'#0da6fc\'&gt;D2&lt;/font&gt;'+'\n'+ VIEW.DATA_LS1_ENT2;}else{return '&lt;font color=\'#0da6fc\'&gt;D2&lt;/font&gt;'+'\n'+SELECT.DATA23;}" headerTextCalc="true"  description="=if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_DSC2;}else{return SELECT.DATA24;}" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
                <COLUMN dataField="RAT2" width="85"  type="Number" outputFormat="=if(VIEW.FMT_RATIO.substr(1,1) == 'P'){ return '#,00%';}else{return '#,0';}" fixed="false" headerText="'&lt;font color=\'#0da6fc\'&gt;'+VIEW.ENT_RATIO2+'&lt;/font&gt;'" headerTextCalc="true"  visibleCondition="VIEW.DATA_LS_RATIO.substr(1,1) == '2' || VIEW.DATA_LS_RATIO.substr(1,1) == '3'|| VIEW.DATA_LS_RATIO.substr(1,1) == '4'|| VIEW.DATA_LS_RATIO.substr(1,1) == '5'|| VIEW.DATA_LS_RATIO.substr(1,1) == '6' || VIEW.DATA_LS_RATIO.substr(1,1) == '7'" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="R2" type="Number" width="70" outputFormat="=SELECT.RATIO22"  headerText="return '&lt;font color=\'#0da6fc\'&gt;'+ SELECT.RATIO25+'&lt;/font&gt;';" headerTextCalc="true" description="= SELECT.RATIO23" visibleCondition="SELECT.RATIO2 != '0'" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
					<CALC formula="
					switch(SELECT.RATIO2) {
						case '1' :
							return ROW.F2 / TOTALROW.F2 * 100;
							break;
						case '2' :
							return ROW.F2 / ROW.F1 * 100;
							break;
						case '3' :
							return ROW.F1 - ROW.F2;
							break;
						case '4' :
							return ((ROW.F1 - ROW.F2)/ ROW.F1 * 100);
							break;						
                        case '5' :
							return ROW.F2 - ROW.F1;
							break;
						case '6' :
							return ((ROW.F2 - ROW.F1)/ ROW.F2 * 100);
							break;
						default :
							return ROW.F2 / TOTALROW.F2 * 100;
							break;
					}" />
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>					
				<COLUMN dataField="F3" width="85"  visibleCondition="(VIEW.NB_DATA_LS >= 3) || (VIEW.NB_DATA >= 3)" type="Number"  outputFormat="= if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_FMT3;}else{return SELECT.DATA32}" fixed="false" selectable="true" headerText="if(SELECT.LS_DATA != '-1'){ return '&lt;font color=\'#0da6fc\'&gt;D3&lt;/font&gt;'+'\n'+VIEW.DATA_LS1_ENT3;}else{return '&lt;font color=\'#0da6fc\'&gt;D3&lt;/font&gt;'+'\n'+SELECT.DATA33;}" headerTextCalc="true"  description="=if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_DSC3;}else{return SELECT.DATA34;}" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
                <COLUMN dataField="RAT3" width="85"  type="Number" outputFormat="=if(VIEW.FMT_RATIO.substr(2,1) == 'P'){ return '#,00%';}else{return '#,0';}" fixed="false" headerText="'&lt;font color=\'#0da6fc\'&gt;'+VIEW.ENT_RATIO3+'&lt;/font&gt;'" headerTextCalc="true"  visibleCondition="VIEW.DATA_LS_RATIO.substr(2,1) == '2' || VIEW.DATA_LS_RATIO.substr(2,1) == '3'|| VIEW.DATA_LS_RATIO.substr(2,1) == '4'|| VIEW.DATA_LS_RATIO.substr(2,1) == '5'|| VIEW.DATA_LS_RATIO.substr(2,1) == '6' || VIEW.DATA_LS_RATIO.substr(2,1) == '7'"  textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="R3" type="Number" width="70" outputFormat="=SELECT.RATIO32"  headerText="if(SELECT.LS_DATA != '-1'){ return '&lt;font color=\'#0da6fc\'&gt;'+'% \n total'+'&lt;/font&gt;';}else{return '&lt;font color=\'#0da6fc\'&gt;'+ SELECT.RATIO35+'&lt;/font&gt;';}" headerTextCalc="true" description="= SELECT.RATIO33" visibleCondition="SELECT.RATIO3 != '0' || VIEW.DATA_LS_RATIO.substr(2,1) == '1'" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
					<CALC formula="
					switch(SELECT.RATIO3) {
						case '1' :
							return ROW.F3 / TOTALROW.F3 * 100;
							break;
						case '2' :
							return ROW.F3 / ROW.F2 * 100;
							break;
						case '3' :
							return ROW.F2 - ROW.F3;
							break;
						case '4' :
							return ((ROW.F2 - ROW.F3)/ ROW.F2 * 100);
							break;						
                        case '5' :
							return ROW.F3 - ROW.F2;
							break;
						case '6' :
							return ((ROW.F3 - ROW.F2)/ ROW.F3 * 100);
							break;						
                        case '7' :
							return (ROW.F3 / ROW.F1) * 100;
							break;
						default :
							return ROW.F3 / TOTALROW.F3 * 100;
							break;
					}" />
						<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>			
				<COLUMN dataField="F4" width="85" visibleCondition="(VIEW.NB_DATA_LS >= 4) || (VIEW.NB_DATA >= 4)" type="Number" outputFormat="= if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_FMT4;}else{return SELECT.DATA42}" fixed="false" selectable="true" headerText="if(SELECT.LS_DATA != '-1'){ return '&lt;font color=\'#0da6fc\'&gt;D4&lt;/font&gt;'+'\n'+VIEW.DATA_LS1_ENT4;}else{return '&lt;font color=\'#0da6fc\'&gt;D4&lt;/font&gt;'+'\n'+SELECT.DATA43;}" headerTextCalc="true" description="= if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_DSC4;}else{return SELECT.DATA44}" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
                <COLUMN dataField="RAT4" width="85"  type="Number" outputFormat="=if(VIEW.FMT_RATIO.substr(3,1) == 'P'){ return '#,00%';}else{return '#,0';}" fixed="false" headerText="'&lt;font color=\'#0da6fc\'&gt;'+VIEW.ENT_RATIO4+'&lt;/font&gt;'" headerTextCalc="true"  visibleCondition="VIEW.DATA_LS_RATIO.substr(3,1) == '2' || VIEW.DATA_LS_RATIO.substr(3,1) == '3'|| VIEW.DATA_LS_RATIO.substr(3,1) == '4'|| VIEW.DATA_LS_RATIO.substr(3,1) == '5'|| VIEW.DATA_LS_RATIO.substr(3,1) == '6' || VIEW.DATA_LS_RATIO.substr(3,1) == '7'"  textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="R4" type="Number" width="70" outputFormat="=SELECT.RATIO42"  headerText="if(SELECT.LS_DATA != '-1'){ return '&lt;font color=\'#0da6fc\'&gt;'+'%\n total'+'&lt;/font&gt;';}else{return '&lt;font color=\'#0da6fc\'&gt;'+ SELECT.RATIO45+'&lt;/font&gt;';}" headerTextCalc="true" description="= SELECT.RATIO43" visibleCondition="SELECT.RATIO4 != '0' || VIEW.DATA_LS_RATIO.substr(3,1) == '1'" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
					<CALC formula="
					switch(SELECT.RATIO4) {
						case '1' :
							return ROW.F4 / TOTALROW.F4 * 100;
							break;
						case '2' :
							return ROW.F4 / ROW.F3 * 100;
							break;
						case '3' :
							return ROW.F3 - ROW.F4;
							break;
						case '4' :
							return ((ROW.F3 - ROW.F4)/ ROW.F3 * 100);
							break;						
                        case '5' :
							return ROW.F4 - ROW.F3;
							break;
						case '6' :
							return ((ROW.F4 - ROW.F3)/ ROW.F4 * 100);
							break;
                        case '7' :
							return (ROW.F4 / ROW.F1) * 100;
							break;
						default :
							return ROW.F4 / TOTALROW.F4 * 100;
							break;
					}" />
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="F5" width="85" visibleCondition="(VIEW.NB_DATA_LS >= 5) || (VIEW.NB_DATA >= 5)" type="Number" outputFormat="= if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_FMT5;}else{return SELECT.DATA52}" fixed="false" selectable="true" headerText="if(SELECT.LS_DATA != '-1'){ return '&lt;font color=\'#0da6fc\'&gt;D5&lt;/font&gt;'+'\n'+VIEW.DATA_LS1_ENT5;}else{return '&lt;font color=\'#0da6fc\'&gt;D5&lt;/font&gt;'+'\n'+SELECT.DATA53;}" headerTextCalc="true" description="= if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_DSC5;}else{return SELECT.DATA54}" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
                <COLUMN dataField="RAT5" width="85"  type="Number" outputFormat="=if(VIEW.FMT_RATIO.substr(4,1) == 'P'){ return '#,00%';}else{return '#,0';}" fixed="false" headerText="'&lt;font color=\'#0da6fc\'&gt;'+VIEW.ENT_RATIO5+'&lt;/font&gt;'" headerTextCalc="true"  visibleCondition="VIEW.DATA_LS_RATIO.substr(4,1) == '2' || VIEW.DATA_LS_RATIO.substr(4,1) == '3'|| VIEW.DATA_LS_RATIO.substr(4,1) == '4'|| VIEW.DATA_LS_RATIO.substr(4,1) == '5'|| VIEW.DATA_LS_RATIO.substr(4,1) == '6' || VIEW.DATA_LS_RATIO.substr(4,1) == '7'"  textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="R5" type="Number" width="70" outputFormat="=SELECT.RATIO52"  headerText="if(SELECT.LS_DATA != '-1'){ return '&lt;font color=\'#0da6fc\'&gt;'+'%\n total'+'&lt;/font&gt;';}else{return '&lt;font color=\'#0da6fc\'&gt;'+ SELECT.RATIO55+'&lt;/font&gt;';}" headerTextCalc="true" description="= SELECT.RATIO53" visibleCondition="SELECT.RATIO5 != '0' || VIEW.DATA_LS_RATIO.substr(4,1) == '1'" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
					<CALC formula="
					switch(SELECT.RATIO5) {
						case '1' :
							return ROW.F5 / TOTALROW.F5 * 100;
							break;
						case '2' :
							return ROW.F5 / ROW.F4 * 100;
							break;
						case '3' :
							return ROW.F4 - ROW.F5;
							break;
						case '4' :
							return ((ROW.F4 - ROW.F5)/ ROW.F4 * 100);
							break;						
                        case '5' :
							return ROW.F5 - ROW.F4;
							break;
						case '6' :
							return ((ROW.F5 - ROW.F4)/ ROW.F5 * 100);
							break;
                        case '7' :
							return (ROW.F5 / ROW.F1) * 100;
							break;
						default :
							return ROW.F5 / TOTALROW.F5 * 100;
							break;
					}" />
						<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="F6" width="85" visibleCondition="(VIEW.NB_DATA_LS >= 6) || (VIEW.NB_DATA >= 6)" type="Number" outputFormat="= if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_FMT6;}else{return SELECT.DATA62}" fixed="false" selectable="true" headerText="if(SELECT.LS_DATA != '-1'){ return '&lt;font color=\'#0da6fc\'&gt;D6&lt;/font&gt;'+'\n'+VIEW.DATA_LS1_ENT6;}else{return '&lt;font color=\'#0da6fc\'&gt;D6&lt;/font&gt;'+'\n'+SELECT.DATA63;}" headerTextCalc="true" description="= if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_DSC6;}else{return SELECT.DATA64}" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
                <COLUMN dataField="RAT6" width="85"  type="Number" outputFormat="=if(VIEW.FMT_RATIO.substr(5,1) == 'P'){ return '#,00%';}else{return '#,0';}" fixed="false" headerText="'&lt;font color=\'#0da6fc\'&gt;'+VIEW.ENT_RATIO6+'&lt;/font&gt;'" headerTextCalc="true"  visibleCondition="VIEW.DATA_LS_RATIO.substr(5,1) == '2' || VIEW.DATA_LS_RATIO.substr(5,1) == '3'|| VIEW.DATA_LS_RATIO.substr(5,1) == '4'|| VIEW.DATA_LS_RATIO.substr(5,1) == '5'|| VIEW.DATA_LS_RATIO.substr(5,1) == '6' || VIEW.DATA_LS_RATIO.substr(5,1) == '7'"  textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="R6" type="Number" width="70" outputFormat="=SELECT.RATIO62"  headerText="if(SELECT.LS_DATA != '-1'){ return '&lt;font color=\'#0da6fc\'&gt;'+'%\n total'+'&lt;/font&gt;';}else{return '&lt;font color=\'#0da6fc\'&gt;'+ SELECT.RATIO65+'&lt;/font&gt;';}" headerTextCalc="true" description="= SELECT.RATIO63" visibleCondition="SELECT.RATIO6 != '0' || VIEW.DATA_LS_RATIO.substr(5,1) == '1'" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
					<CALC formula="
					switch(SELECT.RATIO6) {
						case '1' :
							return ROW.F6 / TOTALROW.F6 * 100;
							break;
						case '2' :
							return ROW.F6 / ROW.F5 * 100;
							break;
						case '3' :
							return ROW.F5 - ROW.F6;
							break;
						case '4' :
							return ((ROW.F5 - ROW.F6)/ ROW.F5 * 100);
							break;						
                        case '5' :
							return ROW.F6 - ROW.F5;
							break;
						case '6' :
							return ((ROW.F6 - ROW.F5)/ ROW.F6 * 100);
							break;
                        case '7' :
							return (ROW.F6 / ROW.F1) * 100;
							break;
						default :
							return ROW.F6 / TOTALROW.F6 * 100;
							break;
					}" />
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="F7" width="85" visibleCondition="(VIEW.NB_DATA_LS >= 7) || (VIEW.NB_DATA >= 7)" type="Number" outputFormat="= if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_FMT7;}else{return SELECT.DATA72}" fixed="false" selectable="true" headerText="if(SELECT.LS_DATA != '-1'){ return '&lt;font color=\'#0da6fc\'&gt;D7&lt;/font&gt;'+'\n'+VIEW.DATA_LS1_ENT7;}else{return '&lt;font color=\'#0da6fc\'&gt;D7&lt;/font&gt;'+'\n'+SELECT.DATA73;}" headerTextCalc="true" description="= if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_DSC7;}else{return SELECT.DATA74}" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
                <COLUMN dataField="RAT7" width="85"  type="Number" outputFormat="=if(VIEW.FMT_RATIO.substr(6,1) == 'P'){ return '#,00%';}else{return '#,0';}" fixed="false" headerText="'&lt;font color=\'#0da6fc\'&gt;'+VIEW.ENT_RATIO7+'&lt;/font&gt;'" headerTextCalc="true"  visibleCondition="VIEW.DATA_LS_RATIO.substr(6,1) == '2' || VIEW.DATA_LS_RATIO.substr(6,1) == '3'|| VIEW.DATA_LS_RATIO.substr(6,1) == '4'|| VIEW.DATA_LS_RATIO.substr(6,1) == '5'|| VIEW.DATA_LS_RATIO.substr(6,1) == '6' || VIEW.DATA_LS_RATIO.substr(6,1) == '7'"  textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="R7" type="Number" width="70" outputFormat="=SELECT.RATIO72"  headerText="if(SELECT.LS_DATA != '-1'){ return '&lt;font color=\'#0da6fc\'&gt;'+'%\n total'+'&lt;/font&gt;';}else{return '&lt;font color=\'#0da6fc\'&gt;'+ SELECT.RATIO75+'&lt;/font&gt;';}" headerTextCalc="true" description="= SELECT.RATIO73" visibleCondition="SELECT.RATIO7 != '0' || VIEW.DATA_LS_RATIO.substr(6,1) == '1'" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
					<CALC formula="
					switch(SELECT.RATIO7) {
						case '1' :
							return ROW.F7 / TOTALROW.F7 * 100;
							break;
						case '2' :
							return ROW.F7 / ROW.F6 * 100;
							break;
						case '3' :
							return ROW.F6 - ROW.F7;
							break;
						case '4' :
							return ((ROW.F6 - ROW.F7)/ ROW.F6 * 100);
							break;						
                        case '5' :
							return ROW.F7 - ROW.F6;
							break;
						case '6' :
							return ((ROW.F7 - ROW.F6)/ ROW.F7 * 100);
							break;
                        case '7' :
							return (ROW.F7 / ROW.F1) * 100;
							break;
						default :
							return ROW.F7 / TOTALROW.F7 * 100;
							break;
					}" />
						<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="F8" width="85" visibleCondition="(VIEW.NB_DATA_LS >= 8) || (VIEW.NB_DATA >= 8)" type="Number" outputFormat="= if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_FMT8;}else{return SELECT.DATA82}" fixed="false" selectable="true" headerText="if(SELECT.LS_DATA != '-1'){ return '&lt;font color=\'#0da6fc\'&gt;D8&lt;/font&gt;'+'\n'+VIEW.DATA_LS1_ENT8;}else{return '&lt;font color=\'#0da6fc\'&gt;D8&lt;/font&gt;'+'\n'+SELECT.DATA83;}" headerTextCalc="true"  description="= if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_DSC8;}else{return SELECT.DATA84}" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
                <COLUMN dataField="RAT8" width="85"  type="Number" outputFormat="=if(VIEW.FMT_RATIO.substr(7,1) == 'P'){ return '#,00%';}else{return '#,0';}" fixed="false" headerText="'&lt;font color=\'#0da6fc\'&gt;'+VIEW.ENT_RATIO8+'&lt;/font&gt;'" headerTextCalc="true"  visibleCondition="VIEW.DATA_LS_RATIO.substr(7,1) == '2' || VIEW.DATA_LS_RATIO.substr(7,1) == '3'|| VIEW.DATA_LS_RATIO.substr(7,1) == '4'|| VIEW.DATA_LS_RATIO.substr(7,1) == '5'|| VIEW.DATA_LS_RATIO.substr(7,1) == '6' || VIEW.DATA_LS_RATIO.substr(7,1) == '7'"  textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="R8" type="Number" width="70" outputFormat="=SELECT.RATIO82"  headerText="if(SELECT.LS_DATA != '-1'){ return '&lt;font color=\'#0da6fc\'&gt;'+'%\n total'+'&lt;/font&gt;';}else{return '&lt;font color=\'#0da6fc\'&gt;'+ SELECT.RATIO85+'&lt;/font&gt;';}" headerTextCalc="true" description="= SELECT.RATIO83" visibleCondition="SELECT.RATIO8 != '0' || VIEW.DATA_LS_RATIO.substr(7,1) == '1'" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
					<CALC formula="
					switch(SELECT.RATIO8) {
						case '1' :
							return ROW.F8 / TOTALROW.F8 * 100;
							break;
						case '2' :
							return ROW.F8 / ROW.F7 * 100;
							break;
						case '3' :
							return ROW.F7 - ROW.F8;
							break;
						case '4' :
							return ((ROW.F7 - ROW.F8)/ ROW.F7 * 100);
							break;						
                        case '5' :
							return ROW.F8 - ROW.F7;
							break;
						case '6' :
							return ((ROW.F8 - ROW.F7)/ ROW.F8 * 100);
							break;
                        case '7' :
							return (ROW.F8 / ROW.F1) * 100;
							break;
						default :
							return ROW.F8 / TOTALROW.F8 * 100;
							break;
					}" />
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="F9" width="85" visibleCondition="(VIEW.NB_DATA_LS >= 9) || (VIEW.NB_DATA >= 9)" type="Number" outputFormat="= if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_FMT9;}else{return SELECT.DATA92}" fixed="false" selectable="true" headerText="if(SELECT.LS_DATA != '-1'){ return '&lt;font color=\'#0da6fc\'&gt;D9&lt;/font&gt;'+'\n'+VIEW.DATA_LS1_ENT9;}else{return '&lt;font color=\'#0da6fc\'&gt;D9&lt;/font&gt;'+'\n'+SELECT.DATA93;}" headerTextCalc="true"  description="= if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_DSC9;}else{return SELECT.DATA94}" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
                <COLUMN dataField="RAT9" width="60"  type="Number" outputFormat="=if(VIEW.FMT_RATIO.substr(8,1) == 'P'){ return '#,00%';}else{return '#,0';}" fixed="false" headerText="'&lt;font color=\'#0da6fc\'&gt;'+VIEW.ENT_RATIO9+'&lt;/font&gt;'" headerTextCalc="true"  visibleCondition="VIEW.DATA_LS_RATIO.substr(8,1) == '2' || VIEW.DATA_LS_RATIO.substr(8,1) == '3'|| VIEW.DATA_LS_RATIO.substr(8,1) == '4'|| VIEW.DATA_LS_RATIO.substr(8,1) == '5'|| VIEW.DATA_LS_RATIO.substr(8,1) == '6' || VIEW.DATA_LS_RATIO.substr(8,1) == '7'"  textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="R9" type="Number" width="70" outputFormat="=SELECT.RATIO92"  headerText="if(SELECT.LS_DATA != '-1'){ return '&lt;font color=\'#0da6fc\'&gt;'+'%\n total'+'&lt;/font&gt;';}else{return '&lt;font color=\'#0da6fc\'&gt;'+ SELECT.RATIO95+'&lt;/font&gt;';}" headerTextCalc="true" description="= SELECT.RATIO93" visibleCondition="SELECT.RATIO9 != '0' || VIEW.DATA_LS_RATIO.substr(8,1) == '1' " totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
					<CALC formula="
					switch(SELECT.RATIO9) {
						case '1' :
							return ROW.F9 / TOTALROW.F9 * 100;
							break;
						case '2' :
							return ROW.F9 / ROW.F8 * 100;
							break;
						case '3' :
							return ROW.F8 - ROW.F9;
							break;
						case '4' :
							return ((ROW.F8 - ROW.F9)/ ROW.F8 * 100);
							break;						
                        case '5' :
							return ROW.F9 - ROW.F8;
							break;
						case '6' :
							return ((ROW.F9 - ROW.F8)/ ROW.F9 * 100);
							break;
                        case '7' :
							return (ROW.F9 / ROW.F1) * 100;
							break;
						default :
							return ROW.F9 / TOTALROW.F9 * 100;
							break;
					}" />
						<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="F10" width="85"  visibleCondition="(VIEW.NB_DATA_LS >= 10) || (VIEW.NB_DATA >= 10)" type="Number" outputFormat="= if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_FMT10;}else{return SELECT.DATA102}" fixed="false" selectable="true"  headerText="if(SELECT.LS_DATA != '-1'){ return '&lt;font color=\'#0da6fc\'&gt;D10&lt;/font&gt;'+'\n'+VIEW.DATA_LS1_ENT10;}else{return '&lt;font color=\'#0da6fc\'&gt;D10&lt;/font&gt;'+'\n'+SELECT.DATA103;}" headerTextCalc="true" description="= if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_DSC10;}else{return SELECT.DATA104}" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
                <COLUMN dataField="RAT10" width="85"  type="Number" outputFormat="=if(VIEW.FMT_RATIO.substr(9,1) == 'P'){ return '#,00%';}else{return '#,0';}" fixed="false" headerText="'&lt;font color=\'#0da6fc\'&gt;'+VIEW.ENT_RATIO10+'&lt;/font&gt;' " headerTextCalc="true"  visibleCondition="VIEW.DATA_LS_RATIO.substr(9,1) == '2' || VIEW.DATA_LS_RATIO.substr(9,1) == '3'|| VIEW.DATA_LS_RATIO.substr(9,1) == '4'|| VIEW.DATA_LS_RATIO.substr(9,1) == '5'|| VIEW.DATA_LS_RATIO.substr(9,1) == '6' || VIEW.DATA_LS_RATIO.substr(9,1) == '7'"  textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>             
				<COLUMN dataField="R10" type="Number" width="70" outputFormat="=SELECT.RATIO102"  headerText="if(SELECT.LS_DATA != '-1'){ return '&lt;font color=\'#0da6fc\'&gt;'+'%\n total'+'&lt;/font&gt;';}else{return '&lt;font color=\'#0da6fc\'&gt;'+ SELECT.RATIO105+'&lt;/font&gt;';}" headerTextCalc="true" description="= SELECT.RATIO103" visibleCondition="SELECT.RATIO10 != '0' || VIEW.DATA_LS_RATIO.substr(9,1) == '1'" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
					<CALC formula="
					switch(SELECT.RATIO10) {
						case '1' :
							return ROW.F10 / TOTALROW.F10 * 100;
							break;
						case '2' :
							return ROW.F10 / ROW.F9 * 100;
							break;
						case '3' :
							return ROW.F9 - ROW.F10;
							break;
						case '4' :
							return ((ROW.F9 - ROW.F10)/ ROW.F9 * 100);
							break;						
                        case '5' :
							return ROW.F10 - ROW.F9;
							break;
						case '6' :
							return ((ROW.F10 - ROW.F9)/ ROW.F10 * 100);
							break;
                        case '7' :
							return (ROW.F10 / ROW.F1) * 100;
							break;
						default :
							return ROW.F10 / TOTALROW.F10 * 100;
							break;
					}" />
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="F11" width="85" visibleCondition="(VIEW.NB_DATA_LS >= 11) || (VIEW.NB_DATA >= 11)"  type="Number" outputFormat="= if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_FMT11;}else{return SELECT.DATA0112}" fixed="false" selectable="true" headerText="if(SELECT.LS_DATA != '-1'){ return '&lt;font color=\'#0da6fc\'&gt;D11&lt;/font&gt;'+'\n'+VIEW.DATA_LS1_ENT11;}else{return '&lt;font color=\'#0da6fc\'&gt;D11&lt;/font&gt;'+'\n'+SELECT.DATA0113;}" headerTextCalc="true" description="= if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_DSC11;}else{return SELECT.DATA0114}" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
                <COLUMN dataField="RAT11" width="85"  type="Number" outputFormat="=if(VIEW.FMT_RATIO.substr(10,1) == 'P'){ return '#,00%';}else{return '#,0';}" fixed="false" headerText="'&lt;font color=\'#0da6fc\'&gt;'+VIEW.ENT_RATIO11+'&lt;/font&gt;' " headerTextCalc="true"  visibleCondition="VIEW.DATA_LS_RATIO.substr(10,1) == '2' || VIEW.DATA_LS_RATIO.substr(10,1) == '3'|| VIEW.DATA_LS_RATIO.substr(10,1) == '4'|| VIEW.DATA_LS_RATIO.substr(10,1) == '5'|| VIEW.DATA_LS_RATIO.substr(10,1) == '6'|| VIEW.DATA_LS_RATIO.substr(10,1) == '7'"  textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="R11" type="Number" width="70" outputFormat="=SELECT.RATIO0112"  headerText="if(SELECT.LS_DATA != '-1'){ return '&lt;font color=\'#0da6fc\'&gt;'+'%\n total'+'&lt;/font&gt;';}else{return '&lt;font color=\'#0da6fc\'&gt;'+ SELECT.RATIO0115+'&lt;/font&gt;';}" headerTextCalc="true" description="= SELECT.RATIO0113" visibleCondition="SELECT.RATIO011 != '0' || VIEW.DATA_LS_RATIO.substr(10,1) == '1'" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
					<CALC formula="
					switch(SELECT.RATIO011) {
						case '1' :
							return ROW.F11 / TOTALROW.F11 * 100;
							break;
						case '2' :
							return ROW.F11 / ROW.F10 * 100;
							break;
						case '3' :
							return ROW.F10 - ROW.F11;
							break;
						case '4' :
							return ((ROW.F10 - ROW.F11)/ ROW.F10 * 100);
							break;						
                        case '5' :
							return ROW.F11 - ROW.F10;
							break;
						case '6' :
							return ((ROW.F11 - ROW.F10)/ ROW.F11 * 100);
							break;
                        case '7' :
							return (ROW.F11 / ROW.F1) * 100;
							break;
						default :
							return ROW.F11 / TOTALROW.F11 * 100;
							break;
					}" />
						<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="F12" width="85"  visibleCondition="(VIEW.NB_DATA_LS >= 12) || (VIEW.NB_DATA >= 12)" type="Number" outputFormat="= if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_FMT12;}else{return SELECT.DATA0122}" fixed="false" selectable="true" headerText="if(SELECT.LS_DATA != '-1'){ return '&lt;font color=\'#0da6fc\'&gt;D12&lt;/font&gt;'+'\n'+VIEW.DATA_LS1_ENT12;}else{return '&lt;font color=\'#0da6fc\'&gt;D12&lt;/font&gt;'+'\n'+SELECT.DATA0123;}" headerTextCalc="true"  description="= if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_DSC12;}else{return SELECT.DATA0124}" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
                <COLUMN dataField="RAT12" width="85"  type="Number" outputFormat="=if(VIEW.FMT_RATIO.substr(11,1) == 'P'){ return '#,00%';}else{return '#,0';}" fixed="false" headerText="'&lt;font color=\'#0da6fc\'&gt;'+VIEW.ENT_RATIO12+'&lt;/font&gt;' " headerTextCalc="true"  visibleCondition="VIEW.DATA_LS_RATIO.substr(11,1) == '2' || VIEW.DATA_LS_RATIO.substr(11,1) == '3'|| VIEW.DATA_LS_RATIO.substr(11,1) == '4'|| VIEW.DATA_LS_RATIO.substr(11,1) == '5'|| VIEW.DATA_LS_RATIO.substr(11,1) == '6'|| VIEW.DATA_LS_RATIO.substr(11,1) == '7'" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="R12" type="Number" width="70" outputFormat="=SELECT.RATIO0122"  headerText="if(SELECT.LS_DATA != '-1'){ return '&lt;font color=\'#0da6fc\'&gt;'+'%\n total'+'&lt;/font&gt;';}else{return '&lt;font color=\'#0da6fc\'&gt;'+ SELECT.RATIO0125+'&lt;/font&gt;';}" headerTextCalc="true" description="= SELECT.RATIO0123" visibleCondition="SELECT.RATIO012 != '0' || VIEW.DATA_LS_RATIO.substr(11,1) == '1' " totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
					<CALC formula="
					switch(SELECT.RATIO012) {
						case '1' :
							return ROW.F12 / TOTALROW.F12 * 100;
							break;
						case '2' :
							return ROW.F12 / ROW.F11 * 100;
							break;
						case '3' :
							return ROW.F11 - ROW.F12;
							break;
						case '4' :
							return ((ROW.F11 - ROW.F12)/ ROW.F11 * 100);
							break;						
                        case '5' :
							return ROW.F12 - ROW.F11;
							break;
						case '6' :
							return ((ROW.F12 - ROW.F11)/ ROW.F12 * 100);
							break;
                        case '7' :
							return (ROW.12 / ROW.F1) * 100;
							break;
						default :
							return ROW.F12 / TOTALROW.F12 * 100;
							break;
					}" />
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="F13" width="85"  visibleCondition="(VIEW.NB_DATA_LS >= 13) || (VIEW.NB_DATA >= 13)" type="Number" outputFormat="= if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_FMT13;}else{return SELECT.DATA0132}" fixed="false" selectable="true" headerText="if(SELECT.LS_DATA != '-1'){ return '&lt;font color=\'#0da6fc\'&gt;D13&lt;/font&gt;'+'\n'+VIEW.DATA_LS1_ENT13;}else{return '&lt;font color=\'#0da6fc\'&gt;D13&lt;/font&gt;'+'\n'+SELECT.DATA0133;}" headerTextCalc="true" description="= if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_DSC13;}else{return SELECT.DATA0134}" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
                <COLUMN dataField="RAT13" width="85"  type="Number" outputFormat="=if(VIEW.FMT_RATIO.substr(12,1) == 'P'){ return '#,00%';}else{return '#,0';}" fixed="false" headerText="'&lt;font color=\'#0da6fc\'&gt;'+VIEW.ENT_RATIO13+'&lt;/font&gt;' " headerTextCalc="true"  visibleCondition="VIEW.DATA_LS_RATIO.substr(11,1) == '2' || VIEW.DATA_LS_RATIO.substr(12,1) == '3'|| VIEW.DATA_LS_RATIO.substr(12,1) == '4'|| VIEW.DATA_LS_RATIO.substr(12,1) == '5'|| VIEW.DATA_LS_RATIO.substr(12,1) == '6' || VIEW.DATA_LS_RATIO.substr(12,1) == '7'"  textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="R13" type="Number" width="70" outputFormat="=SELECT.RATIO0132"  headerText="if(SELECT.LS_DATA != '-1'){ return '&lt;font color=\'#0da6fc\'&gt;'+'%\n total'+'&lt;/font&gt;';}else{return '&lt;font color=\'#0da6fc\'&gt;'+ SELECT.RATIO0135+'&lt;/font&gt;';}" headerTextCalc="true" description="= SELECT.RATIO0133" visibleCondition="SELECT.RATIO013 != '0' || VIEW.DATA_LS_RATIO.substr(12,1) == '1'" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
					<CALC formula="
					switch(SELECT.RATIO013) {
						case '1' :
							return ROW.F13 / TOTALROW.F13 * 100;
							break;
						case '2' :
							return ROW.F13 / ROW.F12 * 100;
							break;
						case '3' :
							return ROW.F12 - ROW.F13;
							break;
						case '4' :
							return ((ROW.F12 - ROW.F13)/ ROW.F12 * 100);
							break;						
                        case '5' :
							return ROW.F13 - ROW.F12;
							break;
						case '6' :
							return ((ROW.F13 - ROW.F12)/ ROW.F13 * 100);
							break;
                        case '7' :
							return (ROW.F13 / ROW.F1) * 100;
							break;
						default :
							return ROW.F13 / TOTALROW.F13 * 100;
							break;
					}" />
						<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="F14" width="85" visibleCondition="(VIEW.NB_DATA_LS >= 14) || (VIEW.NB_DATA >= 14)"  type="Number" outputFormat="= if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_FMT14;}else{return SELECT.DATA0142}" fixed="false" selectable="true" headerText="if(SELECT.LS_DATA != '-1'){ return '&lt;font color=\'#0da6fc\'&gt;D14&lt;/font&gt;'+'\n'+VIEW.DATA_LS1_ENT14;}else{return '&lt;font color=\'#0da6fc\'&gt;D14&lt;/font&gt;'+'\n'+SELECT.DATA0143;}" headerTextCalc="true" description="= if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_DSC14;}else{return SELECT.DATA0144}" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
                <COLUMN dataField="RAT14" width="85"  type="Number" outputFormat="=if(VIEW.FMT_RATIO.substr(13,1) == 'P'){ return '#,00%';}else{return '#,0';}" fixed="false" headerText="'&lt;font color=\'#0da6fc\'&gt;'+VIEW.ENT_RATIO14+'&lt;/font&gt;' " headerTextCalc="true"  visibleCondition="VIEW.DATA_LS_RATIO.substr(13,1) == '2' || VIEW.DATA_LS_RATIO.substr(13,1) == '3'|| VIEW.DATA_LS_RATIO.substr(13,1) == '4'|| VIEW.DATA_LS_RATIO.substr(13,1) == '5'|| VIEW.DATA_LS_RATIO.substr(13,1) == '6'|| VIEW.DATA_LS_RATIO.substr(13,1) == '7'"  textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="R14" type="Number" width="70" outputFormat="=SELECT.RATIO0142"  headerText="if(SELECT.LS_DATA != '-1'){ return '&lt;font color=\'#0da6fc\'&gt;'+'%\n total'+'&lt;/font&gt;';}else{return '&lt;font color=\'#0da6fc\'&gt;'+ SELECT.RATIO0145+'&lt;/font&gt;';}" headerTextCalc="true" description="= SELECT.RATIO0143" visibleCondition="SELECT.RATIO014 != '0' || VIEW.DATA_LS_RATIO.substr(13,1) == '1'" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
					<CALC formula="
					switch(SELECT.RATIO014) {
						case '1' :
							return ROW.F14 / TOTALROW.F14 * 100;
							break;
						case '2' :
							return ROW.F14 / ROW.F13 * 100;
							break;
						case '3' :
							return ROW.F13 - ROW.F14;
							break;
						case '4' :
							return ((ROW.F13 - ROW.F14)/ ROW.F13 * 100);
							break;						
                        case '5' :
							return ROW.F14 - ROW.F13;
							break;
						case '6' :
							return ((ROW.F14 - ROW.F13)/ ROW.F14 * 100);
							break;
                        case '7' :
							return (ROW.F14 / ROW.F1) * 100;
							break;
						default :
							return ROW.F14 / TOTALROW.F14 * 100;
							break;
					}" />
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="F15" width="85" visibleCondition="(VIEW.NB_DATA_LS >= 15) || (VIEW.NB_DATA >= 15)" type="Number" outputFormat="= if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_FMT15;}else{return SELECT.DATA0152}" fixed="false" selectable="true" headerText="if(SELECT.LS_DATA != '-1'){ return '&lt;font color=\'#0da6fc\'&gt;D15&lt;/font&gt;'+'\n'+VIEW.DATA_LS1_ENT15;}else{return '&lt;font color=\'#0da6fc\'&gt;D15&lt;/font&gt;'+'\n'+SELECT.DATA0153;}" headerTextCalc="true" description="= if(SELECT.LS_DATA != '-1'){ return VIEW.DATA_LS1_DSC15;}else{return SELECT.DATA0154}" textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
                <COLUMN dataField="RAT15" width="85"  type="Number" outputFormat="=if(VIEW.FMT_RATIO.substr(14,1) == 'P'){ return '#,00%';}else{return '#,0';}" fixed="false" headerText="'&lt;font color=\'#0da6fc\'&gt;'+VIEW.ENT_RATIO15+'&lt;/font&gt;' " headerTextCalc="true"  visibleCondition="VIEW.DATA_LS_RATIO.substr(14,1) == '2' || VIEW.DATA_LS_RATIO.substr(14,1) == '3'|| VIEW.DATA_LS_RATIO.substr(14,1) == '4'|| VIEW.DATA_LS_RATIO.substr(14,1) == '5'|| VIEW.DATA_LS_RATIO.substr(14,1) == '6'|| VIEW.DATA_LS_RATIO.substr(14,1) == '7'"  textAlign="right" totalFunction="sum" otherFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>
				<COLUMN dataField="R15" type="Number" width="70" outputFormat="=SELECT.RATIO0152"  headerText="if(SELECT.LS_DATA != '-1'){ return '&lt;font color=\'#0da6fc\'&gt;'+'%\n total'+'&lt;/font&gt;';}else{return '&lt;font color=\'#0da6fc\'&gt;'+ SELECT.RATIO0155+'&lt;/font&gt;';}" headerTextCalc="true" description="= SELECT.RATIO0153" visibleCondition="SELECT.RATIO015 != '0' || VIEW.DATA_LS_RATIO.substr(14,1) == '1'" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
					<CALC formula="
					switch(SELECT.RATIO015) {
						case '1' :
							return ROW.F15 / TOTALROW.F15 * 100;
							break;
						case '2' :
							return ROW.F15 / ROW.F14 * 100;
							break;
						case '3' :
							return ROW.F14 - ROW.F15;
							break;
						case '4' :
							return ((ROW.F14 - ROW.F15)/ ROW.F14 * 100);
							break;						
                        case '5' :
							return ROW.F15 - ROW.F14;
							break;
						case '6' :
							return ((ROW.F15 - ROW.F14)/ ROW.F15 * 100);
							break;
                        case '7' :
							return (ROW.F15 / ROW.F1) * 100;
							break;
						default :
							return ROW.F15 / TOTALROW.F15 * 100;
							break;
					}" />
						<HEADERCELLSTYLE name="backgroundColor" value="EFEFEF"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
				</COLUMN>				
			</DATAGRID>
		</ONGLET>
	</PRESENTATION>
</VUE>
