<?xml version="1.0" encoding="ISO-8859-1"?>
<VUE name="ECO000006" 
	label="ECO. Analyse des commandes" 
	title="= 'Analyse des commandes par ' +  SELECT.GROUPBY_LABEL + ' (' + SELECT.DATE_BASE_LABEL + ' : ' +  SELECT.PERIODE_LABEL + ' à ' + SELECT.TOPERIODE_LABEL + ')'"
	database="iCTI" 
	swf="*CTI_view1" 
	globals="ECO_globals.XML" 
	componentsFile="ECO_components.XML"
	dboptimizer="ECO_dboptimizer.XML"
	softCode="iCTI_eco">
	
	<VIEWPROPERTIES componentName="PROPERTIES_COMMANDES"/>
	<VIEWPROPERTIES componentName="PROPERTIES_GROUPBY"/>
	<VIEWPROPERTIES componentName="PROPERTIES_DATA"/>
	<VIEWPROPERTIES>
		<PROPERTY dataLink="VIEWPROPERTIES" nameField="name" valueField="value"/>
	</VIEWPROPERTIES>
	
	<SELECTIONS label="Paramètres de l'analyse" displayText="">
		<GROUP label="Période">
			<FIELD name="DATE_BASE" label="" width="130" UI="combo" default="CMD" default2="date_commande">
				<OPTION label="Date commande" data="CMD" data2="date_commande"/>
				<OPTION label="Date engagement" data="ENG" data2="date_engagement"/>
			</FIELD>
			<FIELD name="ALIAS_PERIODE" label="" UI="combo" width="180" default="CUM_LAST_MONTH" tree="true" globalListProvider="ALIAS_PERIODE" />
			<FIELD name="PERIODE" label="" UI="combo" tree="true" width="200" default="2010-01-01" globalListProvider="PERIODE_DEBUT">
			</FIELD>
			<FIELD name="TOPERIODE" label="au" UI="combo" tree="true" width="200" default="2010-01-31" globalListProvider="PERIODE_FIN">
			</FIELD>
		</GROUP>
		<GROUP label="Regroupement">
			<FIELD name="GROUPBY" label="" UI="combo" width="200" default="FOU" tree="true">
				<OPTION label="Site" data="SIT" treeLevel="1"  globalListProvider="SITE_GROUPBY"/>
				<OPTION label="Article" data="ART" treeLevel="1"  globalListProvider="ARTICLE_GROUPBY"/>
				<OPTION label="Compte" data="CPA" treeLevel="1"  globalListProvider="COMPTE_ARTICLE_GROUPBY"/>
				<OPTION label="Fournisseur" data="FOU" treeLevel="1"  globalListProvider="FOURNISSEUR_GROUPBY"/>
				<OPTION label="Gestionnaire" data="GES" treeLevel="1"  globalListProvider="GESTIONNAIRE_GROUPBY"/>
				<OPTION label="Lieu" data="LIE" treeLevel="1"  globalListProvider="LIEU_GROUPBY"/>
				<OPTION label="Unité fonctionnelle" data="UFO" treeLevel="1"  globalListProvider="UNITE_FONCTIONNELLE_GROUPBY"/>
				<OPTION label="Commande" data="CMD" treeLevel="1"  />
				<OPTION label="Année-Mois Commande" globalListProvider="DATE_GROUPBY" treeLevel="1"  />
				<OPTION label="Source de données" data="PVD" treeLevel="1"  globalListProvider="PROVIDER_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="" width="200" UI="combo" default="-1" tree="true">
				<OPTION label="Pas de second niveau" data="-1"/>
				<OPTION label="Site" data="SIT" treeLevel="1"  globalListProvider="SITE_GROUPBY"/>
				<OPTION label="Article" data="ART" treeLevel="1"  globalListProvider="ARTICLE_GROUPBY"/>
				<OPTION label="Compte" data="CPA" treeLevel="1"  globalListProvider="COMPTE_ARTICLE_GROUPBY"/>
				<OPTION label="Fournisseur" data="FOU" treeLevel="1"  globalListProvider="FOURNISSEUR_GROUPBY"/>
				<OPTION label="Gestionnaire" data="GES" treeLevel="1"  globalListProvider="GESTIONNAIRE_GROUPBY"/>
				<OPTION label="Lieu" data="LIE" treeLevel="1"  globalListProvider="LIEU_GROUPBY"/>
				<OPTION label="Unité fonctionnelle" data="UFO" treeLevel="1"  globalListProvider="UNITE_FONCTIONNELLE_GROUPBY"/>
				<OPTION label="Commande" data="CMD" treeLevel="1"  />
				<OPTION label="Année-Mois Commande" globalListProvider="DATE_GROUPBY" treeLevel="1"  />
				<OPTION label="Source de données" data="PVD" treeLevel="1"  globalListProvider="PROVIDER_GROUPBY"/>
			</FIELD>
		</GROUP>
		<GROUP label="">
			<FIELD name="GROUPBY_3" label="" width="200" UI="combo" default="-1" tree="true">
				<OPTION label="Pas de troisième niveau" data="-1"/>
				<OPTION label="Site" data="SIT" treeLevel="1"  globalListProvider="SITE_GROUPBY"/>
				<OPTION label="Article" data="ART" treeLevel="1"  globalListProvider="ARTICLE_GROUPBY"/>
				<OPTION label="Compte" data="CPA" treeLevel="1"  globalListProvider="COMPTE_ARTICLE_GROUPBY"/>
				<OPTION label="Fournisseur" data="FOU" treeLevel="1"  globalListProvider="FOURNISSEUR_GROUPBY"/>
				<OPTION label="Gestionnaire" data="GES" treeLevel="1"  globalListProvider="GESTIONNAIRE_GROUPBY"/>
				<OPTION label="Lieu" data="LIE" treeLevel="1"  globalListProvider="LIEU_GROUPBY"/>
				<OPTION label="Unité fonctionnelle" data="UFO" treeLevel="1"  globalListProvider="UNITE_FONCTIONNELLE_GROUPBY"/>
				<OPTION label="Commande" data="CMD" treeLevel="1"  />
				<OPTION label="Année-Mois Commande" globalListProvider="DATE_GROUPBY" treeLevel="1"  />
				<OPTION label="Source de données" data="PVD" treeLevel="1"  globalListProvider="PROVIDER_GROUPBY"/>
			</FIELD>
		</GROUP>
		<GROUP label="Liste d'indicateurs">
			<FIELD name="DATALIST" label="" UI="combo" width="210" default="CTI_COM" default2="" tree="true" printable="false" >
				<OPTION label="Options" data="" globalListProvider="DATA_LISTE_IND"  condition="dataItem.data6 &gt; 20 and dataItem.data6 &lt; 30"/>
				<OPTION label="Sélection libre" data="0"/>
			</FIELD>
		</GROUP>
		<GROUP label="Données (15 Max)" visible="= SELECT.DATALIST == '0'">
			<FIELD name="DATA01" label="" UI="combo" width="200" default="" default2="" tree="true" printable="false"  visible="= SELECT.DATALIST == '0'" update="= if(SELECT.DATALIST != '0') {return SELECT.DATALIST2.split('|')[0]} else {if (SELECT.DATA015 == '' &amp;&amp; SELECT.DATA01.substr(0,1) == '-') {return SELECT.DATA01.substr(1)} else {return 'no_update'}}">
				<OPTION label="Options" data="" globalListProvider="DATA_AP_IND" condition="dataItem.data6 &gt; 20 and dataItem.data6 &lt; 30"/>
				<OPTION label="Options" data="" globalListProvider="DATA_AP_EC"/>
			</FIELD>
			<FIELD name="DATA02" label="" UI="combo" width="200" default="0" default2="0" tree="true" printable="false" selectable="false" visible="= (SELECT.DATALIST == '0' &amp;&amp; SELECT.DATA01 != '0')" update="= if(SELECT.DATALIST != '0') {return SELECT.DATALIST2.split('|')[1]} else {if (SELECT.DATA025 == '' &amp;&amp; SELECT.DATA02.substr(0,1) == '-') {return SELECT.DATA02.substr(1)} else {return 'no_update'}}">
				<OPTION label="" data="0" />
				<OPTION label="Options" data="" globalListProvider="DATA_AP_IND" condition="dataItem.data6 &gt; 20 and dataItem.data6 &lt; 30"/>
				<OPTION label="Options" data="" globalListProvider="DATA_AP_EC"/>
			</FIELD>
			<FIELD name="DATA03" label="" UI="combo" width="200" default="0" default2="0" tree="true" printable="false" visible="= (SELECT.DATALIST == '0' &amp;&amp; SELECT.DATA01 != '0' &amp;&amp;  SELECT.DATA02 != '0')"   update="= if(SELECT.DATALIST != '0') {return SELECT.DATALIST2.split('|')[2]} else if(SELECT.DATA02 != '0') {if (SELECT.DATA035 == '' &amp;&amp; SELECT.DATA03.substr(0,1) == '-') {return SELECT.DATA03.substr(1)} else {return 'no_update'}} else {return '0'}">
				<OPTION label="" data="0" />
				<OPTION label="Options" data="" globalListProvider="DATA_AP_IND" condition="dataItem.data6 &gt; 20 and dataItem.data6 &lt; 30"/>
				<OPTION label="Options" data="" globalListProvider="DATA_EC" />
			</FIELD>
		</GROUP >
		<GROUP visible="= SELECT.DATALIST == '0'">
			<FIELD name="DATA04" label="" UI="combo" width="200" default="0" default2="0" tree="true" printable="false"  visible="= (SELECT.DATA03 != '0' &amp;&amp;  SELECT.DATA02 != '0' &amp;&amp;  SELECT.DATALIST == '0' &amp;&amp; SELECT.DATA01 != '0')" update="= if(SELECT.DATALIST != '0') {return SELECT.DATALIST2.split('|')[3]} else if(SELECT.DATA03 != '0') {if (SELECT.DATA045 == '' &amp;&amp; SELECT.DATA04.substr(0,1) == '-') {return SELECT.DATA04.substr(1)} else {return 'no_update'}} else {return '0'}">
				<OPTION label="" data="0" />
				<OPTION label="Options" data="" globalListProvider="DATA_AP_IND" condition="dataItem.data6 &gt; 20 and dataItem.data6 &lt; 30"/>
				<OPTION label="Options" data="" globalListProvider="DATA_EC" />
			</FIELD>
			<FIELD name="DATA05" label="" UI="combo" width="200" default="0" default2="0" tree="true" printable="false"  visible="= (SELECT.DATA03 != '0' &amp;&amp;  SELECT.DATA02 != '0' &amp;&amp;  SELECT.DATALIST == '0' &amp;&amp; SELECT.DATA01 != '0' &amp;&amp;  SELECT.DATA04 != '0')" update="= if(SELECT.DATALIST != '0') {return SELECT.DATALIST2.split('|')[4]} else if(SELECT.DATA04 != '0') {if (SELECT.DATA055 == '' &amp;&amp; SELECT.DATA05.substr(0,1) == '-') {return SELECT.DATA05.substr(1)} else {return 'no_update'}} else {return '0'}">
				<OPTION label="" data="0" />
				<OPTION label="Options" data="" globalListProvider="DATA_AP_IND" condition="dataItem.data6 &gt; 20 and dataItem.data6 &lt; 30"/>
				<OPTION label="Options" data="" globalListProvider="DATA_EC" />
			</FIELD>
			<FIELD name="DATA06" label="" UI="combo" width="200" default="0" default2="0" tree="true" printable="false"  visible="= (SELECT.DATA03 != '0' &amp;&amp;  SELECT.DATA02 != '0' &amp;&amp;  SELECT.DATALIST == '0' &amp;&amp; SELECT.DATA01 != '0' &amp;&amp;  SELECT.DATA04 != '0' &amp;&amp;  SELECT.DATA05 != '0')"  update="= if(SELECT.DATALIST != '0') {return SELECT.DATALIST2.split('|')[5]} else if(SELECT.DATA05 != '0') {if (SELECT.DATA065 == '' &amp;&amp; SELECT.DATA06.substr(0,1) == '-') {return SELECT.DATA06.substr(1)} else {return 'no_update'}} else {return '0'}">
				<OPTION label="" data="0" />
				<OPTION label="Options" data="" globalListProvider="DATA_AP_IND" condition="dataItem.data6 &gt; 20 and dataItem.data6 &lt; 30"/>
				<OPTION label="Options" data="" globalListProvider="DATA_EC" />
			</FIELD>
		</GROUP >
		<GROUP visible="= SELECT.DATALIST == '0'">
			<FIELD name="DATA07" label="" UI="combo" width="200" default="0" default2="0" tree="true" printable="false"  visible="= (SELECT.DATA05 != '0' &amp;&amp;  SELECT.DATA06 != '0' &amp;&amp;  SELECT.DATA04 != '0' &amp;&amp; SELECT.DATA03 != '0' &amp;&amp;  SELECT.DATA02 != '0' &amp;&amp;  SELECT.DATALIST == '0' &amp;&amp; SELECT.DATA01 != '0')" update="= if(SELECT.DATALIST != '0') {return SELECT.DATALIST2.split('|')[6]} else if(SELECT.DATA06 != '0') {if (SELECT.DATA075 == '' &amp;&amp; SELECT.DATA07.substr(0,1) == '-') {return SELECT.DATA07.substr(1)} else {return 'no_update'}} else {return '0'}">
				<OPTION label="" data="0" />
				<OPTION label="Options" data="" globalListProvider="DATA_AP_IND" condition="dataItem.data6 &gt; 20 and dataItem.data6 &lt; 30"/>
				<OPTION label="Options" data="" globalListProvider="DATA_EC" />
			</FIELD>
			<FIELD name="DATA08" label="" UI="combo" width="200" default="0" default2="0" tree="true" printable="false"  visible="= (SELECT.DATA05 != '0' &amp;&amp;  SELECT.DATA06 != '0' &amp;&amp;  SELECT.DATA04 != '0' &amp;&amp; SELECT.DATA03 != '0' &amp;&amp;  SELECT.DATA02 != '0' &amp;&amp;  SELECT.DATALIST == '0' &amp;&amp; SELECT.DATA01 != '0' &amp;&amp;  SELECT.DATA07 != '0')"  update="= if(SELECT.DATALIST != '0') {return SELECT.DATALIST2.split('|')[7]} else if(SELECT.DATA07 != '0') {if (SELECT.DATA085 == '' &amp;&amp; SELECT.DATA08.substr(0,1) == '-') {return SELECT.DATA08.substr(1)} else {return 'no_update'}} else {return '0'}">
				<OPTION label="" data="0" />
				<OPTION label="Options" data="" globalListProvider="DATA_AP_IND" condition="dataItem.data6 &gt; 20 and dataItem.data6 &lt; 30"/>
				<OPTION label="Options" data="" globalListProvider="DATA_EC" />
			</FIELD>
			<FIELD name="DATA09" label="" UI="combo" width="200" default="0" default2="0" tree="true" printable="false"  visible="= (SELECT.DATA05 != '0' &amp;&amp;  SELECT.DATA06 != '0' &amp;&amp;  SELECT.DATA04 != '0' &amp;&amp; SELECT.DATA03 != '0' &amp;&amp;  SELECT.DATA02 != '0' &amp;&amp;  SELECT.DATALIST == '0' &amp;&amp; SELECT.DATA01 != '0' &amp;&amp;  SELECT.DATA07 != '0' &amp;&amp;  SELECT.DATA08 != '0')" update="= if(SELECT.DATALIST != '0') {return SELECT.DATALIST2.split('|')[8]} else if(SELECT.DATA08 != '0') {if (SELECT.DATA095 == '' &amp;&amp; SELECT.DATA09.substr(0,1) == '-') {return SELECT.DATA09.substr(1)} else {return 'no_update'}} else {return '0'}">
				<OPTION label="" data="0" />
				<OPTION label="Options" data="" globalListProvider="DATA_AP_IND" condition="dataItem.data6 &gt; 20 and dataItem.data6 &lt; 30"/>
				<OPTION label="Options" data="" globalListProvider="DATA_EC" />
			</FIELD>
		</GROUP>
		<GROUP visible="= SELECT.DATALIST == '0'">
			<FIELD name="DATA10" label="" UI="combo" width="200" default="0" default2="0" tree="true" printable="false"  visible="= (SELECT.DATA05 != '0' &amp;&amp;  SELECT.DATA06 != '0' &amp;&amp;  SELECT.DATA04 != '0' &amp;&amp; SELECT.DATA03 != '0' &amp;&amp;  SELECT.DATA02 != '0' &amp;&amp;  SELECT.DATALIST == '0' &amp;&amp; SELECT.DATA01 != '0' &amp;&amp;  SELECT.DATA07 != '0' &amp;&amp;  SELECT.DATA08 != '0'  &amp;&amp;  SELECT.DATA09 != '0')" update="= if(SELECT.DATALIST != '0') {return SELECT.DATALIST2.split('|')[9]} else if(SELECT.DATA09 != '0') {if (SELECT.DATA105 == '' &amp;&amp; SELECT.DATA10.substr(0,1) == '-') {return SELECT.DATA10.substr(1)} else {return 'no_update'}} else {return '0'}">
				<OPTION label="Options" data="" globalListProvider="DATA_AP_IND" condition="dataItem.data6 &gt; 20 and dataItem.data6 &lt; 30"/>
				<OPTION label="Options" data="" globalListProvider="DATA_EC" />
			</FIELD>
			<FIELD name="DATA11" label="" UI="combo" width="200" default="0" default2="0" tree="true" printable="false"  visible="= (SELECT.DATA05 != '0' &amp;&amp;  SELECT.DATA06 != '0' &amp;&amp;  SELECT.DATA04 != '0' &amp;&amp; SELECT.DATA03 != '0' &amp;&amp;  SELECT.DATA02 != '0' &amp;&amp;  SELECT.DATALIST == '0' &amp;&amp; SELECT.DATA01 != '0' &amp;&amp;  SELECT.DATA07 != '0' &amp;&amp;  SELECT.DATA08 != '0'  &amp;&amp;  SELECT.DATA09 != '0'  &amp;&amp;  SELECT.DATA10 != '0')"  update="= if(SELECT.DATALIST != '0') {return SELECT.DATALIST2.split('|')[10]} else if(SELECT.DATA10 != '0') {if (SELECT.DATA115 == '' &amp;&amp; SELECT.DATA11.substr(0,1) == '-') {return SELECT.DATA11.substr(1)} else {return 'no_update'}} else {return '0'}">
				<OPTION label="" data="0" />
				<OPTION label="Options" data="" globalListProvider="DATA_AP_IND" condition="dataItem.data6 &gt; 20 and dataItem.data6 &lt; 30"/>
				<OPTION label="Options" data="" globalListProvider="DATA_EC" />
			</FIELD>
			<FIELD name="DATA12" label="" UI="combo" width="200" default="0" default2="0" tree="true" printable="false"  visible="= (SELECT.DATA05 != '0' &amp;&amp;  SELECT.DATA06 != '0' &amp;&amp;  SELECT.DATA04 != '0' &amp;&amp; SELECT.DATA03 != '0' &amp;&amp;  SELECT.DATA02 != '0' &amp;&amp;  SELECT.DATALIST == '0' &amp;&amp; SELECT.DATA01 != '0' &amp;&amp;  SELECT.DATA07 != '0' &amp;&amp;  SELECT.DATA08 != '0'  &amp;&amp;  SELECT.DATA09 != '0'  &amp;&amp;  SELECT.DATA10 != '0'  &amp;&amp;  SELECT.DATA11 != '0')" update="= if(SELECT.DATALIST != '0') {return SELECT.DATALIST2.split('|')[11]} else if(SELECT.DATA11 != '0') {if (SELECT.DATA125 == '' &amp;&amp; SELECT.DATA12.substr(0,1) == '-') {return SELECT.DATA12.substr(1)} else {return 'no_update'}} else {return '0'}">
				<OPTION label="" data="0" />
				<OPTION label="Options" data="" globalListProvider="DATA_AP_IND" condition="dataItem.data6 &gt; 20 and dataItem.data6 &lt; 30"/>
				<OPTION label="Options" data="" globalListProvider="DATA_EC" />
			</FIELD>
		</GROUP>
		<GROUP visible="= SELECT.DATALIST == '0'">
			<FIELD name="DATA13" label="" UI="combo" width="200" default="0" default2="0" tree="true" printable="false"  visible="= (SELECT.DATA05 != '0' &amp;&amp;  SELECT.DATA06 != '0' &amp;&amp;  SELECT.DATA04 != '0' &amp;&amp; SELECT.DATA03 != '0' &amp;&amp;  SELECT.DATA02 != '0' &amp;&amp;  SELECT.DATALIST == '0' &amp;&amp; SELECT.DATA01 != '0' &amp;&amp;  SELECT.DATA07 != '0' &amp;&amp;  SELECT.DATA08 != '0'  &amp;&amp;  SELECT.DATA09 != '0' &amp;&amp;  SELECT.DATA10 != '0' &amp;&amp;  SELECT.DATA11 != '0'  &amp;&amp;  SELECT.DATA12 != '0')" update="= if(SELECT.DATALIST != '0') {return SELECT.DATALIST2.split('|')[12]} else if(SELECT.DATA12 != '0') {if (SELECT.DATA135 == '' &amp;&amp; SELECT.DATA13.substr(0,1) == '-') {return SELECT.DATA13.substr(1)} else {return 'no_update'}} else {return '0'}">
				<OPTION label="" data="0" />
				<OPTION label="Options" data="" globalListProvider="DATA_AP_IND" condition="dataItem.data6 &gt; 20 and dataItem.data6 &lt; 30"/>
				<OPTION label="Options" data="" globalListProvider="DATA_EC" />
			</FIELD>
			<FIELD name="DATA14" label="" UI="combo" width="200" default="0" default2="0" tree="true" printable="false"  visible="= (SELECT.DATA05 != '0' &amp;&amp;  SELECT.DATA06 != '0' &amp;&amp;  SELECT.DATA04 != '0' &amp;&amp; SELECT.DATA03 != '0' &amp;&amp;  SELECT.DATA02 != '0' &amp;&amp;  SELECT.DATALIST == '0' &amp;&amp; SELECT.DATA01 != '0' &amp;&amp;  SELECT.DATA07 != '0' &amp;&amp;  SELECT.DATA08 != '0'  &amp;&amp;  SELECT.DATA09 != '0'  &amp;&amp;  SELECT.DATA10 != '0' &amp;&amp;  SELECT.DATA11 != '0'  &amp;&amp;  SELECT.DATA12 != '0' &amp;&amp;  SELECT.DATA13 != '0')"  update="= if(SELECT.DATALIST != '0') {return SELECT.DATALIST2.split('|')[13]} else if(SELECT.DATA13 != '0') {if (SELECT.DATA145 == '' &amp;&amp; SELECT.DATA14.substr(0,1) == '-') {return SELECT.DATA14.substr(1)} else {return 'no_update'}} else {return '0'}">
				<OPTION label="" data="0" />
				<OPTION label="Options" data="" globalListProvider="DATA_AP_IND" condition="dataItem.data6 &gt; 20 and dataItem.data6 &lt; 30"/>
				<OPTION label="Options" data="" globalListProvider="DATA_EC" />
			</FIELD>
			<FIELD name="DATA15" label="" UI="combo" width="200" default="0" default2="0" tree="true" printable="false"  visible="= (SELECT.DATA05 != '0' &amp;&amp;  SELECT.DATA06 != '0' &amp;&amp;  SELECT.DATA04 != '0' &amp;&amp; SELECT.DATA03 != '0' &amp;&amp;  SELECT.DATA02 != '0' &amp;&amp;  SELECT.DATALIST == '0' &amp;&amp; SELECT.DATA01 != '0' &amp;&amp;  SELECT.DATA07 != '0' &amp;&amp;  SELECT.DATA08 != '0'  &amp;&amp;  SELECT.DATA09 != '0'  &amp;&amp;  SELECT.DATA10 != '0'  &amp;&amp;  SELECT.DATA11 != '0' &amp;&amp;  SELECT.DATA12 != '0' &amp;&amp;  SELECT.DATA13 != '0' &amp;&amp;  SELECT.DATA14 != '0')" update="= if(SELECT.DATALIST != '0') {return SELECT.DATALIST2.split('|')[14]} else if(SELECT.DATA14 != '0') {if (SELECT.DATA155 == '' &amp;&amp; SELECT.DATA15.substr(0,1) == '-') {return SELECT.DATA15.substr(1)} else {return 'no_update'}} else {return '0'}">
				<OPTION label="" data="0" />
				<OPTION label="Options" data="" globalListProvider="DATA_AP_IND" condition="dataItem.data6 &gt; 20 and dataItem.data6 &lt; 30"/>
				<OPTION label="Options" data="" globalListProvider="DATA_EC" />
			</FIELD>
		</GROUP>
	</SELECTIONS>
	
	<SELECTIONS componentName="FILTRES_COMMANDE_SIGNIFICATIF"/>
	<SELECTIONS componentName="FILTRES_COMMANDE_SELECTIONS"/>
	<SELECTIONS componentName="FILTRES_FOURNISSEUR_SELECTIONS"/>
	<SELECTIONS componentName="FILTRES_ARTICLE_SELECTIONS"/>
	<SELECTIONS componentName="FILTRES_PROVIDER_SELECTIONS"/>
	
	
	<QUERIES>
		<QUERY label=""> 
			<SQL optimizer="V_LIGNES_COMMANDES_X" optimizer2="V_ALL_X">
				<select><![CDATA[		

					CTISELECT_TREE
						GROUPBY1{[VIEW.GROUPBY_OID_FIELD],, [VIEW.GROUPBY_COD_FIELD],, [VIEW.GROUPBY_TXT_FIELD]}
						GROUPBY1MODE{[GROUPBY_TAB]}
						GROUPBY2{[VIEW.GROUPBY_2_OID_FIELD],, [VIEW.GROUPBY_2_COD_FIELD],, [VIEW.GROUPBY_2_TXT_FIELD]}
						GROUPBY3{[VIEW.GROUPBY_3_OID_FIELD],, [VIEW.GROUPBY_3_COD_FIELD],, [VIEW.GROUPBY_3_TXT_FIELD]}
						SIGNIFDATA{[VIEW.ECO_SIGNIFICATIVE_DATA],, [ECO_SIGNIFICATIVE_MODE],, [ECO_SIGNIFICATIVE_NUMBER]}
						INDICATORS{
							[VIEW.DATASQL]
						}
						INDICATORS_TEXT{
							MAX(CASE WHEN unite_approvisionnement_article_id <> 0 AND unite_approvisionnement_article_code <> 'UN' THEN unite_approvisionnement_article_texte ELSE '' END)::text,,
						}	
					FROM #V_LIGNES_COMMANDES_X##V_ALL_X#
					WHERE [DATE_BASE2] BETWEEN '[PERIODE]' AND '[TOPERIODE]'
						[VIEW.ARTICLE_SELECT]
						[VIEW.FOURNISSEUR_SELECT]
						[VIEW.COMMANDE_SELECT]
						[VIEW.PROVIDER_SELECT]
					AFTER{
						UPDATE w_table SET 
							indicateurs_text[1] = CASE WHEN indicateurs[1] = 1 THEN indicateurs_text[1] ELSE '' END,
							texte = CASE WHEN level = 1 AND '[VIEW.GROUPBY_OID_FIELD]' = 'commande_id' THEN (SELECT max(fournisseur_texte) from eco.v_lignes_commandes_1 WHERE commande_id = oid GROUP BY commande_id) || CASE WHEN texte != '' THEN ' - ' ELSE '' END ||  texte ELSE texte END
					}

				]]></select>
				<FIELDS>
					<INSERT name="CTISELECT_TREE_FIELDS"/>
					<FIELD name="DATA01"/>
					<FIELD name="DATA02"/>
					<FIELD name="DATA03"/>
					<FIELD name="DATA04"/>
					<FIELD name="DATA05"/>
					<FIELD name="DATA06"/>
					<FIELD name="DATA07"/>
					<FIELD name="DATA08"/>
					<FIELD name="DATA09"/>
					<FIELD name="DATA10"/>
					<FIELD name="DATA11"/>
					<FIELD name="DATA12"/>
					<FIELD name="DATA13"/>
					<FIELD name="DATA14"/>
					<FIELD name="DATA15"/>
					<FIELD name="UNIT" />
				</FIELDS>
			</SQL>
		</QUERY>
		<QUERY type="propertiesLink" name="VIEWPROPERTIES" forSelections="false">
			<SQL>
				<select><![CDATA[
						SELECT 'X_PERIODE_D', greatest(to_date(to_char('[PERIODE]'::date - INTERVAL  '1 year', 'YYYY-MM-DD'), 'YYYY-MM-DD'), (SELECT min(to_date(mois,'YYYYMM')) FROM eco.p_chiffrier_production))::text
					UNION ALL
						SELECT 'X_TOPERIODE_D', greatest(to_date(to_char('[TOPERIODE]'::date - INTERVAL  '1 year', 'YYYY-MM-DD'), 'YYYY-MM-DD'), (SELECT min(to_date(mois,'YYYYMM')) FROM eco.p_chiffrier_production))::text
					UNION ALL
						SELECT 'X_PERIODE', greatest(to_date(to_char('[PERIODE]'::date - INTERVAL  '3 year', 'YYYY-MM-DD'), 'YYYY-MM-DD'), (SELECT min(to_date(mois,'YYYYMM')) FROM eco.p_chiffrier_production))::text
				]]></select>
				<FIELDS>
					<FIELD name="name" />
					<FIELD name="value" />
				</FIELDS>
			</SQL>
		</QUERY>
	</QUERIES>
	<PRESENTATION>
		<VIEWLINKS>
			<VIEWLINK label="Comparatif" shortLabel="Comparatif" view="ECO000008.XML" enabled="true" rowContext="false" componentName="ECO_VIEWLINK" buttonType="COMPARATIF">
				<ARG name="PERIODE_D" value="return VIEW.X_PERIODE_D;" />
				<ARG name="TOPERIODE_D" value="return VIEW.X_TOPERIODE_D;" />
				<ARG name="DATA01" value="
					var result:int = int(COLUMN.NAME.substr(COLUMN.NAME.length-4,2));
					switch (SELECT[COLUMN.NAME.substring(0,COLUMN.NAME.length-2)]) {
						case '4.2' :
							result = result - 1;
							break;
						case '4.3' :
							result = result - 2;
							break;
						case '4.4' :
							result = result - 2;
							break;
						default :
							break;
					};
					if (result &lt; 10) return SELECT[COLUMN.NAME.substring(0,COLUMN.NAME.length-4)+'0'+result.toString()];
					else return SELECT[COLUMN.NAME.substring(0,COLUMN.NAME.length-4)+result.toString()];"/>
				<ARGS name="SPEC" >
					<value><![CDATA[
						var result:int = COLUMN.NAME.substr(COLUMN.NAME.length-4,2);
						trace(COLUMN.NAME);
						switch (COLUMN.NAME.substring(0,3)) {
							case '' :
							case 'OID' :
							case 'COD' :
							case 'TXT' :
							case 'UNI' :
								break;
							default :
								LINKVARIABLES['DATA02'] = '0';
								LINKVARIABLES['DATA03'] = '0';
								LINKVARIABLES['DATA04'] = '0';
								LINKVARIABLES['DATA05'] = '0';
								LINKVARIABLES['DATA06'] = '0';
								LINKVARIABLES['DATA07'] = '0';
								LINKVARIABLES['DATA08'] = '0';
								LINKVARIABLES['DATA09'] = '0';
								LINKVARIABLES['DATA10'] = '0';
								LINKVARIABLES['DATA11'] = '0';
								LINKVARIABLES['DATA12'] = '0';
								LINKVARIABLES['DATA13'] = '0';
								LINKVARIABLES['DATA14'] = '0';
								LINKVARIABLES['DATA15'] = '0';
								break;
						};
						return 'OK';
					]]></value>
				</ARGS>
			</VIEWLINK>
			<VIEWLINK label="Evolution" shortLabel="Evolution" view="ECO000007.XML" enabled="true" rowContext="false" componentName="ECO_VIEWLINK"  buttonType="EVOLUTION">
				<ARG name="PERIODICITE" value="'MONTH'" />
				<ARG name="DATA01" value="
					var result:int = int(COLUMN.NAME.substr(COLUMN.NAME.length-4,2));
					switch (SELECT[COLUMN.NAME.substring(0,COLUMN.NAME.length-2)]) {
						case '4.2' :
							result = result - 1;
							break;
						case '4.3' :
							result = result - 2;
							break;
						case '4.4' :
							result = result - 2;
							break;
						default :
							break;
					};
					if (result &lt; 10) return SELECT[COLUMN.NAME.substring(0,COLUMN.NAME.length-4)+'0'+result.toString()];
					else return SELECT[COLUMN.NAME.substring(0,COLUMN.NAME.length-4)+result.toString()];"/>
				<ARGS name="SPEC" >
					<value><![CDATA[
						var result:int = COLUMN.NAME.substr(COLUMN.NAME.length-4,2);
						switch (COLUMN.NAME.substring(0,3)) {
							case '' :
							case 'OID' :
							case 'COD' :
							case 'TXT' :
							case 'UNI' :
								break;
							default :
								LINKVARIABLES['DATA02'] = '0';
								LINKVARIABLES['DATA03'] = '0';
								LINKVARIABLES['DATA04'] = '0';
								LINKVARIABLES['DATA05'] = '0';
								LINKVARIABLES['DATA06'] = '0';
								LINKVARIABLES['DATA07'] = '0';
								LINKVARIABLES['DATA08'] = '0';
								LINKVARIABLES['DATA09'] = '0';
								LINKVARIABLES['DATA10'] = '0';
								LINKVARIABLES['DATA11'] = '0';
								LINKVARIABLES['DATA12'] = '0';
								LINKVARIABLES['DATA13'] = '0';
								LINKVARIABLES['DATA14'] = '0';
								LINKVARIABLES['DATA15'] = '0';
								break;
						};
						return 'OK';
					]]></value>
				</ARGS>
			</VIEWLINK>
			<VIEWLINK label="Analyse croisée" shortLabel="Analyse croisée" view="ECO000009.XML" enabled="true" rowContext="false"  componentName="ECO_VIEWLINK" buttonType="ANALYSE_CROISEE">
				<ARG name="GROUPBY_TAB" value="'TAB'"/>
				<ARG name="COLUMNBYCOUNT" value="'12'"/>
				<ARG name="DATA01" value="
					var result:int = int(COLUMN.NAME.substr(COLUMN.NAME.length-4,2));
					switch (SELECT[COLUMN.NAME.substring(0,COLUMN.NAME.length-2)]) {
						case '4.2' :
							result = result - 1;
							break;
						case '4.3' :
							result = result - 2;
							break;
						case '4.4' :
							result = result - 2;
							break;
						default :
							break;
					};
					if (result &lt; 10) return SELECT[COLUMN.NAME.substring(0,COLUMN.NAME.length-4)+'0'+result.toString()];
					else return SELECT[COLUMN.NAME.substring(0,COLUMN.NAME.length-4)+result.toString()];"/>
			</VIEWLINK>
			<VIEWLINK label="Liste des commandes" shortLabel="Liste commandes" view="ECO000011.XML" componentName="ECO_VIEWLINK" >
				<ARGS name="SPEC" >
					<value><![CDATA[
						LINKVARIABLES['GROUPBY'] = '-1'
						LINKVARIABLES['GROUPBY_2'] = 'CMD'
						LINKVARIABLES['DATA01'] = '-1'
						switch (COLUMN.NAME.substring(0,3)) {
							case '' :
							case 'OID' :
							case 'COD' :
							case 'TXT' :
							case 'UNI' :
								break;
							default :
							var result:int = int(COLUMN.NAME.substr(COLUMN.NAME.length-4,2));
							switch (SELECT[COLUMN.NAME.substring(0,COLUMN.NAME.length-2)]) {
								case '4.2' :
									result = result - 1;
									break;
								case '4.3' :
									result = result - 2;
									break;
								case '4.4' :
									result = result - 2;
									break;
								default :
									break;
							};
							if (result < 10) LINKVARIABLES['DATA01'] = SELECT[COLUMN.NAME.substring(0,COLUMN.NAME.length-4)+'0'+result.toString()];
							else LINKVARIABLES['DATA01'] = SELECT[COLUMN.NAME.substring(0,COLUMN.NAME.length-4)+result.toString()];
							break;
							};
						return 'OK';
			
					]]></value>
				</ARGS>
			</VIEWLINK>
			<VIEWLINK label="Liste des lignes de commande" shortLabel="Liste lignes" view="ECO000011.XML" componentName="ECO_VIEWLINK" >
				<ARGS name="SPEC" >
					<value><![CDATA[
						LINKVARIABLES['GROUPBY'] = 'CMD'
						LINKVARIABLES['GROUPBY_2'] = 'CML'
						LINKVARIABLES['DATA01'] = '-1'
						switch (COLUMN.NAME.substring(0,3)) {
							case '' :
							case 'OID' :
							case 'COD' :
							case 'TXT' :
							case 'UNI' :
								break;
							default :
							var result:int = int(COLUMN.NAME.substr(COLUMN.NAME.length-4,2));
							switch (SELECT[COLUMN.NAME.substring(0,COLUMN.NAME.length-2)]) {
								case '4.2' :
									result = result - 1;
									break;
								case '4.3' :
									result = result - 2;
									break;
								case '4.4' :
									result = result - 2;
									break;
								default :
									break;
							};
							if (result < 10) LINKVARIABLES['DATA01'] = SELECT[COLUMN.NAME.substring(0,COLUMN.NAME.length-4)+'0'+result.toString()];
							else LINKVARIABLES['DATA01'] = SELECT[COLUMN.NAME.substring(0,COLUMN.NAME.length-4)+result.toString()];
							break;
							};
						return 'OK';
			
					]]></value>
				</ARGS>
			</VIEWLINK>
			<VIEWLINK label="Détail article" shortLabel="Détail article" view="ECO000069.XML" componentName="ECO_VIEWLINK" component2Name="DATE_EVOL_VIEWLINK" >
				<ARGS name="SPEC" >
					<value><![CDATA[
						LINKVARIABLES['GROUPBY'] = 'AMCMD'
						LINKVARIABLES['GROUPBY_2'] = 'AMMVT'
						LINKVARIABLES['GROUPBY_3'] = 'AMSTO'
						LINKVARIABLES['TAB'] = 'AUTO'
						return 'OK';
			
					]]></value>
				</ARGS>
			</VIEWLINK>
		</VIEWLINKS>		
		<ONGLET label="Onglet" multiTab="true" >
			<CHART title="" type="group" subType="" percentHeight="100">
				<CHART title="Répartition 1ère donnée" type="pieChart" subType="" maxItems="10" maxItemsSortOn="" maxItemsSortSeq="" sortField="DATA01" sortSeq="D" condition="ROW.LVL == '1'">
					<CATEGORY field="TXT" type="Char" />
					<SERIE field="DATA01" displayName="SELECT.DATA01_LABEL" displayNameCalc="true"/>
				</CHART>
				<CHART title="Histogramme 2ème donnée" type="columnChart" subType="" maxItems="15" maxItemsSortOn="" maxItemsSortSeq="" sortField="DATA02" sortSeq="D" condition="ROW.LVL == '1'" visibleCondition="SELECT.DATA02 != '0'">
					<CATEGORY field="TXT" type="Char" />
					<SERIE field="DATA02" displayName="SELECT.DATA02_LABEL" displayNameCalc="true"/>
				</CHART>
			</CHART>
			<DATAGRID 	title="" 
						total="true" 
						headerHeight="40" 
						selectRowInRows="= ROW.OID == '-9999997'" 
						otherRowInRows="= ROW.OID == '-9999998'" 
						totalRowInRows="= ROW.OID == '-9999999'"
						variableRowHeight="true" 
						sortable="= SELECT.GROUPBY_2 == '-1' || SELECT.GROUPBY_TAB == 'TAB'"> 
				
				<INSERT name="DATAGRID_MULTITAB_STYLES"/>
				
				<COLUMN dataField="OID"
					type="Number"
					visible="false" />
				<COLUMN dataField="COD" 
					type="Char" 
					width="120"
					outputFormat="#"
					headerText="Code" 
					textAlign="left" 
					totalComplement="*ROW">
					<INSERT name="COLUMN_COD_MULTITAB_STYLES"/>
				</COLUMN>
				<COLUMN dataField="TXT" 
					type="Char" 
					minWidth="110"
					headerText="Texte" 
					textAlign="left" 
					totalComplement="*ROW"/>
				
				<COLUMN dataField="UNIT" 
					type="Char" 
					width="50"
					headerText="Unité" 
					textAlign="left" 
					totalComplement="*ROW"/>	
				<COLUMN dataField="DATA01" type="Number" width="90" fixed="false" outputFormat="= SELECT.DATA014" selectable="true" headerText="SELECT.DATA01_LABEL" headerTextCalc="true" description="= SELECT.DATA012" visibleCondition="SELECT.DATA01 != '0'" />
				<COLUMN dataField="DATA02" type="Number" width="90" outputFormat="= SELECT.DATA024" selectable="true" headerText="SELECT.DATA02_LABEL" headerTextCalc="true" description="= SELECT.DATA022 " visibleCondition="SELECT.DATA02 != '0' &amp;&amp; SELECT.DATA01 != '0'" />
				<COLUMN dataField="DATA03" type="Number" width="90" outputFormat="= SELECT.DATA034" selectable="true" headerText="SELECT.DATA03_LABEL" headerTextCalc="true" description=" " visible="false" />
				<COLUMN dataField="DATA03_2" type="Number" width="90" outputFormat="= if(SELECT.DATA03=='4.3'){return SELECT.DATA014} else { return SELECT.DATA034}" selectable="true" headerText="SELECT.DATA03_LABEL" headerTextCalc="true" description="= SELECT.DATA032" visibleCondition="SELECT.DATA03 != '0' &amp;&amp; SELECT.DATA02 != '0' &amp;&amp; SELECT.DATA01 != '0'" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
					<CALC formula="
					switch(SELECT.DATA03) {
						case '4.2' :
							return ROW.DATA02 / TOTALROW.DATA02 * 100;
							break;
						case '4.3' :
							return ROW.DATA01 - ROW.DATA02;
							break;
						case '4.4' :
							return ((ROW.DATA01 - ROW.DATA02)/ ROW.DATA01 * 100);
							break;
						default :
							return ROW.DATA03;
							break;
					}" />
				</COLUMN>
				<COLUMN dataField="DATA04" type="Number" width="90" outputFormat="= SELECT.DATA044" selectable="true" headerText="SELECT.DATA04_LABEL" headerTextCalc="true" description=" " visible="false" />
				<COLUMN dataField="DATA04_2" type="Number" width="90" outputFormat="=  if(SELECT.DATA04=='4.3'){return SELECT.DATA024} else { return SELECT.DATA044}" selectable="true" headerText="SELECT.DATA04_LABEL" headerTextCalc="true" description="= SELECT.DATA042 " visibleCondition="SELECT.DATA04 != '0' &amp;&amp; SELECT.DATA03 != '0' &amp;&amp; SELECT.DATA02 != '0' &amp;&amp; SELECT.DATA01 != '0'" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
					<CALC formula="
					switch(SELECT.DATA04) {
						case '4.2' :
							return ROW.DATA03 / TOTALROW.DATA03 * 100;
							break;
						case '4.3' :
							return ROW.DATA02 - ROW.DATA03;
							break;
						case '4.4' :
							return ((ROW.DATA02 - ROW.DATA03)/ ROW.DATA02 * 100);
							break;
						default :
							return ROW.DATA04;
							break;
					}" />
				</COLUMN>
				<COLUMN dataField="DATA05" type="Number" width="90" outputFormat="= SELECT.DATA054" selectable="true" headerText="SELECT.DATA05_LABEL" headerTextCalc="true" description=" " visible="false" />
				<COLUMN dataField="DATA05_2" type="Number" width="90" outputFormat="= if(SELECT.DATA05=='4.3'){return SELECT.DATA034} else { return SELECT.DATA054}" selectable="true" headerText="SELECT.DATA05_LABEL" headerTextCalc="true" description="= SELECT.DATA052 " visibleCondition="SELECT.DATA05 != '0' &amp;&amp; SELECT.DATA04 != '0' &amp;&amp; SELECT.DATA03 != '0' &amp;&amp; SELECT.DATA02 != '0' &amp;&amp; SELECT.DATA01 != '0'" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
				<CALC formula="
					switch(SELECT.DATA05) {
						case '4.2' :
							return ROW.DATA04 / TOTALROW.DATA04 * 100;
							break;
						case '4.3' :
							return ROW.DATA03 - ROW.DATA04;
							break;
						case '4.4' :
							return ((ROW.DATA03 - ROW.DATA04)/ ROW.DATA03 * 100);
							break;
						default :
							return ROW.DATA05;
							break;
					}" />
				</COLUMN>
				<COLUMN dataField="DATA06" type="Number" width="90" outputFormat="= SELECT.DATA064" selectable="true" headerText="SELECT.DATA06_LABEL" headerTextCalc="true" description=" " visible="false" />
				<COLUMN dataField="DATA06_2" type="Number" width="90" outputFormat="= if(SELECT.DATA06=='4.3'){return SELECT.DATA044} else { return SELECT.DATA064}" selectable="true" headerText="SELECT.DATA06_LABEL" headerTextCalc="true" description="= SELECT.DATA062 " visibleCondition="SELECT.DATA06 != '0' &amp;&amp; SELECT.DATA05 != '0' &amp;&amp; SELECT.DATA04 != '0' &amp;&amp; SELECT.DATA03 != '0' &amp;&amp; SELECT.DATA02 != '0' &amp;&amp; SELECT.DATA01 != '0'" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
				<CALC formula="
					switch(SELECT.DATA06) {
						case '4.2' :
							return ROW.DATA05 / TOTALROW.DATA05 * 100;
							break;
						case '4.3' :
							return ROW.DATA04 - ROW.DATA05;
							break;
						case '4.4' :
							return ((ROW.DATA04 - ROW.DATA05)/ ROW.DATA04 * 100);
							break;
						default :
							return ROW.DATA06;
							break;
					}" />
				</COLUMN>
				<COLUMN dataField="DATA07" type="Number" width="90" outputFormat="= SELECT.DATA074" selectable="true" headerText="SELECT.DATA07_LABEL" headerTextCalc="true" description=" " visible="false" />
				<COLUMN dataField="DATA07_2" type="Number" width="90" outputFormat="= if(SELECT.DATA07=='4.3'){return SELECT.DATA054} else { return SELECT.DATA074}" selectable="true" headerText="SELECT.DATA07_LABEL" headerTextCalc="true" description="= SELECT.DATA072 " visibleCondition="SELECT.DATA07 != '0' &amp;&amp; SELECT.DATA06 != '0' &amp;&amp; SELECT.DATA05 != '0' &amp;&amp; SELECT.DATA04 != '0' &amp;&amp; SELECT.DATA03 != '0' &amp;&amp; SELECT.DATA02 != '0' &amp;&amp; SELECT.DATA01 != '0'" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
				<CALC formula="
					switch(SELECT.DATA07) {
						case '4.2' :
							return ROW.DATA06 / TOTALROW.DATA06 * 100;
							break;
						case '4.3' :
							return ROW.DATA05 - ROW.DATA06;
							break;
						case '4.4' :
							return ((ROW.DATA05 - ROW.DATA06)/ ROW.DATA05 * 100);
							break;
						default :
							return ROW.DATA07;
							break;
					}" />
				</COLUMN>
				<COLUMN dataField="DATA08" type="Number" width="90" outputFormat="= SELECT.DATA084" selectable="true" headerText="SELECT.DATA08_LABEL" headerTextCalc="true" description=" " visible="false" />
				<COLUMN dataField="DATA08_2" type="Number" width="90" outputFormat="= if(SELECT.DATA08=='4.3'){return SELECT.DATA064} else { return SELECT.DATA084}" selectable="true" headerText="SELECT.DATA08_LABEL" headerTextCalc="true" description="= SELECT.DATA082" visibleCondition="SELECT.DATA08 != '0' &amp;&amp; SELECT.DATA07 != '0' &amp;&amp; SELECT.DATA06 != '0' &amp;&amp; SELECT.DATA05 != '0' &amp;&amp; SELECT.DATA04 != '0' &amp;&amp; SELECT.DATA03 != '0' &amp;&amp; SELECT.DATA02 != '0' &amp;&amp; SELECT.DATA01 != '0'" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
				<CALC formula="
					switch(SELECT.DATA08) {
						case '4.2' :
							return ROW.DATA07 / TOTALROW.DATA07 * 100;
							break;
						case '4.3' :
							return ROW.DATA06 - ROW.DATA07;
							break;
						case '4.4' :
							return ((ROW.DATA06 - ROW.DATA07)/ ROW.DATA06 * 100);
							break;
						default :
							return ROW.DATA08;
							break;
					}" />
				</COLUMN>
				<COLUMN dataField="DATA09" type="Number" width="90" outputFormat="= SELECT.DATA094" selectable="true" headerText="SELECT.DATA09_LABEL" headerTextCalc="true" description=" " visible="false" />
				<COLUMN dataField="DATA09_2" type="Number" width="90" outputFormat="= if(SELECT.DATA09=='4.3'){return SELECT.DATA074} else { return SELECT.DATA094}" selectable="true" headerText="SELECT.DATA09_LABEL" headerTextCalc="true" description="= SELECT.DATA092 " visibleCondition="SELECT.DATA09 != '0' &amp;&amp; SELECT.DATA08 != '0' &amp;&amp; SELECT.DATA07 != '0' &amp;&amp; SELECT.DATA06 != '0' &amp;&amp; SELECT.DATA05 != '0' &amp;&amp; SELECT.DATA04 != '0' &amp;&amp; SELECT.DATA03 != '0' &amp;&amp; SELECT.DATA02 != '0' &amp;&amp; SELECT.DATA01 != '0'" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
				<CALC formula="
					switch(SELECT.DATA09) {
						case '4.2' :
							return ROW.DATA08 / TOTALROW.DATA08 * 100;
							break;
						case '4.3' :
							return ROW.DATA07 - ROW.DATA08;
							break;
						case '4.4' :
							return ((ROW.DATA07 - ROW.DATA08)/ ROW.DATA07 * 100);
							break;
						default :
							return ROW.DATA09;
							break;
					}" />
				</COLUMN>
				<COLUMN dataField="DATA10" type="Number" width="90" outputFormat="= SELECT.DATA104" selectable="true" headerText="SELECT.DATA10_LABEL" headerTextCalc="true" description=" " visible="false" />
				<COLUMN dataField="DATA10_2" type="Number" width="90" outputFormat="= if(SELECT.DATA10=='4.3'){return SELECT.DATA084} else { return SELECT.DATA104}" selectable="true" headerText=" SELECT.DATA10_LABEL" headerTextCalc="true" description="= SELECT.DATA102 " visibleCondition="SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA09 != '0' &amp;&amp; SELECT.DATA08 != '0' &amp;&amp; SELECT.DATA07 != '0' &amp;&amp; SELECT.DATA06 != '0' &amp;&amp; SELECT.DATA05 != '0' &amp;&amp; SELECT.DATA04 != '0' &amp;&amp; SELECT.DATA03 != '0' &amp;&amp; SELECT.DATA02 != '0' &amp;&amp; SELECT.DATA01 != '0'" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
				<CALC formula="
					switch(SELECT.DATA10) {
						case '4.2' :
							return ROW.DATA09 / TOTALROW.DATA09 * 100;
							break;
						case '4.3' :
							return ROW.DATA08 - ROW.DATA09;
							break;
						case '4.4' :
							return ((ROW.DATA08 - ROW.DATA09)/ ROW.DATA08 * 100);
							break;
						default :
							return ROW.DATA10;
							break;
					}" />
				</COLUMN>
				<COLUMN dataField="DATA11" type="Number" width="90" outputFormat="= SELECT.DATA114" selectable="true" headerText="SELECT.DATA11_LABEL" headerTextCalc="true" description=" " visible="false" />
				<COLUMN dataField="DATA11_2" type="Number" width="90" outputFormat="= if(SELECT.DATA11=='4.3'){return SELECT.DATA094} else { return SELECT.DATA114}" selectable="true" headerText=" SELECT.DATA11_LABEL" headerTextCalc="true" description="= SELECT.DATA112" visibleCondition="SELECT.DATA11 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA09 != '0' &amp;&amp; SELECT.DATA08 != '0' &amp;&amp; SELECT.DATA07 != '0' &amp;&amp; SELECT.DATA06 != '0' &amp;&amp; SELECT.DATA05 != '0' &amp;&amp; SELECT.DATA04 != '0' &amp;&amp; SELECT.DATA03 != '0' &amp;&amp; SELECT.DATA02 != '0' &amp;&amp; SELECT.DATA01 != '0'" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
				<CALC formula="
					switch(SELECT.DATA11) {
						case '4.2' :
							return ROW.DATA10 / TOTALROW.DATA10 * 100;
							break;
						case '4.3' :
							return ROW.DATA09 - ROW.DATA10;
							break;
						case '4.4' :
							return ((ROW.DATA09 - ROW.DATA10)/ ROW.DATA09 * 100);
							break;
						default :
							return ROW.DATA11;
							break;
					}" />
				</COLUMN>
				<COLUMN dataField="DATA12" type="Number" width="90" outputFormat="= SELECT.DATA124" selectable="true" headerText="SELECT.DATA12_LABEL" headerTextCalc="true" description=" " visible="false" />
				<COLUMN dataField="DATA12_2" type="Number" width="90" outputFormat="= if(SELECT.DATA12=='4.3'){return SELECT.DATA104} else { return SELECT.DATA124}" selectable="true" headerText=" SELECT.DATA12_LABEL" headerTextCalc="true" description="= SELECT.DATA122" visibleCondition="SELECT.DATA12 != '0' &amp;&amp; SELECT.DATA11 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA09 != '0' &amp;&amp; SELECT.DATA08 != '0' &amp;&amp; SELECT.DATA07 != '0' &amp;&amp; SELECT.DATA06 != '0' &amp;&amp; SELECT.DATA05 != '0' &amp;&amp; SELECT.DATA04 != '0' &amp;&amp; SELECT.DATA03 != '0' &amp;&amp; SELECT.DATA02 != '0' &amp;&amp; SELECT.DATA01 != '0'" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
				<CALC formula="
					switch(SELECT.DATA12) {
						case '4.2' :
							return ROW.DATA11 / TOTALROW.DATA11 * 100;
							break;
						case '4.3' :
							return ROW.DATA10 - ROW.DATA11;
							break;
						case '4.4' :
							return ((ROW.DATA10 - ROW.DATA11)/ ROW.DATA10 * 100);
							break;
						default :
							return ROW.DATA12;
							break;
					}" />
				</COLUMN>
				<COLUMN dataField="DATA13" type="Number" width="90" outputFormat="= SELECT.DATA134" selectable="true" headerText="SELECT.DATA13_LABEL" headerTextCalc="true" description=" " visible="false" />
				<COLUMN dataField="DATA13_2" type="Number" width="90" outputFormat="= if(SELECT.DATA13=='4.3'){return SELECT.DATA104} else { return SELECT.DATA134}" selectable="true" headerText=" SELECT.DATA13_LABEL" headerTextCalc="true" description="= SELECT.DATA132" visibleCondition="SELECT.DATA13 != '0' &amp;&amp; SELECT.DATA11 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA09 != '0' &amp;&amp; SELECT.DATA08 != '0' &amp;&amp; SELECT.DATA07 != '0' &amp;&amp; SELECT.DATA06 != '0' &amp;&amp; SELECT.DATA05 != '0' &amp;&amp; SELECT.DATA04 != '0' &amp;&amp; SELECT.DATA03 != '0' &amp;&amp; SELECT.DATA02 != '0' &amp;&amp; SELECT.DATA01 != '0'" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
				<CALC formula="
					switch(SELECT.DATA13) {
						case '4.2' :
							return ROW.DATA12 / TOTALROW.DATA12 * 100;
							break;
						case '4.3' :
							return ROW.DATA11 - ROW.DATA12;
							break;
						case '4.4' :
							return ((ROW.DATA11 - ROW.DATA12)/ ROW.DATA11 * 100);
							break;
						default :
							return ROW.DATA13;
							break;
					}" />
				</COLUMN>
				<COLUMN dataField="DATA14" type="Number" width="90" outputFormat="= SELECT.DATA144" selectable="true" headerText="SELECT.DATA14_LABEL" headerTextCalc="true" description=" " visible="false" />
				<COLUMN dataField="DATA14_2" type="Number" width="90" outputFormat="= if(SELECT.DATA14=='4.3'){return SELECT.DATA104} else { return SELECT.DATA144}" selectable="true" headerText=" SELECT.DATA14_LABEL" headerTextCalc="true" description="= SELECT.DATA142" visibleCondition="SELECT.DATA14 != '0' &amp;&amp; SELECT.DATA11 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA09 != '0' &amp;&amp; SELECT.DATA08 != '0' &amp;&amp; SELECT.DATA07 != '0' &amp;&amp; SELECT.DATA06 != '0' &amp;&amp; SELECT.DATA05 != '0' &amp;&amp; SELECT.DATA04 != '0' &amp;&amp; SELECT.DATA03 != '0' &amp;&amp; SELECT.DATA02 != '0' &amp;&amp; SELECT.DATA01 != '0'" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
				<CALC formula="
					switch(SELECT.DATA14) {
						case '4.2' :
							return ROW.DATA13 / TOTALROW.DATA13 * 100;
							break;
						case '4.3' :
							return ROW.DATA12 - ROW.DATA13;
							break;
						case '4.4' :
							return ((ROW.DATA12 - ROW.DATA13)/ ROW.DATA11 * 100);
							break;
						default :
							return ROW.DATA14;
							break;
					}" />
				</COLUMN>
				<COLUMN dataField="DATA15" type="Number" width="90" outputFormat="= SELECT.DATA154" selectable="true" headerText="SELECT.DATA15_LABEL" headerTextCalc="true" description=" " visible="false" />
				<COLUMN dataField="DATA15_2" type="Number" width="90" outputFormat="= if(SELECT.DATA15=='4.3'){return SELECT.DATA104} else { return SELECT.DATA154}" selectable="true" headerText=" SELECT.DATA15_LABEL" headerTextCalc="true" description="= SELECT.DATA152" visibleCondition="SELECT.DATA15 != '0' &amp;&amp; SELECT.DATA11 != '0' &amp;&amp; SELECT.DATA10 != '0' &amp;&amp; SELECT.DATA09 != '0' &amp;&amp; SELECT.DATA08 != '0' &amp;&amp; SELECT.DATA07 != '0' &amp;&amp; SELECT.DATA06 != '0' &amp;&amp; SELECT.DATA05 != '0' &amp;&amp; SELECT.DATA04 != '0' &amp;&amp; SELECT.DATA03 != '0' &amp;&amp; SELECT.DATA02 != '0' &amp;&amp; SELECT.DATA01 != '0'" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
				<CALC formula="
					switch(SELECT.DATA15) {
						case '4.2' :
							return ROW.DATA14 / TOTALROW.DATA14 * 100;
							break;
						case '4.3' :
							return ROW.DATA13 - ROW.DATA14;
							break;
						case '4.4' :
							return ((ROW.DATA13 - ROW.DATA14)/ ROW.DATA13 * 100);
							break;
						default :
							return ROW.DATA15;
							break;
					}" />
				</COLUMN>
				
			</DATAGRID>
		</ONGLET>
	</PRESENTATION>
</VUE>

			
