<?xml version="1.0" encoding="ISO-8859-15"?>
<VUE name="COMPTA000006" 
	label="Comptabilité. Suivi trésorerie" 
	title="= SELECT.PERIODICITE_LABEL + ' - ' +  SELECT.DATA_LABEL + ' ' + SELECT.REAPRE2 + ' par ' +  SELECT.GROUPBY_LABEL + ' (' + SELECT.PERIODE_LABEL + ' à ' + SELECT.TOPERIODE_LABEL + ')'" 
	database="iCTI" 
	swf="*CTI_view1" 
	softCode="iCTI_compta" 
	globals="COMPTA_globals.XML" 
	dboptimizer="COMPTA_dboptimizer.XML"
	componentsFile="COMPTA_components.XML" >
	<VIEWPROPERTIES componentName="MULTICRITERES_PROPERTIES"/>
	<VIEWPROPERTIES>
		<PROPERTY dataLink="VIEWPROPERTIES" nameField="name" valueField="value"/>
		
		
	</VIEWPROPERTIES>
	<SELECTIONS label="Paramètres de l'analyse">
		<GROUP label="Comptabilité">
			<FIELD name="CH" label="" UI="combo" width="250" default="C">
				<OPTION data="C" label="Clinique"/>
				<OPTION data="H" label="Honoraires"/>
			</FIELD>
		</GROUP>
		<GROUP>
			<FIELD name="PERIODE" label="Période" UI="combo" tree="true" width="200" default="2009-01-01" globalListProvider="DATE_DEBUT">
			</FIELD>
			<FIELD name="TOPERIODE" label="à" UI="combo" tree="true" width="200" default="2009-01-31" globalListProvider="DATE_FIN">
			</FIELD>
		</GROUP>
		<GROUP label="Périodicité">
			<FIELD name="PERIODICITE" width="200" UI="combo" default="MONTH" globalListProvider="PERIODICITE" />
			<FIELD name="NBCOL" label="Nombre de colonnes" UI="combo" width="200" default="12" >
				<OPTION data="1" label="1"/>
				<OPTION data="2" label="2"/>
				<OPTION data="3" label="3"/>
				<OPTION data="4" label="4"/>
				<OPTION data="5" label="5"/>
				<OPTION data="6" label="6"/>
				<OPTION data="7" label="7"/>
				<OPTION data="8" label="8"/>
				<OPTION data="9" label="9"/>
				<OPTION data="10" label="10"/>
				<OPTION data="11" label="11"/>
				<OPTION data="12" label="12"/>
				<OPTION data="13" label="13"/>
				<OPTION data="14" label="14"/>
				<OPTION data="15" label="15"/>
				<OPTION data="16" label="16"/>
				<OPTION data="17" label="17"/>
				<OPTION data="18" label="18"/>
				<OPTION data="19" label="19"/>
				<OPTION data="20" label="20"/>
 				<OPTION data="21" label="21"/>
				<OPTION data="22" label="22"/>
				<OPTION data="23" label="23"/>
				<OPTION data="24" label="24"/>
				<OPTION data="25" label="25"/>
				<OPTION data="26" label="26"/>
				<OPTION data="27" label="27"/>
				<OPTION data="28" label="28"/>
				<OPTION data="29" label="29"/>
				<OPTION data="30" label="30"/>
				<OPTION data="31" label="31"/>			
			</FIELD>
		</GROUP>
		<GROUP>
			<FIELD name="GROUPBY" label="Regroupement" UI="combo" width="200" default="CPT" tree="true">
				<OPTION data="CPT" label="Compte général" globalListProvider="CPT_GROUPBY_OPTION"/>
			</FIELD>
			<FIELD name="GROUPBY_TAB" width="100" label="Présentation" UI="combo" default="AUTO" visible="= SELECT.GROUPBY_2 != '-1' ">
				<OPTION label="Automatique" data="AUTO"/>
				<OPTION label="Arbre" data="TREE"/>
				<OPTION label="Onglet" data="TAB"/>
			</FIELD>
		</GROUP>
		<GROUP label="">
			<FIELD name="GROUPBY_2" label="" UI="combo" width="200" default="-1" tree="true">
				<OPTION label="Pas de second niveau" data="-1" treeLevel="1"/>
				<OPTION data="CPT" label="Compte général" globalListProvider="CPT_GROUPBY_OPTION"/>
			</FIELD>
			<FIELD name="GROUPBY_3" label="" UI="combo" width="200" default="-1" tree="true">
				<OPTION label="Pas de troisième niveau" data="-1" treeLevel="1"/>
				<OPTION data="CPT" label="Compte général" globalListProvider="CPT_GROUPBY_OPTION"/>
			</FIELD>
		</GROUP>
		
	</SELECTIONS>
	<SELECTIONS componentName="ECRITURES_SELECTIONS"/>
	<QUERIES>
		<QUERY label="">
			
			<SQL optimizer="V_HISTORIQUE_ECRITURES_X" >
				<select><![CDATA[

					DROP TABLE IF EXISTS w_recette_depense;
					CREATE TEMP TABLE w_recette_depense AS
					SELECT 
						compte_id,
						CASE substr(compte_section_code[1],1,1)
							WHEN '1' THEN 1
							WHEN '2' THEN 2
							ELSE 9 END::bigint AS recette_depense_id,
						CASE substr(compte_section_code[1],1,1)
							WHEN '1' THEN '1'
							WHEN '2' THEN '2'
							ELSE '9' END::text AS recette_depense_code,
						CASE substr(compte_section_code[1],1,1)
							WHEN '1' THEN 'Recettes'
							WHEN '2' THEN 'Depenses'
							ELSE 'A affecter' END::text AS recette_depense_texte
					FROM compta.#V_HISTORIQUE_ECRITURES_X# 
					WHERE 
						date_ecriture BETWEEN '[PERIODE]' AND '[TOPERIODE]' AND
						compte_numero NOT LIKE '512%'
						[VIEW.ECRITURES_SELECT]
					GROUP BY 1,2,3,4;
					
					CTISELECT_TREE
						WORKTABLE{COMPTA000006}
						GROUPBY1{recette_depense_id,, recette_depense_code,, recette_depense_texte}
						GROUPBY1MODE{AUTO}
						GROUPBY2{[VIEW.GROUPBY_OID_FIELD],, [VIEW.GROUPBY_COD_FIELD],, [VIEW.GROUPBY_TXT_FIELD]}
						GROUPBY3{[VIEW.GROUPBY_2_OID_FIELD],, [VIEW.GROUPBY_2_COD_FIELD],, [VIEW.GROUPBY_2_TXT_FIELD]}
						COLUMNBY[PERIODICITE]{date_ecriture,, '[PERIODE]' ,, '[TOPERIODE]' ,, [NBCOL]}
						INDICATORS{
							SUM(montant_credit-montant_debit)}	
						INDICATORS_COLUMNS{SUM(CASE WHEN COLUMNCHECKSEQUENCE THEN montant_credit-montant_debit ELSE null END)}
						
						ORDERBY{[VIEW.ORDERBY],, DESC}

					FROM compta.#V_HISTORIQUE_ECRITURES_X# 
					JOIN w_recette_depense ON w_recette_depense.compte_id =  v_historique_ecritures_1.compte_id
					WHERE 
						date_ecriture BETWEEN '[PERIODE]' AND '[TOPERIODE]' AND
						compte_numero NOT LIKE '512%'
						[VIEW.ECRITURES_SELECT]
						
					AFTER{
					
						UPDATE COMPTA000006 SET 
							indicateurs[1] = 0-indicateurs[1],
							indicateurs[2] = 0-indicateurs[2],
							indicateurs[3] = 0-indicateurs[3],
							indicateurs[4] = 0-indicateurs[4],
							indicateurs[5] = 0-indicateurs[5],
							indicateurs[6] = 0-indicateurs[6],
							indicateurs[7] = 0-indicateurs[7],
							indicateurs[8] = 0-indicateurs[8],
							indicateurs[9] = 0-indicateurs[9],
							indicateurs[10] = 0-indicateurs[10],
							indicateurs[11] = 0-indicateurs[11],
							indicateurs[12] = 0-indicateurs[12],
							indicateurs[13] = 0-indicateurs[13],
							indicateurs[14] = 0-indicateurs[14],
							indicateurs[15] = 0-indicateurs[15],
							indicateurs[16] = 0-indicateurs[16],
							indicateurs[17] = 0-indicateurs[17],
							indicateurs[18] = 0-indicateurs[18],
							indicateurs[19] = 0-indicateurs[19],
							indicateurs[20] = 0-indicateurs[20],
							indicateurs[21] = 0-indicateurs[21],
							indicateurs[22] = 0-indicateurs[22],
							indicateurs[23] = 0-indicateurs[23],
							indicateurs[24] = 0-indicateurs[24],
							indicateurs[25] = 0-indicateurs[25],
							indicateurs[26] = 0-indicateurs[26],
							indicateurs[27] = 0-indicateurs[27],
							indicateurs[28] = 0-indicateurs[28],
							indicateurs[29] = 0-indicateurs[29],
							indicateurs[30] = 0-indicateurs[30],
							indicateurs[31] = 0-indicateurs[31],
							indicateurs[32] = 0-indicateurs[32],
							indicateurs[33] = 0-indicateurs[33],
							indicateurs[34] = 0-indicateurs[34],
							indicateurs[35] = 0-indicateurs[35],
							indicateurs[36] = 0-indicateurs[36],
							indicateurs[37] = 0-indicateurs[37],
							indicateurs[38] = 0-indicateurs[38],
							indicateurs[39] = 0-indicateurs[39]
						WHERE oid1 = 2
							
					}

	

				]]></select>
				<FIELDS>
					<INSERT name="CTISELECT_TREE_FIELDS"/>
					<FIELD name="SORT"/>
					<FIELD name="N"/>
					<FIELD name="N0"/>
					<FIELD name="N1"/>
					<FIELD name="N2"/>
					<FIELD name="N3"/>
					<FIELD name="N4"/>
					<FIELD name="N5"/>
					<FIELD name="N6"/>
					<FIELD name="N7"/>
					<FIELD name="N8"/>
					<FIELD name="N9"/>
					<FIELD name="N10"/>
					<FIELD name="N11"/>
					<FIELD name="N12"/>
					<FIELD name="N13"/>
					<FIELD name="N14"/>
					<FIELD name="N15"/>
					<FIELD name="N16"/>
					<FIELD name="N17"/>
					<FIELD name="N18"/>
					<FIELD name="N19"/>
					<FIELD name="N20"/>
					<FIELD name="N21"/>
					<FIELD name="N22"/>
					<FIELD name="N23"/>
					<FIELD name="N24"/>
					<FIELD name="N25"/>
					<FIELD name="N26"/>
					<FIELD name="N27"/>
					<FIELD name="N28"/>
					<FIELD name="N29"/>
					<FIELD name="N30"/>
					<FIELD name="N31"/>
				</FIELDS>
			</SQL>
		</QUERY>
		
	</QUERIES>
	<PRESENTATION>
		<VIEWLINKS>
			<VIEWLINK label="Liste des séjours" shortLabel="Séjours" view="ACTI000052.XML" componentName="OCC_BASE_VIEWLINK" component3Name="STANDARD_BASE_VIEWLINK">
				<ARG name="PERIODE" value="	if (COLUMN.NAME == 'N1') {return VIEW.COLD1}
											if (COLUMN.NAME == 'N2') {return VIEW.COLD2}
											if (COLUMN.NAME == 'N3') {return VIEW.COLD3}
											if (COLUMN.NAME == 'N4') {return VIEW.COLD4}
											if (COLUMN.NAME == 'N5') {return VIEW.COLD5}
											if (COLUMN.NAME == 'N6') {return VIEW.COLD6}
											if (COLUMN.NAME == 'N7') {return VIEW.COLD7}
											if (COLUMN.NAME == 'N8') {return VIEW.COLD8}
											if (COLUMN.NAME == 'N9') {return VIEW.COLD9}
											if (COLUMN.NAME == 'N10') {return VIEW.COLD10}
											if (COLUMN.NAME == 'N11') {return VIEW.COLD11}
											if (COLUMN.NAME == 'N12') {return VIEW.COLD12}
											if (COLUMN.NAME == 'N13') {return VIEW.COLD13}
											if (COLUMN.NAME == 'N14') {return VIEW.COLD14}
											if (COLUMN.NAME == 'N15') {return VIEW.COLD15}
											if (COLUMN.NAME == 'N16') {return VIEW.COLD16}
											if (COLUMN.NAME == 'N17') {return VIEW.COLD17}
											if (COLUMN.NAME == 'N18') {return VIEW.COLD18}
											if (COLUMN.NAME == 'N19') {return VIEW.COLD19}
											if (COLUMN.NAME == 'N20') {return VIEW.COLD20}
											if (COLUMN.NAME == 'N21') {return VIEW.COLD21}
											if (COLUMN.NAME == 'N22') {return VIEW.COLD22}
											if (COLUMN.NAME == 'N23') {return VIEW.COLD23}
											if (COLUMN.NAME == 'N24') {return VIEW.COLD24}
											if (COLUMN.NAME == 'N25') {return VIEW.COLD25}
											if (COLUMN.NAME == 'N26') {return VIEW.COLD26}
											if (COLUMN.NAME == 'N27') {return VIEW.COLD27}
											if (COLUMN.NAME == 'N28') {return VIEW.COLD28}
											if (COLUMN.NAME == 'N29') {return VIEW.COLD29}
											if (COLUMN.NAME == 'N30') {return VIEW.COLD30}
											if (COLUMN.NAME == 'N31') {return VIEW.COLD31}
											return SELECT.PERIODE"/>
				<ARG name="TOPERIODE" value="	if (COLUMN.NAME == 'N1') {return VIEW.COLF1}
											if (COLUMN.NAME == 'N2') {return VIEW.COLF2}
											if (COLUMN.NAME == 'N3') {return VIEW.COLF3}
											if (COLUMN.NAME == 'N4') {return VIEW.COLF4}
											if (COLUMN.NAME == 'N5') {return VIEW.COLF5}
											if (COLUMN.NAME == 'N6') {return VIEW.COLF6}
											if (COLUMN.NAME == 'N7') {return VIEW.COLF7}
											if (COLUMN.NAME == 'N8') {return VIEW.COLF8}
											if (COLUMN.NAME == 'N9') {return VIEW.COLF9}
											if (COLUMN.NAME == 'N10') {return VIEW.COLF10}
											if (COLUMN.NAME == 'N11') {return VIEW.COLF11}
											if (COLUMN.NAME == 'N12') {return VIEW.COLF12}
											if (COLUMN.NAME == 'N13') {return VIEW.COLF13}
											if (COLUMN.NAME == 'N14') {return VIEW.COLF14}
											if (COLUMN.NAME == 'N15') {return VIEW.COLF15}
											if (COLUMN.NAME == 'N16') {return VIEW.COLF16}
											if (COLUMN.NAME == 'N17') {return VIEW.COLF17}
											if (COLUMN.NAME == 'N18') {return VIEW.COLF18}
											if (COLUMN.NAME == 'N19') {return VIEW.COLF19}
											if (COLUMN.NAME == 'N20') {return VIEW.COLF20}
											if (COLUMN.NAME == 'N21') {return VIEW.COLF21}
											if (COLUMN.NAME == 'N22') {return VIEW.COLF22}
											if (COLUMN.NAME == 'N23') {return VIEW.COLF23}
											if (COLUMN.NAME == 'N24') {return VIEW.COLF24}
											if (COLUMN.NAME == 'N25') {return VIEW.COLF25}
											if (COLUMN.NAME == 'N26') {return VIEW.COLF26}
											if (COLUMN.NAME == 'N27') {return VIEW.COLF27}
											if (COLUMN.NAME == 'N28') {return VIEW.COLF28}
											if (COLUMN.NAME == 'N29') {return VIEW.COLF29}
											if (COLUMN.NAME == 'N30') {return VIEW.COLF30}
											if (COLUMN.NAME == 'N31') {return VIEW.COLF31}
											return SELECT.TOPERIODE"/>
				<ARG name="DATA" value="if (SELECT.DATA == 'NED') {return 'ENT'}
										if (SELECT.DATA == 'NEM') {return 'ENT'}
										if (SELECT.DATA == 'NSD') {return 'SOR'}
										if (SELECT.DATA == 'NSM') {return 'SOR'}
										if (SELECT.DATA == 'NJN') {return 'JRN'}
										if (SELECT.DATA == 'NJNS') {return 'JRN'}
										if (SELECT.DATA == 'NJNM') {return 'JRN'}
										if (SELECT.DATA == 'NCP') {return 'CP'}
										if (SELECT.DATA == 'NEX') {return 'EXT'}
										if (SELECT.DATA == 'NEXM') {return 'EXT'}
										if (SELECT.DATA == 'NAM') {return 'AMB'}
										if (SELECT.DATA == 'NAMM') {return 'AMB'}
										if (SELECT.DATA == 'NSE') {return 'SEA'}
										return '-1'"/>
			</VIEWLINK>
		</VIEWLINKS>
		<ONGLET excelLabel="Occupation" label="Occupation" multiTab="true" multiTabBreakField="TABD" multiTabBreakLabelField="TABDL" multiTabBreakLonglabelField="TABDLL">
			<CHART title="Evolution temporelle" type="lineChart" maxItems="5" maxItemsSortOn="N" maxItemsSortSeq="D" serieIsCategory="true" sortField="N" sortSeq="D" condition="ROW.LVL == '1'"
				visibleCondition="SELECT.GROUPBY != 'TRIM' &amp;&amp; SELECT.GROUPBY != 'MOIS' &amp;&amp; SELECT.GROUPBY != 'JOUR' &amp;&amp; SELECT.GROUPBY != 'NUMEROTRIM' &amp;&amp; SELECT.GROUPBY != 'NUMEROMOIS'">
				<CATEGORY field="TXT" type="Char"/>
				<SERIE field="N1" displayName="VIEW.COLH1" displayNameCalc="true" visibleCondition="VIEW.COLH1 != null"/>
				<SERIE field="N2" displayName="VIEW.COLH2" displayNameCalc="true" visibleCondition="VIEW.COLH2 != null"/>
				<SERIE field="N3" displayName="VIEW.COLH3" displayNameCalc="true" visibleCondition="VIEW.COLH3 != null"/>
				<SERIE field="N4" displayName="VIEW.COLH4" displayNameCalc="true" visibleCondition="VIEW.COLH4 != null"/>
				<SERIE field="N5" displayName="VIEW.COLH5" displayNameCalc="true" visibleCondition="VIEW.COLH5 != null"/>
				<SERIE field="N6" displayName="VIEW.COLH6" displayNameCalc="true" visibleCondition="VIEW.COLH6 != null"/>
				<SERIE field="N7" displayName="VIEW.COLH7" displayNameCalc="true" visibleCondition="VIEW.COLH7 != null"/>
				<SERIE field="N8" displayName="VIEW.COLH8" displayNameCalc="true" visibleCondition="VIEW.COLH8 != null"/>
				<SERIE field="N9" displayName="VIEW.COLH9" displayNameCalc="true" visibleCondition="VIEW.COLH9 != null"/>
				<SERIE field="N10" displayName="VIEW.COLH10" displayNameCalc="true" visibleCondition="VIEW.COLH10 != null"/>
				<SERIE field="N11" displayName="VIEW.COLH11" displayNameCalc="true" visibleCondition="VIEW.COLH11 != null"/>
				<SERIE field="N12" displayName="VIEW.COLH12" displayNameCalc="true" visibleCondition="VIEW.COLH12 != null"/>
				<SERIE field="N13" displayName="VIEW.COLH13" displayNameCalc="true" visibleCondition="VIEW.COLH13 != null"/>
				<SERIE field="N14" displayName="VIEW.COLH14" displayNameCalc="true" visibleCondition="VIEW.COLH14 != null"/>
				<SERIE field="N15" displayName="VIEW.COLH15" displayNameCalc="true" visibleCondition="VIEW.COLH15 != null"/>
				<SERIE field="N16" displayName="VIEW.COLH16" displayNameCalc="true" visibleCondition="VIEW.COLH16 != null"/>
				<SERIE field="N17" displayName="VIEW.COLH17" displayNameCalc="true" visibleCondition="VIEW.COLH17 != null"/>
				<SERIE field="N18" displayName="VIEW.COLH18" displayNameCalc="true" visibleCondition="VIEW.COLH18 != null"/>
				<SERIE field="N19" displayName="VIEW.COLH19" displayNameCalc="true" visibleCondition="VIEW.COLH19 != null"/>
				<SERIE field="N20" displayName="VIEW.COLH20" displayNameCalc="true" visibleCondition="VIEW.COLH20 != null"/>
				<SERIE field="N21" displayName="VIEW.COLH21" displayNameCalc="true" visibleCondition="VIEW.COLH21 != null"/>
				<SERIE field="N22" displayName="VIEW.COLH22" displayNameCalc="true" visibleCondition="VIEW.COLH22 != null"/>
				<SERIE field="N23" displayName="VIEW.COLH23" displayNameCalc="true" visibleCondition="VIEW.COLH23 != null"/>
				<SERIE field="N24" displayName="VIEW.COLH24" displayNameCalc="true" visibleCondition="VIEW.COLH24 != null"/>
				<SERIE field="N25" displayName="VIEW.COLH25" displayNameCalc="true" visibleCondition="VIEW.COLH25 != null"/>
				<SERIE field="N26" displayName="VIEW.COLH26" displayNameCalc="true" visibleCondition="VIEW.COLH26 != null"/>
				<SERIE field="N27" displayName="VIEW.COLH27" displayNameCalc="true" visibleCondition="VIEW.COLH27 != null"/>
				<SERIE field="N28" displayName="VIEW.COLH28" displayNameCalc="true" visibleCondition="VIEW.COLH28 != null"/>
				<SERIE field="N29" displayName="VIEW.COLH29" displayNameCalc="true" visibleCondition="VIEW.COLH29 != null"/>
				<SERIE field="N30" displayName="VIEW.COLH30" displayNameCalc="true" visibleCondition="VIEW.COLH30 != null"/>
				<SERIE field="N31" displayName="VIEW.COLH31" displayNameCalc="true" visibleCondition="VIEW.COLH31 != null"/>
			</CHART>
			
			<DATAGRID title="" total="true" showOthers="true" headerHeight="36" selectRowInRows="= ROW.OID == '-9999997'" otherRowInRows="= ROW.OID == '-9999998'" totalRowInRows="= ROW.OID == '-9999999'" 
						sortable="= SELECT.GROUPBY_3 == '-1' &amp;&amp; (SELECT.GROUPBY_2 == '-1' || SELECT.GROUPBY_TAB == 'TAB')">
				<INSERT name="DATAGRID_MULTITAB_STYLES"/>
				<COLUMN dataField="OID" width="60" type="Char" visible="false" headerText="Oid" />
				<COLUMN dataField="COD" width="100" type="Char" visible="true" headerText="Code" textAlign="left" otherFunction="text" totalFunction="text">
					<INSERT name="COLUMN_COD_MULTITAB_STYLES"/>
				</COLUMN>
				<COLUMN dataField="TXT" type="Char" minWidth="100" maxWidth="300" headerText="SELECT.GROUPBY_LABEL" headerTextCalc="true" textAlign="left" totalFunction="text" totalComplement="TOTAL" otherFunction="text" otherComplement="Autres" />
				<COLUMN dataField="N" width="80" visible="true" type="Number" outputFormat="= SELECT.DATA2" headerText="Total" textAlign="right" totalFunction="sum" otherFunction="sum" />

				<COLUMN dataField="N0" width="70" visibleCondition="VIEW.COLH0 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="false" headerText="&lt;&lt;" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N1" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH1 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH1" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N2" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH2 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH2" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N3" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH3 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH3" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N4" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH4 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH4" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N5" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH5 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH5" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N6" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH6 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH6" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N7" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH7 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH7" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N8" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH8 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH8" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N9" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH9 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH9" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N10" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH10 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH10" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N11" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH11 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH11" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N12" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH12 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH12" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N13" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH13 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH13" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N14" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH14 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH14" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N15" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH15 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH15" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N16" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH16 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH16" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N17" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH17 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH17" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N18" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH18 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH18" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N19" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH19 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH19" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N20" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH20 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH20" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N21" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH21 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH21" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N22" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH22 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH22" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N23" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH23 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH23" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N24" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH24 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH24" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N25" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH25 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH25" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N26" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH26 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH26" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N27" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH27 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH27" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N28" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH28 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH28" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N29" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH29 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH29" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N30" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH30 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH30" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N31" width="= if (SELECT.PERIODICITE == 'DAY') { return 35;} else { return  70;}" visibleCondition="VIEW.COLH31 != null" type="Number" outputFormat="= SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH31" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
			</DATAGRID>
		</ONGLET>
	</PRESENTATION>
</VUE>
