<?xml version="1.0" encoding="ISO-8859-15"?>
<VUE name="SP000002" 
	label="Analyse Octime" 
	title="= SELECT.DATA_LABEL + ' par ' +  SELECT.GROUPBY_LABEL + ' (' + SELECT.TOPERIODE_LABEL + ')'" 
	database="iCTI" 
	swf="*CTI_view1" 
	softCode="iCTI_rh" 
	enabled="= ENV.OPTRH_PLANNING == '1'"
	disabledMessage="Le planning du personnel nécessite une visite de validation de CTI Santé pour démarrer cette fonctionnalité."
	globals="SP_globals.XML" 
	>
	<VIEWPROPERTIES>
		<PROPERTY dataLink="VIEWPROPERTIES" nameField="name" valueField="value"/>
		<PROPERTY name="CDATA">
			<value><![CDATA[[EVAL 
				switch ('[DATA]') {
					case 'HDU':
						return 'SUM(CASE WHEN COLUMNCHECKSEQUENCE THEN temps_du / 60 ELSE null END)';
					case 'HVA':
						return 'SUM(CASE WHEN COLUMNCHECKSEQUENCE THEN temps_valide / 60 ELSE null END)';
					case 'ECA':
						return 'SUM(CASE WHEN COLUMNCHECKSEQUENCE THEN (temps_du - temps_valide) / 60 ELSE null END)';
					case 'TAU':
						//return 'SUM(CASE WHEN COLUMNCHECKSEQUENCE THEN (base.cti_division(temps_valide, temps_du) * 100) ELSE null END)';
						return '100 * base.cti_division(SUM(CASE WHEN COLUMNCHECKSEQUENCE THEN temps_valide ELSE null END), SUM(CASE WHEN COLUMNCHECKSEQUENCE THEN temps_du ELSE null END))';
					default :
						return '0';
					}
			EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="GROUPBY_OID_FIELD">
			<value><![CDATA[[EVAL 
				switch ('[GROUPBY]') {
					case 'PST':
						return 'p_mouvement.poste_id';
					case 'DPT':
						return 'p_mouvement.departement_id';
					case 'SRV':
						return 'p_mouvement.service_id';
					case 'CTG':
						return 'p_mouvement.categorie_id';
					case 'SAL':
						return 'p_mouvement.salarie_id';
					default :
						return '0';
				}
			EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="GROUPBY_COD_FIELD">
			<value><![CDATA[[EVAL 
				switch ('[GROUPBY]') {
					case 'PST':
						return 'p_mouvement.poste_code';
					case 'DPT':
						return 'p_mouvement.departement_code';
					case 'SRV':
						return 'p_mouvement.service_code';
					case 'CTG':
						return 'p_mouvement.categorie_code';
					case 'SAL':
						return 'p_mouvement.salarie_code';
					default :
						return '0';
				}
			EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="GROUPBY_TXT_FIELD">
			<value><![CDATA[[EVAL  
				switch ('[GROUPBY]') {
					case 'PST':
						return 'p_mouvement.poste_texte';
					case 'DPT':
						return 'p_mouvement.departement_texte';
					case 'SRV':
						return 'p_mouvement.service_texte';
					case 'CTG':
						return 'p_mouvement.categorie_texte';
					case 'SAL':
						return 'p_mouvement.salarie_texte';
					default :
						return '0';
				}
			EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="GROUPBY_2_OID_FIELD">
			<value><![CDATA[[EVAL 
				switch ('[GROUPBY_2]') {
					case 'PST':
						return 'p_mouvement.poste_id';
					case 'DPT':
						return 'p_mouvement.departement_id';
					case 'SRV':
						return 'p_mouvement.service_id';
					case 'CTG':
						return 'p_mouvement.categorie_id';
					case 'SAL':
						return 'p_mouvement.salarie_id';
					default :
						return '0';
				}
			EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="GROUPBY_2_COD_FIELD">
			<value><![CDATA[[EVAL 
				switch ('[GROUPBY_2]') {
					case 'PST':
						return 'p_mouvement.poste_code';
					case 'DPT':
						return 'p_mouvement.departement_code';
					case 'SRV':
						return 'p_mouvement.service_code';
					case 'CTG':
						return 'p_mouvement.categorie_code';
					case 'SAL':
						return 'p_mouvement.salarie_code';
					default :
						return '0';
				}
			EVAL]]]></value>
		</PROPERTY>
		<PROPERTY name="GROUPBY_2_TXT_FIELD">
			<value><![CDATA[[EVAL  
				switch ('[GROUPBY_2]') {
					case 'PST':
						return 'p_mouvement.poste_texte';
					case 'DPT':
						return 'p_mouvement.departement_texte';
					case 'SRV':
						return 'p_mouvement.service_texte';
					case 'CTG':
						return 'p_mouvement.categorie_texte';
					case 'SAL':
						return 'p_mouvement.salarie_texte';
					default :
						return '0';
				}
			EVAL]]]></value>
		</PROPERTY>
	</VIEWPROPERTIES>
	<SELECTIONS label="Paramètres de l'analyse">
		<GROUP>
			<FIELD name="ALIAS_PERIODE" label="" UI="combo" width="220" default="CUM_LAST_MONTH" tree="true" globalListProvider="ALIAS_PERIODE" />
			<FIELD name="PERIODE" label="Jusqu'au" UI="combo" tree="true" width="150" default="2012-01-02" globalListProvider="PERIODE_DEBUT" />
			<FIELD name="TOPERIODE" label="Jusqu'au" UI="combo" tree="true" width="150" default="2012-01-31" globalListProvider="PERIODE_FIN" />
		</GROUP>
		<GROUP>
			<FIELD name="GROUPBY" label="Regroupement" UI="combo" width="200" default="PST" tree="true">
				<OPTION label="PST_GROUPBY" data="" globalListProvider="PST_GROUPBY"/>
				<OPTION label="DPT_GROUPBY" data="" globalListProvider="DPT_GROUPBY"/>
				<OPTION label="SRV_GROUPBY" data="" globalListProvider="SRV_GROUPBY"/>
				<OPTION label="CTG_GROUPBY" data="" globalListProvider="CTG_GROUPBY"/>
				<OPTION label="SAL_GROUPBY" data="" globalListProvider="SAL_GROUPBY"/>
			</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 label="PST_GROUPBY" data="" globalListProvider="PST_GROUPBY"/>
				<OPTION label="DPT_GROUPBY" data="" globalListProvider="DPT_GROUPBY"/>
				<OPTION label="SRV_GROUPBY" data="" globalListProvider="SRV_GROUPBY"/>
				<OPTION label="CTG_GROUPBY" data="" globalListProvider="CTG_GROUPBY"/>
				<OPTION label="SAL_GROUPBY" data="" globalListProvider="SAL_GROUPBY"/>
			</FIELD>
		</GROUP>
		<GROUP>
			<FIELD name="DATA" label="Donnée" UI="combo" width="400" default="HDU" default2="0">
				<OPTION label="Heures dues" data="HDU" data2="#"/>
				<OPTION label="Heures validées" data="HVA" data2="#"/>
				<OPTION label="Ecart" data="ECA" data2="#"/>
				<OPTION label="Taux" data="TAU" data2="#"/>
			</FIELD>
		</GROUP>
	</SELECTIONS>
	<!-- @TODO: Mettre ici les filtres -->
	<QUERIES>
		<QUERY label="">
			<SQL>
				<select><![CDATA[		
					CTISELECT_TREE
						WORKTABLE{sp000002}
						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]}
						COLUMNBYDAY{date,, '[PERIODE]' ,, '[TOPERIODE]' ,, [VIEW.NBJOURS]}
						INDICATORS{
							0,
							0,}	
						INDICATORS_COLUMNS{[VIEW.CDATA], }
					FROM rh_octime.p_mouvement, w_periode
					WHERE 1=1
						AND date BETWEEN '[PERIODE]' AND '[TOPERIODE]'
					
					AFTER{
						[EVAL 
						if ('[DATA]' == 'TAU') {
							return "
								UPDATE sp000002 
								SET 
									indicateurs[1] = base.cti_array_sum(indicateurs[4:array_upper(indicateurs, 1)]) / base.cti_array_count(indicateurs[4:array_upper(indicateurs, 1)]),
									indicateurs[2] = base.cti_array_sum(indicateurs[4:array_upper(indicateurs, 1)]) / base.cti_array_count(indicateurs[4:array_upper(indicateurs, 1)])
							";
						} else {
							return "
								UPDATE sp000002 
								SET 
									indicateurs[1] = base.cti_array_sum(indicateurs[4:array_upper(indicateurs, 1)]) / base.cti_array_count(indicateurs[4:array_upper(indicateurs, 1)]),
									indicateurs[2] = base.cti_array_sum(indicateurs[4:array_upper(indicateurs, 1)])
							";
						}
						EVAL]
					}	
				]]></select>
				<FIELDS>
					<INSERT name="CTISELECT_TREE_FIELDS"/>
					<FIELD name="M"/>
					<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>
		<QUERY type="propertiesLink" name="VIEWPROPERTIES" forSelections="false">
			<SQL>
				<select><![CDATA[		
					DROP TABLE IF EXISTS w_periode
					;
					
					CREATE TEMP TABLE w_periode AS
						SELECT 
							count(DISTINCT date) AS duree_periode
						FROM rh_octime.p_mouvement	
						WHERE date BETWEEN '[PERIODE]' AND '[TOPERIODE]'
					;
					
					SELECT 'NBJOURS', duree_periode FROM w_periode
					;
				]]></select>
				<FIELDS>
					<FIELD name="name"/>
					<FIELD name="value"/>
				</FIELDS>
			</SQL>
		</QUERY>
	</QUERIES>
	<PRESENTATION>
		<ONGLET excelLabel="" label="Evolution" multiTab="true" multiTabBreakField="TABD" multiTabBreakLabelField="TABDL" multiTabBreakLonglabelField="TABDLL">
			<INPUTSELECTION condition="ROW.N != 0"/>
			<CHART title="Evolution quotidienne (total)" type="lineChart" serieIsCategory="true" fromTotal="true" >
				<CATEGORY field="TXT" type="Char" displayName="Total" displayName2="Moyenne"/>
				<SERIE field="N1" field2="M" displayName="VIEW.COLH1" displayNameCalc="true" visibleCondition="VIEW.COLH1 != null"/>
				<SERIE field="N2" field2="M" displayName="VIEW.COLH2" displayNameCalc="true" visibleCondition="VIEW.COLH2 != null"/>
				<SERIE field="N3" field2="M" displayName="VIEW.COLH3" displayNameCalc="true" visibleCondition="VIEW.COLH3 != null"/>
				<SERIE field="N4" field2="M" displayName="VIEW.COLH4" displayNameCalc="true" visibleCondition="VIEW.COLH4 != null"/>
				<SERIE field="N5" field2="M" displayName="VIEW.COLH5" displayNameCalc="true" visibleCondition="VIEW.COLH5 != null"/>
				<SERIE field="N6" field2="M" displayName="VIEW.COLH6" displayNameCalc="true" visibleCondition="VIEW.COLH6 != null"/>
				<SERIE field="N7" field2="M" displayName="VIEW.COLH7" displayNameCalc="true" visibleCondition="VIEW.COLH7 != null"/>
				<SERIE field="N8" field2="M" displayName="VIEW.COLH8" displayNameCalc="true" visibleCondition="VIEW.COLH8 != null"/>
				<SERIE field="N9" field2="M" displayName="VIEW.COLH9" displayNameCalc="true" visibleCondition="VIEW.COLH9 != null"/>
				<SERIE field="N10" field2="M" displayName="VIEW.COLH10" displayNameCalc="true" visibleCondition="VIEW.COLH10 != null"/>
				<SERIE field="N11" field2="M" displayName="VIEW.COLH11" displayNameCalc="true" visibleCondition="VIEW.COLH11 != null"/>
				<SERIE field="N12" field2="M" displayName="VIEW.COLH12" displayNameCalc="true" visibleCondition="VIEW.COLH12 != null"/>
				<SERIE field="N13" field2="M" displayName="VIEW.COLH13" displayNameCalc="true" visibleCondition="VIEW.COLH13 != null"/>
				<SERIE field="N14" field2="M" displayName="VIEW.COLH14" displayNameCalc="true" visibleCondition="VIEW.COLH14 != null"/>
				<SERIE field="N15" field2="M" displayName="VIEW.COLH15" displayNameCalc="true" visibleCondition="VIEW.COLH15 != null"/>
				<SERIE field="N16" field2="M" displayName="VIEW.COLH16" displayNameCalc="true" visibleCondition="VIEW.COLH16 != null"/>
				<SERIE field="N17" field2="M" displayName="VIEW.COLH17" displayNameCalc="true" visibleCondition="VIEW.COLH17 != null"/>
				<SERIE field="N18" field2="M" displayName="VIEW.COLH18" displayNameCalc="true" visibleCondition="VIEW.COLH18 != null"/>
				<SERIE field="N19" field2="M" displayName="VIEW.COLH19" displayNameCalc="true" visibleCondition="VIEW.COLH19 != null"/>
				<SERIE field="N20" field2="M" displayName="VIEW.COLH20" displayNameCalc="true" visibleCondition="VIEW.COLH20 != null"/>
				<SERIE field="N21" field2="M" displayName="VIEW.COLH21" displayNameCalc="true" visibleCondition="VIEW.COLH21 != null"/>
				<SERIE field="N22" field2="M" displayName="VIEW.COLH22" displayNameCalc="true" visibleCondition="VIEW.COLH22 != null"/>
				<SERIE field="N23" field2="M" displayName="VIEW.COLH23" displayNameCalc="true" visibleCondition="VIEW.COLH23 != null"/>
				<SERIE field="N24" field2="M" displayName="VIEW.COLH24" displayNameCalc="true" visibleCondition="VIEW.COLH24 != null"/>
				<SERIE field="N25" field2="M" displayName="VIEW.COLH25" displayNameCalc="true" visibleCondition="VIEW.COLH25 != null"/>
				<SERIE field="N26" field2="M" displayName="VIEW.COLH26" displayNameCalc="true" visibleCondition="VIEW.COLH26 != null"/>
				<SERIE field="N27" field2="M" displayName="VIEW.COLH27" displayNameCalc="true" visibleCondition="VIEW.COLH27 != null"/>
				<SERIE field="N28" field2="M" displayName="VIEW.COLH28" displayNameCalc="true" visibleCondition="VIEW.COLH28 != null"/>
				<SERIE field="N29" field2="M" displayName="VIEW.COLH29" displayNameCalc="true" visibleCondition="VIEW.COLH29 != null"/>
				<SERIE field="N30" field2="M" displayName="VIEW.COLH30" displayNameCalc="true" visibleCondition="VIEW.COLH30 != null"/>
				<SERIE field="N31" field2="M" displayName="VIEW.COLH31" displayNameCalc="true" visibleCondition="VIEW.COLH31 != null"/>
			</CHART>
			<CHART title="Evolution quotidienne (total)" type="lineChart" serieIsCategory="true" fromTotal="true" >
				<CATEGORY field="TXT" type="Char" displayName="Total" displayName2="Moyenne" displayName3="Places"/>
				<SERIE field="N1" field2="M" field3="LIT" displayName="VIEW.COLH1" displayNameCalc="true" visibleCondition="VIEW.COLH1 != null"/>
				<SERIE field="N2" field2="M" field3="LIT" displayName="VIEW.COLH2" displayNameCalc="true" visibleCondition="VIEW.COLH2 != null"/>
				<SERIE field="N3" field2="M" field3="LIT" displayName="VIEW.COLH3" displayNameCalc="true" visibleCondition="VIEW.COLH3 != null"/>
				<SERIE field="N4" field2="M" field3="LIT" displayName="VIEW.COLH4" displayNameCalc="true" visibleCondition="VIEW.COLH4 != null"/>
				<SERIE field="N5" field2="M" field3="LIT" displayName="VIEW.COLH5" displayNameCalc="true" visibleCondition="VIEW.COLH5 != null"/>
				<SERIE field="N6" field2="M" field3="LIT" displayName="VIEW.COLH6" displayNameCalc="true" visibleCondition="VIEW.COLH6 != null"/>
				<SERIE field="N7" field2="M" field3="LIT" displayName="VIEW.COLH7" displayNameCalc="true" visibleCondition="VIEW.COLH7 != null"/>
				<SERIE field="N8" field2="M" field3="LIT" displayName="VIEW.COLH8" displayNameCalc="true" visibleCondition="VIEW.COLH8 != null"/>
				<SERIE field="N9" field2="M" field3="LIT" displayName="VIEW.COLH9" displayNameCalc="true" visibleCondition="VIEW.COLH9 != null"/>
				<SERIE field="N10" field2="M" field3="LIT" displayName="VIEW.COLH10" displayNameCalc="true" visibleCondition="VIEW.COLH10 != null"/>
				<SERIE field="N11" field2="M" field3="LIT" displayName="VIEW.COLH11" displayNameCalc="true" visibleCondition="VIEW.COLH11 != null"/>
				<SERIE field="N12" field2="M" field3="LIT" displayName="VIEW.COLH12" displayNameCalc="true" visibleCondition="VIEW.COLH12 != null"/>
				<SERIE field="N13" field2="M" field3="LIT" displayName="VIEW.COLH13" displayNameCalc="true" visibleCondition="VIEW.COLH13 != null"/>
				<SERIE field="N14" field2="M" field3="LIT" displayName="VIEW.COLH14" displayNameCalc="true" visibleCondition="VIEW.COLH14 != null"/>
				<SERIE field="N15" field2="M" field3="LIT" displayName="VIEW.COLH15" displayNameCalc="true" visibleCondition="VIEW.COLH15 != null"/>
				<SERIE field="N16" field2="M" field3="LIT" displayName="VIEW.COLH16" displayNameCalc="true" visibleCondition="VIEW.COLH16 != null"/>
				<SERIE field="N17" field2="M" field3="LIT" displayName="VIEW.COLH17" displayNameCalc="true" visibleCondition="VIEW.COLH17 != null"/>
				<SERIE field="N18" field2="M" field3="LIT" displayName="VIEW.COLH18" displayNameCalc="true" visibleCondition="VIEW.COLH18 != null"/>
				<SERIE field="N19" field2="M" field3="LIT" displayName="VIEW.COLH19" displayNameCalc="true" visibleCondition="VIEW.COLH19 != null"/>
				<SERIE field="N20" field2="M" field3="LIT" displayName="VIEW.COLH20" displayNameCalc="true" visibleCondition="VIEW.COLH20 != null"/>
				<SERIE field="N21" field2="M" field3="LIT" displayName="VIEW.COLH21" displayNameCalc="true" visibleCondition="VIEW.COLH21 != null"/>
				<SERIE field="N22" field2="M" field3="LIT" displayName="VIEW.COLH22" displayNameCalc="true" visibleCondition="VIEW.COLH22 != null"/>
				<SERIE field="N23" field2="M" field3="LIT" displayName="VIEW.COLH23" displayNameCalc="true" visibleCondition="VIEW.COLH23 != null"/>
				<SERIE field="N24" field2="M" field3="LIT" displayName="VIEW.COLH24" displayNameCalc="true" visibleCondition="VIEW.COLH24 != null"/>
				<SERIE field="N25" field2="M" field3="LIT" displayName="VIEW.COLH25" displayNameCalc="true" visibleCondition="VIEW.COLH25 != null"/>
				<SERIE field="N26" field2="M" field3="LIT" displayName="VIEW.COLH26" displayNameCalc="true" visibleCondition="VIEW.COLH26 != null"/>
				<SERIE field="N27" field2="M" field3="LIT" displayName="VIEW.COLH27" displayNameCalc="true" visibleCondition="VIEW.COLH27 != null"/>
				<SERIE field="N28" field2="M" field3="LIT" displayName="VIEW.COLH28" displayNameCalc="true" visibleCondition="VIEW.COLH28 != null"/>
				<SERIE field="N29" field2="M" field3="LIT" displayName="VIEW.COLH29" displayNameCalc="true" visibleCondition="VIEW.COLH29 != null"/>
				<SERIE field="N30" field2="M" field3="LIT" displayName="VIEW.COLH30" displayNameCalc="true" visibleCondition="VIEW.COLH30 != null"/>
				<SERIE field="N31" field2="M" field3="LIT" displayName="VIEW.COLH31" displayNameCalc="true" visibleCondition="VIEW.COLH31 != null"/>
			</CHART>
			<DATAGRID title="" total="true" showOthers="true" headerHeight="54" 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="70" 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>
				<COLUMN dataField="N" width="80" visible="true" type="Number" outputFormat="#" headerText="Total" textAlign="right" totalFunction="sum" otherFunction="sum">
				</COLUMN>
				<COLUMN dataField="M" type="Number" width="50" selectable="true" headerText="Moy." outputFormat="#,00" visible="true" otherFunction="sum" totalFunction="sum" totalComplement="*ROW"/>
				<COLUMN dataField="N_P" type="Number" headerText="% / Total" width="40" outputFormat="0%" textAlign="right" visibleCondition="SELECT.DATA != 'TAU' " totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
					<CALC formula="ROW.N / TOTALROW.N * 100 "/>
				</COLUMN>
				<COLUMN dataField="N1" width="35" visibleCondition="VIEW.COLH1 != null" type="Number"   outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH1"  columnData="= VIEW.COLI1"  headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N2" width="35" visibleCondition="VIEW.COLH2 != null" type="Number"   outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH2"  columnData="= VIEW.COLI2"  headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N3" width="35" visibleCondition="VIEW.COLH3 != null" type="Number"   outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH3"  columnData="= VIEW.COLI3"  headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N4" width="35" visibleCondition="VIEW.COLH4 != null" type="Number"   outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH4"  columnData="= VIEW.COLI4"  headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N5" width="35" visibleCondition="VIEW.COLH5 != null" type="Number"   outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH5"  columnData="= VIEW.COLI5"  headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N6" width="35" visibleCondition="VIEW.COLH6 != null" type="Number"   outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH6"  columnData="= VIEW.COLI6"  headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N7" width="35" visibleCondition="VIEW.COLH7 != null" type="Number"   outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH7"  columnData="= VIEW.COLI7"  headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N8" width="35" visibleCondition="VIEW.COLH8 != null" type="Number"   outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH8"  columnData="= VIEW.COLI8"  headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N9" width="35" visibleCondition="VIEW.COLH9 != null" type="Number"   outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH9"  columnData="= VIEW.COLI9"  headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N10" width="35" visibleCondition="VIEW.COLH10 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH10" columnData="= VIEW.COLI10" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N11" width="35" visibleCondition="VIEW.COLH11 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH11" columnData="= VIEW.COLI11" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N12" width="35" visibleCondition="VIEW.COLH12 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH12" columnData="= VIEW.COLI12" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N13" width="35" visibleCondition="VIEW.COLH13 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH13" columnData="= VIEW.COLI13" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N14" width="35" visibleCondition="VIEW.COLH14 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH14" columnData="= VIEW.COLI14" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N15" width="35" visibleCondition="VIEW.COLH15 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH15" columnData="= VIEW.COLI15" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N16" width="35" visibleCondition="VIEW.COLH16 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH16" columnData="= VIEW.COLI16" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N17" width="35" visibleCondition="VIEW.COLH17 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH17" columnData="= VIEW.COLI17" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N18" width="35" visibleCondition="VIEW.COLH18 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH18" columnData="= VIEW.COLI18" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N19" width="35" visibleCondition="VIEW.COLH19 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH19" columnData="= VIEW.COLI19" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N20" width="35" visibleCondition="VIEW.COLH20 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH20" columnData="= VIEW.COLI20" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N21" width="35" visibleCondition="VIEW.COLH21 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH21" columnData="= VIEW.COLI21" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N22" width="35" visibleCondition="VIEW.COLH22 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH22" columnData="= VIEW.COLI22" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N23" width="35" visibleCondition="VIEW.COLH23 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH23" columnData="= VIEW.COLI23" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N24" width="35" visibleCondition="VIEW.COLH24 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH24" columnData="= VIEW.COLI24" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N25" width="35" visibleCondition="VIEW.COLH25 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH25" columnData="= VIEW.COLI25" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N26" width="35" visibleCondition="VIEW.COLH26 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH26" columnData="= VIEW.COLI26" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N27" width="35" visibleCondition="VIEW.COLH27 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH27" columnData="= VIEW.COLI27" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N28" width="35" visibleCondition="VIEW.COLH28 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH28" columnData="= VIEW.COLI28" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N29" width="35" visibleCondition="VIEW.COLH29 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH29" columnData="= VIEW.COLI29" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N30" width="35" visibleCondition="VIEW.COLH30 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH30" columnData="= VIEW.COLI30" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
				<COLUMN dataField="N31" width="35" visibleCondition="VIEW.COLH31 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="VIEW.COLH31" columnData="= VIEW.COLI31" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
			</DATAGRID>
		</ONGLET>
	</PRESENTATION>
</VUE>
