<?xml version="1.0" encoding="ISO-8859-15"?>
<COMPONENTS>
	<COMPONENT name="PROPERTIES_DATA" label="Fonctions standards">
		<VIEWPROPERTIES>
			<PROPERTY name="DATAFUNC">
				<value><![CDATA[[EVAL 
				// <?php
				// génère la requete à partir
				//   - des champs (champs cibles, champ pour le distinct, nchamp de division)
				function ECO_calcData($data,$mode='NO_CONDITION') {
					switch ($mode) {
						case 'DATE_D':
							$data = str_replace('toperiode',"'[VIEW.TOPERIODE_D]'",$data);
							$data = str_replace('periode',"'[VIEW.PERIODE_D]'",$data);
							break;
						case 'SEQUENCE':
							$data = str_replace('toperiode','columnby_to_date',$data);
							$data = str_replace('periode','columnby_from_date',$data);
							$data = str_replace('toperiode','columnby_to_date',$data);
							$data = str_replace('periode','columnby_from_date',$data);
							break;
						default:
							$data = str_replace('toperiode',"'[TOPERIODE]'",$data);
							$data = str_replace('periode',"'[PERIODE]'",$data);
							break;
					}
					$exploded = explode('(',$data,2);
					$calcFunc = $data != '' ? $exploded[0] : '';
					$exploded[1] = $data != '' ? substr($exploded[1],0,-1) : '';
					$fields = explode(' | ',$exploded[1]);
					
					// recuperation des champ et fonction et application des défauts sinon
					$fields[1] = ($fields[1] == null or $fields[1] == '') ? rhs_id : $fields[1];
					$fields[2] = ($fields[2] == null or $fields[2] == '') ? rhs_id : $fields[2];
					//definition de la date à utiliser pour les comparatifs
					if (substr('[DATE_BASE2]', 0, 1) == '[') {
								// mouvement
								$date = "date";
							} else {
								$date = "[DATE_BASE2]";
							}
					
					if ($data == '0' or $data == '') {
							if (substr('[ITEM_BASE]', 0, 1) == '[') {
								// mouvement
								$fields[0] = "article_id";
							} else {
								$fields[0] = "[ITEM_BASE]"._id;
							}
						$calcFunc = '';
						$fields[0] = '';
					}

					$calcFunc = str_replace('CUSTOM:','',$calcFunc);
					
					
					switch ($mode) {
						case 'SEQUENCE':
							$req1 = "CASE WHEN COLUMNCHECKSEQUENCE THEN %s ELSE null END";
							break;
						case 'DATE':
							$req1 = "CASE WHEN $date BETWEEN '[PERIODE]' AND '[TOPERIODE]' THEN %s ELSE null END";
							break;
						case 'DATE_D':
							$req1 = "CASE WHEN $date BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]' THEN %s ELSE null END";
							break;
						default: 
							$req1 = "%s";
							break;
					}
					
					if ($fields[0] != '' AND substr($fields[0],0,1) != '[') {
						//modification des champ selon le mode
						// pas de CASE WHEN ni DISTINCT ni fonction, champ simple -> application fonction
						if (strpos($fields[0],' ') === false AND strpos($fields[0],'(') === false) $tmp1 = sprintf($req1, $fields[0]);
						else {
							switch ($mode) {
								case 'SEQUENCE' :
									// si déjà un case when on l'imbrique
									$tmp1 = preg_replace('/THEN ([^ ]*) (ELSE|WHEN)/','AND COLUMNCHECKSEQUENCE THEN \\1 \\2',$fields[0]);
									// si cas simple de DISTINCT field ( en general associé à un somme ou count), on imbrique
									$tmp1 = preg_replace('/DISTINCT ([^CA][^ \)]*)/','DISTINCT CASE WHEN COLUMNCHECKSEQUENCE THEN \\1 ELSE null END ',$tmp1);
									// si indicateur calculé, le distinct array du cti_sum_distinct est à traiter spécifiquement
									$tmp1 = preg_replace('/DISTINCT ARRAY\[([^,]*),([^\]]*)\]/','DISTINCT ARRAY[\\1,CASE WHEN COLUMNCHECKSEQUENCE THEN \\2 ELSE null END ]',$tmp1);
									//si on détecte des parenthèse avec un seul terme, on l'imbrique aussi
									$tmp1 = preg_replace('/\(([^ \(\)]*)\)/','(CASE WHEN COLUMNCHECKSEQUENCE THEN \\1 ELSE null END)',$tmp1);
									//s'il y a un MAX(ARRAY(date, traitement spécifique
									$tmp1 = preg_replace('/MAX\(ARRAY\[(date[^,]*)/',"MAX(ARRAY[(CASE WHEN COLUMNCHECKSEQUENCE THEN \\1 ELSE '1900-01-01' END)",$tmp1);
									break;
								case 'DATE' :
									if ($date != 'date') $tmp1 = preg_replace('/THEN ([^ ]*) ELSE/',"AND $date >= '[PERIODE]' AND $date <= '[TOPERIODE]' THEN \\1 ELSE",$fields[0]);
									else $tmp1 = preg_replace('/THEN ([^ ]*) ELSE/',"AND ($date BETWEEN '[PERIODE]' AND '[TOPERIODE]' OR $date"."_fin BETWEEN '[PERIODE]' AND '[TOPERIODE]' OR ($date < '[PERIODE]' AND $date"."_fin > '[TOPERIODE]')) THEN \\1 ELSE",$fields[0]);
									$tmp1 = preg_replace('/DISTINCT ([^CA][^ \)]*)/',"DISTINCT CASE WHEN $date &gt;= '[PERIODE]' AND $date &lt;= '[TOPERIODE]' THEN \\1 ELSE null END ",$tmp1);
									$tmp1 = preg_replace('/DISTINCT ARRAY\[([^,]*),([^\]]*)\]/',"DISTINCT ARRAY[\\1,CASE WHEN $date &gt;= '[PERIODE]' AND $date &lt;= '[TOPERIODE]' THEN \\2 ELSE null END ]",$tmp1);
									$tmp1 = preg_replace('/\(([^ \(\)]*)\)/',"(CASE WHEN $date &gt;= '[PERIODE]' AND $date &lt;= '[TOPERIODE]' THEN \\1 ELSE null END)",$tmp1);
									//s'il y a un MAX(ARRAY(date, traitement spécifique
									$tmp1 = preg_replace('/MAX\(ARRAY\[(date[^,]*)/',"MAX(ARRAY[(CASE WHEN $date &gt;= '[PERIODE]' AND $date &lt;= '[TOPERIODE]' THEN \\1 ELSE '1900-01-01' END)",$tmp1);
									break;
								case 'DATE_D' :
									if ($date != 'date') $tmp1 = preg_replace('/THEN ([^ ]*) ELSE/',"AND $date >= '[VIEW.PERIODE_D]' AND $date <= '[VIEW.TOPERIODE_D]' THEN \\1 ELSE",$fields[0]);
									else $tmp1 = preg_replace('/THEN ([^ ]*) ELSE/',"AND ($date BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]' OR $date"."_fin BETWEEN '[VIEW.PERIODE_D]' AND '[VIEW.TOPERIODE_D]' OR ($date < '[VIEW.PERIODE_D]' AND $date"."_fin > '[VIEW.TOPERIODE_D]')) THEN \\1 ELSE",$fields[0]);
									$tmp1 = preg_replace('/DISTINCT ([^CA][^ \)]*)/',"DISTINCT CASE WHEN $date &gt;= '[VIEW.PERIODE_D]' AND $date &lt;= '[VIEW.TOPERIODE_D]' THEN \\1 ELSE null END ",$tmp1);
									$tmp1 = preg_replace('/DISTINCT ARRAY\[([^,]*),([^\]]*)\]/',"DISTINCT ARRAY[\\1,CASE WHEN $date &gt;= '[VIEW.PERIODE_D]' AND $date &lt;= '[VIEW.TOPERIODE_D]' THEN \\2 ELSE null END ]",$tmp1);
									$tmp1 = preg_replace('/\(([^ \(\)]*)\)/',"(CASE WHEN $date &gt;= '[VIEW.PERIODE_D]' AND $date &lt;= '[VIEW.TOPERIODE_D]' THEN \\1 ELSE null END)",$tmp1);
									//s'il y a un MAX(ARRAY(date, traitement spécifique
									$tmp1 = preg_replace('/MAX\(ARRAY\[(date[^,]*)/',"MAX(ARRAY[(CASE WHEN $date &gt;= '[VIEW.PERIODE_D]' AND $date &lt;= '[VIEW.TOPERIODE_D]' THEN \\1 ELSE '1900-01-01' END)",$tmp1);
									break;
								default :
									$tmp1 = $fields[0];
									break;
							}
						}

						//application de la fonction sum et count sont distinct par défautt, avg est un base.cti_division
						$tmp1 = $mode != 'NO_FUNCTION' ? $calcFunc. '(' . $tmp1 . ')' : $tmp1;
						$tmp1 = preg_replace('/(columnby_to_date - columnby_from_date)/','MAX(CASE WHEN COLUMNCHECKSEQUENCE THEN \\1 ELSE 0 END)',$tmp1);
					}
					else $tmp1 = "1";
					
					return 'COALESCE(' . $tmp1 . ',0)';
				}
				// ?>
				EVAL]]]></value>
			</PROPERTY>
			<PROPERTY name="DATASQL">
				<value><![CDATA[[EVAL 
					// <?php
						return 
						   ECO_calcData("[DATA015]","NO_CONDITION") .",". PHP_EOL .
						   ECO_calcData("[DATA025]","NO_CONDITION") ."," .PHP_EOL .
						   ECO_calcData("[DATA035]","NO_CONDITION") .",". PHP_EOL .
						   ECO_calcData("[DATA045]","NO_CONDITION") .",". PHP_EOL . 
						   ECO_calcData("[DATA055]","NO_CONDITION") .",". PHP_EOL . 
						   ECO_calcData("[DATA065]","NO_CONDITION") .",". PHP_EOL .
						   ECO_calcData("[DATA075]","NO_CONDITION") .",". PHP_EOL . 
						   ECO_calcData("[DATA085]","NO_CONDITION") .",". PHP_EOL . 
						   ECO_calcData("[DATA095]","NO_CONDITION") .",". PHP_EOL .
						   ECO_calcData("[DATA105]","NO_CONDITION") .",". PHP_EOL . 
						   ECO_calcData("[DATA115]","NO_CONDITION") .",". PHP_EOL . 
						   ECO_calcData("[DATA125]","NO_CONDITION") .",". PHP_EOL . 
						   ECO_calcData("[DATA135]","NO_CONDITION") .",". PHP_EOL . 
						   ECO_calcData("[DATA145]","NO_CONDITION") .",". PHP_EOL . 
						   ECO_calcData("[DATA155]","NO_CONDITION");
				// ?>
					EVAL]]]></value>
			</PROPERTY>
			<PROPERTY name="DATASQL_CROSS">
				<value><![CDATA[[EVAL 
					// <?php
					
					$indicators = "INDICATORS{%s,}";
					$indicatorsColumns = "INDICATORS_COLUMNS{%s,}";
						
					$tmp = Array(ECO_calcData("[DATA015]","NO_CONDITION"),ECO_calcData("[DATA015]","SEQUENCE") );
					return sprintf($indicators, $tmp[0]) . PHP_EOL . sprintf($indicatorsColumns, $tmp[1]);
					
					// ?>
					EVAL]]]></value>
			</PROPERTY>
			<PROPERTY name="DATASQL_EVOL">
				<value><![CDATA[[EVAL 
					// <?php
					
					$indicators = "INDICATORS{%s,";
					$indicatorsColumns = "INDICATORS_COLUMNS{%s,";
					
					$tmp = Array(ECO_calcData("[DATA015]","NO_CONDITION"),ECO_calcData("[DATA015]","SEQUENCE") );
						
					if (substr("[DATA025]",0,1) != '[' && "[DATA025]" != '0') {
						$indicators = sprintf($indicators, $tmp[0])."%s,";
						$indicatorsColumns = sprintf($indicatorsColumns, $tmp[1])."%s,";
						$tmp = Array(ECO_calcData("[DATA025]","NO_CONDITION"),ECO_calcData("[DATA025]","SEQUENCE") );
					}
					return sprintf($indicators, $tmp[0]) . '}'.  PHP_EOL . sprintf($indicatorsColumns, $tmp[1]). '}';
				
					//?>
					EVAL]]]></value>
			</PROPERTY>
			<PROPERTY name="DATASQL_COMP">
				<value><![CDATA[[EVAL 
					// <?php
					$indicators = "INDICATORS{%s,}";
						
					$tmp = 	ECO_calcData("[DATA015]","DATE") . ",".PHP_EOL .
									ECO_calcData("[DATA015]","DATE_D") . ",0,0,". PHP_EOL .
									ECO_calcData("[DATA025]","DATE") . ",". PHP_EOL .
									ECO_calcData("[DATA025]","DATE_D") . ",0,0,". PHP_EOL .
									ECO_calcData("[DATA035]","DATE") . ",". PHP_EOL .
									ECO_calcData("[DATA035]","DATE_D") . ",0,0,". PHP_EOL .
									ECO_calcData("[DATA045]","DATE") . ",". PHP_EOL .
									ECO_calcData("[DATA045]","DATE_D") . ",0,0,". PHP_EOL .
									ECO_calcData("[DATA055]","DATE") . ",". PHP_EOL .
									ECO_calcData("[DATA055]","DATE_D") . ",0,0,". PHP_EOL .
									ECO_calcData("[DATA065]","DATE") . ",". PHP_EOL .
									ECO_calcData("[DATA065]","DATE_D") . ",0,0,". PHP_EOL .
									ECO_calcData("[DATA075]","DATE") . ",". PHP_EOL .
									ECO_calcData("[DATA075]","DATE_D") . ",0,0,". PHP_EOL .
									ECO_calcData("[DATA085]","DATE") . ",". PHP_EOL .
									ECO_calcData("[DATA085]","DATE_D") . ",0,0,". PHP_EOL .
									ECO_calcData("[DATA095]","DATE") . ",". PHP_EOL .
									ECO_calcData("[DATA095]","DATE_D") . ",0,0,". PHP_EOL .
									ECO_calcData("[DATA105]","DATE") . ",". PHP_EOL .
									ECO_calcData("[DATA105]","DATE_D") . ",0,0,". PHP_EOL .
									ECO_calcData("[DATA115]","DATE") . ",". PHP_EOL .
									ECO_calcData("[DATA115]","DATE_D") . ",0,0,". PHP_EOL .
									ECO_calcData("[DATA125]","DATE") . ",". PHP_EOL .
									ECO_calcData("[DATA125]","DATE_D") . ",0,0,". PHP_EOL .
									ECO_calcData("[DATA135]","DATE") . ",". PHP_EOL .
									ECO_calcData("[DATA135]","DATE_D") . ",0,0,". PHP_EOL .
									ECO_calcData("[DATA145]","DATE") . ",". PHP_EOL .
									ECO_calcData("[DATA145]","DATE_D") . ",0,0,". PHP_EOL .
									ECO_calcData("[DATA155]","DATE") . ",". PHP_EOL .
									ECO_calcData("[DATA155]","DATE_D").",0,0";
					return sprintf($indicators, $tmp);
					
					// ?>
					EVAL]]]></value>
			</PROPERTY>
			<PROPERTY name="DATASQL_FILTER">
				<value><![CDATA[[EVAL 
						// <?php
						
						$tmp = ECO_calcData("[DATA015]","NO_CONDITION");
						return $tmp;
						
						// ?>
					EVAL]]]></value>
			</PROPERTY>
			<PROPERTY name="INDICATEUR_SELECT">
				<value><![CDATA[[EVAL 
						// <?php
						
						$tmp = ' AND ' . ECO_calcData("[INDICATEUR5]","NO_FUNCTION") . '> 0';
						return $tmp;
						
						// ?>
					EVAL]]]></value>
			</PROPERTY>
		</VIEWPROPERTIES>
	</COMPONENT>

	<COMPONENT name="PROPERTIES_GROUPBY" label="Propriétés diverses regroupements">
		<VIEWPROPERTIES>

			<PROPERTY name="GROUPBY_OID_FIELD" value="">
				<value><![CDATA[
						[EVAL 
						return ECO_standard_field_id("[GROUPBY]", "ART");
						EVAL]
					]]>
				</value>
			</PROPERTY>

			<PROPERTY name="GROUPBY_COD_FIELD" value="">
				<value><![CDATA[
						[EVAL 
						return ECO_standard_field_code("[GROUPBY]", "ART");
						EVAL]
					]]>
				</value>
			</PROPERTY>

			<PROPERTY name="GROUPBY_TXT_FIELD" value="">
				<value><![CDATA[
						[EVAL 
						return ECO_standard_field_texte("[GROUPBY]", "ART");
						EVAL]
					]]>
				</value>
			</PROPERTY>
			<PROPERTY name="GROUPBY_2_OID_FIELD" value="">
				<value><![CDATA[
						[EVAL 
						return ECO_standard_field_id("[GROUPBY_2]", "");
						EVAL]
					]]>
				</value>
			</PROPERTY>

			<PROPERTY name="GROUPBY_2_COD_FIELD" value="">
				<value><![CDATA[
						[EVAL 
						return ECO_standard_field_code("[GROUPBY_2]", "");
						EVAL]
					]]>
				</value>
			</PROPERTY>

			<PROPERTY name="GROUPBY_2_TXT_FIELD" value="">
				<value><![CDATA[
						[EVAL 
						return ECO_standard_field_texte("[GROUPBY_2]", "");
						EVAL]
					]]>
				</value>
			</PROPERTY>

			<PROPERTY name="GROUPBY_3_OID_FIELD" value="">
				<value><![CDATA[
						[EVAL 
						return ECO_standard_field_id("[GROUPBY_3]", "");
						EVAL]
					]]>
				</value>
			</PROPERTY>

			<PROPERTY name="GROUPBY_3_COD_FIELD" value="">
				<value><![CDATA[
						[EVAL 
						return ECO_standard_field_code("[GROUPBY_3]", "");
						EVAL]
					]]>
				</value>
			</PROPERTY>

			<PROPERTY name="GROUPBY_3_TXT_FIELD" value="">
				<value><![CDATA[
						[EVAL 
						return ECO_standard_field_texte("[GROUPBY_3]", "");
						EVAL]
					]]>
				</value>
			</PROPERTY>

			<PROPERTY name="COLUMNBY_OID_FIELD" value="">
				<value><![CDATA[
						[EVAL 
						return ECO_standard_field_id("[COLUMNBY]", "ART");
						EVAL]
					]]>
				</value>
			</PROPERTY>

			<PROPERTY name="COLUMNBY_COD_FIELD" value="">
				<value><![CDATA[
						[EVAL 
						return ECO_standard_field_code("[COLUMNBY]", "ART");
						EVAL]
					]]>
				</value>
			</PROPERTY>

			<PROPERTY name="COLUMNBY_TXT_FIELD" value="">
				<value><![CDATA[
						[EVAL 
						return ECO_standard_field_texte("[COLUMNBY]", "ART");
						EVAL]
					]]>
				</value>
			</PROPERTY>
		</VIEWPROPERTIES>

	</COMPONENT>

	<COMPONENT name="PROPERTIES_MOUVEMENTS" label="Propriétés diverses mouvements">
		<VIEWPROPERTIES>
			<PROPERTY name="CONTEXTE" value="MVT"/>
			<PROPERTY name="LINKVIEW_JUSTIF" value="ECO001010" />
			<PROPERTY name="LINKVIEW_COMP"   value="ECO001024" />
			<PROPERTY name="LINKVIEW_EVOL"   value="ECO001014" />
			<PROPERTY name="LINKVIEW_CROSS"  value="ECO001025" />
			<PROPERTY name="LINKVIEW_ANZ"  value="ECO001003" />
			<PROPERTY name="LINKVIEW_ART" value="ECO001069" />
			<PROPERTY name="COMMANDE_SELECT" value=""/>
		</VIEWPROPERTIES>
	</COMPONENT>

	<COMPONENT name="PROPERTIES_COMMANDES" label="Propriétés diverses commandes">
		<VIEWPROPERTIES>
			<PROPERTY name="CONTEXTE" value="CMD"/>
			<PROPERTY name="LINKVIEW_JUSTIF" value="ECO001011" />
			<PROPERTY name="LINKVIEW_COMP"   value="ECO001008" />
			<PROPERTY name="LINKVIEW_EVOL"   value="ECO001007" />
			<PROPERTY name="LINKVIEW_CROSS"  value="ECO001009" />
			<PROPERTY name="LINKVIEW_ANZ"  value="ECO001006" />
			<PROPERTY name="LINKVIEW_ART" value="ECO001069" />
			<PROPERTY name="MOUVEMENT_SELECT" value=""/>
		</VIEWPROPERTIES>
	</COMPONENT>

	<COMPONENT name="PROPERTIES_STOCKS" label="Propriétés diverses stocks">
		<VIEWPROPERTIES>
			<PROPERTY name="CONTEXTE" value="STK"/>
			<PROPERTY name="LINKVIEW_JUSTIF" value="ECO001010" />
			<PROPERTY name="LINKVIEW_COMP"   value="ECO001019" />
			<PROPERTY name="LINKVIEW_EVOL"   value="ECO001013" />
			<PROPERTY name="LINKVIEW_CROSS"   value="ECO001065" />
			<PROPERTY name="LINKVIEW_ANZ"  value="ECO001012" />
			<PROPERTY name="LINKVIEW_ART" value="ECO001069" />
			<PROPERTY name="MOUVEMENT_SELECT" value=""/>
			<PROPERTY name="COMMANDE_SELECT" value=""/>
		</VIEWPROPERTIES>
	</COMPONENT>

	<COMPONENT name="PROPERTIES_FICHE" label="Propriétés diverses mouvements">
		<VIEWPROPERTIES>
			<PROPERTY name="CONTEXTE" value="%"/>
		</VIEWPROPERTIES>
	</COMPONENT>

	<COMPONENT name="PROPERTIES_MOUVEMENTS_STOCKS" label="Propriétés mouvements stocks">
		<VIEWPROPERTIES>
			<PROPERTY name="CONTEXTE" value="MVS"/>
			<PROPERTY name="LINKVIEW_JUSTIF" value="ECO001010" />
			<PROPERTY name="LINKVIEW_JUSTIF" value="ECO001010" />
			<PROPERTY name="LINKVIEW_COMP"   value="ECO001067" />
			<PROPERTY name="LINKVIEW_EVOL"   value="ECO001068" />
			<PROPERTY name="LINKVIEW_CROSS"  value="ECO001070" />
			<PROPERTY name="LINKVIEW_ANZ"  value="ECO001066" />
			<PROPERTY name="LINKVIEW_ART" value="ECO001069" />
			<PROPERTY name="COMMANDE_SELECT" value=""/>
		</VIEWPROPERTIES>
	</COMPONENT>


	<COMPONENT name="FILTRES_ARTICLE_SELECTIONS" label="Filtre articles">

		<VIEWPROPERTIES>

			<PROPERTY dataLink="FILTRES_ARTICLE_VIEWPROPERTIES" nameField="name" valueField="value" />

			<PROPERTY name="ARTICLE_SELECT" value="">

				<value><![CDATA[
					[EVAL 
					$select = "";
					
					$select = $select . ECO_standard_field_select("article", 't_articles', '[ARTICLE]');
					$select = $select . ECO_standard_field_select("lpp", 't_lpp_c', '[LPP]');
					$select = $select . ECO_standard_field_select("ucd", 't_ucd_c', '[UCD]');
					$select = $select . ECO_standard_field_select("article_reference_cti", 't_article_reference_cti', '[REF_ARTICLE_CTI]');
					$select = $select . ECO_standard_field_select("ref_article_fournisseur", 'v_ref_article_fournisseur_1', '[REF_ARTICLE_FOU]');
					$select = $select . ECO_standard_field_select("type_article", 't_types_articles', '[TYPE_ARTICLE]');
					$select = $select . ECO_standard_field_select("type_article_cti", 't_type_article_cti', '[TAC]');
					$select = $select . ECO_standard_field_select("classification_atc", 't_classification_atc', '[ATC]');
					$select = $select . ECO_standard_field_select("compte_article", 't_compte', '[COMPTE_ARTICLE]');
					$select = $select . ECO_standard_field_select("famille_article", 't_familles_articles', '[FAMILLE_ARTICLE]');
					$select = $select . ECO_standard_field_select("sous_famille_article", 't_sous_familles_articles', '[SOUS_FAMILLE_ARTICLE]');
					$select = $select . ECO_standard_field_select("categorie_article", 't_categories_articles', '[CATEGORIE_ARTICLE]');
					$select = $select . ECO_standard_field_select("sous_categorie_article", 't_sous_categories_articles', '[SOUS_CATEGORIE_ARTICLE]');
					$select = $select . ECO_standard_field_select("unite_stockage_article", 't_unites', '[UNITE_STOCKAGE_ARTICLE]');
					if ('[GERE_EN_STOCK]' != '-1') {
						$select = $select . " AND gere_en_stock = " . "[GERE_EN_STOCK]";
					}
					$select = $select . ECO_standard_field_select("article", 't_articles', '[ARTICLE2]');
					$select = $select . ECO_standard_field_select("article", 't_articles', '[ARTICLE3]');
					
					return $select;
																					
				EVAL]
				]]>
				</value>

			</PROPERTY>


		</VIEWPROPERTIES>

		<SELECTIONS label="Filtres articles" collapsible="true" displayText="= var display:String = '';

						
						if (SELECT.ARTICLE != '-1') {
							display = display + '  #B#Article#/B# : ' + SELECT.ARTICLE_LABEL;
						}
						if (SELECT.ARTICLE2 != '-1') {
							display = display + '  #B#Article#/B# : ' + SELECT.ARTICLE2_LABEL;
						}
						if (SELECT.ARTICLE3 != '-1') {
							display = display + '  #B#Article#/B# : ' + SELECT.ARTICLE3_LABEL;
						}
						if (SELECT.LPP != '-1') {
							display = display + '  #B#Lpp#/B# : ' + SELECT.LPP_LABEL;
						}
						if (SELECT.UCD != '-1') {
							display = display + '  #B#Ucd#/B# : ' + SELECT.UCD_LABEL;
						}
						if (SELECT.TYPE_ARTICLE != '-1') {
							display = display + '  #B#[DICT.ECO.TYPE_ARTICLE#5] (source)#/B# : ' + SELECT.TYPE_ARTICLE_LABEL;
						}
						if (SELECT.TAC != '-1') {
							display = display + '  #B#Type article CTI#/B# : ' + SELECT.TAC_LABEL;
						}
						if (SELECT.ATC != '-1') {
							display = display + '  #B#ATC/CLADIMED#/B# : ' + SELECT.ATC_LABEL;
						}
						if (SELECT.FAMILLE_ARTICLE != '-1') {
							display = display + '  #B#[DICT.ECO.FAMILLE#5]#/B# : ' + SELECT.FAMILLE_ARTICLE_LABEL;
						}
						if (SELECT.SOUS_FAMILLE_ARTICLE != '-1') {
							display = display + '  #B#[DICT.ECO.SOUS_FAMILLE#5]#/B# : ' + SELECT.SOUS_FAMILLE_ARTICLE_LABEL;
						}
						if (SELECT.CATEGORIE_ARTICLE != '-1') {
							display = display + '  #B#[DICT.ECO.CATEGORIE#5]/B# : ' + SELECT.CATEGORIE_ARTICLE_LABEL;
						}
						if (SELECT.SOUS_CATEGORIE_ARTICLE != '-1') {
							display = display + '  #B[DICT.ECO.SOUS_CATEGORIE#5]#/B# : ' + SELECT.SOUS_CATEGORIE_ARTICLE_LABEL;
						}
						if (SELECT.COMPTE_ARTICLE != '-1') {
							display = display + '  #B#Compte article#/B# : ' + SELECT.COMPTE_ARTICLE_LABEL;
						}
						if (SELECT.UNITE_STOCKAGE_ARTICLE != '-1') {
							display = display + '  #B#[DICT.ECO.UNITE#1] de conditionnement#/B# : ' + SELECT.UNITE_STOCKAGE_ARTICLE_LABEL;
						}
						
						if (SELECT.GERE_EN_STOCK != '-1') {
							display = display + '  #B#Géré en stock#/B# : ' + SELECT.GERE_EN_STOCK_LABEL;
						}
						if (SELECT.REF_ARTICLE_FOU != '-1') {
							display = display + '  #B#Référence Article Fournisseur#/B# : ' + SELECT.REF_ARTICLE_FOU_LABEL;
						}
						return display;
						">



			<GROUP label="">
				<FIELD name="ARTICLE" label="Article" UI="combo" width="300" tree="true" default="-1" globalListProvider="ARTICLE" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="ARTICLE2" label="et" UI="combo" width="300" tree="true" default="-1" globalListProvider="ARTICLE" showIfNotDefault="true" visible="= (SELECT.ARTICLE != '-1')">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="ARTICLE3" label="et" UI="combo" width="300" tree="true" default="-1" globalListProvider="ARTICLE" showIfNotDefault="true" visible="= (SELECT.ARTICLE2 != '-1')">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="REF_ARTICLE_FOU" label="Réf. Article Four." UI="combo" width="300" tree="true" default="-1" globalListProvider="REF_ARTICLE_FOU" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="REF_ARTICLE_CTI" label="Réf. Article Ets" UI="combo" width="300" tree="true" default="-1" globalListProvider="REF_ARTICLE_CTI" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="LPP" label="LPP" UI="combo" width="300" tree="true" default="-1" globalListProvider="LPP" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="UCD" label="UCD" UI="combo" width="300" tree="true" default="-1" globalListProvider="UCD" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="TAC" label="Type CTI" UI="combo" width="300" tree="true" default="-1" globalListProvider="TAC" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="TYPE_ARTICLE" label="[DICT.ECO.TYPE_ARTICLE#5] (source)" UI="combo" width="300" tree="true" default="-1" globalListProvider="TYPE_ARTICLE" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="ATC" label="ATC/CLADIMED" UI="combo" width="300" tree="true" default="-1" globalListProvider="ATC" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="FAMILLE_ARTICLE" label="[DICT.ECO.FAMILLE#5]" UI="combo" width="300" tree="true" default="-1" globalListProvider="FAMILLE_ARTICLE" showIfNotDefault="true" visible="= VIEW.FAA_VISIBLE == '1'">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="SOUS_FAMILLE_ARTICLE" label="[DICT.ECO.SOUS_FAMILLE#5]" UI="combo" width="300" tree="true" default="-1" globalListProvider="SOUS_FAMILLE_ARTICLE" showIfNotDefault="true" visible="= VIEW.SFA_VISIBLE == '1'">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="CATEGORIE_ARTICLE" label="[DICT.ECO.CATEGORIE#5]" UI="combo" width="300" tree="true" default="-1" globalListProvider="CATEGORIE_ARTICLE" showIfNotDefault="true" visible="= VIEW.CAA_VISIBLE == '1'">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="SOUS_CATEGORIE_ARTICLE" label="[DICT.ECO.SOUS_CATEGORIE#5]" UI="combo" width="300" tree="true" default="-1" globalListProvider="SOUS_CATEGORIE_ARTICLE" showIfNotDefault="true" visible="= VIEW.SCA_VISIBLE == '1'">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="UNITE_STOCKAGE_ARTICLE" label="[DICT.ECO.UNITE#1] de stockage" UI="combo" width="300" tree="true" default="-1" globalListProvider="UNITE_STOCKAGE_ARTICLE" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="COMPTE_ARTICLE" label="Compte" UI="combo" width="300" tree="true" default="-1" globalListProvider="COMPTE_ARTICLE" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="GERE_EN_STOCK" label="Géré en stock" UI="combo" width="300" tree="true" default="-1" showIfNotDefault="true">
					<OPTION data="-1" label="Pas de sélection" />
					<OPTION data="0" label="Non" />
					<OPTION data="1" label="Oui" />
				</FIELD>
			</GROUP>
		</SELECTIONS>



		<QUERIES>

			<QUERY type="propertiesLink" name="FILTRES_ARTICLE_VIEWPROPERTIES" forRows="true" forSelections="true">
				<SQL>
					<select><![CDATA[	
							SELECT 'FAA_VISIBLE', max(CASE WHEN oid > 0 THEN 1 ELSE 0 END) FROM eco.t_familles_articles
							UNION
							SELECT 'SFA_VISIBLE', max(CASE WHEN oid > 0 THEN 1 ELSE 0 END) FROM eco.t_sous_familles_articles
							UNION
							SELECT 'CAA_VISIBLE', max(CASE WHEN oid > 0 THEN 1 ELSE 0 END) FROM eco.t_categories_articles
							UNION
							SELECT 'SCA_VISIBLE', max(CASE WHEN oid > 0 THEN 1 ELSE 0 END) FROM eco.t_sous_categories_articles
							UNION
							SELECT 'ATC_VISIBLE', max(CASE WHEN oid > 0 THEN 1 ELSE 0 END) FROM eco.t_classification_atc
					]]>					</select>
					<FIELDS>
						<FIELD name="name" />
						<FIELD name="value" />
					</FIELDS>
				</SQL>
			</QUERY>

		</QUERIES>


	</COMPONENT>

	<COMPONENT name="FILTRES_FOURNISSEUR_SELECTIONS" label="Filtre articles">

		<VIEWPROPERTIES>

			<PROPERTY dataLink="FILTRES_FOURNISSEUR_VIEWPROPERTIES" nameField="name" valueField="value" />

			<PROPERTY name="FOURNISSEUR_SELECT" value="">

				<value><![CDATA[
					[EVAL 
					$select = "";

					$select = $select . ECO_standard_field_select("fournisseur", 't_fournisseurs', '[FOURNISSEUR]');
					$select = $select . ECO_standard_field_select("fournisseur_reference_cti", 't_fournisseur_reference_cti', '[REF_FOURNISSEUR_CTI]');
					$select = $select . ECO_standard_field_select("type_fournisseur", 't_types_fournisseurs', '[TYPE_FOURNISSEUR]');

					
					return $select;
																					
				EVAL]
				]]>
				</value>

			</PROPERTY>


		</VIEWPROPERTIES>

		<SELECTIONS label="Filtres fournisseurs" collapsible="true" displayText="= var display:String = '';

						if (SELECT.FOURNISSEUR != '-1') {
							display = display + '  #B#Fournisseur#/B# : ' + SELECT.FOURNISSEUR_LABEL;
						}
						if (SELECT.TYPE_FOURNISSEUR != '-1') {
							display = display + '  #B#Type Fournisseur#/B# : ' + SELECT.TYPE_FOURNISSEUR_LABEL;
						}
						
						return display;
						">



			<GROUP label="">
				<FIELD name="FOURNISSEUR" label="Fournisseur" UI="combo" width="300" tree="true" default="-1" globalListProvider="FOURNISSEUR" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="REF_FOURNISSEUR_CTI" label="Réf. Fournisseur Ets" UI="combo" width="300" tree="true" default="-1" globalListProvider="REF_FOURNISSEUR_CTI" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="TYPE_FOURNISSEUR" label="Type" UI="combo" width="300" tree="true" default="-1" globalListProvider="TYPE_FOURNISSEUR" showIfNotDefault="true" visible="= VIEW.TYF_VISIBLE == '1'">
				</FIELD>
			</GROUP>

		</SELECTIONS>



		<QUERIES>

			<QUERY type="propertiesLink" name="FILTRES_FOURNISSEUR_VIEWPROPERTIES" forRows="true" forSelections="true">
				<SQL>
					<select><![CDATA[	
							SELECT 'TYF_VISIBLE', max(CASE WHEN oid > 0 THEN 1 ELSE 0 END) FROM eco.t_types_fournisseurs
					]]>					</select>
					<FIELDS>
						<FIELD name="name" />
						<FIELD name="value" />
					</FIELDS>
				</SQL>
			</QUERY>

		</QUERIES>


	</COMPONENT>

	<COMPONENT name="FILTRES_MOUVEMENT_SELECTIONS" label="Filtre articles">

		<VIEWPROPERTIES>

			<PROPERTY dataLink="FILTRES_MOUVEMENT_VIEWPROPERTIES" nameField="name" valueField="value" />

			<PROPERTY name="MOUVEMENT_SELECT" value="">

				<value><![CDATA[
					[EVAL 
					$select = "";
					
					$select = $select . ECO_standard_field_select("site", 't_sites', '[SITE]');
					$select = $select . ECO_standard_field_select("gestionnaire", 't_gestionnaires', '[GESTIONNAIRE]');
					$select = $select . ECO_standard_field_select("lieu", 't_lieux', '[LIEU]');
					$select = $select . ECO_standard_field_select("ucd", 't_ucd_c', '[UCD_MOUVEMENT]');
					$select = $select . ECO_standard_field_select("lpp", 't_lpp_c', '[LPP_MOUVEMENT]');
					$select = $select . ECO_standard_field_select("type_mouvement", 't_types_mouvements', '[TYPE_MOUVEMENT]');
					$select = $select . ECO_standard_field_select("unite_fonctionnelle", 't_unites_fonctionnelles', '[UNITE_FONCTIONNELLE]');
                    $select = $select . ECO_standard_field_select("pole", 't_pole', '[POLE]');
					$select = $select . ECO_standard_field_select("medecin", 't_medecin', '[MEDECIN]');
					$select = $select . ECO_standard_field_select("specialite", 't_specialite_medecin', '[SPECIALITE]');
					if ('[RSS]' != '') {
						$select = $select . " AND rss_code LIKE replace('[RSS]','*','%') ";
					}
					if ('[SEJ]' != '') {
						$select = $select . " AND sejour_code ILIKE replace('[SEJ]','*','%') AND sejour_code != ''";
					}
					if ('[COMMANDE]' != '') {
						$select = $select . " AND commande_code LIKE replace('[COMMANDE]','*','%') ";
					}
					if ('[SENS_MOUVEMENT]' != '-1') {
						$select = $select . " AND sens_mouvement = '[SENS_MOUVEMENT]' ";
					}
					if ('[TEXTE]' != '') {
						$select = $select . " AND " . sql_codes_list_a('[TEXTE]', 'texte') . " ";
					}
					if ('[TYPE_LPP]' != '-1') {
						if ('[TYPE_LPP]' == 'SUS') {
							$select = $select . " AND lpp_sus_id IS NOT NULL ";
						}
						else if ('[TYPE_LPP]' == 'INC') {
							$select = $select . " AND lpp_sus_id IS NULL ";
						}
					}
					if ('[TYPE_UCD]' != '-1') {
						if ('[TYPE_UCD]' == 'SUS') {
							$select = $select . " AND ucd_tarifs_id IS NOT NULL ";
						}
						else if ('[TYPE_UCD]' == 'INC') {
							$select = $select . " AND ucd_tarifs_id IS NULL ";
						}	
					}
					return $select;
					
				EVAL]
				]]>
				</value>

			</PROPERTY>

			<PROPERTY name="MOUVEMENT_FACTURE_SELECT" value="">

				<value><![CDATA[
					[EVAL 
					$select = "";
					
					if ('[TYPE_LPP]' != '-1') {
						if ('[TYPE_LPP]' == 'FSUS') {
							$select = $select . " AND lpp_id != 0 AND quantite_ligne_facture != 0";
						}
						else if ('[TYPE_LPP]' == 'FINC') {
							$select = $select . " AND lpp_id != 0 AND quantite_ligne_facture = 0 AND encours = 0";
						}	
						else if ('[TYPE_LPP]' == 'VINC') {
							$select = $select . " AND lpp_id != 0 AND quantite_ligne_facture = 0 AND encours = 1";
						}	
					}
					if ('[TYPE_UCD]' != '-1') {
						if ('[TYPE_UCD]' == 'FSUS') {
							$select = $select . " AND ucd_id != 0 AND quantite_ligne_facture != 0";
						}                                             
						else if ('[TYPE_UCD]' == 'FINC') {            
							$select = $select . " AND ucd_id != 0 AND quantite_ligne_facture = 0 AND encours = 0";
						}	                                          
						else if ('[TYPE_UCD]' == 'VINC') {            
							$select = $select . " AND ucd_id != 0 AND quantite_ligne_facture = 0 AND encours = 1";
						}	
					}
					return $select;
																					
				EVAL]
				]]>
				</value>

			</PROPERTY>


		</VIEWPROPERTIES>

		<SELECTIONS label="Filtres mouvements" collapsible="true" displayText="= var display:String = '';

                        if (SELECT.SITE != '-1') {
							display = display + '  #B#[DICT.ECO.SITE#1]#/B# : ' + SELECT.SITE_LABEL;
						}
						if (SELECT.GESTIONNAIRE != '-1') {
							display = display + '  #B#[DICT.ECO.GESTIONNAIRE#1]#/B# : ' + SELECT.GESTIONNAIRE_LABEL;
						}
						if (SELECT.LIEU != '-1') {
							display = display + '  #B#[DICT.ECO.LIEU#1]#/B# : ' + SELECT.LIEU_LABEL;
						}
						if (SELECT.UCD_MOUVEMENT != '-1') {
							display = display + '  #B#UCD mouvement#/B# : ' + SELECT.UCD_MOUVEMENT_LABEL;
						}
						if (SELECT.LPP_MOUVEMENT != '-1') {
							display = display + '  #B#LPP mouvement#/B# : ' + SELECT.LPP_MOUVEMENT_LABEL;
						}
						if (SELECT.SENS_MOUVEMENT != '-1') {
							display = display + '  #B#Sens de mouvement#/B# : ' + SELECT.SENS_MOUVEMENT_LABEL;
						}
						if (SELECT.TYPE_MOUVEMENT != '-1') {
							display = display + '  #B#Type de mouvement#/B# : ' + SELECT.TYPE_MOUVEMENT_LABEL;
						}
                        if (SELECT.POLE != '-1') {
							display = display + '  #B#Pole#/B# : ' + SELECT.POLE_LABEL;
						}
						if (SELECT.UNITE_FONCTIONNELLE != '-1') {
							display = display + '  #B#[DICT.ECO.UF#1]#/B# : ' + SELECT.UNITE_FONCTIONNELLE_LABEL;
						}
						if (SELECT.TEXTE != '') {
							display = display + '  #B#Texte contenant#/B# : ' + SELECT.TEXTE;
						}
						if (SELECT.RSS != '') {
							display = display + '  #B#RSS n°#/B# : ' + SELECT.RSS;
						}
						if (SELECT.SEJ != '') {
							display = display + '  #B#Séjour n°#/B# : ' + SELECT.SEJ;
						}
						if (SELECT.MEDECIN != '-1') {
							display += '  #B#Médecin prescripteur #/B#: ' + SELECT.MEDECIN_LABEL;
						}
						if (SELECT.SPECIALITE != '-1') {
							display += '  #B#Spécialité prescripteur#/B# : ' + SELECT.SPECIALITE_LABEL;
						}
						if (SELECT.TYPE_LPP != '-1') {
							display += '  #B#Type LPP #/B# : ' + SELECT.TYPE_LPP_LABEL;
						}
						if (SELECT.TYPE_UCD != '-1') {
							display += '  #B#Type UCD #/B# : ' + SELECT.TYPE_UCD_LABEL;
						}
						if (SELECT.COMMANDE != '') {
							display = display + '  #B#Numero commande#/B# : ' + SELECT.COMMANDE;
						}
						return display;
						">


			<GROUP label="">
				<FIELD name="SITE" label="[DICT.ECO.SITE#1]" UI="combo" width="300" tree="true" default="-1" globalListProvider="SITE" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="GESTIONNAIRE" label="[DICT.ECO.GESTIONNAIRE#1]" UI="combo" width="300" tree="true" default="-1" globalListProvider="GESTIONNAIRE" showIfNotDefault="true" visible="= VIEW.GES_VISIBLE == '1'">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="LIEU" label="[DICT.ECO.LIEU#1]" UI="combo" width="300" tree="true" default="-1" globalListProvider="LIEU_MOUVEMENT" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="UCD_MOUVEMENT" label="UCD mouvement" UI="combo" width="300" tree="true" default="-1" globalListProvider="UCD" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="LPP_MOUVEMENT" label="LPP mouvement" UI="combo" width="300" tree="true" default="-1" globalListProvider="LPP" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="POLE" label="Pole" UI="combo" width="300" tree="true" default="-1" globalListProvider="POLE" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="UNITE_FONCTIONNELLE" label="[DICT.ECO.UF#1]" UI="combo" width="300" tree="true" default="-1" globalListProvider="UNITE_FONCTIONNELLE" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="SENS_MOUVEMENT" label="Sens de mouvement" UI="combo" width="300" tree="true" default="-1" globalListProvider="SENS_MOUVEMENT" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="TYPE_MOUVEMENT" label="Type de mouvement" UI="combo" width="300" tree="true" default="-1" globalListProvider="TYPE_MOUVEMENT" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="TEXTE" label="Texte" UI="text" width="200" default="" showIfNotDefault="true" />
			</GROUP>
			<GROUP label="">
				<FIELD name="RSS" label="N° RSS" UI="text" width="200" default="" showIfNotDefault="true" />
			</GROUP>
			<GROUP label="">
				<FIELD name="SEJ" label="N° Séjour" UI="text" width="200" default="" showIfNotDefault="true" />
			</GROUP>
			<GROUP label="Médecin prescripteur">
				<FIELD name="MEDECIN" label="" UI="combo" tree="true" width="400" default="-1" globalListProvider="MEDECIN" showIfNotDefault="true" />
			</GROUP>
			<GROUP label="Spécialité prescripteur">
				<FIELD name="SPECIALITE" label="" UI="combo" tree="true" width="400" default="-1" globalListProvider="SPECIALITE" showIfNotDefault="true" />
			</GROUP>
			<GROUP>
				<FIELD name="TYPE_LPP" label="Type LPP" UI="combo" width="300" tree="true" default="-1" globalListProvider="TYPE_LPP" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP>
				<FIELD name="TYPE_UCD" label="Type UCD" UI="combo" width="300" tree="true" default="-1" globalListProvider="TYPE_UCD" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP>
				<FIELD name="COMMANDE" label="Commande" UI="text" width="200" default="" showIfNotDefault="true" />
			</GROUP>
		</SELECTIONS>



		<QUERIES>

			<QUERY type="propertiesLink" name="FILTRES_MOUVEMENT_VIEWPROPERTIES" forRows="true" forSelections="true">
				<SQL>
					<select><![CDATA[	
							SELECT 'GES_VISIBLE', max(CASE WHEN oid > 0 THEN 1 ELSE 0 END) FROM eco.t_gestionnaires
					]]>					</select>
					<FIELDS>
						<FIELD name="name" />
						<FIELD name="value" />
					</FIELDS>
				</SQL>
			</QUERY>

		</QUERIES>

	</COMPONENT>

	<COMPONENT name="FILTRES_STOCK_SELECTIONS" label="Filtre commandes">

		<VIEWPROPERTIES>

			<PROPERTY dataLink="FILTRES_STOCK_VIEWPROPERTIES" nameField="name" valueField="value" />

			<PROPERTY name="STOCK_SELECT" value="">

				<value><![CDATA[
					[EVAL 
					$select = "";
					
					
					$select = $select . ECO_standard_field_select("site", 't_sites', '[SITE]');
					$select = $select . ECO_standard_field_select("lieu", 't_lieux', '[LIEU]');

					return $select;
																					
				EVAL]
				]]>
				</value>

			</PROPERTY>


		</VIEWPROPERTIES>

		<SELECTIONS label="Filtres stock" collapsible="true" displayText="= var display:String = '';

						if (SELECT.SITE != '-1') {
							display = display + '  #B#Site#/B# : ' + SELECT.SITE_LABEL;
						}
						if (SELECT.LIEU != '-1') {
							display = display + '  #B#Lieu#/B# : ' + SELECT.LIEU_LABEL;
						}

						return display;
						">


			<GROUP label="">
				<FIELD name="SITE" label="Site" UI="combo" width="300" tree="true" default="-1" globalListProvider="SITE" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="LIEU" label="Lieu" UI="combo" width="300" tree="true" default="-1" globalListProvider="LIEU_MOUVEMENT" showIfNotDefault="true">
				</FIELD>
			</GROUP>

		</SELECTIONS>



	</COMPONENT>

	<COMPONENT name="FILTRES_COMMANDE_SELECTIONS" label="Filtre commandes">

		<VIEWPROPERTIES>

			<PROPERTY dataLink="FILTRES_COMMANDE_VIEWPROPERTIES" nameField="name" valueField="value" />

			<PROPERTY name="COMMANDE_SELECT" value="">

				<value><![CDATA[
					[EVAL 
					$select = "";
					
					$select = $select . ECO_standard_field_select("site", 't_sites', '[SITE]');
					$select = $select . ECO_standard_field_select("gestionnaire", 't_gestionnaires', '[GESTIONNAIRE]');
					$select = $select . ECO_standard_field_select("lieu", 't_lieux', '[LIEU]');
					$select = $select . ECO_standard_field_select("unite_fonctionnelle", 't_unites_fonctionnelles', '[UNITE_FONCTIONNELLE]');
					
					if ('[NUMERO_COMMANDE]' != '') {
						$select = $select . " AND commande_code LIKE '[NUMERO_COMMANDE]' ";;
					}
					if ('[ETAT_LIVRAISON]' != '-1') {
						if ('[ETAT_LIVRAISON]' != 'NP') {$select = $select . " AND ligne_commande_etat_livraison = '[ETAT_LIVRAISON]' ";}
						else {$select = $select . " AND ligne_commande_etat_livraison IN ('N','P') ";}
					}
					if ('[ETAT_LIQUIDATION]' != '-1') {
						if ('[ETAT_LIQUIDATION]' != 'NP') {$select = $select . " AND etat_liquidation = '[ETAT_LIQUIDATION]' ";}
						else {$select = $select . " AND etat_liquidation IN ('N','P') ";}
					}
					
					if ('[TEXTE]' != '') {
						$select = $select . " AND " . sql_codes_list_a('[TEXTE]', 'commande_texte') . " ";
					}
					
					return $select;
																					
				EVAL]
				]]>
				</value>

			</PROPERTY>


		</VIEWPROPERTIES>

		<SELECTIONS label="Filtres commandes" collapsible="true" displayText="= var display:String = '';

                        if (SELECT.SITE != '-1') {
							display = display + '  #B#Site#/B# : ' + SELECT.SITE_LABEL;
						}
						if (SELECT.GESTIONNAIRE != '-1') {
							display = display + '  #B#Gestionnaire#/B# : ' + SELECT.GESTIONNAIRE_LABEL;
						}
						if (SELECT.LIEU != '-1') {
							display = display + '  #B#Lieu#/B# : ' + SELECT.LIEU_LABEL;
						}
						if (SELECT.UNITE_FONCTIONNELLE != '-1') {
							display = display + '  #B#U.F.#/B# : ' + SELECT.UNITE_FONCTIONNELLE_LABEL;
						}
						if (SELECT.ETAT_LIVRAISON != '-1') {
							display = display + '  #B#Etat livraison#/B# : ' + SELECT.ETAT_LIVRAISON_LABEL;
						}
						if (SELECT.ETAT_LIQUIDATION != '-1') {
							display = display + '  #B#Etat liquidation#/B# : ' + SELECT.ETAT_LIQUIDATION_LABEL;
						}
						if (SELECT.NUMERO_COMMANDE != '') {
							display = display + '  #B#Commande#/B# : ' + SELECT.NUMERO_COMMANDE;
						}
						if (SELECT.TEXTE != '') {
							display = display + '  #B#Texte contenant#/B# : ' + SELECT.TEXTE;
						}
						return display;
						">


			<GROUP label="">
				<FIELD name="SITE" label="Site" UI="combo" width="300" tree="true" default="-1" globalListProvider="SITE" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="GESTIONNAIRE" label="Gestionnaire" UI="combo" width="300" tree="true" default="-1" globalListProvider="GESTIONNAIRE" showIfNotDefault="true" visible="= VIEW.GES_VISIBLE == '1'">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="LIEU" label="Lieu" UI="combo" width="300" tree="true" default="-1" globalListProvider="LIEU_COMMANDE" showIfNotDefault="true" visible="= VIEW.LIE_VISIBLE == '1'">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="UNITE_FONCTIONNELLE" label="Unité fonctionnelle" UI="combo" width="300" tree="true" default="-1" globalListProvider="UNITE_FONCTIONNELLE" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="ETAT_LIVRAISON" label="Etat livraison" UI="combo" width="300" tree="true" default="-1" globalListProvider="ETAT_LIVRAISON" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="ETAT_LIQUIDATION" label="Etat liquidation" UI="combo" width="300" tree="true" default="-1" globalListProvider="ETAT_LIQUIDATION" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="NUMERO_COMMANDE" label="Commande" UI="text" width="300" default="" showIfNotDefault="true" />
			</GROUP>
			<GROUP label="">
				<FIELD name="TEXTE" label="Texte" UI="text" width="300" default="" showIfNotDefault="true" />
			</GROUP>
		</SELECTIONS>



		<QUERIES>

			<QUERY type="propertiesLink" name="FILTRES_COMMANDE_VIEWPROPERTIES" forRows="true" forSelections="true">
				<SQL>
					<select><![CDATA[	
							SELECT 'GES_VISIBLE', max(CASE WHEN oid > 0 THEN 1 ELSE 0 END) FROM eco.t_gestionnaires
							UNION
							SELECT 'LIE_VISIBLE', max(CASE WHEN oid > 0 THEN 1 ELSE 0 END) FROM eco.t_lieux
							WHERE oid = ANY (array(SELECT p_oids.oid FROM eco.p_oids WHERE p_oids.code_table::text = 'lieux_commandes')::bigint[])
					]]>					</select>
					<FIELDS>
						<FIELD name="name" />
						<FIELD name="value" />
					</FIELDS>
				</SQL>
			</QUERY>

		</QUERIES>


	</COMPONENT>

	<COMPONENT name="FILTRES_FACTURE_SELECTIONS" label="Filtre factures">

		<VIEWPROPERTIES>

			<PROPERTY dataLink="FILTRES_FACTURE_VIEWPROPERTIES" nameField="name" valueField="value" />

			<PROPERTY name="FACTURE_SELECT" value="">

				<value><![CDATA[
					[EVAL 
					$select = "";
					
					$select = $select . ECO_standard_field_select("site", 't_sites', '[SITE]');
					$select = $select . ECO_standard_field_select("gestionnaire", 't_gestionnaires', '[GESTIONNAIRE]');
					$select = $select . ECO_standard_field_select("lieu", 't_lieux', '[LIEU]');
					$select = $select . ECO_standard_field_select("unite_fonctionnelle", 't_unites_fonctionnelles', '[UNITE_FONCTIONNELLE]');
					
					if ('[NUMERO_FACTURE]' != '') {
						$select = $select . " AND facture_code LIKE '[NUMERO_FACTURE]' ";
					}
					if ('[NUMERO_COMMANDE]' != '') {
						$select = $select . " AND commande_code LIKE '[NUMERO_COMMANDE]' ";
					}
					
					
					if ('[TEXTE]' != '') {
						$select = $select . " AND " . sql_codes_list_a('[TEXTE]', 'commande_texte') . " ";
					}
					
					return $select;
																					
				EVAL]
				]]>
				</value>

			</PROPERTY>


		</VIEWPROPERTIES>

		<SELECTIONS label="Filtres factures" collapsible="true" displayText="= var display:String = '';

                        if (SELECT.SITE != '-1') {
							display = display + '  #B#Site#/B# : ' + SELECT.SITE_LABEL;
						}
						if (SELECT.GESTIONNAIRE != '-1') {
							display = display + '  #B#Gestionnaire#/B# : ' + SELECT.GESTIONNAIRE_LABEL;
						}
						if (SELECT.LIEU != '-1') {
							display = display + '  #B#Lieu#/B# : ' + SELECT.LIEU_LABEL;
						}
						if (SELECT.UNITE_FONCTIONNELLE != '-1') {
							display = display + '  #B#U.F.#/B# : ' + SELECT.UNITE_FONCTIONNELLE_LABEL;
						}
						if (SELECT.NUMERO_FACTURE != '') {
							display = display + '  #B#Facture#/B# : ' + SELECT.NUMERO_FACTURE;
						}
						if (SELECT.NUMERO_COMMANDE != '') {
							display = display + '  #B#Commande#/B# : ' + SELECT.NUMERO_COMMANDE;
						}
						if (SELECT.TEXTE != '') {
							display = display + '  #B#Texte contenant#/B# : ' + SELECT.TEXTE;
						}
						return display;
						">


			<GROUP label="">
				<FIELD name="SITE" label="Gestionnaire" UI="combo" width="300" tree="true" default="-1" globalListProvider="SITE" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="GESTIONNAIRE" label="Gestionnaire" UI="combo" width="300" tree="true" default="-1" globalListProvider="GESTIONNAIRE" showIfNotDefault="true" visible="= VIEW.GES_VISIBLE == '1'">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="LIEU" label="Lieu" UI="combo" width="300" tree="true" default="-1" globalListProvider="LIEU_FACTURE" showIfNotDefault="true" visible="= VIEW.LIE_VISIBLE == '1'">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="UNITE_FONCTIONNELLE" label="Unité fonctionnelle" UI="combo" width="300" tree="true" default="-1" globalListProvider="UNITE_FONCTIONNELLE" showIfNotDefault="true">
				</FIELD>
			</GROUP>
			<GROUP label="">
				<FIELD name="NUMERO_FACTURE" label="Facture" UI="text" width="300" default="" showIfNotDefault="true" />
			</GROUP>
			<GROUP label="">
				<FIELD name="NUMERO_COMMANDE" label="Commande" UI="text" width="300" default="" showIfNotDefault="true" />
			</GROUP>
			<GROUP label="">
				<FIELD name="TEXTE" label="Texte" UI="text" width="300" default="" showIfNotDefault="true" />
			</GROUP>
		</SELECTIONS>



		<QUERIES>

			<QUERY type="propertiesLink" name="FILTRES_FACTURE_VIEWPROPERTIES" forRows="false" forSelections="false">
				<SQL>
					<select><![CDATA[	
							SELECT 'GES_VISIBLE', max(CASE WHEN oid > 0 THEN 1 ELSE 0 END) FROM eco.t_gestionnaires
							UNION
							SELECT 'LIE_VISIBLE', max(CASE WHEN oid > 0 THEN 1 ELSE 0 END) FROM eco.t_lieux
							WHERE oid = ANY (array(SELECT p_oids.oid FROM eco.p_oids WHERE p_oids.code_table::text = 'lieux_commandes'))::bigint[]
					]]>					</select>
					<FIELDS>
						<FIELD name="name" />
						<FIELD name="value" />
					</FIELDS>
				</SQL>
			</QUERY>

		</QUERIES>


	</COMPONENT>

	<COMPONENT name="FILTRES_PROVIDER_SELECTIONS" label="Filtre Source de données">

		<VIEWPROPERTIES>

			<PROPERTY dataLink="FILTRES_PROVIDER_VIEWPROPERTIES" nameField="name" valueField="value" />

			<PROPERTY name="PROVIDER_SELECT" value="">

				<value><![CDATA[
					[EVAL 
					$select = "";
					$select = $select . ECO_standard_field_select("provider", 't_providers', '[PROVIDER]');
					
					return $select;
																					
				EVAL]
				]]>
				</value>

			</PROPERTY>


		</VIEWPROPERTIES>

		<SELECTIONS label="Filtres Source de données" collapsible="true" displayText="= var display:String = '';

						if (SELECT.PROVIDER != '-1') {
							display = display + '  #B#Source de données#/B# : ' + SELECT.PROVIDER_LABEL;
						}
						
						return display;
						">

			<GROUP label="">
				<FIELD name="PROVIDER" label="Source" UI="combo" width="300" tree="true" default="-1" globalListProvider="PROVIDER" showIfNotDefault="true" visible="= VIEW.PVD_VISIBLE == '1'">
				</FIELD>
			</GROUP>

		</SELECTIONS>



		<QUERIES>

			<QUERY type="propertiesLink" name="FILTRES_PROVIDER_VIEWPROPERTIES" forRows="false" forSelections="true">
				<SQL>
					<select><![CDATA[	
							SELECT 'PVD_VISIBLE', MAX(CASE WHEN oid > 0 THEN 1 ELSE 0 END) FROM eco.t_providers
					]]>					</select>
					<FIELDS>
						<FIELD name="name" />
						<FIELD name="value" />
					</FIELDS>
				</SQL>
			</QUERY>

		</QUERIES>


	</COMPONENT>

	<COMPONENT name="FILTRES_COMMANDE_SIGNIFICATIF" label="Sous sélections Commandes">

		<VIEWPROPERTIES>

			<PROPERTY name="ECO_SIGNIFICATIVE_DATA">
				<value>
					<![CDATA[
						[EVAL 
							if ('[ECO_SIGNIFICATIVE_BASE]' == 'MCMD') {
								return "montant_commande_ht";
							}
							if ('[ECO_SIGNIFICATIVE_BASE]' == 'QCMD') {
								return "quantite_approvisionnement";
							}
							return '0';
						EVAL]
					]]>
				</value>
			</PROPERTY>

			<PROPERTY name="ECO_SIGNIFICATIVE_PERCENT">
				<value>
					<![CDATA[
						[EVAL 
							if ('[ECO_SIGNIFICATIVE_MODE]' != 'N' && '[ECO_SIGNIFICATIVE_BASE]' != '-1') {return intval('[ECO_SIGNIFICATIVE_NUMBER]');}
							return 0;
						EVAL]
					]]>
				</value>
			</PROPERTY>

			<PROPERTY name="ECO_SIGNIFICATIVE_NUMBER">
				<value>
					<![CDATA[
						[EVAL 
							if ('[ECO_SIGNIFICATIVE_MODE]' == 'N' && '[ECO_SIGNIFICATIVE_BASE]' != '-1') {return intval('[ECO_SIGNIFICATIVE_NUMBER]');}
							return 0;
						EVAL]
					]]>
				</value>
			</PROPERTY>

			<PROPERTY name="ECO_SIGNIFICATIVE_OID_COL">
				<value>
					<![CDATA[
						[EVAL 
							return "CASE WHEN [VIEW.SOUSSELECT_OID_WHENIN] THEN -9999997 ELSE -9999998 END ";
						EVAL]
					]]>
				</value>
			</PROPERTY>

			<PROPERTY name="ECO_SIGNIFICATIVE_TXT_COL">
				<value>
					<![CDATA[
						[EVAL 
							return  "CASE WHEN [VIEW.SOUSSELECT_OID_WHENIN] THEN 'Données significatives ([VIEW.SOUSSELECT_SELECT_PERCENT])' ELSE 'Autres ([VIEW.SOUSSELECT_OTHER_PERCENT])' END ";
						EVAL]
					]]>
				</value>
			</PROPERTY>

		</VIEWPROPERTIES>

		<SELECTIONS label="Données significatives" collapsible="true" displayText="= var display:String = '';

					if (SELECT.ECO_SIGNIFICATIVE_BASE == 'MCMD') {
						if (SELECT.ECO_SIGNIFICATIVE_MODE == 'P') {
							display = display + 'Lignes représentant ' + SELECT.ECO_SIGNIFICATIVE_NUMBER + '% de la valeur commandée';
						}
						if (SELECT.ECO_SIGNIFICATIVE_MODE == 'N') {
							display = display + SELECT.ECO_SIGNIFICATIVE_NUMBER + ' premieres lignes du classement de la valeur commandée';
						}
					}
					if (SELECT.ECO_SIGNIFICATIVE_BASE == 'QCMD') {
						if (SELECT.ECO_SIGNIFICATIVE_MODE == 'P') {
							display = display + 'Lignes représentant ' + SELECT.ECO_SIGNIFICATIVE_NUMBER + '% de la quantité commandée';
						}
						if (SELECT.ECO_SIGNIFICATIVE_MODE == 'N') {
							display = display + SELECT.ECO_SIGNIFICATIVE_NUMBER + ' premieres lignes de la quantité commandée';
						}
					}

					if (display != '') {
						display = '#B#Activité significative#/B# = ' + display;
					}
					return display;
					">

			<GROUP label="Basée sur">
				<FIELD name="ECO_SIGNIFICATIVE_BASE" label="" width="250" UI="combo" default="-1" tree="false" showIfNotDefault="true">
					<OPTION data="-1" label="Toutes les lignes" />
					<OPTION data="MCMD" label="Sélection selon la valeur commandée" />
					<OPTION data="QCMD" label="Sélection selon la quantité commandée" />
				</FIELD>
				<FIELD name="ECO_SIGNIFICATIVE_MODE" label="" UI="combo" default="P" visible="= SELECT.ECO_SIGNIFICATIVE_BASE != '-1'">
					<OPTION data="P" label="En pourcentage" />
					<OPTION data="N" label="En nombre" />
				</FIELD>
				<FIELD name="ECO_SIGNIFICATIVE_NUMBER" label="nombre ou %" UI="text" width="50" default="" visible="= SELECT.ECO_SIGNIFICATIVE_BASE != '-1'" />
			</GROUP>

		</SELECTIONS>

	</COMPONENT>


	<COMPONENT name="FILTRES_MOUVEMENT_SIGNIFICATIF" label="Sous sélections Mouvements">

		<VIEWPROPERTIES>

			<PROPERTY name="ECO_SIGNIFICATIVE_DATA">
				<value>
					<![CDATA[
						[EVAL 
							if ('[ECO_SIGNIFICATIVE_BASE]' == 'MENT') {
								return "entree_montant";
							}
							if ('[ECO_SIGNIFICATIVE_BASE]' == 'QENT') {
								return "entree_quantite";
							}
							if ('[ECO_SIGNIFICATIVE_BASE]' == 'MSOR') {
								return "sortie_montant";
							}
							if ('[ECO_SIGNIFICATIVE_BASE]' == 'QSOR') {
								return "sortie_quantite";
							}
							return '0';
						EVAL]
					]]>
				</value>
			</PROPERTY>

			<PROPERTY name="ECO_SIGNIFICATIVE_PERCENT">
				<value>
					<![CDATA[
						[EVAL 
							if ('[ECO_SIGNIFICATIVE_MODE]' != 'N' && '[ECO_SIGNIFICATIVE_BASE]' != '-1') {return intval('[ECO_SIGNIFICATIVE_NUMBER]');}
							return 0;
						EVAL]
					]]>
				</value>
			</PROPERTY>

			<PROPERTY name="ECO_SIGNIFICATIVE_NUMBER">
				<value>
					<![CDATA[
						[EVAL 
							if ('[ECO_SIGNIFICATIVE_MODE]' == 'N' && '[ECO_SIGNIFICATIVE_BASE]' != '-1') {return intval('[ECO_SIGNIFICATIVE_NUMBER]');}
							return 0;
						EVAL]
					]]>
				</value>
			</PROPERTY>

			<PROPERTY name="ECO_SIGNIFICATIVE_OID_COL">
				<value>
					<![CDATA[
						[EVAL 
							return "CASE WHEN [VIEW.SOUSSELECT_OID_WHENIN] THEN -9999997 ELSE -9999998 END ";
						EVAL]
					]]>
				</value>
			</PROPERTY>

			<PROPERTY name="ECO_SIGNIFICATIVE_TXT_COL">
				<value>
					<![CDATA[
						[EVAL 
							return  "CASE WHEN [VIEW.SOUSSELECT_OID_WHENIN] THEN 'Données significatives ([VIEW.SOUSSELECT_SELECT_PERCENT])' ELSE 'Autres ([VIEW.SOUSSELECT_OTHER_PERCENT])' END ";
						EVAL]
					]]>
				</value>
			</PROPERTY>

		</VIEWPROPERTIES>

		<SELECTIONS label="Données significatives" collapsible="true" displayText="= var display:String = '';

					if (SELECT.ECO_SIGNIFICATIVE_BASE == 'MENT') {
						if (SELECT.ECO_SIGNIFICATIVE_MODE == 'P') {
							display = display + 'Lignes représentant ' + SELECT.ECO_SIGNIFICATIVE_NUMBER + '% de la valeur entrée';
						}
						if (SELECT.ECO_SIGNIFICATIVE_MODE == 'N') {
							display = display + SELECT.ECO_SIGNIFICATIVE_NUMBER + ' premieres lignes du classement de la valeur entrée';
						}
					}
					if (SELECT.ECO_SIGNIFICATIVE_BASE == 'QENT') {
						if (SELECT.ECO_SIGNIFICATIVE_MODE == 'P') {
							display = display + 'Lignes représentant ' + SELECT.ECO_SIGNIFICATIVE_NUMBER + '% de la quantité entrée';
						}
						if (SELECT.ECO_SIGNIFICATIVE_MODE == 'N') {
							display = display + SELECT.ECO_SIGNIFICATIVE_NUMBER + ' premieres lignes de la quantité entrée';
						}
					}
					if (SELECT.ECO_SIGNIFICATIVE_BASE == 'MSOR') {
						if (SELECT.ECO_SIGNIFICATIVE_MODE == 'P') {
							display = display + 'Lignes représentant ' + SELECT.ECO_SIGNIFICATIVE_NUMBER + '% de la valeur sortie';
						}
						if (SELECT.ECO_SIGNIFICATIVE_MODE == 'N') {
							display = display + SELECT.ECO_SIGNIFICATIVE_NUMBER + ' premieres lignes du classement de la valeur sortie';
						}
					}
					if (SELECT.ECO_SIGNIFICATIVE_BASE == 'QSOR') {
						if (SELECT.ECO_SIGNIFICATIVE_MODE == 'P') {
							display = display + 'Lignes représentant ' + SELECT.ECO_SIGNIFICATIVE_NUMBER + '% de la quantité sortie';
						}
						if (SELECT.ECO_SIGNIFICATIVE_MODE == 'N') {
							display = display + SELECT.ECO_SIGNIFICATIVE_NUMBER + ' premieres lignes de la quantité sortie';
						}
					}

					if (display != '') {
						display = '#B#Activité significative#/B# = ' + display;
					}
					return display;
					">

			<GROUP label="Basée sur">
				<FIELD name="ECO_SIGNIFICATIVE_BASE" label="" width="250" UI="combo" default="-1" tree="false" showIfNotDefault="true">
					<OPTION data="-1" label="Toutes les lignes" />
					<OPTION data="MENT" label="Sélection selon la valeur entrée" />
					<OPTION data="QENT" label="Sélection selon la quantité entrée" />
					<OPTION data="MSOR" label="Sélection selon la valeur sortie" />
					<OPTION data="QSOR" label="Sélection selon la quantité sortie" />
				</FIELD>
				<FIELD name="ECO_SIGNIFICATIVE_MODE" label="" UI="combo" default="P" visible="= SELECT.ECO_SIGNIFICATIVE_BASE != '-1'">
					<OPTION data="P" label="En pourcentage" />
					<OPTION data="N" label="En nombre" />
				</FIELD>
				<FIELD name="ECO_SIGNIFICATIVE_NUMBER" label="nombre ou %" UI="text" width="50" default="" visible="= SELECT.ECO_SIGNIFICATIVE_BASE != '-1'" />
			</GROUP>

		</SELECTIONS>

	</COMPONENT>

	<COMPONENT name="FILTRES_STOCK_SIGNIFICATIF" label="Sous sélections Stock">

		<VIEWPROPERTIES>

			<PROPERTY name="ECO_SIGNIFICATIVE_DATA">
				<value>
					<![CDATA[
						[EVAL 
							if ('[ECO_SIGNIFICATIVE_BASE]' == 'MSTF') {
								return "CASE WHEN date_fin = '[TOPERIODE]' THEN stock_valeur_fin ELSE 0 END";
							}
							if ('[ECO_SIGNIFICATIVE_BASE]' == 'QSTF') {
								return "stock_quantite_fin";
							}
							return '0';
						EVAL]
					]]>
				</value>
			</PROPERTY>

			<PROPERTY name="ECO_SIGNIFICATIVE_PERCENT">
				<value>
					<![CDATA[
						[EVAL 
							if ('[ECO_SIGNIFICATIVE_MODE]' != 'N' && '[ECO_SIGNIFICATIVE_BASE]' != '-1') {return intval('[ECO_SIGNIFICATIVE_NUMBER]');}
							return 0;
						EVAL]
					]]>
				</value>
			</PROPERTY>

			<PROPERTY name="ECO_SIGNIFICATIVE_NUMBER">
				<value>
					<![CDATA[
						[EVAL 
							if ('[ECO_SIGNIFICATIVE_MODE]' == 'N' && '[ECO_SIGNIFICATIVE_BASE]' != '-1') {return intval('[ECO_SIGNIFICATIVE_NUMBER]');}
							return 0;
						EVAL]
					]]>
				</value>
			</PROPERTY>

			<PROPERTY name="ECO_SIGNIFICATIVE_OID_COL">
				<value>
					<![CDATA[
						[EVAL 
							return "CASE WHEN [VIEW.SOUSSELECT_OID_WHENIN] THEN -9999997 ELSE -9999998 END ";
						EVAL]
					]]>
				</value>
			</PROPERTY>

			<PROPERTY name="ECO_SIGNIFICATIVE_TXT_COL">
				<value>
					<![CDATA[
						[EVAL 
							return  "CASE WHEN [VIEW.SOUSSELECT_OID_WHENIN] THEN 'Données significatives ([VIEW.SOUSSELECT_SELECT_PERCENT])' ELSE 'Autres ([VIEW.SOUSSELECT_OTHER_PERCENT])' END ";
						EVAL]
					]]>
				</value>
			</PROPERTY>

		</VIEWPROPERTIES>

		<SELECTIONS label="Données significatives" collapsible="true" displayText="= var display:String = '';

					if (SELECT.ECO_SIGNIFICATIVE_BASE == 'MSTF') {
						if (SELECT.ECO_SIGNIFICATIVE_MODE == 'P') {
							display = display + 'Lignes représentant ' + SELECT.ECO_SIGNIFICATIVE_NUMBER + '% de la valeur du stock';
						}
						if (SELECT.ECO_SIGNIFICATIVE_MODE == 'N') {
							display = display + SELECT.ECO_SIGNIFICATIVE_NUMBER + ' premieres lignes du classement de la valeur du stock';
						}
					}
					if (SELECT.ECO_SIGNIFICATIVE_BASE == 'QSTF') {
						if (SELECT.ECO_SIGNIFICATIVE_MODE == 'P') {
							display = display + 'Lignes représentant ' + SELECT.ECO_SIGNIFICATIVE_NUMBER + '% de la quantité en stock';
						}
						if (SELECT.ECO_SIGNIFICATIVE_MODE == 'N') {
							display = display + SELECT.ECO_SIGNIFICATIVE_NUMBER + ' premieres lignes de la quantité en stock';
						}
					}

					if (display != '') {
						display = '#B#Activité significative#/B# = ' + display;
					}
					return display;
					">

			<GROUP label="Basée sur">
				<FIELD name="ECO_SIGNIFICATIVE_BASE" label="" width="250" UI="combo" default="-1" tree="false" showIfNotDefault="true">
					<OPTION data="-1" label="Toutes les lignes" />
					<OPTION data="MSTF" label="Sélection selon la valeur du stock" />
					<OPTION data="QSTF" label="Sélection selon la quantité en stock" />
				</FIELD>
				<FIELD name="ECO_SIGNIFICATIVE_MODE" label="" UI="combo" default="P" visible="= SELECT.ECO_SIGNIFICATIVE_BASE != '-1'">
					<OPTION data="P" label="En pourcentage" />
					<OPTION data="N" label="En nombre" />
				</FIELD>
				<FIELD name="ECO_SIGNIFICATIVE_NUMBER" label="nombre ou %" UI="text" width="50" default="" visible="= SELECT.ECO_SIGNIFICATIVE_BASE != '-1'" />
			</GROUP>

		</SELECTIONS>

	</COMPONENT>

	<COMPONENT name="FILTRES_INDICATEUR_SELECTIONS" label="Sélection Indicateurs">

		<SELECTIONS label="Filtre Indicateur" collapsible="true" displayText="= var display:String = '';

					if (SELECT.DATA01 != '-1') {
						display = display + '  #B#Indicateur#/B# = ' + SELECT.DATA01_LABEL;
					}
					return display;">

			<GROUP label="" visible="false">
				<FIELD name="DATA01" label="Indicateur" UI="combo" width="210" default="-1" tree="true" visible="false">
					<OPTION label="Non renseigné" data="-1"/>
					<OPTION label="" data="" globalListProvider="DATA_AP_IND"/>
				</FIELD>
			</GROUP>

		</SELECTIONS>

	</COMPONENT>

	<COMPONENT name="STANDARD_FUNCTIONS" label="Fonctions standards">

		<value><![CDATA[
                
                // <? php
                
				function ECO_standard_prefixe($GROUPBY, $DEFAULT="") {
					if (substr($GROUPBY,3,3) == 'CLS') {
						$GROUPBY = substr($GROUPBY,0,6);
					}
					$field = '';
					$field_id = '';
					$field_code = '';
					$field_texte = '';
					switch ($GROUPBY) {
					case '*TAB':
						$field = "*TAB";
						break;
					case '-1':
						$field = "";
						break;
					case 'MOIACT':
						$field = "mois_activite";
						break;
					case 'ANNACT':
						$field = "annee_activite";
						break;
					case 'MOIPAI':
						$field = "mois_paie";
						break;
					case 'ANNPAI':
						$field = "annee_paie";
						break;
					case 'MOIACTPAI':
						$field = "mois_activite_paie";
						break;
					case 'ANNACTPAI':
						$field = "annee_activite_paie";
						break;
					case 'ART':
						$field = "article";
						break;
					case 'ARTCLS':
						$field = "article_section";
						break;
					case 'ARF':
						$field = "ref_article_fournisseur";
						break;
					case 'RA1':
						$field = "article_reference_cacic";
						break;
					case 'RA1CLS':
						$field = "article_reference_cacic_section";
						break;
					case 'RA9':
						$field = "article_reference_cti";
						break;
					case 'RA9CLS':
						$field = "article_reference_cti_section";
						break;
					case 'TYA':
						$field = "type_article";
						break;
					case 'TYACLS':
						$field = "type_article_section";
						break;
					case 'TAC':
						$field = "type_article_cti";
						break;
					case 'TACCLS':
						$field = "type_article_cti_section";
						break;
					case 'CPA':
						$field = "compte_article";
						break;
					case 'CPACLS':
						$field = "compte_article_section";
						break;
					case 'FAA':
						$field = "famille_article";
						break;
					case 'FAACLS':
						$field = "famille_article_section";
						break;
					case 'ATC':
						$field = "classification_atc";
						break;
					case 'ATC1':
						$field = "classification_atc_1";
						break;
					case 'ATC2':
						$field = "classification_atc_2";
						break;
					case 'ATC3':
						$field = "classification_atc_3";
						break;
					case 'ATC4':
						$field = "classification_atc_4";
						break;
					case 'ATCCLS':
						$field = "classification_atc_section";
						break;
					case 'SFA':
						$field = "sous_famille_article";
						break;
					case 'SFATCLS':
						$field = "sous_famille_article_section";
						break;
					case 'CAA':
						$field = "categorie_article";
						break;
					case 'CAACLS':
						$field = "categorie_article_section";
						break;
					case 'SCA':
						$field = "sous_categorie_article";
						break;
					case 'SCACLS':
						$field = "sous_categorie_article_section";
						break;
					case 'USD':
						$field = "unite_stockage_article";
						break;
					case 'USDCLS':
						$field = "unite_stockage_article_section";
						break;
					case 'FOU':
						$field = "fournisseur";
						break;
					case 'FOUCLS':
						$field = "fournisseur_section";
						break;
					case 'RF1':
						$field = "fournisseur_reference_cacic";
						break;
					case 'RF1CLS':
						$field = "fournisseur_reference_cacic_section";
						break;
					case 'RF9':
						$field = "fournisseur_reference_cti";
						break;
					case 'RF9CLS':
						$field = "fournisseur_reference_cti_section";
						break;
					case 'TYF':
						$field = "type_fournisseur";
						break;
					case 'TYFCLS':
						$field = "type_fournisseur_section";
						break;
					case 'GES':
						$field = "gestionnaire";
						break;
					case 'GESCLS':
						$field = "gestionnaire_section";
						break;
                    case 'SIT':
						$field = "site";
						break;
					case 'SITCLS':
						$field = "site_section";
						break;
					case 'LIE':
						$field = "lieu";
						break;
					case 'LIECLS':
						$field = "lieu_section";
						break;
					case 'UCD':
						$field = "ucd";
						break;
					case 'UCD13':
						$field = "ucd13";
						break;
					case 'UCDCLS':
						$field = "ucd_section";
						break;
					case 'UCM':
						$field = "ucd";
						break;
					case 'UCMCLS':
						$field = "ucd_section";
						break;
					case 'LPP':
						$field = "lpp";
						break;
					case 'LPPCLS':
						$field = "lpp_section";
						break;
					case 'LPM':
						$field = "lpp";
						break;
					case 'LPMCLS':
						$field = "lpp_section";
						break;
					case 'TYM':
						$field = "type_mouvement";
						break;
					case 'TYMCLS':
						$field = "type_mouvement_section";
						break;
                    case 'POL':
						$field = "pole";
						break;
					case 'POLCLS':
						$field = "pole_section";
						break;
					case 'UFO':
						$field = "unite_fonctionnelle";
						break;
					case 'UFOCLS':
						$field = "unite_fonctionnelle_section";
						break;
					case 'CMD':
						$field = "commande";
						break;
					case 'CML':
						$field = "ligne_commande";
						break;
					case 'FAC':
						$field = "facture";
						break;
					case 'PVD':
						$field = "provider";
						break;
					case 'ADEF':
						$field = "date_item";
						break;
					case 'TRIMDEF':
						$field = "date_item";
						break;
					case 'ATRIMDEF':
						$field = "date_item";
						break;
					case 'AMDEF':
						$field = "date_item";
						break;
					case 'MDEF':
						$field = "date_item";
						break;
					case 'JDEF':
						$field = "date_item";
						break;
					case 'ACMD':
						$field = "date_commande";
						break;
					case 'TRIMCMD':
						$field = "date_commande";
						break;
					case 'ATRIMCMD':
						$field = "date_commande";
						break;
					case 'AMCMD':
						$field = "date_commande";
						break;
					case 'MCMD':
						$field = "date_commande";
						break;
					case 'JCMD':
						$field = "date_commande";
						break;
					case 'AENG':
						$field = "date_engagement";
						break;
					case 'TRIMENG':
						$field = "date_engagement";
						break;
					case 'ATRIMENG':
						$field = "date_engagement";
						break;
					case 'AMENG':
						$field = "date_engagement";
						break;
					case 'MENG':
						$field = "date_engagement";
						break;
					case 'JENG':
						$field = "date_engagement";
						break;
					case 'RSS':
						$field = "rss";
						break;
					case 'SEJ':
						$field = "sejour";
						break;
					case 'MED':
						$field = "medecin";
						break;
					case 'SPE':
						$field = "specialite";
						break;
					case 'MVT':
						$field = "mouvement";
						break;
					default:
						$field = $DEFAULT;
						break;
					}
					return $field;
				}
				
				function ECO_standard_view($GROUPBY, $DEFAULT="v_contrats_1") {
					
					$field = '';
					
					switch ($GROUPBY) {
					case '*TAB':
						$field = "*TAB";
						break;
					default:
						$field = "";
					}

					return $field;
				}
				
				function ECO_standard_field_id($GROUPBY, $DEFAULT="") {
				
					$prefixe = ECO_standard_prefixe($GROUPBY, $DEFAULT="");
					$view = ECO_standard_view($GROUPBY);
                   
					if ($GROUPBY == 'ADEF' || $GROUPBY == 'ACMD' || $GROUPBY == 'AENG') {
						$field = "(extract(year from $prefixe))";
					}
					else if ($GROUPBY == 'MDEF' || $GROUPBY == 'MCMD' || $GROUPBY == 'MENG') {
						$field = "(extract(month from $prefixe))";
					} else if ($GROUPBY == 'TRIMDEF' || $GROUPBY == 'TRIMCMD' || $GROUPBY == 'TRIMENG') {
						$field = "(extract(quarter from $prefixe))";
					} else if ($GROUPBY == 'JDEF' || $GROUPBY == 'JCMD' || $GROUPBY == 'JENG') {
						$field = "(extract(year from $prefixe) || extract(month from $prefixe) || extract(day from $prefixe))";
					} else if ($GROUPBY == 'AMDEF' || $GROUPBY == 'AMCMD' || $GROUPBY == 'AMENG') {
						$field = "(extract(year from $prefixe) || extract(month from $prefixe))";
					} else if ($GROUPBY == 'ATRIMDEF' || $GROUPBY == 'ATRIMCMD' || $GROUPBY == 'ATRIMENG') {
						$field = "(extract(year from $prefixe) || extract(quarter from $prefixe))";
					}
                    else if (substr($GROUPBY, 3, 3) == 'CLS' && $prefixe != $DEFAULT) {
						$section = substr($GROUPBY, 6);
						$field = "$prefixe" . "_id[" . $section . "]";
					}
                    else {
                        switch ($prefixe) {
                            case "":
                                $field = "0";
                                break;
                            case "*TAB":
                                $field = "-9999999";
                                break;
                            case "article_ref_fournisseur":	
                                $field = "article_id";
                                break;
                            default:
                                $field = $prefixe . "_id";
                        }
                    }
					return $field;
				}
				function ECO_standard_field_code($GROUPBY, $DEFAULT="") {
					$prefixe = ECO_standard_prefixe($GROUPBY, $DEFAULT="");
					$view = ECO_standard_view($GROUPBY);
									
					if ($GROUPBY == 'ADEF' || $GROUPBY == 'ACMD' || $GROUPBY == 'AENG') {
						$field = "extract(year from $prefixe)";
					} else if ($GROUPBY == 'MDEF' || $GROUPBY == 'MCMD' || $GROUPBY == 'MENG') {
						$field = "to_char($prefixe,'MM')";
					} else if ($GROUPBY == 'TRIMDEF' || $GROUPBY == 'TRIMCMD' || $GROUPBY == 'TRIMENG') {
						$field = "''T'' || extract(quarter from $prefixe)";
					} else if ($GROUPBY == 'JDEF' || $GROUPBY == 'JCMD' || $GROUPBY == 'JENG') {
						$field = "extract(year from $prefixe)::text || to_char($prefixe,'MMDD')";
					} else if ($GROUPBY == 'AMDEF' || $GROUPBY == 'AMCMD' || $GROUPBY == 'AMENG') {
						$field = "extract(year from $prefixe)::text || to_char($prefixe,'MM')";
					} else if ($GROUPBY == 'ATRIMDEF' || $GROUPBY == 'ATRIMCMD' || $GROUPBY == 'ATRIMENG') {
						$field = "extract(year from $prefixe)::text || ''T'' || extract(quarter from $prefixe)";
					} else if (substr($GROUPBY, 3, 3) == 'CLS' && $prefixe != $DEFAULT) {
						$section = substr($GROUPBY, 6);
						$field = "$prefixe" . "_code[" . $section . "]";

					}
                    else {
                        switch ($prefixe) {
                            case "":
                                $field = "''";
                                break;
                            case "*TAB":

                                $field = "' Résumé'";
                                break;
                            case "article_ref_fournisseur":
                                $field = "article_code";
                                break;
                            case "provider":
                                $field = "provider_code";
                                break;
                            case "pole":
                                $field = "pole_code";
                                break;
							case "mouvement":
                                $field = "mouvement_code";
                                break;
                            default:
                                $field = $prefixe . "_code";
                        }
					}
					return $field;
				}
				function ECO_standard_field_texte($GROUPBY, $DEFAULT="") {
					$prefixe = ECO_standard_prefixe($GROUPBY, $DEFAULT="");
					$view = ECO_standard_view($GROUPBY);
					if ($GROUPBY == 'ADEF' || $GROUPBY == 'ACMD' || $GROUPBY == 'AENG') {
						$field = "extract(year from $prefixe)";
					}
					else if ($GROUPBY == 'MDEF' || $GROUPBY == 'MCMD' || $GROUPBY == 'MENG') {
						$field = "to_char($prefixe,'TMMonth')";
					} else if ($GROUPBY == 'TRIMDEF' || $GROUPBY == 'TRIMCMD' || $GROUPBY == 'TRIMENG') {
						$field ='Trimestre' || 'extract(quarter from $prefixe)';
					} else if ($GROUPBY == 'JDEF' || $GROUPBY == 'JCMD' || $GROUPBY == 'JENG') {
						$field = "to_char($prefixe,''DD TMMonth YYYY'')";
					} else if ($GROUPBY == 'AMDEF' || $GROUPBY == 'AMCMD' || $GROUPBY == 'AMENG') {
						$field = "to_char($prefixe,''TMMonth'')" || ' ' || "extract(year from $prefixe)";
					} else if ($GROUPBY == 'ATRIMDEF' || $GROUPBY == 'ATRIMCMD' || $GROUPBY == 'ATRIMENG') {
						$field ='Trimestre'  || 'extract(quarter from $prefixe)' || ' '  || 'extract(year from $prefixe)';
					} else if (substr($GROUPBY, 3, 3) == 'CLS' && $prefixe != $DEFAULT) {
						$section = substr($GROUPBY, 6);
						$field = "$prefixe" . "_texte[" . $section . "]";
					}
                    else {
                        switch ($prefixe) {
                            case "":
                                $field = "''";
                                break;
                            case "*TAB":

                                $field = "'Résumé'";
                                break;
                            case "article_ref_fournisseur":
                                $field = "article_texte_fournisseur";
                                break;
                            case "ligne_commande":
                                $field = "article_code || ' ' || CASE WHEN article_texte_specifique <> '' THEN article_texte_specifique ELSE article_texte END";
                                break;
                            case "provider":
                                $field = "provider_texte";
                                break;
                             case "pole":
                                $field = "pole_texte";
                                break;
                            default:
                                $field = $prefixe . "_texte";
                        }
                    }

					return $field;
				}


				function ECO_standard_field_select($field_prefixe, $table_name, $selected_value, $field2_prefixe="") {
					$select = "";

					if ($selected_value != '-1' && $selected_value != '') {
						$mode = substr($selected_value,0,2);
						$oid = $selected_value;

						// Spécial ATC (plusieurs niveaux)
						if ($table_name == "t_classification_atc") {
							if ($mode == "D1") {
								$field_prefixe = "classification_atc_1";
								$mode = 'DT';
							}
							if ($mode == "D2") {
								$field_prefixe = "classification_atc_2";
								$mode = 'DT';
							}
							if ($mode == "D3") {
								$field_prefixe = "classification_atc_3";
								$mode = 'DT';
							}
							if ($mode == "D4") {
								$field_prefixe = "classification_atc_4";
								$mode = 'DT';
							}
						}

						//
						if ($mode == 'LS') {
							$section = substr($selected_value,2,2);
							$oid = substr($selected_value,4);
						}
						if ($mode != 'LI' && $mode != 'SL' && $mode != 'LS' && $mode != 'C*' && $mode != 'H*' && $mode != 'T*' ) {
							if ($mode != 'D2') {
								$mode = 'DT';
							}
							$oid = substr($selected_value,2);
						}
						if ($mode == 'LI' || $mode == 'SL') {$oid = substr($selected_value,2);}
						if ($mode == 'C*') {
							$where_codes = sql_codes_list_a(substr($selected_value,2), 'code');
						}
						if ($mode == 'T*') {
							$texte_like = substr($selected_value,2);
							if (substr($texte_like,0,1) != "%" &&
								substr($texte_like,-1,1) != "%") {
								$texte_like = "%$texte_like%";
							}
						}

						$subselect_select = '';

						$field_id = $field_prefixe . "_id";
						$field2_id = $field2_prefixe . "_id";
						$field_section_id = $field_prefixe . "_section_id[" . $section . "]";

						if ($mode == 'LI') {$subselect_select = " $field_id = ANY (array(SELECT to_id FROM eco.t_listes_contenu WHERE liste_id = $oid)::bigint[])";}
						if ($mode == 'SL') {$subselect_select = " $field_id != ALL (array(SELECT to_id FROM eco.t_listes_contenu WHERE liste_id = $oid)::bigint[])";}
						if ($mode == 'LS') {$subselect_select = " $field_section_id = $oid";}
						if ($mode == 'DT') {$subselect_select = " $field_id = $oid";}
						if ($mode == 'D2') {$subselect_select = " $field2_id = $oid";}
						if ($mode == 'C*') {
							if ($table_name != 'v_ref_article_fournisseur_1') {
								$subselect_select = " $field_id = ANY (array(SELECT oid FROM eco.$table_name WHERE $where_codes AND oid != 0)::bigint[])";
							}
							else {
								$subselect_select = " ref_article_fournisseur_oid = ANY (array(SELECT ref_article_fournisseur_oid FROM eco.$table_name WHERE ".sql_codes_list_a(substr($selected_value,2), 'ref_article_fournisseur_code')." )::bigint[]) AND fournisseur_id = ref_article_fournisseur_id";
							}
						}
						if ($mode == 'H*') {$subselect_select = " $field_id = 0";}
						if ($mode == 'T*')if ($table_name != 'v_ref_article_fournisseur_1') {
								$subselect_select = " $field_id = ANY (array(SELECT oid FROM eco.$table_name WHERE texte ILIKE '$texte_like')::bigint[])";
							}
							else {
								$subselect_select = " ref_article_fournisseur_oid = ANY (array(SELECT ref_article_fournisseur_oid FROM eco.$table_name WHERE ref_article_fournisseur_texte ILIKE '$texte_like')::bigint[]) AND fournisseur_id = ref_article_fournisseur_id";
							}

						if ($subselect_select != '') {$select = " AND $subselect_select ";}
					}

					return $select;
				}
                // ?>
			]]>
		</value>

	</COMPONENT>


	<COMPONENT name="FILTRES_DTA_SELECTIONS" label="Données" >
		<SELECTIONS label="Données" displayText="">

			<GROUP label="Données">
				<FIELD visible="= VIEW.VIEWTYPE == 'EVOL' || VIEW.VIEWTYPE == 'CROSS'" name="DATA" tree="true" label="" width="250" UI="combo" default="*DFT"  >
					<OPTION dataLink="DATACOLXXX" dataField="cod" labelField="txt" treeLevelField="lvl" conditionField="cnd" contexteField="cont" viewType="vtype" aliasField="alias" />
				</FIELD>
			</GROUP>
			<GROUP label="Données">
				<FIELD visible="= (VIEW.VIEWTYPE == 'ANZ' || VIEW.VIEWTYPE == 'COMP' || VIEW.VIEWTYPE == 'EVOLCOMP' || VIEW.VIEWTYPE == 'JUSTIF')" name="DATACOL" label="" width="300" UI="combo" default="*DFT" tree="true" >
					<OPTION label="Saisie libre" data="*"/>
					<OPTION label="Données" dataLink="DATACOL" dataField="cod" labelField="txt" treeLevelField="lvl" conditionField="cnd" contexteField="cont" viewType="vtype" aliasField="alias" />
				</FIELD>
			</GROUP>
			<GROUP label=" ">
				<FIELD name="DATACOL001" label="" width="300" UI="combo" default="*DFT" tree="true" visible="= (VIEW.VIEWTYPE == 'ANZ' || VIEW.VIEWTYPE == 'COMP' || VIEW.VIEWTYPE == 'EVOLCOMP' || VIEW.VIEWTYPE == 'JUSTIF') &amp;&amp; (SELECT.DATACOL == '*') " >
					<OPTION label="" data="-1" condition="VIEW.VIEWTYPE == 'JUSTIF'"/>
					<OPTION dataLink="DATACOLXXX" dataField="cod" labelField="txt" treeLevelField="lvl" conditionField="cnd" contexteField="cont" viewType="vtype" aliasField="alias" />
				</FIELD>
				<FIELD name="DATACOL002" label="" width="300" UI="combo" default="-1" tree="true" visible="= (VIEW.VIEWTYPE == 'ANZ' || VIEW.VIEWTYPE == 'COMP' || VIEW.VIEWTYPE == 'EVOLCOMP' || VIEW.VIEWTYPE == 'JUSTIF') &amp;&amp; (SELECT.DATACOL == '*' || VIEW.VIEWTYPE == 'JUSTIF')  &amp;&amp; (SELECT.DATACOL001 != '-1' || SELECT.DATACOL002 != '-1') &amp;&amp; (SELECT.DATACOL == '*') " >
					<OPTION label="" data="-1"/>
					<OPTION dataLink="DATACOLXXX" dataField="cod" labelField="txt" treeLevelField="lvl" conditionField="cnd" contexteField="cont" viewType="vtype" aliasField="alias" />
				</FIELD>
				<FIELD name="DATACOL003" label="" width="300" UI="combo" default="-1" tree="true" visible="= (VIEW.VIEWTYPE == 'ANZ' || VIEW.VIEWTYPE == 'COMP' || VIEW.VIEWTYPE == 'EVOLCOMP' || VIEW.VIEWTYPE == 'JUSTIF') &amp;&amp; (SELECT.DATACOL == '*' || VIEW.VIEWTYPE == 'JUSTIF')  &amp;&amp; (SELECT.DATACOL002 != '-1' || SELECT.DATACOL003 != '-1') &amp;&amp; (SELECT.DATACOL == '*') " >
					<OPTION label="" data="-1"/>
					<OPTION dataLink="DATACOLXXX" dataField="cod" labelField="txt" treeLevelField="lvl" conditionField="cnd" contexteField="cont" viewType="vtype" aliasField="alias" />
				</FIELD>
			</GROUP>
			<GROUP label=" ">
				<FIELD name="DATACOL004" label="" width="300" UI="combo" default="-1" tree="true" visible="= (VIEW.VIEWTYPE == 'ANZ' || VIEW.VIEWTYPE == 'COMP' || VIEW.VIEWTYPE == 'EVOLCOMP' || VIEW.VIEWTYPE == 'JUSTIF') &amp;&amp; (SELECT.DATACOL == '*' || VIEW.VIEWTYPE == 'JUSTIF') &amp;&amp; (SELECT.DATACOL003 != '-1' || SELECT.DATACOL004 != '-1') &amp;&amp; (SELECT.DATACOL == '*') " >
					<OPTION label="" data="-1"/>
					<OPTION dataLink="DATACOLXXX" dataField="cod" labelField="txt" treeLevelField="lvl" conditionField="cnd" contexteField="cont" viewType="vtype" aliasField="alias" />
				</FIELD>
				<FIELD name="DATACOL005" label="" width="300" UI="combo" default="-1" tree="true" visible="= (VIEW.VIEWTYPE == 'ANZ' || VIEW.VIEWTYPE == 'COMP' || VIEW.VIEWTYPE == 'EVOLCOMP' || VIEW.VIEWTYPE == 'JUSTIF') &amp;&amp; (SELECT.DATACOL == '*' || VIEW.VIEWTYPE == 'JUSTIF') &amp;&amp; (SELECT.DATACOL004 != '-1' || SELECT.DATACOL005 != '-1') &amp;&amp; (SELECT.DATACOL == '*') " >
					<OPTION label="" data="-1"/>
					<OPTION dataLink="DATACOLXXX" dataField="cod" labelField="txt" treeLevelField="lvl" conditionField="cnd" contexteField="cont" viewType="vtype" aliasField="alias" />
				</FIELD>
				<FIELD name="DATACOL006" label="" width="300" UI="combo" default="-1" tree="true" visible="= (VIEW.VIEWTYPE == 'ANZ' || VIEW.VIEWTYPE == 'COMP' || VIEW.VIEWTYPE == 'EVOLCOMP' || VIEW.VIEWTYPE == 'JUSTIF') &amp;&amp; (SELECT.DATACOL == '*' || VIEW.VIEWTYPE == 'JUSTIF') &amp;&amp; (SELECT.DATACOL005 != '-1' || SELECT.DATACOL006 != '-1') &amp;&amp; (SELECT.DATACOL == '*') " >
					<OPTION label="" data="-1"/>
					<OPTION dataLink="DATACOLXXX" dataField="cod" labelField="txt" treeLevelField="lvl" conditionField="cnd" contexteField="cont" viewType="vtype" aliasField="alias" />
				</FIELD>
			</GROUP>
			<GROUP label=" ">
				<FIELD name="DATACOL007" label="" width="300" UI="combo" default="-1" tree="true" visible="= (VIEW.VIEWTYPE == 'ANZ' || VIEW.VIEWTYPE == 'COMP' || VIEW.VIEWTYPE == 'EVOLCOMP' || VIEW.VIEWTYPE == 'JUSTIF') &amp;&amp; (SELECT.DATACOL == '*' || VIEW.VIEWTYPE == 'JUSTIF') &amp;&amp; (SELECT.DATACOL006 != '-1' || SELECT.DATACOL007 != '-1') &amp;&amp; (SELECT.DATACOL == '*') " >
					<OPTION label="" data="-1"/>
					<OPTION dataLink="DATACOLXXX" dataField="cod" labelField="txt" treeLevelField="lvl" conditionField="cnd" contexteField="cont" viewType="vtype" aliasField="alias" />
				</FIELD>
				<FIELD name="DATACOL008" label="" width="300" UI="combo" default="-1" tree="true" visible="= (VIEW.VIEWTYPE == 'ANZ' || VIEW.VIEWTYPE == 'COMP' || VIEW.VIEWTYPE == 'EVOLCOMP' || VIEW.VIEWTYPE == 'JUSTIF') &amp;&amp; (SELECT.DATACOL == '*' || VIEW.VIEWTYPE == 'JUSTIF') &amp;&amp; (SELECT.DATACOL007 != '-1' || SELECT.DATACOL008 != '-1') &amp;&amp; (SELECT.DATACOL == '*') " >
					<OPTION label="" data="-1"/>
					<OPTION dataLink="DATACOLXXX" dataField="cod" labelField="txt" treeLevelField="lvl" conditionField="cnd" contexteField="cont" viewType="vtype" aliasField="alias" />
				</FIELD>
				<FIELD name="DATACOL009" label="" width="300" UI="combo" default="-1" tree="true" visible="= (VIEW.VIEWTYPE == 'ANZ' || VIEW.VIEWTYPE == 'COMP' || VIEW.VIEWTYPE == 'EVOLCOMP' || VIEW.VIEWTYPE == 'JUSTIF') &amp;&amp; (SELECT.DATACOL == '*' || VIEW.VIEWTYPE == 'JUSTIF') &amp;&amp; (SELECT.DATACOL008 != '-1' || SELECT.DATACOL009 != '-1') &amp;&amp; (SELECT.DATACOL == '*') " >
					<OPTION label="" data="-1"/>
					<OPTION dataLink="DATACOLXXX" dataField="cod" labelField="txt" treeLevelField="lvl" conditionField="cnd" contexteField="cont" viewType="vtype" aliasField="alias" />
				</FIELD>
			</GROUP>
			<GROUP label=" ">
				<FIELD name="DATACOL010" label="" width="300" UI="combo" default="-1" tree="true" visible="= (VIEW.VIEWTYPE == 'ANZ' || VIEW.VIEWTYPE == 'COMP' || VIEW.VIEWTYPE == 'EVOLCOMP' || VIEW.VIEWTYPE == 'JUSTIF') &amp;&amp; (SELECT.DATACOL == '*' || VIEW.VIEWTYPE == 'JUSTIF') &amp;&amp; (SELECT.DATACOL009 != '-1' || SELECT.DATACOL010 != '-1') &amp;&amp; (SELECT.DATACOL == '*') " >
					<OPTION label="" data="-1"/>
					<OPTION dataLink="DATACOLXXX" dataField="cod" labelField="txt" treeLevelField="lvl" conditionField="cnd" contexteField="cont" viewType="vtype" aliasField="alias" />
				</FIELD>
				<FIELD name="DATACOL011" label="" width="300" UI="combo" default="-1" tree="true" visible="= (VIEW.VIEWTYPE == 'ANZ' || VIEW.VIEWTYPE == 'COMP' || VIEW.VIEWTYPE == 'EVOLCOMP' || VIEW.VIEWTYPE == 'JUSTIF') &amp;&amp; (SELECT.DATACOL == '*' || VIEW.VIEWTYPE == 'JUSTIF') &amp;&amp; (SELECT.DATACOL010 != '-1' || SELECT.DATACOL011 != '-1') &amp;&amp; (SELECT.DATACOL == '*') " >
					<OPTION label="" data="-1"/>
					<OPTION dataLink="DATACOLXXX" dataField="cod" labelField="txt" treeLevelField="lvl" conditionField="cnd" contexteField="cont" viewType="vtype" aliasField="alias" />
				</FIELD>
				<FIELD name="DATACOL012" label="" width="300" UI="combo" default="-1" tree="true" visible="= (VIEW.VIEWTYPE == 'ANZ' || VIEW.VIEWTYPE == 'COMP' || VIEW.VIEWTYPE == 'EVOLCOMP' || VIEW.VIEWTYPE == 'JUSTIF') &amp;&amp; (SELECT.DATACOL == '*' || VIEW.VIEWTYPE == 'JUSTIF') &amp;&amp; (SELECT.DATACOL011 != '-1' || SELECT.DATACOL012 != '-1') &amp;&amp; (SELECT.DATACOL == '*') " >
					<OPTION label="" data="-1"/>
					<OPTION dataLink="DATACOLXXX" dataField="cod" labelField="txt" treeLevelField="lvl" conditionField="cnd" contexteField="cont" viewType="vtype" aliasField="alias" />
				</FIELD>
			</GROUP>
			<GROUP label=" ">
				<FIELD name="DATACOL013" label="" width="300" UI="combo" default="-1" tree="true" visible="= (VIEW.VIEWTYPE == 'ANZ' || VIEW.VIEWTYPE == 'COMP' || VIEW.VIEWTYPE == 'EVOLCOMP' || VIEW.VIEWTYPE == 'JUSTIF') &amp;&amp; (SELECT.DATACOL == '*' || VIEW.VIEWTYPE == 'JUSTIF') &amp;&amp; (SELECT.DATACOL012 != '-1' || SELECT.DATACOL013 != '-1') &amp;&amp; (SELECT.DATACOL == '*') " >
					<OPTION label="" data="-1"/>
					<OPTION dataLink="DATACOLXXX" dataField="cod" labelField="txt" treeLevelField="lvl" conditionField="cnd" contexteField="cont" viewType="vtype" aliasField="alias" />
				</FIELD>
				<FIELD name="DATACOL014" label="" width="300" UI="combo" default="-1" tree="true" visible="= (VIEW.VIEWTYPE == 'ANZ' || VIEW.VIEWTYPE == 'COMP' || VIEW.VIEWTYPE == 'EVOLCOMP' || VIEW.VIEWTYPE == 'JUSTIF') &amp;&amp; (SELECT.DATACOL == '*' || VIEW.VIEWTYPE == 'JUSTIF') &amp;&amp; (SELECT.DATACOL013 != '-1' || SELECT.DATACOL014 != '-1') &amp;&amp; (SELECT.DATACOL == '*') " >
					<OPTION label="" data="-1"/>
					<OPTION dataLink="DATACOLXXX" dataField="cod" labelField="txt" treeLevelField="lvl" conditionField="cnd" contexteField="cont" viewType="vtype" aliasField="alias" />
				</FIELD>
				<FIELD name="DATACOL015" label="" width="300" UI="combo" default="-1" tree="true" visible="= (VIEW.VIEWTYPE == 'ANZ' || VIEW.VIEWTYPE == 'COMP' || VIEW.VIEWTYPE == 'EVOLCOMP' || VIEW.VIEWTYPE == 'JUSTIF') &amp;&amp; (SELECT.DATACOL == '*' || VIEW.VIEWTYPE == 'JUSTIF') &amp;&amp; (SELECT.DATACOL014 != '-1' || SELECT.DATACOL015 != '-1') &amp;&amp; (SELECT.DATACOL == '*') " >
					<OPTION label="" data="-1"/>
					<OPTION dataLink="DATACOLXXX" dataField="cod" labelField="txt" treeLevelField="lvl" conditionField="cnd" contexteField="cont" viewType="vtype" aliasField="alias" />
				</FIELD>
			</GROUP>
		</SELECTIONS>
		<QUERIES>
			<QUERY type="comboLink" name="DATACOLXXX" >
				<SQL select="SELECT code, texte, level, condition, contexte, viewtype, alias FROM eco.v_data_3" >
					<FIELDS>
						<FIELD name="cod" />
						<FIELD name="txt" />
						<FIELD name="lvl" />
						<FIELD name="cnd" />
						<FIELD name="cont" />
						<FIELD name="vtype" />
						<FIELD name="alias" />
					</FIELDS>
				</SQL>
			</QUERY>
			<QUERY type="comboLink" name="DATACOL" >
				<SQL select="SELECT code, texte, '1', condition, contexte, viewtype, alias AS level FROM eco.v_datacol_2 " >
					<FIELDS>
						<FIELD name="cod" />
						<FIELD name="txt" />
						<FIELD name="lvl" />
						<FIELD name="cnd" />
						<FIELD name="cont" />
						<FIELD name="vtype" />
						<FIELD name="alias" />
					</FIELDS>
				</SQL>
			</QUERY>
		</QUERIES>
	</COMPONENT>

	<COMPONENT name="FILTRES_INDICATEUR" label="Données" >
		<SELECTIONS label="Filtre Indicateur" collapsible="true" displayText="= var display:String = '';

					if (SELECT.DATA01  != '-1') {
						display = display + '  #B#Indicateur:#/B# ' + SELECT.DATA01_LABEL;
					}
					return display;" showIfNotDefault="true">

			<GROUP label="">
				<FIELD name="DATA01" label="Indicateur" width="300" UI="combo" default="*DFT" tree="true" visible="false">
					<OPTION label="" data="-1"/>
					<OPTION dataLink="DATACOLXXX" dataField="cod" labelField="txt" treeLevelField="lvl" conditionField="cnd" contexteField="cont" viewType="vtype" aliasField="alias" />
				</FIELD>
			</GROUP>
		</SELECTIONS>
	</COMPONENT>


	<COMPONENT name="QUERIES_COL" label="Query pour récupération des colonnes" >
		<QUERY type="propertiesLink" name="DATA_VIEWPROPERTIES" forSelections="false" forRows="true">
			<SQL>
				<select>
					<![CDATA[

						SELECT * FROM eco.cti_get_columns_from_indicateurs(
						'
						[VIEWNAME=' ||
							CASE '[VIEW.VIEWTYPE]'
							WHEN 'EVOL' THEN '*'
							WHEN 'CROSS' THEN '*'
							ELSE '[DATACOL]' END ||']
						[COLUMNS=' ||
							CASE '[VIEW.VIEWTYPE]'
							WHEN 'EVOL' THEN '[DATA]'
							WHEN 'CROSS' THEN '[DATA]'
							ELSE '[DATACOL001]|[DATACOL002]|[DATACOL003]|[DATACOL004]|[DATACOL005]|[DATACOL006]|[DATACOL007]|[DATACOL008]|[DATACOL009]|[DATACOL010]|[DATACOL011]|[DATACOL012]||[DATACOL013]|[DATACOL014]|[DATACOL015]' END ||']
						[FILTER_IND=[DATA01]]
						[CONTEXTE=[VIEW.CONTEXTE]]
						[VIEWTYPE=[VIEW.VIEWTYPE]]
						[SQL_GROUPBY_OID_FIELD=' || CASE WHEN '[VIEW.VIEWTYPE]' = 'EVOLCOMP' THEN 'link_date_aaa_id'    ELSE CASE WHEN '[GROUPBY]' != '-1' THEN '[VIEW.GROUPBY_OID_FIELD]' ELSE '[VIEW.GROUPBY_2_OID_FIELD]' END END ||']
						[SQL_GROUPBY_COD_FIELD=' || CASE WHEN '[VIEW.VIEWTYPE]' = 'EVOLCOMP' THEN 'link_date_aaa_code'  ELSE CASE WHEN '[GROUPBY]' != '-1' THEN '[DOUBLEQUOTES([VIEW.GROUPBY_COD_FIELD])DOUBLEQUOTES]' ELSE '[DOUBLEQUOTES([VIEW.GROUPBY_2_COD_FIELD])DOUBLEQUOTES]' END END ||']
						[SQL_GROUPBY_TXT_FIELD=' || CASE WHEN '[VIEW.VIEWTYPE]' = 'EVOLCOMP' THEN 'link_date_aaa_texte' ELSE CASE WHEN '[GROUPBY]' != '-1' THEN '[DOUBLEQUOTES([VIEW.GROUPBY_TXT_FIELD])DOUBLEQUOTES]' ELSE '[DOUBLEQUOTES([VIEW.GROUPBY_2_TXT_FIELD])DOUBLEQUOTES]' END END ||']
						[SQL_GROUPBY_2_OID_FIELD=' || CASE WHEN '[VIEW.VIEWTYPE]' = 'EVOLCOMP' THEN '[VIEW.GROUPBY_OID_FIELD]' 							   ELSE CASE WHEN '[GROUPBY]' != '-1' THEN '[VIEW.GROUPBY_2_OID_FIELD]' ELSE '0' END END ||']
						[SQL_GROUPBY_2_COD_FIELD=' || CASE WHEN '[VIEW.VIEWTYPE]' = 'EVOLCOMP' THEN '[DOUBLEQUOTES([VIEW.GROUPBY_COD_FIELD])DOUBLEQUOTES]' ELSE CASE WHEN '[GROUPBY]' != '-1' THEN '[DOUBLEQUOTES([VIEW.GROUPBY_2_COD_FIELD])DOUBLEQUOTES]' ELSE '''''' END END ||']
						[SQL_GROUPBY_2_TXT_FIELD=' || CASE WHEN '[VIEW.VIEWTYPE]' = 'EVOLCOMP' THEN '[DOUBLEQUOTES([VIEW.GROUPBY_TXT_FIELD])DOUBLEQUOTES]' ELSE CASE WHEN '[GROUPBY]' != '-1' THEN '[DOUBLEQUOTES([VIEW.GROUPBY_2_TXT_FIELD])DOUBLEQUOTES]' ELSE '''''' END END ||']
						[SQL_GROUPBY_3_OID_FIELD=' || CASE WHEN '[VIEW.VIEWTYPE]' = 'EVOLCOMP' THEN '[VIEW.GROUPBY_2_OID_FIELD]' WHEN '[VIEW.VIEWTYPE]' = 'JUSTIF' THEN '0' ELSE '[VIEW.GROUPBY_3_OID_FIELD]' END ||']
						[SQL_GROUPBY_3_COD_FIELD=' || CASE WHEN '[VIEW.VIEWTYPE]' = 'EVOLCOMP' THEN '[DOUBLEQUOTES([VIEW.GROUPBY_2_COD_FIELD])DOUBLEQUOTES]' WHEN '[VIEW.VIEWTYPE]' = 'JUSTIF' THEN ''''''   ELSE '[DOUBLEQUOTES([VIEW.GROUPBY_3_COD_FIELD])DOUBLEQUOTES]' END ||']
						[SQL_GROUPBY_3_TXT_FIELD=' || CASE WHEN '[VIEW.VIEWTYPE]' = 'EVOLCOMP' THEN '[DOUBLEQUOTES([VIEW.GROUPBY_2_TXT_FIELD])DOUBLEQUOTES]' WHEN '[VIEW.VIEWTYPE]' = 'JUSTIF' THEN ''''''   ELSE '[DOUBLEQUOTES([VIEW.GROUPBY_3_TXT_FIELD])DOUBLEQUOTES]' END ||']
						[SQL_GROUPBY1MODE=[GROUPBY_TAB]]
						[SQL_COLUMNBY_OID_FIELD=' || CASE WHEN '[VIEW.VIEWTYPE]' = 'CROSS' THEN '[DOUBLEQUOTES([VIEW.COLUMNBY_OID_FIELD])DOUBLEQUOTES]' ELSE 'link_date_mmm_id' END ||']
						[SQL_COLUMNBY_COD_FIELD=' || CASE WHEN '[VIEW.VIEWTYPE]' = 'CROSS' THEN '[DOUBLEQUOTES([VIEW.COLUMNBY_COD_FIELD])DOUBLEQUOTES]' ELSE 'link_date_mmm_code' END ||']
						[SQL_COLUMNBY_TXT_FIELD=' || CASE WHEN '[VIEW.VIEWTYPE]' = 'CROSS' THEN '[DOUBLEQUOTES([VIEW.COLUMNBY_TXT_FIELD])DOUBLEQUOTES]' ELSE 'link_date_mmm_texte' END ||']
						[SQL_COLUMNBY=[PERIODICITE]]
						[SQL_COLUMNBY_COUNT=' || CASE WHEN '[VIEW.VIEWTYPE]' = 'EVOL' THEN '31' WHEN '[VIEW.VIEWTYPE]' = 'EVOLCOMP' THEN '19' ELSE '[COLUMNBYCOUNT]' END ||']
						[SQL_COLUMNBY_OPTION=[VIEW.COLUMN_OPTION]]
						[SQL_COMP_TYPE=' || CASE WHEN '[VIEW.VIEWTYPE]' <> 'EVOLCOMP' THEN '[TYPE_COMPARAISON]' ELSE '[TYPE_COMPARAISON_EVOLCOMP]' END ||']
						[SQL_COMP_LASTMONTH=[LASTMONTH_OPTION]]
						[SQL_NOTZERO=' || CASE WHEN '[VIEW.VIEWTYPE]' <> 'EVOLCOMP' THEN '1' ELSE '0' END ||']
						[SQL_NOTTOTAL=' || CASE WHEN '[VIEW.VIEWTYPE]' <> 'EVOLCOMP' THEN '0' ELSE '1' END ||']
						[SQL_WHERE_PERIODE=[PERIODE]]
						[SQL_WHERE_TOPERIODE=[TOPERIODE]]
						[SQL_WHERE_PERIODE_D=[PERIODE_D]]
						[SQL_WHERE_TOPERIODE_D=[TOPERIODE_D]]
						[SQL_WHERE_FILTER=
							[DOUBLEQUOTES([VIEW.ARTICLE_SELECT]
							[VIEW.FOURNISSEUR_SELECT]
							[VIEW.MOUVEMENT_SELECT]
							[VIEW.PROVIDER_SELECT]
							[VIEW.COMMANDE_SELECT])DOUBLEQUOTES]
						]
						
						') AS (name text, value text)
						WHERE '[VIEW.VIEWMODE]' <> 'SPE' 							
					
						
					]]>
				</select>
				<FIELDS>
					<FIELD name="name" />
					<FIELD name="value" />
				</FIELDS>
			</SQL>
		</QUERY>

	</COMPONENT>

	<COMPONENT name="QUERIES_ANZ" label="Query pour analyse" >
		<QUERY label="">
			<SQL optimizer="" >
				<select><![CDATA[		
						[VIEW.SQLCORPS-INIT]
				]]></select>
			</SQL>
			<SQL enabled="= '[VIEW.DB_QCOLUMNS-MVT#1]' == '1'" optimizer="V_MOUVEMENTS_ARTICLES_X" optimizer2="V_ALL_X" >
				<select><![CDATA[		
					[VIEW.SQLCORPS-MVT#1] 
				]]></select>
			</SQL>
			<SQL enabled="= '[VIEW.DB_QCOLUMNS-CMD#2]' == '1'" optimizer="V_LIGNES_COMMANDES_X" optimizer2="V_ALL_X" >
				<select><![CDATA[		
					[VIEW.SQLCORPS-CMD#2] 
				]]></select>
			</SQL>
			<SQL enabled="= '[VIEW.DB_QCOLUMNS-CMD#3]' == '1'" optimizer="V_LIGNES_COMMANDES_X" optimizer2="V_ALL_X" >
				<select><![CDATA[		
					[VIEW.SQLCORPS-CMD#3] 
				]]></select>
			</SQL>
			<SQL enabled="= '[VIEW.DB_QCOLUMNS-STK#4]' == '1'" optimizer="V_STOCK_MENSUEL_X" optimizer2="V_ALL_X" >
				<select><![CDATA[		
					[VIEW.SQLCORPS-STK#4] 
				]]></select>
			</SQL>
			<SQL enabled="= '[VIEW.DB_QCOLUMNS-MVS#5]' == '1'" optimizer="V_MOUVEMENTS_ARTICLES_X" optimizer2="V_ALL_X" >
				<select><![CDATA[		
					[VIEW.SQLCORPS-MVS#5] 
				]]></select>
			</SQL>

			<SQL  >
				<select><![CDATA[		
					[VIEW.SQLCORPS-FINALIZE]
					;
				]]></select>
				<FIELDS>
					<FIELD name="TABD"/>
					<FIELD name="TABDL"/>
					<FIELD name="TABDLL"/>

					<FIELD name="OID1"/>
					<FIELD name="COD1"/>
					<FIELD name="OID2"/>
					<FIELD name="COD2"/>
					<FIELD name="OID3"/>
					<FIELD name="COD3"/>
					<FIELD name="OID"/>
					<FIELD name="COD"/>
					<FIELD name="TXT"/>
					<FIELD name="LVL"/>

					<FIELD name="SORT" />

					<FIELD name="NB0001"/>
					<FIELD name="NB0002"/>
					<FIELD name="NB0003"/>
					<FIELD name="NB0004"/>
					<FIELD name="NB0005"/>
					<FIELD name="NB0006"/>
					<FIELD name="NB0007"/>
					<FIELD name="NB0008"/>
					<FIELD name="NB0009"/>
					<FIELD name="NB0010"/>
					<FIELD name="NB0011"/>
					<FIELD name="NB0012"/>
					<FIELD name="NB0013"/>
					<FIELD name="NB0014"/>
					<FIELD name="NB0015"/>
					<FIELD name="NB0016"/>
					<FIELD name="NB0017"/>
					<FIELD name="NB0018"/>
					<FIELD name="NB0019"/>
					<FIELD name="NB0020"/>
					<FIELD name="NB0021"/>
					<FIELD name="NB0022"/>
					<FIELD name="NB0023"/>
					<FIELD name="NB0024"/>
					<FIELD name="NB0025"/>
					<FIELD name="NB0026"/>
					<FIELD name="NB0027"/>
					<FIELD name="NB0028"/>
					<FIELD name="NB0029"/>
					<FIELD name="NB0030"/>

					<FIELD name="TX0001"/>
					<FIELD name="TX0002"/>
					<FIELD name="TX0003"/>
					<FIELD name="TX0004"/>
					<FIELD name="TX0005"/>
					<FIELD name="TX0006"/>
					<FIELD name="TX0007"/>
					<FIELD name="TX0008"/>
					<FIELD name="TX0009"/>
					<FIELD name="TX0010"/>
					<FIELD name="TX0011"/>
					<FIELD name="TX0012"/>
					<FIELD name="TX0013"/>
					<FIELD name="TX0014"/>
					<FIELD name="TX0015"/>
					<FIELD name="TX0016"/>
					<FIELD name="TX0017"/>
					<FIELD name="TX0018"/>
					<FIELD name="TX0019"/>
					<FIELD name="TX0020"/>
					<FIELD name="TX0021"/>
					<FIELD name="TX0022"/>
					<FIELD name="TX0023"/>
					<FIELD name="TX0024"/>
					<FIELD name="TX0025"/>
					<FIELD name="TX0026"/>
					<FIELD name="TX0027"/>
					<FIELD name="TX0028"/>
					<FIELD name="TX0029"/>
					<FIELD name="TX0030"/>
				</FIELDS>
			</SQL>
		</QUERY>
	</COMPONENT>

	<COMPONENT name="QUERIES_JUSTIF" label="Query pour justificatif" >
		<QUERY label="">
			<SQL optimizer="" >
				<select><![CDATA[		
						[VIEW.SQLCORPS-INIT]
				]]></select>
			</SQL>
			<SQL enabled="= '[VIEW.DB_QCOLUMNS-MVT#1]' == '1'" optimizer="V_MOUVEMENTS_ARTICLES_X" optimizer2="V_ALL_X" >
				<select><![CDATA[		
					[VIEW.SQLCORPS-MVT#1] 
				]]></select>
			</SQL>
			<SQL enabled="= '[VIEW.DB_QCOLUMNS-CMD#2]' == '1'" optimizer="V_LIGNES_COMMANDES_X" optimizer2="V_ALL_X" >
				<select><![CDATA[		
					[VIEW.SQLCORPS-CMD#2] 
				]]></select>
			</SQL>
			<SQL enabled="= '[VIEW.DB_QCOLUMNS-CMD#3]' == '1'" optimizer="V_LIGNES_COMMANDES_X" optimizer2="V_ALL_X" >
				<select><![CDATA[		
					[VIEW.SQLCORPS-CMD#3] 
				]]></select>
			</SQL>
			<SQL enabled="= '[VIEW.DB_QCOLUMNS-STK#4]' == '1'" optimizer="V_STOCK_MENSUEL_X" optimizer2="V_ALL_X" >
				<select><![CDATA[		
					[VIEW.SQLCORPS-STK#4] 
				]]></select>
			</SQL>

			<SQL  >
				<select><![CDATA[		
					[VIEW.SQLCORPS-FINALIZE]
					;
				]]></select>
				<FIELDS>
					<FIELD name="TABD"/>
					<FIELD name="TABDL"/>
					<FIELD name="TABDLL"/>

					<FIELD name="OID1"/>
					<FIELD name="COD1"/>
					<FIELD name="OID2"/>
					<FIELD name="COD2"/>
					<FIELD name="OID3"/>
					<FIELD name="COD3"/>
					<FIELD name="OID"/>
					<FIELD name="COD"/>
					<FIELD name="TXT"/>
					<FIELD name="LVL"/>

					<FIELD name="SORT" />

					<FIELD name="NB0001"/>
					<FIELD name="NB0002"/>
					<FIELD name="NB0003"/>
					<FIELD name="NB0004"/>
					<FIELD name="NB0005"/>
					<FIELD name="NB0006"/>
					<FIELD name="NB0007"/>
					<FIELD name="NB0008"/>
					<FIELD name="NB0009"/>
					<FIELD name="NB0010"/>
					<FIELD name="NB0011"/>
					<FIELD name="NB0012"/>
					<FIELD name="NB0013"/>
					<FIELD name="NB0014"/>
					<FIELD name="NB0015"/>
					<FIELD name="NB0016"/>
					<FIELD name="NB0017"/>
					<FIELD name="NB0018"/>
					<FIELD name="NB0019"/>
					<FIELD name="NB0020"/>
					<FIELD name="NB0021"/>
					<FIELD name="NB0022"/>
					<FIELD name="NB0023"/>
					<FIELD name="NB0024"/>
					<FIELD name="NB0025"/>
					<FIELD name="NB0026"/>
					<FIELD name="NB0027"/>
					<FIELD name="NB0028"/>
					<FIELD name="NB0029"/>
					<FIELD name="NB0030"/>

					<FIELD name="TX0001"/>
					<FIELD name="TX0002"/>
					<FIELD name="TX0003"/>
					<FIELD name="TX0004"/>
					<FIELD name="TX0005"/>
					<FIELD name="TX0006"/>
					<FIELD name="TX0007"/>
					<FIELD name="TX0008"/>
					<FIELD name="TX0009"/>
					<FIELD name="TX0010"/>
					<FIELD name="TX0011"/>
					<FIELD name="TX0012"/>
					<FIELD name="TX0013"/>
					<FIELD name="TX0014"/>
					<FIELD name="TX0015"/>
					<FIELD name="TX0016"/>
					<FIELD name="TX0017"/>
					<FIELD name="TX0018"/>
					<FIELD name="TX0019"/>
					<FIELD name="TX0020"/>
					<FIELD name="TX0021"/>
					<FIELD name="TX0022"/>
					<FIELD name="TX0023"/>
					<FIELD name="TX0024"/>
					<FIELD name="TX0025"/>
					<FIELD name="TX0026"/>
					<FIELD name="TX0027"/>
					<FIELD name="TX0028"/>
					<FIELD name="TX0029"/>
					<FIELD name="TX0030"/>
				</FIELDS>
			</SQL>
		</QUERY>
	</COMPONENT>

	<COMPONENT name="QUERIES_EVOL" label="Query pour evolution" >
		<QUERY label="">
			<SQL optimizer="" >
				<select><![CDATA[		
						[VIEW.SQLCORPS-INIT]
				]]></select>
			</SQL>
			<SQL optimizer="" >
				<select><![CDATA[		
						[VIEW.SQLCORPS-INIT]
				]]></select>
			</SQL>
			<SQL enabled="= '[VIEW.DB_QCOLUMNS-MVT#1]' == '1'" optimizer="V_MOUVEMENTS_ARTICLES_X" optimizer2="V_ALL_X" >
				<select><![CDATA[		
					[VIEW.SQLCORPS-MVT#1] 
				]]></select>
			</SQL>
			<SQL enabled="= '[VIEW.DB_QCOLUMNS-MVS#5]' == '1'" optimizer="V_MOUVEMENTS_ARTICLES_X" optimizer2="V_ALL_X" >
				<select><![CDATA[		
					[VIEW.SQLCORPS-MVS#5] 
				]]></select>
			</SQL>
			<SQL enabled="= '[VIEW.DB_QCOLUMNS-CMD#2]' == '1'" optimizer="V_LIGNES_COMMANDES_X" optimizer2="V_ALL_X" >
				<select><![CDATA[		
					[VIEW.SQLCORPS-CMD#2] 
				]]></select>
			</SQL>
			<SQL enabled="= '[VIEW.DB_QCOLUMNS-CMD#3]' == '1'" optimizer="V_LIGNES_COMMANDES_X" optimizer2="V_ALL_X" >
				<select><![CDATA[		
					[VIEW.SQLCORPS-CMD#3] 
				]]></select>
			</SQL>
			<SQL enabled="= '[VIEW.DB_QCOLUMNS-STK#4]' == '1'" optimizer="V_STOCK_MENSUEL_X" optimizer2="V_ALL_X" >
				<select><![CDATA[		
					[VIEW.SQLCORPS-STK#4] 
				]]></select>
			</SQL>

			<SQL  >
				<select><![CDATA[		
					[VIEW.SQLCORPS-FINALIZE]
					;
				]]></select>
				<FIELDS>
					<FIELD name="TABD"/>
					<FIELD name="TABDL"/>
					<FIELD name="TABDLL"/>
					<FIELD name="OID1"/>
					<FIELD name="COD1"/>
					<FIELD name="OID2"/>
					<FIELD name="COD2"/>
					<FIELD name="OID3"/>
					<FIELD name="COD3"/>
					<FIELD name="OID"/>
					<FIELD name="COD"/>
					<FIELD name="TXT"/>
					<FIELD name="LVL"/>

					<FIELD name="SORT" />

					<FIELD name="NB"/>

					<FIELD name="N00"/>
					<FIELD name="N01"/>
					<FIELD name="N02"/>
					<FIELD name="N03"/>
					<FIELD name="N04"/>
					<FIELD name="N05"/>
					<FIELD name="N06"/>
					<FIELD name="N07"/>
					<FIELD name="N08"/>
					<FIELD name="N09"/>
					<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>
	</COMPONENT>

	<COMPONENT name="QUERIES_COMP" label="Query pour comparaison" >
		<QUERY label="">
			<SQL optimizer="" >
				<select><![CDATA[		
						[VIEW.SQLCORPS-INIT]
				]]></select>
			</SQL>
			<SQL optimizer="" >
				<select><![CDATA[		
						[VIEW.SQLCORPS-INIT]
				]]></select>
			</SQL>
			<SQL enabled="= '[VIEW.DB_QCOLUMNS-MVT#1]' == '1'" optimizer="V_MOUVEMENTS_ARTICLES_X" optimizer2="V_ALL_X" >
				<select><![CDATA[		
					[VIEW.SQLCORPS-MVT#1] 
				]]></select>
			</SQL>
			<SQL enabled="= '[VIEW.DB_QCOLUMNS-MVS#5]' == '1'" optimizer="V_MOUVEMENTS_ARTICLES_X" optimizer2="V_ALL_X" >
				<select><![CDATA[		
					[VIEW.SQLCORPS-MVS#5] 
				]]></select>
			</SQL>
			<SQL enabled="= '[VIEW.DB_QCOLUMNS-CMD#2]' == '1'" optimizer="V_LIGNES_COMMANDES_X" optimizer2="V_ALL_X" >
				<select><![CDATA[		
					[VIEW.SQLCORPS-CMD#2] 
				]]></select>
			</SQL>
			<SQL enabled="= '[VIEW.DB_QCOLUMNS-CMD#3]' == '1'" optimizer="V_LIGNES_COMMANDES_X" optimizer2="V_ALL_X" >
				<select><![CDATA[		
					[VIEW.SQLCORPS-CMD#3] 
				]]></select>
			</SQL>
			<SQL enabled="= '[VIEW.DB_QCOLUMNS-STK#4]' == '1'" optimizer="V_STOCK_MENSUEL_X" optimizer2="V_ALL_X" >
				<select><![CDATA[		
					[VIEW.SQLCORPS-STK#4] 
				]]></select>
			</SQL>

			<SQL optimizer="" >
				<select><![CDATA[		
					[VIEW.SQLCORPS-FINALIZE]
					;
				]]></select>
				<FIELDS>
					<FIELD name="TABD"/>
					<FIELD name="TABDL"/>
					<FIELD name="TABDLL"/>
					<FIELD name="OID1"/>
					<FIELD name="COD1"/>
					<FIELD name="OID2"/>
					<FIELD name="COD2"/>
					<FIELD name="OID3"/>
					<FIELD name="COD3"/>
					<FIELD name="OID"/>
					<FIELD name="COD"/>
					<FIELD name="TXT"/>
					<FIELD name="LVL"/>

					<FIELD name="SORT" />

					<FIELD name="I001NP1" />
					<FIELD name="I001NP2" />
					<FIELD name="I001NP3" />
					<FIELD name="I001NP4" />
					<FIELD name="I001NM1" />
					<FIELD name="I001NM2" />
					<FIELD name="I001NM3" />
					<FIELD name="I001NM4" />
					<FIELD name="I001EP21" />
					<FIELD name="I001EP32" />
					<FIELD name="I001EP43" />
					<FIELD name="I001EM21" />
					<FIELD name="I001EM32" />
					<FIELD name="I001EM43" />
					<FIELD name="I001PP21" />
					<FIELD name="I001PP32" />
					<FIELD name="I001PP43" />
					<FIELD name="I001PM21" />
					<FIELD name="I001PM32" />
					<FIELD name="I001PM43" />

					<FIELD name="I002NP1" />
					<FIELD name="I002NP2" />
					<FIELD name="I002NP3" />
					<FIELD name="I002NP4" />
					<FIELD name="I002NM1" />
					<FIELD name="I002NM2" />
					<FIELD name="I002NM3" />
					<FIELD name="I002NM4" />
					<FIELD name="I002EP21" />
					<FIELD name="I002EP32" />
					<FIELD name="I002EP43" />
					<FIELD name="I002EM21" />
					<FIELD name="I002EM32" />
					<FIELD name="I002EM43" />
					<FIELD name="I002PP21" />
					<FIELD name="I002PP32" />
					<FIELD name="I002PP43" />
					<FIELD name="I002PM21" />
					<FIELD name="I002PM32" />
					<FIELD name="I002PM43" />

					<FIELD name="I003NP1" />
					<FIELD name="I003NP2" />
					<FIELD name="I003NP3" />
					<FIELD name="I003NP4" />
					<FIELD name="I003NM1" />
					<FIELD name="I003NM2" />
					<FIELD name="I003NM3" />
					<FIELD name="I003NM4" />
					<FIELD name="I003EP21" />
					<FIELD name="I003EP32" />
					<FIELD name="I003EP43" />
					<FIELD name="I003EM21" />
					<FIELD name="I003EM32" />
					<FIELD name="I003EM43" />
					<FIELD name="I003PP21" />
					<FIELD name="I003PP32" />
					<FIELD name="I003PP43" />
					<FIELD name="I003PM21" />
					<FIELD name="I003PM32" />
					<FIELD name="I003PM43" />

					<FIELD name="I004NP1" />
					<FIELD name="I004NP2" />
					<FIELD name="I004NP3" />
					<FIELD name="I004NP4" />
					<FIELD name="I004NM1" />
					<FIELD name="I004NM2" />
					<FIELD name="I004NM3" />
					<FIELD name="I004NM4" />
					<FIELD name="I004EP21" />
					<FIELD name="I004EP32" />
					<FIELD name="I004EP43" />
					<FIELD name="I004EM21" />
					<FIELD name="I004EM32" />
					<FIELD name="I004EM43" />
					<FIELD name="I004PP21" />
					<FIELD name="I004PP32" />
					<FIELD name="I004PP43" />
					<FIELD name="I004PM21" />
					<FIELD name="I004PM32" />
					<FIELD name="I004PM43" />

					<FIELD name="I005NP1" />
					<FIELD name="I005NP2" />
					<FIELD name="I005NP3" />
					<FIELD name="I005NP4" />
					<FIELD name="I005NM1" />
					<FIELD name="I005NM2" />
					<FIELD name="I005NM3" />
					<FIELD name="I005NM4" />
					<FIELD name="I005EP21" />
					<FIELD name="I005EP32" />
					<FIELD name="I005EP43" />
					<FIELD name="I005EM21" />
					<FIELD name="I005EM32" />
					<FIELD name="I005EM43" />
					<FIELD name="I005PP21" />
					<FIELD name="I005PP32" />
					<FIELD name="I005PP43" />
					<FIELD name="I005PM21" />
					<FIELD name="I005PM32" />
					<FIELD name="I005PM43" />

					<FIELD name="I006NP1" />
					<FIELD name="I006NP2" />
					<FIELD name="I006NP3" />
					<FIELD name="I006NP4" />
					<FIELD name="I006NM1" />
					<FIELD name="I006NM2" />
					<FIELD name="I006NM3" />
					<FIELD name="I006NM4" />
					<FIELD name="I006EP21" />
					<FIELD name="I006EP32" />
					<FIELD name="I006EP43" />
					<FIELD name="I006EM21" />
					<FIELD name="I006EM32" />
					<FIELD name="I006EM43" />
					<FIELD name="I006PP21" />
					<FIELD name="I006PP32" />
					<FIELD name="I006PP43" />
					<FIELD name="I006PM21" />
					<FIELD name="I006PM32" />
					<FIELD name="I006PM43" />
				</FIELDS>
			</SQL>
		</QUERY>
	</COMPONENT>

	<COMPONENT name="QUERIES_CROSS" label="Query pour tableau croisé" >
		<QUERY label="">
			<SQL optimizer="" >
				<select><![CDATA[		
						[VIEW.SQLCORPS-INIT]
				]]></select>
			</SQL>
			<SQL optimizer="" >
				<select><![CDATA[		
						[VIEW.SQLCORPS-INIT]
				]]></select>
			</SQL>
			<SQL enabled="= '[VIEW.DB_QCOLUMNS-MVT#1]' == '1'" optimizer="V_MOUVEMENTS_ARTICLES_X" optimizer2="V_ALL_X" >
				<select><![CDATA[		
					[VIEW.SQLCORPS-MVT#1] 
				]]></select>
			</SQL>
			<SQL enabled="= '[VIEW.DB_QCOLUMNS-MVS#5]' == '1'" optimizer="V_MOUVEMENTS_ARTICLES_X" optimizer2="V_ALL_X" >
				<select><![CDATA[		
					[VIEW.SQLCORPS-MVS#5] 
				]]></select>
			</SQL>
			<SQL enabled="= '[VIEW.DB_QCOLUMNS-CMD#2]' == '1'" optimizer="V_LIGNES_COMMANDES_X" optimizer2="V_ALL_X" >
				<select><![CDATA[		
					[VIEW.SQLCORPS-CMD#2] 
				]]></select>
			</SQL>
			<SQL enabled="= '[VIEW.DB_QCOLUMNS-CMD#3]' == '1'" optimizer="V_LIGNES_COMMANDES_X" optimizer2="V_ALL_X" >
				<select><![CDATA[		
					[VIEW.SQLCORPS-CMD#3] 
				]]></select>
			</SQL>
			<SQL enabled="= '[VIEW.DB_QCOLUMNS-STK#4]' == '1'" optimizer="V_STOCK_MENSUEL_X" optimizer2="V_ALL_X" >
				<select><![CDATA[		
					[VIEW.SQLCORPS-STK#4] 
				]]></select>
			</SQL>

			<SQL optimizer="" >
				<select><![CDATA[		
					[VIEW.SQLCORPS-FINALIZE]
					;
				]]></select>
				<FIELDS>
					<FIELD name="TABD"/>
					<FIELD name="TABDL"/>
					<FIELD name="TABDLL"/>
					<FIELD name="OID1"/>
					<FIELD name="COD1"/>
					<FIELD name="OID2"/>
					<FIELD name="COD2"/>
					<FIELD name="OID3"/>
					<FIELD name="COD3"/>
					<FIELD name="OID"/>
					<FIELD name="COD"/>
					<FIELD name="TXT"/>
					<FIELD name="LVL"/>

					<FIELD name="SORT" />

					<FIELD name="NB"/>

					<FIELD name="N01"/>
					<FIELD name="N02"/>
					<FIELD name="N03"/>
					<FIELD name="N04"/>
					<FIELD name="N05"/>
					<FIELD name="N06"/>
					<FIELD name="N07"/>
					<FIELD name="N08"/>
					<FIELD name="N09"/>
					<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>
	</COMPONENT>


	<COMPONENT name="ECO_VIEWLINK">
		<ARGS name="BASE" >
			<value><![CDATA[
				
				var GROUPBY:String = ""
				var GROUPBY_OID:String = ""
				var GROUPBY_COD:String = ""
				var GROUPBY_2:String = ""
				var GROUPBY_2_OID:String = ""
				var GROUPBY_2_COD:String = ""
				var GROUPBY_3:String = ""
				var GROUPBY_3_OID:String = ""
				var GROUPBY_3_COD:String = ""
				
				GROUPBY_COD = ROW.COD1
				GROUPBY_2_COD = ROW.COD2
				GROUPBY_3_COD = ROW.COD3
				
				if (Number(ROW.OID1) >= 0) {
				if (SELECT.GROUPBY.substr(3,3) != "CLS") {
					GROUPBY = SELECT.GROUPBY
					GROUPBY_OID = 'DT' + ROW.OID1
					if (GROUPBY == 'CPD') {
						GROUPBY_OID = 'D2' + ROW.OID1
					}
				}
				else {
					GROUPBY = SELECT.GROUPBY.substr(0,3)
					GROUPBY_OID = 'LS' + SELECT.GROUPBY.substr(6,2) + ROW.OID1
				}
				}
				if (Number(ROW.OID2) >= 0) {
					GROUPBY_2_COD = ROW.COD2
					if (SELECT.GROUPBY_2.substr(3,3) != "CLS") {
						GROUPBY_2 = SELECT.GROUPBY_2
						GROUPBY_2_OID = 'DT' + ROW.OID2
						if (GROUPBY_2 == 'CPD') {
							GROUPBY_OID = 'D2' + ROW.OID2
						}
					}
					else {
						GROUPBY_2 = SELECT.GROUPBY_2.substr(0,3)
						GROUPBY_2_OID = 'LS' + SELECT.GROUPBY_2.substr(6,2) + ROW.OID2
					}
				}
				
				
				if (GROUPBY == 'ART' && GROUPBY_OID != '') {LINKVARIABLES['ARTICLE'] = GROUPBY_OID} 
				if (GROUPBY_2 == 'ART' && GROUPBY_2_OID != '') {LINKVARIABLES['ARTICLE'] = GROUPBY_2_OID} 
				if (GROUPBY == 'ARF' && GROUPBY_OID != '') {LINKVARIABLES['ARTICLE'] = GROUPBY_OID} 
				if (GROUPBY_2 == 'ARF' && GROUPBY_2_OID != '') {LINKVARIABLES['ARTICLE'] = GROUPBY_2_OID} 
				if (GROUPBY == 'TYA' && GROUPBY_OID != '') {LINKVARIABLES['TYPE_ARTICLE'] = GROUPBY_OID} 
				if (GROUPBY_2 == 'TYA' && GROUPBY_2_OID != '') {LINKVARIABLES['TYPE_ARTICLE'] = GROUPBY_2_OID} 
				if (GROUPBY == 'TAC' && GROUPBY_OID != '') {LINKVARIABLES['TAC'] = GROUPBY_OID} 
				if (GROUPBY_2 == 'TAC' && GROUPBY_2_OID != '') {LINKVARIABLES['TAC'] = GROUPBY_2_OID} 
				if (GROUPBY == 'FAA' && GROUPBY_OID != '') {LINKVARIABLES['FAMILLE_ARTICLE'] = GROUPBY_OID} 
				if (GROUPBY_2 == 'FAA' && GROUPBY_2_OID != '') {LINKVARIABLES['FAMILLE_ARTICLE'] = GROUPBY_2_OID} 
				if (GROUPBY == 'ATC' && GROUPBY_OID != '') {LINKVARIABLES['ATC'] = GROUPBY_OID} 
				if (GROUPBY_2 == 'ATC' && GROUPBY_2_OID != '') {LINKVARIABLES['ATC'] = GROUPBY_2_OID} 
				if (GROUPBY == 'SFA' && GROUPBY_OID != '') {LINKVARIABLES['SOUS_FAMILLE_ARTICLE'] = GROUPBY_OID} 
				if (GROUPBY_2 == 'SFA' && GROUPBY_2_OID != '') {LINKVARIABLES['SOUS_FAMILLE_ARTICLE'] = GROUPBY_2_OID} 
				if (GROUPBY == 'CAA' && GROUPBY_OID != '') {LINKVARIABLES['CATEGORIE_ARTICLE'] = GROUPBY_OID} 
				if (GROUPBY_2 == 'CAA' && GROUPBY_2_OID != '') {LINKVARIABLES['CATEGORIE_ARTICLE'] = GROUPBY_2_OID} 
				if (GROUPBY == 'SCA' && GROUPBY_OID != '') {LINKVARIABLES['SOUS_CATEGORIE_ARTICLE'] = GROUPBY_OID} 
				if (GROUPBY_2 == 'SCA' && GROUPBY_2_OID != '') {LINKVARIABLES['SOUS_CATEGORIE_ARTICLE'] = GROUPBY_2_OID} 
				if (GROUPBY == 'CPA' && GROUPBY_OID != '') {LINKVARIABLES['COMPTE_ARTICLE'] = GROUPBY_OID} 
				if (GROUPBY_2 == 'CPA' && GROUPBY_2_OID != '') {LINKVARIABLES['COMPTE_ARTICLE'] = GROUPBY_2_OID} 
				if (GROUPBY == 'USD' && GROUPBY_OID != '') {LINKVARIABLES['UNITE_STOCKAGE_ARTICLE'] = GROUPBY_OID} 
				if (GROUPBY_2 == 'USD' && GROUPBY_2_OID != '') {LINKVARIABLES['UNITE_STOCKAGE_ARTICLE'] = GROUPBY_2_OID} 
				if (GROUPBY == 'FOU' && GROUPBY_OID != '') {LINKVARIABLES['FOURNISSEUR'] = GROUPBY_OID} 
				if (GROUPBY_2 == 'FOU' && GROUPBY_2_OID != '') {LINKVARIABLES['FOURNISSEUR'] = GROUPBY_2_OID} 
				if (GROUPBY == 'TYF' && GROUPBY_OID != '') {LINKVARIABLES['TYPE_FOURNISSEUR'] = GROUPBY_OID} 
				if (GROUPBY_2 == 'TYF' && GROUPBY_2_OID != '') {LINKVARIABLES['TYPE_FOURNISSEUR'] = GROUPBY_2_OID} 
                if (GROUPBY == 'SIT' && GROUPBY_OID != '') {LINKVARIABLES['SITE'] = GROUPBY_OID} 
				if (GROUPBY_2 == 'SIT' && GROUPBY_2_OID != '') {LINKVARIABLES['SITE'] = GROUPBY_2_OID} 
				if (GROUPBY == 'GES' && GROUPBY_OID != '') {LINKVARIABLES['GESTIONNAIRE'] = GROUPBY_OID} 
				if (GROUPBY_2 == 'GES' && GROUPBY_2_OID != '') {LINKVARIABLES['GESTIONNAIRE'] = GROUPBY_2_OID} 
				if (GROUPBY == 'LIE' && GROUPBY_OID != '') {LINKVARIABLES['LIEU'] = GROUPBY_OID} 
				if (GROUPBY_2 == 'LIE' && GROUPBY_2_OID != '') {LINKVARIABLES['LIEU'] = GROUPBY_2_OID} 
				if (GROUPBY == 'UFO' && GROUPBY_OID != '') {LINKVARIABLES['UNITE_FONCTIONNELLE'] = GROUPBY_OID} 
				if (GROUPBY_2 == 'UFO' && GROUPBY_2_OID != '') {LINKVARIABLES['UNITE_FONCTIONNELLE'] = GROUPBY_2_OID} 
				if (GROUPBY == 'TYM' && GROUPBY_OID != '') {LINKVARIABLES['TYPE_MOUVEMENT'] = GROUPBY_OID} 
				if (GROUPBY_2 == 'TYM' && GROUPBY_2_OID != '') {LINKVARIABLES['TYPE_MOUVEMENT'] = GROUPBY_2_OID} 
				if (GROUPBY == 'CMD' && GROUPBY_OID != '') {LINKVARIABLES['NUMERO_COMMANDE'] = GROUPBY_COD} 
				if (GROUPBY_2 == 'CMD' && GROUPBY_2_OID != '') {LINKVARIABLES['NUMERO_COMMANDE'] = GROUPBY_2_COD} 
				if (GROUPBY == 'FAC' && GROUPBY_OID != '') {LINKVARIABLES['FACTURE'] = GROUPBY_COD} 
				if (GROUPBY_2 == 'FAC' && GROUPBY_2_OID != '') {LINKVARIABLES['FACTURE'] = GROUPBY_2_COD} 
				if (GROUPBY == 'LPP' && GROUPBY_OID != '') {LINKVARIABLES['LPP'] = GROUPBY_OID} 
                if (GROUPBY_2 == 'LPP' && GROUPBY_2_OID != '') {LINKVARIABLES['LPP'] = GROUPBY_2_OID} 
                if (GROUPBY == 'UCD' && GROUPBY_OID != '') {LINKVARIABLES['UCD'] = GROUPBY_OID} 
                if (GROUPBY_2 == 'UCD' && GROUPBY_2_OID != '') {LINKVARIABLES['UCD'] = GROUPBY_2_OID} 
				if (GROUPBY == 'RSS' && GROUPBY_OID != '') {LINKVARIABLES['RSS'] = GROUPBY_COD} 
				if (GROUPBY_2 == 'RSS' && GROUPBY_2_OID != '') {LINKVARIABLES['RSS'] = GROUPBY_2_COD} 
				if (GROUPBY == 'SEJ' && GROUPBY_OID != '') {LINKVARIABLES['SEJ'] = GROUPBY_COD} 
				if (GROUPBY_2 == 'SEJ' && GROUPBY_2_OID != '') {LINKVARIABLES['SEJ'] = GROUPBY_2_COD} 
				if (GROUPBY == 'MED' && GROUPBY_OID != '') {LINKVARIABLES['MEDECIN'] = GROUPBY_OID} 
				if (GROUPBY_2 == 'MED' && GROUPBY_2_OID != '') {LINKVARIABLES['MEDECIN'] = GROUPBY_2_OID} 
				if (GROUPBY == 'SPE' && GROUPBY_OID != '') {LINKVARIABLES['SPECIALITE'] = GROUPBY_OID} 
				if (GROUPBY_2 == 'SPE' && GROUPBY_2_OID != '') {LINKVARIABLES['SPECIALITE'] = GROUPBY_2_OID} 
				
				
				LINKVARIABLES['ALIAS_PERIODE'] = '-1';
				
				var row_cod:String = ''
				var row_cod2:String = ''
				var annee_periode:String = SELECT.PERIODE.substr(0,4)
				var mois_periode:String = SELECT.PERIODE.substr(5,2)
				var annee_toperiode:String = SELECT.TOPERIODE.substr(0,4)
				var mois_toperiode:String = SELECT.TOPERIODE.substr(5,2)
				
				GROUPBY = SELECT.GROUPBY;

				if (GROUPBY == 'ACMD') {
					GROUPBY = 'ADEF';
				} else if (GROUPBY == 'MCMD') {
					GROUPBY = 'MDEF';
				} else if (GROUPBY == 'JCMD') {
					GROUPBY = 'JDEF';
				} else if (GROUPBY == 'TRIMCMD') {
					GROUPBY = 'TRIMDEF';
				} else if (GROUPBY == 'AMCMD') {
					GROUPBY = 'AMDEF';
				} else if (GROUPBY == 'ATRIMCMD') {
					GROUPBY = 'ATRIMDEF';
				}

				GROUPBY_2 = SELECT.GROUPBY_2;
				GROUPBY_3 = SELECT.GROUPBY_3;

				if ((GROUPBY == 'JDEF' && ROW.OID1 != '-9999999') ||
					(GROUPBY_2 == 'JDEF' && ROW.OID2 != '-9999999') ||
					(GROUPBY_3 == 'JDEF' && ROW.OID3 != '-9999999') ) {
					row_cod = GROUPBY == 'JDEF' ? ROW.COD1 : 
					    (GROUPBY_2 == 'JDEF'  ? ROW.COD2 : ROW.COD3);
					LINKVARIABLES['PERIODE'] = row_cod;
					LINKVARIABLES['TOPERIODE'] = row_cod;
				}
				else if ((GROUPBY == 'AMDEF' && ROW.OID1 != '-9999999') ||
						   (GROUPBY_2 == 'AMDEF' && ROW.OID2 != '-9999999') ||
						   (GROUPBY_3 == 'AMDEF' && ROW.OID3 != '-9999999')) {
					row_cod = GROUPBY == 'AMDEF' ? ROW.COD1 : 
						(GROUPBY_2 == 'AMDEF' ? ROW.COD2 : ROW.COD3);
					LINKVARIABLES['PERIODE'] = row_cod;
					LINKVARIABLES['TOPERIODE'] = row_cod;
				}
				else if ((GROUPBY == 'MDEF' && ROW.OID1 != '-9999999') || 
						   (GROUPBY_2 == 'MDEF' && ROW.OID2 != '-9999999') || 
						   (GROUPBY_3 == 'MDEF' && ROW.OID3 != '-9999999')) {
							row_cod = GROUPBY == 'MDEF' ? ROW.COD1 :
								 (GROUPBY_2 == 'MDEF' ? ROW.COD2 : ROW.COD3);
			
					if ((GROUPBY == 'ADEF' && ROW.OID1 != '-9999999') ||
						(GROUPBY_2 == 'ADEF' && ROW.OID2 != '-9999999') ||
						(GROUPBY_3 == 'ADEF' && ROW.OID3 != '-9999999')) {
							row_cod2 = GROUPBY == 'ADEF' ? ROW.COD1 :
								(GROUPBY_2 == 'ADEF' ? ROW.COD2 : ROW.COD3);
						LINKVARIABLES['PERIODE'] = row_cod2 + row_cod
						LINKVARIABLES['TOPERIODE'] = row_cod2 + row_cod
					}
					else if ((GROUPBY == 'ATRIMDEF' && ROW.OID1 != '-9999999') ||
							(GROUPBY_2 == 'ATRIMDEF' && ROW.OID2 != '-9999999') ||
							(GROUPBY_3 == 'ATRIMDEF' && ROW.OID3 != '-9999999')) {
						row_cod2 =  GROUPBY == 'ATRIMDEF' ? ROW.COD1 :
								(GROUPBY_2 == 'ATRIMDEF' ? ROW.COD2 : ROW.COD3);
						var annee:String = row_cod2.substr(0,4);
						LINKVARIABLES['PERIODE'] = annee + row_cod;
					    LINKVARIABLES['TOPERIODE'] = annee + row_cod;
					}
					else if (parseInt(row_cod) <= parseInt(mois_toperiode)) {
						if ((annee_toperiode == annee_periode && row_cod == mois_periode)) {
							LINKVARIABLES['PERIODE'] = SELECT.PERIODE;
						}
						else {
							LINKVARIABLES['PERIODE'] = annee_toperiode + row_cod;
						}
                        LINKVARIABLES['TOPERIODE'] = annee_toperiode + row_cod;
					    
					}
					else {
						if (parseInt(annee_toperiode) == (parseInt(annee_periode) + 1) && row_cod == mois_periode) {
							LINKVARIABLES['PERIODE'] = SELECT.PERIODE;
						}
						else {
							LINKVARIABLES['PERIODE'] = (parseInt(annee_toperiode) - 1).toString() + row_cod;
						}
					    LINKVARIABLES['TOPERIODE'] = (parseInt(annee_toperiode) - 1).toString() + row_cod;
					}
				}
				else if((GROUPBY == 'ATRIMDEF' && ROW.OID1 != '-9999999') || 
						(GROUPBY_2 == 'ATRIMDEF'  && ROW.OID2 != '-9999999') || 
						(GROUPBY_3 == 'ATRIMDEF'  && ROW.OID3 != '-9999999')) {
					row_cod = GROUPBY == 'ATRIMDEF' ? ROW.COD1 :
						(GROUPBY_2 == 'ATRIMDEF' ? ROW.COD2 : ROW.COD3);
					
					// Mois de début et fin du trimestre
					var mois_debut:int = 1 + 3 * (parseInt(row_cod.substr(-1)) - 1);
					var mois_fin:int = 3 * parseInt(row_cod.substr(-1));
					
					var annee:String = row_cod.substr(0,4);
					
					if (annee == annee_periode) { 
					    if(mois_debut <= parseInt(mois_periode, 10)) {
						    LINKVARIABLES['PERIODE'] = SELECT.PERIODE;
					    }
					    else {
						    if (mois_debut < 10) {
						    	annee += '0';
						     LINKVARIABLES['PERIODE'] = annee + mois_debut.toString();
					        }
						}
						if (mois_fin >= parseInt(mois_toperiode, 10)) {
						     LINKVARIABLES['TOPERIODE'] = SELECT.TOPERIODE;
						}
						else {
						    if (mois_fin < 10) {
						    	annee += '0';
						    }
					    	LINKVARIABLES['TOPERIODE'] = annee + mois_fin.toString();
						}
					}
				}
				else if ((GROUPBY == 'TRIMDEF'  && ROW.OID1 != '-9999999') ||
						(GROUPBY_2 == 'TRIMDEF'  && ROW.OID2 != '-9999999')  ||
						(GROUPBY_3 == 'TRIMDEF'  && ROW.OID3 != '-9999999')) {
					/*
					 *	L'accès au détail pour un regroupement par trimestre se fera systémtiquement sur les
					 *	derniers trimestre de la période. Exemple :
					 *	Période d'analyse de février 2010 à mars 2011. les résultats seront :
					 *	Trimestre 1 : 4500 	(janv 2011 à fév 2011  +  fév 2010 à mars 2010)
					 *	Trimestre 2 : 3400	(avril 2010 à juin 2010)
					 *	Trimestre 3 : 3300	(juil 2010 à sept 2010)
					 *	Trimestre 4 : 3450	(oct 2010 à déc 2010)
					 *	
					 *	L'accès au détail donnera :
					 *	Trimestre 1 --> janv 2011 à fév 2011
					 *	Trimestre 2 --> avril 2010 à juin 2010
					 *	Trimestre 3 --> juil 2010 à sept 2010
					 *	Trimestre 4 --> oct 2010 à déc 2010
					 *	
					 *	On constate que la période de février 2010 à mars 2010 n'est pas prise en compte pour l'accès
					 *	au détail alors qu'elle l'est bien pour l'affichage des résultats.
					 *	Cette différence de traitement s'explique par le fait qu'il est impossible de sélectionner
					 *	plus d'une période dans les combobox de sélection de période de la vue des justificatifs.
					 */
					
					var annee:String = '';
					var to_annee:String = '';
					// Code du trimestre sélectionné (de 1 à 4)
					row_cod = GROUPBY == 'TRIMDEF' ? ROW.OID1 : 
						(GROUPBY_2 == 'TRIMDEF' ? ROW.OID2 : ROW.OID3);
					// Mois de début du trimestre
					var mois_debut:int = 1 + 3 * (parseInt(row_cod, 10) - 1);
					// Mois de fin du trimestre
					var mois_fin:int = 3 * parseInt(row_cod, 10);
					// Nombre d'années entre le début et la fin de la période d'analyse
					var nb_annees = parseInt(annee_toperiode, 10) - parseInt(annee_periode, 10);
					
					if ((GROUPBY == 'ADEF' && ROW.OID1 != '-9999999') ||
						(GROUPBY_2 == 'ADEF' && ROW.OID2 != '-9999999') ||
						(GROUPBY_3 == 'ADEF' && ROW.OID3 != '-9999999')) {
						row_cod = GROUPBY == 'ADEF' ? ROW.COD1 :
								(GROUPBY_2 == 'ADEF' ? ROW.COD2 : ROW.COD3);
						if (row_cod == annee_periode && (mois_debut <= parseInt(mois_periode, 10) <= mois_fin)) {
							LINKVARIABLES['PERIODE'] = SELECT.PERIODE; 
							LINKVARIABLES['TOPERIODE'] = SELECT.TOPERIODE; 
						}
						else {
							annee = row_cod;
							to_annee = row_cod;
						}
					}
					else {
						if (mois_debut <= parseInt(mois_toperiode, 10)) {
							if (nb_annees == 0 && mois_debut <= mois_periode) {
								LINKVARIABLES['PERIODE'] = SELECT.PERIODE;
							}
							else {
								annee = annee_toperiode;
							}
						}
						else {
							if (mois_debut <= parseInt(mois_periode, 10) && nb_annees == 1) {
								LINKVARIABLES['PERIODE'] = SELECT.PERIODE;
							}
							else {
								annee = (parseInt(annee_toperiode, 10) - 1).toString()
							}
						}
						if (mois_debut <= parseInt(mois_toperiode, 10) <= mois_fin) {
							LINKVARIABLES['TOPERIODE'] = SELECT.TOPERIODE;
						}
						else if (mois_fin < parseInt(mois_toperiode, 10)) {
							to_annee = annee_toperiode;
						}
						else {
							to_annee = (parseInt(annee_toperiode) - 1).toString();
						}
					}
					if (mois_debut < 10) {
						annee += '0';
					}
					LINKVARIABLES['PERIODE'] = annee + mois_debut.toString();
					if (mois_fin < 10) {
						to_annee += '0';
					}
					LINKVARIABLES['TOPERIODE'] = to_annee + mois_fin.toString();
				}
				else if ((GROUPBY == 'ADEF' && ROW.OID1 != '-9999999') || 
						(GROUPBY_2 == 'ADEF' && ROW.OID2 != '-9999999') || 
						(GROUPBY_3 == 'ADEF' && ROW.OID3 != '-9999999')) {
				
					row_cod = GROUPBY == 'ADEF' ? ROW.COD1 : 
						(GROUPBY_2 == 'ADEF' ? ROW.COD2 : ROW.COD3);
				
					if (row_cod == annee_periode) {
						LINKVARIABLES['PERIODE'] = SELECT.PERIODE;
					}
					else {
						LINKVARIABLES['PERIODE'] = row_cod + '01';
					}
					if (row_cod == annee_toperiode) {
						LINKVARIABLES['TOPERIODE'] = SELECT.TOPERIODE;
					}
					else {
						LINKVARIABLES['TOPERIODE'] = row_cod + '12';
					}
				}
				else {
					LINKVARIABLES['PERIODE'] = SELECT.PERIODE;
					LINKVARIABLES['TOPERIODE'] = SELECT.TOPERIODE;
				}
				
				if(LINKVARIABLES['PERIODE'] != SELECT.PERIODE && LINKVARIABLES['TOPERIODE'] != SELECT.TOPERIODE) {
					LINKVARIABLES['ALIAS_PERIODE'] = '-1'
				}
				
				LINKVARIABLES['DATACOL'] = '*DFT'
				LINKVARIABLES['DATACOL001'] = "-1"
				LINKVARIABLES['DATACOL002'] = "-1"
				LINKVARIABLES['DATACOL003'] = "-1"
				LINKVARIABLES['DATACOL004'] = "-1"
				LINKVARIABLES['DATACOL005'] = "-1"
				LINKVARIABLES['DATACOL006'] = "-1"
				LINKVARIABLES['DATA01'] = '-1'
				if (SELECT.DATACOL.substr(0,9) == 'CTI_VIEW_') {
					LINKVARIABLES['DATACOL'] = 'CTI_LIST_' + SELECT.DATACOL.substr(9,20)
				}
				if (VIEW.VIEWTYPE == 'EVOL') {
					LINKVARIABLES['DATACOL001'] = SELECT.DATA
				}
				if (VIEW.VIEWTYPE == 'CROSS') {
					LINKVARIABLES['DATACOL001'] = SELECT.DATA
				}
				if (VIEW.VIEWTYPE == 'COMP') {
					if (SELECT.DATACOL.substr(0,9) == 'CTI_VIEW_') {
						LINKVARIABLES['DATACOL'] = 'CTI_LIST_' + SELECT.DATACOL.substr(9,20)
					}
					if (COLUMN.NAME.toString().substr(0,4) == 'I001') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE001}
					if (COLUMN.NAME.toString().substr(0,4) == 'I002') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE002}
					if (COLUMN.NAME.toString().substr(0,4) == 'I003') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE003}
					if (COLUMN.NAME.toString().substr(0,4) == 'I004') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE004}
					if (COLUMN.NAME.toString().substr(0,4) == 'I005') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE005}
					if (COLUMN.NAME.toString().substr(0,4) == 'I006') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE006}
					if (COLUMN.NAME.toString().substr(0,4) == 'I007') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE007}
				}
				
				if (VIEW.VIEWTYPE == 'ANZ' || VIEW.VIEWTYPE == '') {
					if (COLUMN.NAME == 'NB0001') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE001;}
					if (COLUMN.NAME == 'NB0002') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE002;}
					if (COLUMN.NAME == 'NB0003') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE003;}
					if (COLUMN.NAME == 'NB0004') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE004;}
					if (COLUMN.NAME == 'NB0005') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE005;}
					if (COLUMN.NAME == 'NB0006') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE006;}
					if (COLUMN.NAME == 'NB0007') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE007;}
					if (COLUMN.NAME == 'NB0008') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE008;}
					if (COLUMN.NAME == 'NB0009') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE009;}
					if (COLUMN.NAME == 'NB0010') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE010;}
					if (COLUMN.NAME == 'NB0011') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE011;}
					if (COLUMN.NAME == 'NB0012') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE012;}
					if (COLUMN.NAME == 'NB0013') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE013;}
					if (COLUMN.NAME == 'NB0014') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE014;}
					if (COLUMN.NAME == 'NB0015') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE015;}
					if (COLUMN.NAME == 'NB0016') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE016;}
					if (COLUMN.NAME == 'NB0017') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE017;}
					if (COLUMN.NAME == 'NB0018') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE018;}
					if (COLUMN.NAME == 'NB0019') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE019;}
					if (COLUMN.NAME == 'NB0020') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE020;}
					if (COLUMN.NAME == 'NB0021') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE021;}
					if (COLUMN.NAME == 'NB0022') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE022;}
					if (COLUMN.NAME == 'NB0023') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE023;}
					if (COLUMN.NAME == 'NB0024') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE024;}
					if (COLUMN.NAME == 'NB0025') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE025;}
					if (COLUMN.NAME == 'NB0026') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE026;}
					if (COLUMN.NAME == 'NB0027') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE027;}
					if (COLUMN.NAME == 'NB0028') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE028;}
					if (COLUMN.NAME == 'NB0029') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE029;}
					if (COLUMN.NAME == 'NB0030') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE030;}
					if (COLUMN.NAME == 'NB0031') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE031;}
					if (COLUMN.NAME == 'NB0032') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE032;}
					if (COLUMN.NAME == 'NB0033') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE033;}
					if (COLUMN.NAME == 'NB0034') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE034;}
					if (COLUMN.NAME == 'NB0035') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE035;}
					if (COLUMN.NAME == 'NB0036') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE036;}
					if (COLUMN.NAME == 'NB0037') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE037;}
					if (COLUMN.NAME == 'NB0038') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE038;}
					if (COLUMN.NAME == 'NB0039') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE039;}
					if (COLUMN.NAME == 'NB0040') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE040;}
					if (COLUMN.NAME == 'NB0041') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE041;}
					if (COLUMN.NAME == 'NB0042') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE042;}
					if (COLUMN.NAME == 'NB0043') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE043;}
					if (COLUMN.NAME == 'NB0044') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE044;}
					if (COLUMN.NAME == 'NB0045') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE045;}
					if (COLUMN.NAME == 'NB0046') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE046;}
					if (COLUMN.NAME == 'NB0047') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE047;}
					if (COLUMN.NAME == 'NB0048') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE048;}
					if (COLUMN.NAME == 'NB0049') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE049;}
					if (COLUMN.NAME == 'NB0050') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE050;}
					if (COLUMN.NAME == 'NB0051') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE051;}
					if (COLUMN.NAME == 'NB0052') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE052;}
					if (COLUMN.NAME == 'NB0053') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE053;}
					if (COLUMN.NAME == 'NB0054') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE054;}
					if (COLUMN.NAME == 'NB0055') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE055;}
					if (COLUMN.NAME == 'NB0056') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE056;}
					if (COLUMN.NAME == 'NB0057') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE057;}
					if (COLUMN.NAME == 'NB0058') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE058;}
					if (COLUMN.NAME == 'NB0059') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE059;}
					if (COLUMN.NAME == 'NB0060') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE060;}
				}
				return 'OK';
			
			]]></value>
		</ARGS>

	</COMPONENT>

	<COMPONENT name="DATE_EVOL_VIEWLINK">
		<ARG name="PERIODE">
			<value><![CDATA[
			
				if (COLUMN.NAME == 'N01') {return VIEW.COLD1}
				if (COLUMN.NAME == 'N02') {return VIEW.COLD2}
				if (COLUMN.NAME == 'N03') {return VIEW.COLD3}
				if (COLUMN.NAME == 'N04') {return VIEW.COLD4}
				if (COLUMN.NAME == 'N05') {return VIEW.COLD5}
				if (COLUMN.NAME == 'N06') {return VIEW.COLD6}
				if (COLUMN.NAME == 'N07') {return VIEW.COLD7}
				if (COLUMN.NAME == 'N08') {return VIEW.COLD8}
				if (COLUMN.NAME == 'N09') {return VIEW.COLD9}
				
				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 == 'B1') {return VIEW.COLD1}
				if (COLUMN.NAME == 'B2') {return VIEW.COLD2}
				if (COLUMN.NAME == 'B3') {return VIEW.COLD3}
				if (COLUMN.NAME == 'B4') {return VIEW.COLD4}
				if (COLUMN.NAME == 'B5') {return VIEW.COLD5}
				if (COLUMN.NAME == 'B6') {return VIEW.COLD6}
				if (COLUMN.NAME == 'B7') {return VIEW.COLD7}
				if (COLUMN.NAME == 'B8') {return VIEW.COLD8}
				if (COLUMN.NAME == 'B9') {return VIEW.COLD9}
				if (COLUMN.NAME == 'B10') {return VIEW.COLD10}
				if (COLUMN.NAME == 'B11') {return VIEW.COLD11}
				if (COLUMN.NAME == 'B12') {return VIEW.COLD12}
				if (COLUMN.NAME == 'B13') {return VIEW.COLD13}
				if (COLUMN.NAME == 'B14') {return VIEW.COLD14}
				if (COLUMN.NAME == 'B15') {return VIEW.COLD15}
				if (COLUMN.NAME == 'B16') {return VIEW.COLD16}
				if (COLUMN.NAME == 'B17') {return VIEW.COLD17}
				if (COLUMN.NAME == 'B18') {return VIEW.COLD18}
				if (COLUMN.NAME == 'B19') {return VIEW.COLD19}
				if (COLUMN.NAME == 'B20') {return VIEW.COLD20}
				if (COLUMN.NAME == 'B21') {return VIEW.COLD21}
				if (COLUMN.NAME == 'B22') {return VIEW.COLD22}
				if (COLUMN.NAME == 'B23') {return VIEW.COLD23}
				if (COLUMN.NAME == 'B24') {return VIEW.COLD24}
				if (COLUMN.NAME == 'B25') {return VIEW.COLD25}
				if (COLUMN.NAME == 'B26') {return VIEW.COLD26}
				if (COLUMN.NAME == 'B27') {return VIEW.COLD27}
				if (COLUMN.NAME == 'B28') {return VIEW.COLD28}
				if (COLUMN.NAME == 'B29') {return VIEW.COLD29}
				if (COLUMN.NAME == 'B30') {return VIEW.COLD30}
				return SELECT.PERIODE;
			]]>
			</value>
		</ARG>
		<ARG name="TOPERIODE">
			<value><![CDATA[
				if (COLUMN.NAME == 'N01') {return VIEW.COLF1}
				if (COLUMN.NAME == 'N02') {return VIEW.COLF2}
				if (COLUMN.NAME == 'N03') {return VIEW.COLF3}
				if (COLUMN.NAME == 'N04') {return VIEW.COLF4}
				if (COLUMN.NAME == 'N05') {return VIEW.COLF5}
				if (COLUMN.NAME == 'N06') {return VIEW.COLF6}
				if (COLUMN.NAME == 'N07') {return VIEW.COLF7}
				if (COLUMN.NAME == 'N08') {return VIEW.COLF8}
				if (COLUMN.NAME == 'N09') {return VIEW.COLF9}
				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 == 'B1') {return VIEW.COLF1}
				if (COLUMN.NAME == 'B2') {return VIEW.COLF2}
				if (COLUMN.NAME == 'B3') {return VIEW.COLF3}
				if (COLUMN.NAME == 'B4') {return VIEW.COLF4}
				if (COLUMN.NAME == 'B5') {return VIEW.COLF5}
				if (COLUMN.NAME == 'B6') {return VIEW.COLF6}
				if (COLUMN.NAME == 'B7') {return VIEW.COLF7}
				if (COLUMN.NAME == 'B8') {return VIEW.COLF8}
				if (COLUMN.NAME == 'B9') {return VIEW.COLF9}
				if (COLUMN.NAME == 'B10') {return VIEW.COLF10}
				if (COLUMN.NAME == 'B11') {return VIEW.COLF11}
				if (COLUMN.NAME == 'B12') {return VIEW.COLF12}
				if (COLUMN.NAME == 'B13') {return VIEW.COLF13}
				if (COLUMN.NAME == 'B14') {return VIEW.COLF14}
				if (COLUMN.NAME == 'B15') {return VIEW.COLF15}
				if (COLUMN.NAME == 'B16') {return VIEW.COLF16}
				if (COLUMN.NAME == 'B17') {return VIEW.COLF17}
				if (COLUMN.NAME == 'B18') {return VIEW.COLF18}
				if (COLUMN.NAME == 'B19') {return VIEW.COLF19}
				if (COLUMN.NAME == 'B20') {return VIEW.COLF20}
				if (COLUMN.NAME == 'B21') {return VIEW.COLF21}
				if (COLUMN.NAME == 'B22') {return VIEW.COLF22}
				if (COLUMN.NAME == 'B23') {return VIEW.COLF23}
				if (COLUMN.NAME == 'B24') {return VIEW.COLF24}
				if (COLUMN.NAME == 'B25') {return VIEW.COLF25}
				if (COLUMN.NAME == 'B26') {return VIEW.COLF26}
				if (COLUMN.NAME == 'B27') {return VIEW.COLF27}
				if (COLUMN.NAME == 'B28') {return VIEW.COLF28}
				if (COLUMN.NAME == 'B29') {return VIEW.COLF29}
				if (COLUMN.NAME == 'B30') {return VIEW.COLF30}
				return SELECT.TOPERIODE;
			]]>
			</value>
		</ARG>
		<ARGS name="ALL">
			<value><![CDATA[
				LINKVARIABLES['ALIAS_PERIODE'] = '-1';
				switch (COLUMN.NAME.substring(0,3)) {
					case '' :
					case 'OID' :
					case 'COD' :
					case 'TXT' :
					case 'UNI' :
						break;
				};
				return 'OK';
			]]>			</value>
		</ARGS>
	</COMPONENT>

	<COMPONENT name="DATE_COMP_VIEWLINK">
		<ARGS name="ALL">
			<value><![CDATA[
				LINKVARIABLES['ALIAS_PERIODE'] = '-1';
				var col = COLUMN.NAME.substr(0,1);
				if (col == 'D') {
					LINKVARIABLES['PERIODE'] = VIEW.PERIODE_D.substr(0,4) + SELECT.PERIODE.substr(4,6);
					LINKVARIABLES['TOPERIODE'] = VIEW.TOPERIODE_D.substr(0,4) + SELECT.TOPERIODE.substr(4,6);
				}



				return 'OK';
			]]>			</value>
		</ARGS>
	</COMPONENT>

	<COMPONENT name="ECO_VIEWLINK_JUSTIF">
		<ARGS name="EVOL" >
			<value><![CDATA[
			if (VIEW.VIEWTYPE == 'EVOL') {
				if (COLUMN.NAME == 'N01') {LINKVARIABLES['PERIODE'] = VIEW.COLD1;LINKVARIABLES['TOPERIODE'] = VIEW.COLF1;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N02') {LINKVARIABLES['PERIODE'] = VIEW.COLD2;LINKVARIABLES['TOPERIODE'] = VIEW.COLF2;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N03') {LINKVARIABLES['PERIODE'] = VIEW.COLD3;LINKVARIABLES['TOPERIODE'] = VIEW.COLF3;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N04') {LINKVARIABLES['PERIODE'] = VIEW.COLD4;LINKVARIABLES['TOPERIODE'] = VIEW.COLF4;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N05') {LINKVARIABLES['PERIODE'] = VIEW.COLD5;LINKVARIABLES['TOPERIODE'] = VIEW.COLF5;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N06') {LINKVARIABLES['PERIODE'] = VIEW.COLD6;LINKVARIABLES['TOPERIODE'] = VIEW.COLF6;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N07') {LINKVARIABLES['PERIODE'] = VIEW.COLD7;LINKVARIABLES['TOPERIODE'] = VIEW.COLF7;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N08') {LINKVARIABLES['PERIODE'] = VIEW.COLD8;LINKVARIABLES['TOPERIODE'] = VIEW.COLF8;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N09') {LINKVARIABLES['PERIODE'] = VIEW.COLD9;LINKVARIABLES['TOPERIODE'] = VIEW.COLF9;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N10') {LINKVARIABLES['PERIODE'] = VIEW.COLD10;LINKVARIABLES['TOPERIODE'] = VIEW.COLF10;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N11') {LINKVARIABLES['PERIODE'] = VIEW.COLD11;LINKVARIABLES['TOPERIODE'] = VIEW.COLF11;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N12') {LINKVARIABLES['PERIODE'] = VIEW.COLD12;LINKVARIABLES['TOPERIODE'] = VIEW.COLF12;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N13') {LINKVARIABLES['PERIODE'] = VIEW.COLD13;LINKVARIABLES['TOPERIODE'] = VIEW.COLF13;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N14') {LINKVARIABLES['PERIODE'] = VIEW.COLD14;LINKVARIABLES['TOPERIODE'] = VIEW.COLF14;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N15') {LINKVARIABLES['PERIODE'] = VIEW.COLD15;LINKVARIABLES['TOPERIODE'] = VIEW.COLF15;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N16') {LINKVARIABLES['PERIODE'] = VIEW.COLD16;LINKVARIABLES['TOPERIODE'] = VIEW.COLF16;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N17') {LINKVARIABLES['PERIODE'] = VIEW.COLD17;LINKVARIABLES['TOPERIODE'] = VIEW.COLF17;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N18') {LINKVARIABLES['PERIODE'] = VIEW.COLD18;LINKVARIABLES['TOPERIODE'] = VIEW.COLF18;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N19') {LINKVARIABLES['PERIODE'] = VIEW.COLD19;LINKVARIABLES['TOPERIODE'] = VIEW.COLF19;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N20') {LINKVARIABLES['PERIODE'] = VIEW.COLD20;LINKVARIABLES['TOPERIODE'] = VIEW.COLF20;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N21') {LINKVARIABLES['PERIODE'] = VIEW.COLD21;LINKVARIABLES['TOPERIODE'] = VIEW.COLF21;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N22') {LINKVARIABLES['PERIODE'] = VIEW.COLD22;LINKVARIABLES['TOPERIODE'] = VIEW.COLF22;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N23') {LINKVARIABLES['PERIODE'] = VIEW.COLD23;LINKVARIABLES['TOPERIODE'] = VIEW.COLF23;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N24') {LINKVARIABLES['PERIODE'] = VIEW.COLD24;LINKVARIABLES['TOPERIODE'] = VIEW.COLF24;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N25') {LINKVARIABLES['PERIODE'] = VIEW.COLD25;LINKVARIABLES['TOPERIODE'] = VIEW.COLF25;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N26') {LINKVARIABLES['PERIODE'] = VIEW.COLD26;LINKVARIABLES['TOPERIODE'] = VIEW.COLF26;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N27') {LINKVARIABLES['PERIODE'] = VIEW.COLD27;LINKVARIABLES['TOPERIODE'] = VIEW.COLF27;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N28') {LINKVARIABLES['PERIODE'] = VIEW.COLD28;LINKVARIABLES['TOPERIODE'] = VIEW.COLF28;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N29') {LINKVARIABLES['PERIODE'] = VIEW.COLD29;LINKVARIABLES['TOPERIODE'] = VIEW.COLF29;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N30') {LINKVARIABLES['PERIODE'] = VIEW.COLD30;LINKVARIABLES['TOPERIODE'] = VIEW.COLF30;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N31') {LINKVARIABLES['PERIODE'] = VIEW.COLD31;LINKVARIABLES['TOPERIODE'] = VIEW.COLF31;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N32') {LINKVARIABLES['PERIODE'] = VIEW.COLD32;LINKVARIABLES['TOPERIODE'] = VIEW.COLF32;LINKVARIABLES['ALIAS_PERIODE']=-1}
			}
			return 'OK';
			]]></value>
		</ARGS>
		<ARGS name="EVOLCOMP" >
			<value><![CDATA[
			if (VIEW.VIEWTYPE == 'EVOLCOMP') {

				if (COLUMN.NAME == 'N01') {LINKVARIABLES['PERIODE'] = ROW.OID.toString()+'01';LINKVARIABLES['TOPERIODE'] = ROW.OID.toString()+'01';LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N02') {LINKVARIABLES['PERIODE'] = ROW.OID.toString()+'02';LINKVARIABLES['TOPERIODE'] = ROW.OID.toString()+'02';LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N03') {LINKVARIABLES['PERIODE'] = ROW.OID.toString()+'03';LINKVARIABLES['TOPERIODE'] = ROW.OID.toString()+'03';LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N04') {LINKVARIABLES['PERIODE'] = ROW.OID.toString()+'04';LINKVARIABLES['TOPERIODE'] = ROW.OID.toString()+'04';LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N05') {LINKVARIABLES['PERIODE'] = ROW.OID.toString()+'05';LINKVARIABLES['TOPERIODE'] = ROW.OID.toString()+'05';LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N06') {LINKVARIABLES['PERIODE'] = ROW.OID.toString()+'06';LINKVARIABLES['TOPERIODE'] = ROW.OID.toString()+'06';LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N07') {LINKVARIABLES['PERIODE'] = ROW.OID.toString()+'07';LINKVARIABLES['TOPERIODE'] = ROW.OID.toString()+'07';LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N08') {LINKVARIABLES['PERIODE'] = ROW.OID.toString()+'08';LINKVARIABLES['TOPERIODE'] = ROW.OID.toString()+'08';LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N09') {LINKVARIABLES['PERIODE'] = ROW.OID.toString()+'09';LINKVARIABLES['TOPERIODE'] = ROW.OID.toString()+'09';LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N10') {LINKVARIABLES['PERIODE'] = ROW.OID.toString()+'10';LINKVARIABLES['TOPERIODE'] = ROW.OID.toString()+'10';LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N11') {LINKVARIABLES['PERIODE'] = ROW.OID.toString()+'11';LINKVARIABLES['TOPERIODE'] = ROW.OID.toString()+'11';LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME == 'N12') {LINKVARIABLES['PERIODE'] = ROW.OID.toString()+'12';LINKVARIABLES['TOPERIODE'] = ROW.OID.toString()+'12';LINKVARIABLES['ALIAS_PERIODE']=-1}

			}
			return 'OK';
			]]></value>
		</ARGS>
		<ARGS name="COMP" >
			<value><![CDATA[
			if (VIEW.VIEWTYPE == 'COMP') {
				if (COLUMN.NAME.toString().substr(4,3) == 'NP1') {LINKVARIABLES['PERIODE'] = VIEW.COLD1;LINKVARIABLES['TOPERIODE'] = VIEW.COLF1;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME.toString().substr(4,3) == 'NP2') {LINKVARIABLES['PERIODE'] = VIEW.COLD2;LINKVARIABLES['TOPERIODE'] = VIEW.COLF2;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME.toString().substr(4,3) == 'NM1') {LINKVARIABLES['PERIODE'] = VIEW.COLF1.toString().substr(0,8)+'01';LINKVARIABLES['TOPERIODE'] = VIEW.COLF1;LINKVARIABLES['ALIAS_PERIODE']=-1}
				if (COLUMN.NAME.toString().substr(4,3) == 'NM2') {LINKVARIABLES['PERIODE'] = VIEW.COLF2.toString().substr(0,8)+'01';LINKVARIABLES['TOPERIODE'] = VIEW.COLF2;LINKVARIABLES['ALIAS_PERIODE']=-1}
			}
			return 'OK';
			]]></value>
		</ARGS>


	</COMPONENT>

	<COMPONENT name="ECO_VIEWLINK_COMP">
		<ARGS name="EVOL" >
			<value><![CDATA[
				LINKVARIABLES['TYPE_COMPARAISON'] = '2'
				
				var datacol001 = ''
				if (COLUMN.NAME == 'NB0001') {datacol001 = VIEW.DG_CODE001}
				if (COLUMN.NAME == 'NB0002') {datacol001 = VIEW.DG_CODE002}
				if (COLUMN.NAME == 'NB0003') {datacol001 = VIEW.DG_CODE003}
				if (COLUMN.NAME == 'NB0004') {datacol001 = VIEW.DG_CODE004}
				if (COLUMN.NAME == 'NB0005') {datacol001 = VIEW.DG_CODE005}
				if (COLUMN.NAME == 'NB0006') {datacol001 = VIEW.DG_CODE006}
				if (COLUMN.NAME == 'NB0007') {datacol001 = VIEW.DG_CODE007}
				if (COLUMN.NAME == 'NB0008') {datacol001 = VIEW.DG_CODE008}
				if (COLUMN.NAME == 'NB0009') {datacol001 = VIEW.DG_CODE009}
				if (COLUMN.NAME == 'NB0010') {datacol001 = VIEW.DG_CODE010}
				if (COLUMN.NAME == 'NB0011') {datacol001 = VIEW.DG_CODE011}
				if (COLUMN.NAME == 'NB0012') {datacol001 = VIEW.DG_CODE012}
				if (COLUMN.NAME == 'NB0013') {datacol001 = VIEW.DG_CODE013}
				if (COLUMN.NAME == 'NB0014') {datacol001 = VIEW.DG_CODE014}
				if (COLUMN.NAME == 'NB0015') {datacol001 = VIEW.DG_CODE015}
				if (COLUMN.NAME == 'TX0001') {datacol001 = VIEW.DG_CODE001}
				if (COLUMN.NAME == 'TX0002') {datacol001 = VIEW.DG_CODE002}
				if (COLUMN.NAME == 'TX0003') {datacol001 = VIEW.DG_CODE003}
				if (COLUMN.NAME == 'TX0004') {datacol001 = VIEW.DG_CODE004}
				if (COLUMN.NAME == 'TX0005') {datacol001 = VIEW.DG_CODE005}
				if (COLUMN.NAME == 'TX0006') {datacol001 = VIEW.DG_CODE006}
				if (COLUMN.NAME == 'TX0007') {datacol001 = VIEW.DG_CODE007}
				if (COLUMN.NAME == 'TX0008') {datacol001 = VIEW.DG_CODE008}
				if (COLUMN.NAME == 'TX0009') {datacol001 = VIEW.DG_CODE009}
				if (COLUMN.NAME == 'TX0010') {datacol001 = VIEW.DG_CODE010}
				if (COLUMN.NAME == 'TX0011') {datacol001 = VIEW.DG_CODE011}
				if (COLUMN.NAME == 'TX0012') {datacol001 = VIEW.DG_CODE012}
				if (COLUMN.NAME == 'TX0013') {datacol001 = VIEW.DG_CODE013}
				if (COLUMN.NAME == 'TX0014') {datacol001 = VIEW.DG_CODE014}
				if (COLUMN.NAME == 'TX0015') {datacol001 = VIEW.DG_CODE015}
				if (datacol001 != '') {
					LINKVARIABLES['DATACOL001'] = datacol001
				}
				
			return 'OK';
			]]></value>
		</ARGS>
	</COMPONENT>

	<COMPONENT name="ECO_VIEWLINK_EVOL">
		<ARGS name="EVOL" >
			<value><![CDATA[
				LINKVARIABLES['PERIODICITE'] = 'MONTH'
				
				LINKVARIABLES['DATA'] = VIEW.DG_CODE001
				if (COLUMN.NAME == 'NB0001') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE001}
				if (COLUMN.NAME == 'NB0002') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE002}
				if (COLUMN.NAME == 'NB0003') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE003}
				if (COLUMN.NAME == 'NB0004') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE004}
				if (COLUMN.NAME == 'NB0005') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE005}
				if (COLUMN.NAME == 'NB0006') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE006}
				if (COLUMN.NAME == 'NB0007') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE007}
				if (COLUMN.NAME == 'NB0008') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE008}
				if (COLUMN.NAME == 'NB0009') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE009}
				if (COLUMN.NAME == 'NB0010') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE010}
				if (COLUMN.NAME == 'NB0011') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE011}
				if (COLUMN.NAME == 'NB0012') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE012}
				if (COLUMN.NAME == 'NB0013') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE013}
				if (COLUMN.NAME == 'NB0014') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE014}
				if (COLUMN.NAME == 'NB0015') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE015}
				if (COLUMN.NAME == 'TX0001') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE001}
				if (COLUMN.NAME == 'TX0002') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE002}
				if (COLUMN.NAME == 'TX0003') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE003}
				if (COLUMN.NAME == 'TX0004') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE004}
				if (COLUMN.NAME == 'TX0005') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE005}
				if (COLUMN.NAME == 'TX0006') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE006}
				if (COLUMN.NAME == 'TX0007') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE007}
				if (COLUMN.NAME == 'TX0008') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE008}
				if (COLUMN.NAME == 'TX0009') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE009}
				if (COLUMN.NAME == 'TX0010') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE010}
				if (COLUMN.NAME == 'TX0011') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE011}
				if (COLUMN.NAME == 'TX0012') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE012}
				if (COLUMN.NAME == 'TX0013') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE013}
				if (COLUMN.NAME == 'TX0014') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE014}
				if (COLUMN.NAME == 'TX0015') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE015}
				
			return 'OK';
			]]></value>
		</ARGS>
	</COMPONENT>

	<COMPONENT name="ECO_VIEWLINK_CROSS">
		<ARGS name="EVOL" >
			<value><![CDATA[
			
				LINKVARIABLES['DATA'] = VIEW.DG_CODE001
				if (COLUMN.NAME == 'NB0001') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE001}
				if (COLUMN.NAME == 'NB0002') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE002}
				if (COLUMN.NAME == 'NB0003') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE003}
				if (COLUMN.NAME == 'NB0004') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE004}
				if (COLUMN.NAME == 'NB0005') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE005}
				if (COLUMN.NAME == 'NB0006') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE006}
				if (COLUMN.NAME == 'NB0007') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE007}
				if (COLUMN.NAME == 'NB0008') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE008}
				if (COLUMN.NAME == 'NB0009') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE009}
				if (COLUMN.NAME == 'NB0010') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE010}
				if (COLUMN.NAME == 'NB0011') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE011}
				if (COLUMN.NAME == 'NB0012') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE012}
				if (COLUMN.NAME == 'NB0013') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE013}
				if (COLUMN.NAME == 'NB0014') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE014}
				if (COLUMN.NAME == 'NB0015') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE015}
				if (COLUMN.NAME == 'TX0001') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE001}
				if (COLUMN.NAME == 'TX0002') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE002}
				if (COLUMN.NAME == 'TX0003') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE003}
				if (COLUMN.NAME == 'TX0004') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE004}
				if (COLUMN.NAME == 'TX0005') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE005}
				if (COLUMN.NAME == 'TX0006') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE006}
				if (COLUMN.NAME == 'TX0007') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE007}
				if (COLUMN.NAME == 'TX0008') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE008}
				if (COLUMN.NAME == 'TX0009') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE009}
				if (COLUMN.NAME == 'TX0010') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE010}
				if (COLUMN.NAME == 'TX0011') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE011}
				if (COLUMN.NAME == 'TX0012') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE012}
				if (COLUMN.NAME == 'TX0013') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE013}
				if (COLUMN.NAME == 'TX0014') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE014}
				if (COLUMN.NAME == 'TX0015') {LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE015}
				
			return 'OK';
			]]></value>
		</ARGS>
	</COMPONENT>


	<COMPONENT name="PRESENTATION_ANZ">
		<PRESENTATION>
			<VIEWLINKS>
				<VIEWLINK label="Comparatif" shortLabel="Comparatif" view="[VIEW.LINKVIEW_COMP].XML" rowContext="false" componentName="ECO_VIEWLINK_COMP" component2Name="ECO_VIEWLINK">
					<ARGS name="ANZ2COMP">
						<value><![CDATA[
							if (COLUMN.NAME == 'NB0001') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE001;}
							if (COLUMN.NAME == 'NB0002') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE002;}
							if (COLUMN.NAME == 'NB0003') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE003;}
							if (COLUMN.NAME == 'NB0004') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE004;}
							if (COLUMN.NAME == 'NB0005') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE005;}
							if (COLUMN.NAME == 'NB0006') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE006;}
							if (COLUMN.NAME == 'NB0007') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE007;}
							if (COLUMN.NAME == 'NB0008') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE008;}
							if (COLUMN.NAME == 'NB0009') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE009;}
							if (COLUMN.NAME == 'NB0010') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE010;}
							if (COLUMN.NAME == 'NB0011') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE011;}
							if (COLUMN.NAME == 'NB0012') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE012;}
							if (COLUMN.NAME == 'NB0013') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE013;}
							if (COLUMN.NAME == 'NB0014') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE014;}
							if (COLUMN.NAME == 'NB0015') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE015;}
							if (COLUMN.NAME == 'NB1001') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE101;}
							if (COLUMN.NAME == 'NB1002') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE102;}
							if (COLUMN.NAME == 'NB1003') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE103;}
							if (COLUMN.NAME == 'NB1004') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE104;}
							if (COLUMN.NAME == 'NB1005') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE105;}
							if (COLUMN.NAME == 'NB1006') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE106;}
							if (COLUMN.NAME == 'NB1007') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE107;}
							if (COLUMN.NAME == 'NB1008') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE108;}
							if (COLUMN.NAME == 'NB1009') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE109;}
							if (COLUMN.NAME == 'NB1010') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE110;}
							if (COLUMN.NAME == 'NB1011') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE111;}
							if (COLUMN.NAME == 'NB1012') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE112;}
							if (COLUMN.NAME == 'NB1013') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE113;}
							if (COLUMN.NAME == 'NB1014') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE114;}
							if (COLUMN.NAME == 'NB1015') {LINKVARIABLES['DATACOL'] = '*';LINKVARIABLES['DATACOL001'] = VIEW.DG_CODE115;}
						]]></value>
					</ARGS>
				</VIEWLINK>
				<VIEWLINK label="Evolution" shortLabel="Evolution" view="[VIEW.LINKVIEW_EVOL].XML" rowContext="false" componentName="ECO_VIEWLINK_EVOL" component2Name="ECO_VIEWLINK">
					<ARGS name="ANZ2EVOL">
						<value><![CDATA[
							if (COLUMN.NAME == 'NB0001') {LINKVARIABLES['DATA'] = VIEW.DG_CODE001;}
							if (COLUMN.NAME == 'NB0002') {LINKVARIABLES['DATA'] = VIEW.DG_CODE002;}
							if (COLUMN.NAME == 'NB0003') {LINKVARIABLES['DATA'] = VIEW.DG_CODE003;}
							if (COLUMN.NAME == 'NB0004') {LINKVARIABLES['DATA'] = VIEW.DG_CODE004;}
							if (COLUMN.NAME == 'NB0005') {LINKVARIABLES['DATA'] = VIEW.DG_CODE005;}
							if (COLUMN.NAME == 'NB0006') {LINKVARIABLES['DATA'] = VIEW.DG_CODE006;}
							if (COLUMN.NAME == 'NB0007') {LINKVARIABLES['DATA'] = VIEW.DG_CODE007;}
							if (COLUMN.NAME == 'NB0008') {LINKVARIABLES['DATA'] = VIEW.DG_CODE008;}
							if (COLUMN.NAME == 'NB0009') {LINKVARIABLES['DATA'] = VIEW.DG_CODE009;}
							if (COLUMN.NAME == 'NB0010') {LINKVARIABLES['DATA'] = VIEW.DG_CODE010;}
							if (COLUMN.NAME == 'NB0011') {LINKVARIABLES['DATA'] = VIEW.DG_CODE011;}
							if (COLUMN.NAME == 'NB0012') {LINKVARIABLES['DATA'] = VIEW.DG_CODE012;}
							if (COLUMN.NAME == 'NB0013') {LINKVARIABLES['DATA'] = VIEW.DG_CODE013;}
							if (COLUMN.NAME == 'NB0014') {LINKVARIABLES['DATA'] = VIEW.DG_CODE014;}
							if (COLUMN.NAME == 'NB0015') {LINKVARIABLES['DATA'] = VIEW.DG_CODE015;}
						
						]]></value>
					</ARGS>
				</VIEWLINK>
				<VIEWLINK label="Analyse croisée" shortLabel="Analyse croisée" view="[VIEW.LINKVIEW_CROSS].XML" rowContext="false" componentName="ECO_VIEWLINK_CROSS" component2Name="ECO_VIEWLINK">
					<ARGS name="ANZ2CROSS">
						<value><![CDATA[
							if (COLUMN.NAME == 'NB0001') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE001;}
							if (COLUMN.NAME == 'NB0002') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE002;}
							if (COLUMN.NAME == 'NB0003') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE003;}
							if (COLUMN.NAME == 'NB0004') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE004;}
							if (COLUMN.NAME == 'NB0005') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE005;}
							if (COLUMN.NAME == 'NB0006') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE006;}
							if (COLUMN.NAME == 'NB0007') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE007;}
							if (COLUMN.NAME == 'NB0008') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE008;}
							if (COLUMN.NAME == 'NB0009') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE009;}
							if (COLUMN.NAME == 'NB0010') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE010;}
							if (COLUMN.NAME == 'NB0011') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE011;}
							if (COLUMN.NAME == 'NB0012') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE012;}
							if (COLUMN.NAME == 'NB0013') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE013;}
							if (COLUMN.NAME == 'NB0014') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE014;}
							if (COLUMN.NAME == 'NB0015') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE015;}
							if (COLUMN.NAME == 'NB0016') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE016;}
							if (COLUMN.NAME == 'NB0017') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE017;}
							if (COLUMN.NAME == 'NB0018') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE018;}
							if (COLUMN.NAME == 'NB0019') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE019;}
							if (COLUMN.NAME == 'NB0020') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE020;}
							if (COLUMN.NAME == 'NB0021') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE021;}
							if (COLUMN.NAME == 'NB0022') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE022;}
							if (COLUMN.NAME == 'NB0023') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE023;}
							if (COLUMN.NAME == 'NB0024') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE024;}
							if (COLUMN.NAME == 'NB0025') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE025;}
							if (COLUMN.NAME == 'NB0026') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE026;}
							if (COLUMN.NAME == 'NB0027') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE027;}
							if (COLUMN.NAME == 'NB0028') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE028;}
							if (COLUMN.NAME == 'NB0029') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE029;}
							if (COLUMN.NAME == 'NB0030') {LINKVARIABLES['DATACOLXXX'] = VIEW.DG_CODE030;}
						]]></value>
					</ARGS></VIEWLINK>
				<VIEWLINK label="Justificatif" shortLabel="Justificatif" view="[VIEW.LINKVIEW_JUSTIF].XML" componentName="ECO_VIEWLINK" component2Name="">
					<ARGS name="ANZ2JUS">
						<value><![CDATA[
							if ('[VIEW.CONTEXTE]' == 'CMD') {LINKVARIABLES['GROUPBY_2'] = 'CML';}
							if ('[VIEW.CONTEXTE]' == 'MVT') {LINKVARIABLES['GROUPBY_2'] = 'MVT';}
							if ('[VIEW.CONTEXTE]' == 'MVS' || '[VIEW.CONTEXTE]' == 'STK') {
								LINKVARIABLES['GROUPBY'] = 'ART';
								LINKVARIABLES['DATACOL'] = 'CTI_LIST_MVT100';
								LINKVARIABLES['GROUPBY_2'] = 'MVT';
								LINKVARIABLES['DATA01'] = '-1';
							}
						]]></value>
					</ARGS>
				</VIEWLINK>
				<VIEWLINK label="Fiche Article" shortLabel="Fiche Article" view="[VIEW.LINKVIEW_ART].XML" componentName="ECO_VIEWLINK">
				</VIEWLINK>
			</VIEWLINKS>
			<ONGLET label="Analyse" multiTab="true" chartsPercentHeight="[VIEW.CH_CHARTS]">
				<CHART title="" type="group" subType="h" percentHeight="100"
					   visibleCondition="[VIEW.CH_VISIBLE1]" >
					<CHART title="[VIEW.CH_LHEAD1A]"
						   visibleCondition="[VIEW.CH_VISIBLE1A]"
						   type="[VIEW.CH_TYPE1A]Chart"
						   subType="[VIEW.CH_SUBTYPE1A]"
						   showDataTips="true"
						   maxItems="20"
						   maxItemsSortOn="NB0[VIEW.CH_SERIE1A-01]"
						   maxItemsSortSeq="D"
						   sortField="NB0[VIEW.CH_SERIE1A-01]"
						   sortSeq="D"
						   condition="ROW.LVL == '1'">
						<CATEGORY field="CODTXT" type="Char" />
						<SERIE field="NB0[VIEW.CH_SERIE1A-01]" type="[VIEW.CH_SERIETYPE1A-01]" displayName="[VIEW.CH_SERIELHEAD1A-01]" visible="[VIEW.CH_SERIEVISIBLE1A-01]"/>
						<SERIE field="NB0[VIEW.CH_SERIE1A-02]" type="[VIEW.CH_SERIETYPE1A-02]" displayName="[VIEW.CH_SERIELHEAD1A-02]" visible="[VIEW.CH_SERIEVISIBLE1A-02]"/>
						<SERIE field="NB0[VIEW.CH_SERIE1A-03]" type="[VIEW.CH_SERIETYPE1A-03]" displayName="[VIEW.CH_SERIELHEAD1A-03]" visible="[VIEW.CH_SERIEVISIBLE1A-03]"/>
					</CHART>
					<CHART title="[VIEW.CH_LHEAD1B]"
						   visibleCondition="[VIEW.CH_VISIBLE1B]"
						   type="[VIEW.CH_TYPE1B]Chart"
						   subType="[VIEW.CH_SUBTYPE1B]"
						   showDataTips="true"
						   maxItems="20"
						   maxItemsSortOn="NB0[VIEW.CH_SERIE1B-01]"
						   maxItemsSortSeq="D"
						   sortField="NB0[VIEW.CH_SERIE1B-01]"
						   sortSeq="D"
						   condition="ROW.LVL == '1'">
						<CATEGORY field="CODTXT" type="Char" />
						<SERIE field="NB0[VIEW.CH_SERIE1B-01]" type="[VIEW.CH_SERIETYPE1B-01]" displayName="[VIEW.CH_SERIELHEAD1B-01]" visible="[VIEW.CH_SERIEVISIBLE1B-01]"/>
						<SERIE field="NB0[VIEW.CH_SERIE1B-02]" type="[VIEW.CH_SERIETYPE1B-02]" displayName="[VIEW.CH_SERIELHEAD1B-02]" visible="[VIEW.CH_SERIEVISIBLE1B-02]"/>
						<SERIE field="NB0[VIEW.CH_SERIE1B-03]" type="[VIEW.CH_SERIETYPE1B-03]" displayName="[VIEW.CH_SERIELHEAD1B-03]" visible="[VIEW.CH_SERIEVISIBLE1B-03]"/>
					</CHART>
					<CHART title="[VIEW.CH_LHEAD1C]"
						   visibleCondition="[VIEW.CH_VISIBLE1C]"
						   type="[VIEW.CH_TYPE1C]Chart"
						   subType="[VIEW.CH_SUBTYPE1C]"
						   showDataTips="true"
						   maxItems="20"
						   maxItemsSortOn="NB0[VIEW.CH_SERIE1C-01]"
						   maxItemsSortSeq="D"
						   sortField="NB0[VIEW.CH_SERIE1C-01]"
						   sortSeq="D"
						   condition="ROW.LVL == '1'">
						<CATEGORY field="CODTXT" type="Char" />
						<SERIE field="NB0[VIEW.CH_SERIE1C-01]" type="[VIEW.CH_SERIETYPE1C-01]" displayName="[VIEW.CH_SERIELHEAD1C-01]" visible="[VIEW.CH_SERIEVISIBLE1C-01]"/>
						<SERIE field="NB0[VIEW.CH_SERIE1C-02]" type="[VIEW.CH_SERIETYPE1C-02]" displayName="[VIEW.CH_SERIELHEAD1C-02]" visible="[VIEW.CH_SERIEVISIBLE1C-02]"/>
						<SERIE field="NB0[VIEW.CH_SERIE1C-03]" type="[VIEW.CH_SERIETYPE1C-03]" displayName="[VIEW.CH_SERIELHEAD1C-03]" visible="[VIEW.CH_SERIEVISIBLE1C-03]"/>
					</CHART>
				</CHART>
				<CHART title="" type="group" subType="h" percentHeight="100"
					   visibleCondition="[VIEW.CH_VISIBLE2]" >
					<CHART title="[VIEW.CH_LHEAD2A]"
						   visibleCondition="[VIEW.CH_VISIBLE2A]"
						   type="[VIEW.CH_TYPE2A]Chart"
						   subType="[VIEW.CH_SUBTYPE2A]"
						   showDataTips="true"
						   maxItems="20"
						   maxItemsSortOn="NB0[VIEW.CH_SERIE2A-01]"
						   maxItemsSortSeq="D"
						   sortField="NB0[VIEW.CH_SERIE2A-01]"
						   sortSeq="D"
						   condition="ROW.LVL == '1'">
						<CATEGORY field="CODTXT" type="Char" />
						<SERIE field="NB0[VIEW.CH_SERIE2A-01]" type="[VIEW.CH_SERIETYPE2A-01]" displayName="[VIEW.CH_SERIELHEAD2A-01]" visible="[VIEW.CH_SERIEVISIBLE2A-01]"/>
						<SERIE field="NB0[VIEW.CH_SERIE2A-02]" type="[VIEW.CH_SERIETYPE2A-02]" displayName="[VIEW.CH_SERIELHEAD2A-02]" visible="[VIEW.CH_SERIEVISIBLE2A-02]"/>
						<SERIE field="NB0[VIEW.CH_SERIE2A-03]" type="[VIEW.CH_SERIETYPE2A-03]" displayName="[VIEW.CH_SERIELHEAD2A-03]" visible="[VIEW.CH_SERIEVISIBLE2A-03]"/>
					</CHART>
					<CHART title="[VIEW.CH_LHEAD2B]"
						   visibleCondition="[VIEW.CH_VISIBLE2B]"
						   type="[VIEW.CH_TYPE2B]Chart"
						   subType="[VIEW.CH_SUBTYPE2B]"
						   showDataTips="true"
						   maxItems="20"
						   maxItemsSortOn="NB0[VIEW.CH_SERIE2B-01]"
						   maxItemsSortSeq="D"
						   sortField="NB0[VIEW.CH_SERIE2B-01]"
						   sortSeq="D"
						   condition="ROW.LVL == '1'">
						<CATEGORY field="CODTXT" type="Char" />
						<SERIE field="NB0[VIEW.CH_SERIE2B-01]" type="[VIEW.CH_SERIETYPE2B-01]" displayName="[VIEW.CH_SERIELHEAD2B-01]" visible="[VIEW.CH_SERIEVISIBLE2B-01]"/>
						<SERIE field="NB0[VIEW.CH_SERIE2B-02]" type="[VIEW.CH_SERIETYPE2B-02]" displayName="[VIEW.CH_SERIELHEAD2B-02]" visible="[VIEW.CH_SERIEVISIBLE2B-02]"/>
						<SERIE field="NB0[VIEW.CH_SERIE2B-03]" type="[VIEW.CH_SERIETYPE2B-03]" displayName="[VIEW.CH_SERIELHEAD2B-03]" visible="[VIEW.CH_SERIEVISIBLE2B-03]"/>
					</CHART>
					<CHART title="[VIEW.CH_LHEAD2C]"
						   visibleCondition="[VIEW.CH_VISIBLE2C]"
						   type="[VIEW.CH_TYPE2C]Chart"
						   subType="[VIEW.CH_SUBTYPE2C]"
						   showDataTips="true"
						   maxItems="20"
						   maxItemsSortOn="NB0[VIEW.CH_SERIE2C-01]"
						   maxItemsSortSeq="D"
						   sortField="NB0[VIEW.CH_SERIE2C-01]"
						   sortSeq="A"
						   condition="ROW.LVL == '1'">
						<CATEGORY field="CODTXT" type="Char" />
						<SERIE field="NB0[VIEW.CH_SERIE2C-01]" type="[VIEW.CH_SERIETYPE2C-01]" displayName="[VIEW.CH_SERIELHEAD2C-01]" visible="[VIEW.CH_SERIEVISIBLE2C-01]"/>
						<SERIE field="NB0[VIEW.CH_SERIE2C-02]" type="[VIEW.CH_SERIETYPE2C-02]" displayName="[VIEW.CH_SERIELHEAD2C-02]" visible="[VIEW.CH_SERIEVISIBLE2C-02]"/>
						<SERIE field="NB0[VIEW.CH_SERIE2C-03]" type="[VIEW.CH_SERIETYPE2C-03]" displayName="[VIEW.CH_SERIELHEAD2C-03]" visible="[VIEW.CH_SERIEVISIBLE2C-03]"/>
					</CHART>
				</CHART>
				<DATAGRID title="" total="true" headerHeight="80" selectRowInRows="= ROW.OID == '-9999997'" otherRowInRows="= ROW.OID == '-9999998'" totalRowInRows="= ROW.OID == '-9999999'" variableRowHeight="true" sortable="= SELECT.GROUPBY_3 == '-1' &amp;&amp; (SELECT.GROUPBY_2 == '-1' || SELECT.GROUPBY_TAB == 'TAB')">
					<INSERT name="DATAGRID_MULTITAB_STYLES"/>
					<ROWSTYLE name="fontWeight" value="bold" condition="ROW.MX == '1'" />
					<COLUMN dataField="OID" type="Number" visible="false"/>
					<COLUMN dataField="COD" type="Char" width="200" outputFormat="#" headerText="Code" textAlign="left" totalComplement="*ROW">
						<INSERT name="COLUMN_COD_MULTITAB_STYLES"/>
					</COLUMN>
					<COLUMN dataField="TXT" type="Char" minWidth="110" headerText="SELECT.GROUPBY_LABEL" headerTextCalc="true" textAlign="left" totalComplement="*ROW">
						<INSERT name="COLUMN_COD_MULTITAB_STYLES"/>
						<CELLSTYLE name="toolTip" value="= ROW.TXT.toString()" />
					</COLUMN>
					<COLUMN dataField="CODTXT" type="Char" visible="false" totalFunction="text" otherFunction="text" calc="true">
						<CALC formula="ROW.TXT.toString().substr(0,40)" condition="ROW.COD == ROW.TXT"/>
						<CALC formula="(ROW.COD + ' - ' + ROW.TXT).toString().substr(0,40)" condition="ROW.COD != ROW.TXT"/>
					</COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD001]" type="[VIEW.DG_FTYPE001]" width="[VIEW.DG_WIDTH001]" selectable="[VIEW.DG_SELECT001]"                                outputFormat="[VIEW.DG_FMT001]" headerText="[VIEW.DG_HEAD001]" description="[VIEW.DG_DESC001]" textAlign="[VIEW.DG_FALIGN001]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR001]" condition="'[VIEW.DG_BGCOLOR001]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR001]" condition="'[VIEW.DG_BGCOLOR001]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR001]" condition="'[VIEW.DG_COLOR001]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC001 + ' : ' + ROW.[VIEW.DG_FIELD001].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD002]" type="[VIEW.DG_FTYPE002]" width="[VIEW.DG_WIDTH002]" selectable="[VIEW.DG_SELECT002]" visible="[VIEW.DG_VISIBLE002]" outputFormat="[VIEW.DG_FMT002]" headerText="[VIEW.DG_HEAD002]" description="[VIEW.DG_DESC002]" textAlign="[VIEW.DG_FALIGN002]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR002]" condition="'[VIEW.DG_BGCOLOR002]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR002]" condition="'[VIEW.DG_BGCOLOR002]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR002]" condition="'[VIEW.DG_COLOR002]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC002 + ' : ' + ROW.[VIEW.DG_FIELD002].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD003]" type="[VIEW.DG_FTYPE003]" width="[VIEW.DG_WIDTH003]" selectable="[VIEW.DG_SELECT003]" visible="[VIEW.DG_VISIBLE003]" outputFormat="[VIEW.DG_FMT003]" headerText="[VIEW.DG_HEAD003]" description="[VIEW.DG_DESC003]" textAlign="[VIEW.DG_FALIGN003]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR003]" condition="'[VIEW.DG_BGCOLOR003]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR003]" condition="'[VIEW.DG_BGCOLOR003]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR003]" condition="'[VIEW.DG_COLOR003]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC003 + ' : ' + ROW.[VIEW.DG_FIELD003].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD004]" type="[VIEW.DG_FTYPE004]" width="[VIEW.DG_WIDTH004]" selectable="[VIEW.DG_SELECT004]" visible="[VIEW.DG_VISIBLE004]" outputFormat="[VIEW.DG_FMT004]" headerText="[VIEW.DG_HEAD004]" description="[VIEW.DG_DESC004]" textAlign="[VIEW.DG_FALIGN004]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR004]" condition="'[VIEW.DG_BGCOLOR004]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR004]" condition="'[VIEW.DG_BGCOLOR004]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR004]" condition="'[VIEW.DG_COLOR004]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC004 + ' : ' + ROW.[VIEW.DG_FIELD004].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD005]" type="[VIEW.DG_FTYPE005]" width="[VIEW.DG_WIDTH005]" selectable="[VIEW.DG_SELECT005]" visible="[VIEW.DG_VISIBLE005]" outputFormat="[VIEW.DG_FMT005]" headerText="[VIEW.DG_HEAD005]" description="[VIEW.DG_DESC005]" textAlign="[VIEW.DG_FALIGN005]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR005]" condition="'[VIEW.DG_BGCOLOR005]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR005]" condition="'[VIEW.DG_BGCOLOR005]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR005]" condition="'[VIEW.DG_COLOR005]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC005 + ' : ' + ROW.[VIEW.DG_FIELD005].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD006]" type="[VIEW.DG_FTYPE006]" width="[VIEW.DG_WIDTH006]" selectable="[VIEW.DG_SELECT006]" visible="[VIEW.DG_VISIBLE006]" outputFormat="[VIEW.DG_FMT006]" headerText="[VIEW.DG_HEAD006]" description="[VIEW.DG_DESC006]" textAlign="[VIEW.DG_FALIGN006]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR006]" condition="'[VIEW.DG_BGCOLOR006]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR006]" condition="'[VIEW.DG_BGCOLOR006]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR006]" condition="'[VIEW.DG_COLOR006]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC006 + ' : ' + ROW.[VIEW.DG_FIELD006].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD007]" type="[VIEW.DG_FTYPE007]" width="[VIEW.DG_WIDTH007]" selectable="[VIEW.DG_SELECT007]" visible="[VIEW.DG_VISIBLE007]" outputFormat="[VIEW.DG_FMT007]" headerText="[VIEW.DG_HEAD007]" description="[VIEW.DG_DESC007]" textAlign="[VIEW.DG_FALIGN007]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR007]" condition="'[VIEW.DG_BGCOLOR007]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR007]" condition="'[VIEW.DG_BGCOLOR007]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR007]" condition="'[VIEW.DG_COLOR007]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC007 + ' : ' + ROW.[VIEW.DG_FIELD007].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD008]" type="[VIEW.DG_FTYPE008]" width="[VIEW.DG_WIDTH008]" selectable="[VIEW.DG_SELECT008]" visible="[VIEW.DG_VISIBLE008]" outputFormat="[VIEW.DG_FMT008]" headerText="[VIEW.DG_HEAD008]" description="[VIEW.DG_DESC008]" textAlign="[VIEW.DG_FALIGN008]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR008]" condition="'[VIEW.DG_BGCOLOR008]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR008]" condition="'[VIEW.DG_BGCOLOR008]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR008]" condition="'[VIEW.DG_COLOR008]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC008 + ' : ' + ROW.[VIEW.DG_FIELD008].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD009]" type="[VIEW.DG_FTYPE009]" width="[VIEW.DG_WIDTH009]" selectable="[VIEW.DG_SELECT009]" visible="[VIEW.DG_VISIBLE009]" outputFormat="[VIEW.DG_FMT009]" headerText="[VIEW.DG_HEAD009]" description="[VIEW.DG_DESC009]" textAlign="[VIEW.DG_FALIGN009]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR009]" condition="'[VIEW.DG_BGCOLOR009]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR009]" condition="'[VIEW.DG_BGCOLOR009]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR009]" condition="'[VIEW.DG_COLOR009]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC009 + ' : ' + ROW.[VIEW.DG_FIELD009].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD010]" type="[VIEW.DG_FTYPE010]" width="[VIEW.DG_WIDTH010]" selectable="[VIEW.DG_SELECT010]" visible="[VIEW.DG_VISIBLE010]" outputFormat="[VIEW.DG_FMT010]" headerText="[VIEW.DG_HEAD010]" description="[VIEW.DG_DESC010]" textAlign="[VIEW.DG_FALIGN010]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR010]" condition="'[VIEW.DG_BGCOLOR010]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR010]" condition="'[VIEW.DG_BGCOLOR010]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR010]" condition="'[VIEW.DG_COLOR010]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC010 + ' : ' + ROW.[VIEW.DG_FIELD010].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD011]" type="[VIEW.DG_FTYPE011]" width="[VIEW.DG_WIDTH011]" selectable="[VIEW.DG_SELECT011]" visible="[VIEW.DG_VISIBLE011]" outputFormat="[VIEW.DG_FMT011]" headerText="[VIEW.DG_HEAD011]" description="[VIEW.DG_DESC011]" textAlign="[VIEW.DG_FALIGN011]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR011]" condition="'[VIEW.DG_BGCOLOR011]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR011]" condition="'[VIEW.DG_BGCOLOR011]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR011]" condition="'[VIEW.DG_COLOR011]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC011 + ' : ' + ROW.[VIEW.DG_FIELD011].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD012]" type="[VIEW.DG_FTYPE012]" width="[VIEW.DG_WIDTH012]" selectable="[VIEW.DG_SELECT012]" visible="[VIEW.DG_VISIBLE012]" outputFormat="[VIEW.DG_FMT012]" headerText="[VIEW.DG_HEAD012]" description="[VIEW.DG_DESC012]" textAlign="[VIEW.DG_FALIGN012]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR012]" condition="'[VIEW.DG_BGCOLOR012]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR012]" condition="'[VIEW.DG_BGCOLOR012]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR012]" condition="'[VIEW.DG_COLOR012]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC012 + ' : ' + ROW.[VIEW.DG_FIELD012].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD013]" type="[VIEW.DG_FTYPE013]" width="[VIEW.DG_WIDTH013]" selectable="[VIEW.DG_SELECT013]" visible="[VIEW.DG_VISIBLE013]" outputFormat="[VIEW.DG_FMT013]" headerText="[VIEW.DG_HEAD013]" description="[VIEW.DG_DESC013]" textAlign="[VIEW.DG_FALIGN013]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR013]" condition="'[VIEW.DG_BGCOLOR013]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR013]" condition="'[VIEW.DG_BGCOLOR013]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR013]" condition="'[VIEW.DG_COLOR013]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC013 + ' : ' + ROW.[VIEW.DG_FIELD013].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD014]" type="[VIEW.DG_FTYPE014]" width="[VIEW.DG_WIDTH014]" selectable="[VIEW.DG_SELECT014]" visible="[VIEW.DG_VISIBLE014]" outputFormat="[VIEW.DG_FMT014]" headerText="[VIEW.DG_HEAD014]" description="[VIEW.DG_DESC014]" textAlign="[VIEW.DG_FALIGN014]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR014]" condition="'[VIEW.DG_BGCOLOR014]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR014]" condition="'[VIEW.DG_BGCOLOR014]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR014]" condition="'[VIEW.DG_COLOR014]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC014 + ' : ' + ROW.[VIEW.DG_FIELD014].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD015]" type="[VIEW.DG_FTYPE015]" width="[VIEW.DG_WIDTH015]" selectable="[VIEW.DG_SELECT015]" visible="[VIEW.DG_VISIBLE015]" outputFormat="[VIEW.DG_FMT015]" headerText="[VIEW.DG_HEAD015]" description="[VIEW.DG_DESC015]" textAlign="[VIEW.DG_FALIGN015]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR015]" condition="'[VIEW.DG_BGCOLOR015]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR015]" condition="'[VIEW.DG_BGCOLOR015]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR015]" condition="'[VIEW.DG_COLOR015]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC015 + ' : ' + ROW.[VIEW.DG_FIELD015].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD016]" type="[VIEW.DG_FTYPE016]" width="[VIEW.DG_WIDTH016]" selectable="[VIEW.DG_SELECT016]" visible="[VIEW.DG_VISIBLE016]" outputFormat="[VIEW.DG_FMT016]" headerText="[VIEW.DG_HEAD016]" description="[VIEW.DG_DESC016]" textAlign="[VIEW.DG_FALIGN016]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR016]" condition="'[VIEW.DG_BGCOLOR016]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR016]" condition="'[VIEW.DG_BGCOLOR016]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR016]" condition="'[VIEW.DG_COLOR016]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC016 + ' : ' + ROW.[VIEW.DG_FIELD016].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD017]" type="[VIEW.DG_FTYPE017]" width="[VIEW.DG_WIDTH017]" selectable="[VIEW.DG_SELECT017]" visible="[VIEW.DG_VISIBLE017]" outputFormat="[VIEW.DG_FMT017]" headerText="[VIEW.DG_HEAD017]" description="[VIEW.DG_DESC017]" textAlign="[VIEW.DG_FALIGN017]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR017]" condition="'[VIEW.DG_BGCOLOR017]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR017]" condition="'[VIEW.DG_BGCOLOR017]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR017]" condition="'[VIEW.DG_COLOR017]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC017 + ' : ' + ROW.[VIEW.DG_FIELD017].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD018]" type="[VIEW.DG_FTYPE018]" width="[VIEW.DG_WIDTH018]" selectable="[VIEW.DG_SELECT018]" visible="[VIEW.DG_VISIBLE018]" outputFormat="[VIEW.DG_FMT018]" headerText="[VIEW.DG_HEAD018]" description="[VIEW.DG_DESC018]" textAlign="[VIEW.DG_FALIGN018]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR018]" condition="'[VIEW.DG_BGCOLOR018]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR018]" condition="'[VIEW.DG_BGCOLOR018]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR018]" condition="'[VIEW.DG_COLOR018]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC018 + ' : ' + ROW.[VIEW.DG_FIELD018].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD019]" type="[VIEW.DG_FTYPE019]" width="[VIEW.DG_WIDTH019]" selectable="[VIEW.DG_SELECT019]" visible="[VIEW.DG_VISIBLE019]" outputFormat="[VIEW.DG_FMT019]" headerText="[VIEW.DG_HEAD019]" description="[VIEW.DG_DESC019]" textAlign="[VIEW.DG_FALIGN019]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR019]" condition="'[VIEW.DG_BGCOLOR019]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR019]" condition="'[VIEW.DG_BGCOLOR019]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR019]" condition="'[VIEW.DG_COLOR019]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC019 + ' : ' + ROW.[VIEW.DG_FIELD019].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD020]" type="[VIEW.DG_FTYPE020]" width="[VIEW.DG_WIDTH020]" selectable="[VIEW.DG_SELECT020]" visible="[VIEW.DG_VISIBLE020]" outputFormat="[VIEW.DG_FMT020]" headerText="[VIEW.DG_HEAD020]" description="[VIEW.DG_DESC020]" textAlign="[VIEW.DG_FALIGN020]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR020]" condition="'[VIEW.DG_BGCOLOR020]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR020]" condition="'[VIEW.DG_BGCOLOR020]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR020]" condition="'[VIEW.DG_COLOR020]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC020 + ' : ' + ROW.[VIEW.DG_FIELD020].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD021]" type="[VIEW.DG_FTYPE021]" width="[VIEW.DG_WIDTH021]" selectable="[VIEW.DG_SELECT021]" visible="[VIEW.DG_VISIBLE021]" outputFormat="[VIEW.DG_FMT021]" headerText="[VIEW.DG_HEAD021]" description="[VIEW.DG_DESC021]" textAlign="[VIEW.DG_FALIGN021]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR021]" condition="'[VIEW.DG_BGCOLOR021]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR021]" condition="'[VIEW.DG_BGCOLOR021]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR021]" condition="'[VIEW.DG_COLOR021]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC021 + ' : ' + ROW.[VIEW.DG_FIELD021].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD022]" type="[VIEW.DG_FTYPE022]" width="[VIEW.DG_WIDTH022]" selectable="[VIEW.DG_SELECT022]" visible="[VIEW.DG_VISIBLE022]" outputFormat="[VIEW.DG_FMT022]" headerText="[VIEW.DG_HEAD022]" description="[VIEW.DG_DESC022]" textAlign="[VIEW.DG_FALIGN022]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR022]" condition="'[VIEW.DG_BGCOLOR022]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR022]" condition="'[VIEW.DG_BGCOLOR022]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR022]" condition="'[VIEW.DG_COLOR022]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC022 + ' : ' + ROW.[VIEW.DG_FIELD022].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD023]" type="[VIEW.DG_FTYPE023]" width="[VIEW.DG_WIDTH023]" selectable="[VIEW.DG_SELECT023]" visible="[VIEW.DG_VISIBLE023]" outputFormat="[VIEW.DG_FMT023]" headerText="[VIEW.DG_HEAD023]" description="[VIEW.DG_DESC023]" textAlign="[VIEW.DG_FALIGN023]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR023]" condition="'[VIEW.DG_BGCOLOR023]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR023]" condition="'[VIEW.DG_BGCOLOR023]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR023]" condition="'[VIEW.DG_COLOR023]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC023 + ' : ' + ROW.[VIEW.DG_FIELD023].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD024]" type="[VIEW.DG_FTYPE024]" width="[VIEW.DG_WIDTH024]" selectable="[VIEW.DG_SELECT024]" visible="[VIEW.DG_VISIBLE024]" outputFormat="[VIEW.DG_FMT024]" headerText="[VIEW.DG_HEAD024]" description="[VIEW.DG_DESC024]" textAlign="[VIEW.DG_FALIGN024]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR024]" condition="'[VIEW.DG_BGCOLOR024]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR024]" condition="'[VIEW.DG_BGCOLOR024]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR024]" condition="'[VIEW.DG_COLOR024]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC024 + ' : ' + ROW.[VIEW.DG_FIELD024].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD025]" type="[VIEW.DG_FTYPE025]" width="[VIEW.DG_WIDTH025]" selectable="[VIEW.DG_SELECT025]" visible="[VIEW.DG_VISIBLE025]" outputFormat="[VIEW.DG_FMT025]" headerText="[VIEW.DG_HEAD025]" description="[VIEW.DG_DESC025]" textAlign="[VIEW.DG_FALIGN025]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR025]" condition="'[VIEW.DG_BGCOLOR025]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR025]" condition="'[VIEW.DG_BGCOLOR025]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR025]" condition="'[VIEW.DG_COLOR025]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC025 + ' : ' + ROW.[VIEW.DG_FIELD025].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD026]" type="[VIEW.DG_FTYPE026]" width="[VIEW.DG_WIDTH026]" selectable="[VIEW.DG_SELECT026]" visible="[VIEW.DG_VISIBLE026]" outputFormat="[VIEW.DG_FMT026]" headerText="[VIEW.DG_HEAD026]" description="[VIEW.DG_DESC026]" textAlign="[VIEW.DG_FALIGN026]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR026]" condition="'[VIEW.DG_BGCOLOR026]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR026]" condition="'[VIEW.DG_BGCOLOR026]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR026]" condition="'[VIEW.DG_COLOR026]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC026 + ' : ' + ROW.[VIEW.DG_FIELD026].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD027]" type="[VIEW.DG_FTYPE027]" width="[VIEW.DG_WIDTH027]" selectable="[VIEW.DG_SELECT027]" visible="[VIEW.DG_VISIBLE027]" outputFormat="[VIEW.DG_FMT027]" headerText="[VIEW.DG_HEAD027]" description="[VIEW.DG_DESC027]" textAlign="[VIEW.DG_FALIGN027]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR027]" condition="'[VIEW.DG_BGCOLOR027]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR027]" condition="'[VIEW.DG_BGCOLOR027]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR027]" condition="'[VIEW.DG_COLOR027]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC027 + ' : ' + ROW.[VIEW.DG_FIELD027].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD028]" type="[VIEW.DG_FTYPE028]" width="[VIEW.DG_WIDTH028]" selectable="[VIEW.DG_SELECT028]" visible="[VIEW.DG_VISIBLE028]" outputFormat="[VIEW.DG_FMT028]" headerText="[VIEW.DG_HEAD028]" description="[VIEW.DG_DESC028]" textAlign="[VIEW.DG_FALIGN028]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR028]" condition="'[VIEW.DG_BGCOLOR028]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR028]" condition="'[VIEW.DG_BGCOLOR028]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR028]" condition="'[VIEW.DG_COLOR028]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC028 + ' : ' + ROW.[VIEW.DG_FIELD028].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD029]" type="[VIEW.DG_FTYPE029]" width="[VIEW.DG_WIDTH029]" selectable="[VIEW.DG_SELECT029]" visible="[VIEW.DG_VISIBLE029]" outputFormat="[VIEW.DG_FMT029]" headerText="[VIEW.DG_HEAD029]" description="[VIEW.DG_DESC029]" textAlign="[VIEW.DG_FALIGN029]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR029]" condition="'[VIEW.DG_BGCOLOR029]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR029]" condition="'[VIEW.DG_BGCOLOR029]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR029]" condition="'[VIEW.DG_COLOR029]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC029 + ' : ' + ROW.[VIEW.DG_FIELD029].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD030]" type="[VIEW.DG_FTYPE030]" width="[VIEW.DG_WIDTH030]" selectable="[VIEW.DG_SELECT030]" visible="[VIEW.DG_VISIBLE030]" outputFormat="[VIEW.DG_FMT030]" headerText="[VIEW.DG_HEAD030]" description="[VIEW.DG_DESC030]" textAlign="[VIEW.DG_FALIGN030]" totalComplement="*ROW"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR030]" condition="'[VIEW.DG_BGCOLOR030]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR030]" condition="'[VIEW.DG_BGCOLOR030]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR030]" condition="'[VIEW.DG_COLOR030]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC030 + ' : ' + ROW.[VIEW.DG_FIELD030].toString()" /></COLUMN>

				</DATAGRID>
			</ONGLET>
		</PRESENTATION>
	</COMPONENT>

	<COMPONENT name="PRESENTATION_JUSTIF">
		<PRESENTATION>
			<VIEWLINKS>
				<VIEWLINK label="Détail ligne commande" shortLabel="Détail commande" view="ECO001011.XML" componentName="ECO_VIEWLINK" rowContext="true"
						  visible="= '[VIEW.CONTEXTE]' == 'MVT' &amp;&amp; (
						(VIEW.DG_CODE001 == 'CTI_MVTCMD' &amp;&amp; ROW.DG_FIELD001 != '') ||
						(VIEW.DG_CODE002 == 'CTI_MVTCMD' &amp;&amp; ROW.DG_FIELD002 != '') ||
						(VIEW.DG_CODE003 == 'CTI_MVTCMD' &amp;&amp; ROW.DG_FIELD003 != '') ||
						(VIEW.DG_CODE004 == 'CTI_MVTCMD' &amp;&amp; ROW.DG_FIELD004 != '') ||
						(VIEW.DG_CODE005 == 'CTI_MVTCMD' &amp;&amp; ROW.DG_FIELD005 != '') ||
						(VIEW.DG_CODE006 == 'CTI_MVTCMD' &amp;&amp; ROW.DG_FIELD006 != '') ||
						(VIEW.DG_CODE007 == 'CTI_MVTCMD' &amp;&amp; ROW.DG_FIELD007 != '') ||
						(VIEW.DG_CODE008 == 'CTI_MVTCMD' &amp;&amp; ROW.DG_FIELD008 != '') ||
						(VIEW.DG_CODE009 == 'CTI_MVTCMD' &amp;&amp; ROW.DG_FIELD009 != '') ||
						(VIEW.DG_CODE010 == 'CTI_MVTCMD' &amp;&amp; ROW.DG_FIELD010 != '') ||
						(VIEW.DG_CODE011 == 'CTI_MVTCMD' &amp;&amp; ROW.DG_FIELD011 != '') ||
						(VIEW.DG_CODE012 == 'CTI_MVTCMD' &amp;&amp; ROW.DG_FIELD012 != '') ||
						(VIEW.DG_CODE013 == 'CTI_MVTCMD' &amp;&amp; ROW.DG_FIELD013 != '') ||
						(VIEW.DG_CODE014 == 'CTI_MVTCMD' &amp;&amp; ROW.DG_FIELD014 != '') ||
						(VIEW.DG_CODE015 == 'CTI_MVTCMD' &amp;&amp; ROW.DG_FIELD015 != '') ||
						(VIEW.DG_CODE016 == 'CTI_MVTCMD' &amp;&amp; ROW.DG_FIELD016 != '') ||
						(VIEW.DG_CODE017 == 'CTI_MVTCMD' &amp;&amp; ROW.DG_FIELD017 != '') ||
						(VIEW.DG_CODE018 == 'CTI_MVTCMD' &amp;&amp; ROW.DG_FIELD018 != '') ||
						(VIEW.DG_CODE019 == 'CTI_MVTCMD' &amp;&amp; ROW.DG_FIELD019 != '') ||
						(VIEW.DG_CODE020 == 'CTI_MVTCMD' &amp;&amp; ROW.DG_FIELD020 != '')
						)
						">
					<ARGS name="SPEC" >
						<value><![CDATA[
						if (VIEW.DG_CODE001 == 'CTI_MVTCMD') {LINKVARIABLES['NUMERO_COMMANDE'] = ROW.TX0001}
						if (VIEW.DG_CODE002 == 'CTI_MVTCMD') {LINKVARIABLES['NUMERO_COMMANDE'] = ROW.TX0002}
						if (VIEW.DG_CODE003 == 'CTI_MVTCMD') {LINKVARIABLES['NUMERO_COMMANDE'] = ROW.TX0003}
						if (VIEW.DG_CODE004 == 'CTI_MVTCMD') {LINKVARIABLES['NUMERO_COMMANDE'] = ROW.TX0004}
						if (VIEW.DG_CODE005 == 'CTI_MVTCMD') {LINKVARIABLES['NUMERO_COMMANDE'] = ROW.TX0005}
						if (VIEW.DG_CODE006 == 'CTI_MVTCMD') {LINKVARIABLES['NUMERO_COMMANDE'] = ROW.TX0006}
						if (VIEW.DG_CODE007 == 'CTI_MVTCMD') {LINKVARIABLES['NUMERO_COMMANDE'] = ROW.TX0007}
						if (VIEW.DG_CODE008 == 'CTI_MVTCMD') {LINKVARIABLES['NUMERO_COMMANDE'] = ROW.TX0008}
						if (VIEW.DG_CODE009 == 'CTI_MVTCMD') {LINKVARIABLES['NUMERO_COMMANDE'] = ROW.TX0009}
						if (VIEW.DG_CODE010 == 'CTI_MVTCMD') {LINKVARIABLES['NUMERO_COMMANDE'] = ROW.TX0010}
						if (VIEW.DG_CODE011 == 'CTI_MVTCMD') {LINKVARIABLES['NUMERO_COMMANDE'] = ROW.TX0011}
						if (VIEW.DG_CODE012 == 'CTI_MVTCMD') {LINKVARIABLES['NUMERO_COMMANDE'] = ROW.TX0012}
						if (VIEW.DG_CODE013 == 'CTI_MVTCMD') {LINKVARIABLES['NUMERO_COMMANDE'] = ROW.TX0013}
						if (VIEW.DG_CODE014 == 'CTI_MVTCMD') {LINKVARIABLES['NUMERO_COMMANDE'] = ROW.TX0014}
						if (VIEW.DG_CODE015 == 'CTI_MVTCMD') {LINKVARIABLES['NUMERO_COMMANDE'] = ROW.TX0015}
						if (VIEW.DG_CODE016 == 'CTI_MVTCMD') {LINKVARIABLES['NUMERO_COMMANDE'] = ROW.TX0016}
						if (VIEW.DG_CODE017 == 'CTI_MVTCMD') {LINKVARIABLES['NUMERO_COMMANDE'] = ROW.TX0017}
						if (VIEW.DG_CODE018 == 'CTI_MVTCMD') {LINKVARIABLES['NUMERO_COMMANDE'] = ROW.TX0018}
						if (VIEW.DG_CODE019 == 'CTI_MVTCMD') {LINKVARIABLES['NUMERO_COMMANDE'] = ROW.TX0019}
						if (VIEW.DG_CODE020 == 'CTI_MVTCMD') {LINKVARIABLES['NUMERO_COMMANDE'] = ROW.TX0020}
						if (VIEW.DG_CODE001 == 'CTI_MVTDCMD') {LINKVARIABLES['PERIODE'] = ROW.TX0001;LINKVARIABLES['TOPERIODE'] = ROW.TX0001}
						if (VIEW.DG_CODE002 == 'CTI_MVTDCMD') {LINKVARIABLES['PERIODE'] = ROW.TX0002;LINKVARIABLES['TOPERIODE'] = ROW.TX0002}
						if (VIEW.DG_CODE003 == 'CTI_MVTDCMD') {LINKVARIABLES['PERIODE'] = ROW.TX0003;LINKVARIABLES['TOPERIODE'] = ROW.TX0003}
						if (VIEW.DG_CODE004 == 'CTI_MVTDCMD') {LINKVARIABLES['PERIODE'] = ROW.TX0004;LINKVARIABLES['TOPERIODE'] = ROW.TX0004}
						if (VIEW.DG_CODE005 == 'CTI_MVTDCMD') {LINKVARIABLES['PERIODE'] = ROW.TX0005;LINKVARIABLES['TOPERIODE'] = ROW.TX0005}
						if (VIEW.DG_CODE006 == 'CTI_MVTDCMD') {LINKVARIABLES['PERIODE'] = ROW.TX0006;LINKVARIABLES['TOPERIODE'] = ROW.TX0006}
						if (VIEW.DG_CODE007 == 'CTI_MVTDCMD') {LINKVARIABLES['PERIODE'] = ROW.TX0007;LINKVARIABLES['TOPERIODE'] = ROW.TX0007}
						if (VIEW.DG_CODE008 == 'CTI_MVTDCMD') {LINKVARIABLES['PERIODE'] = ROW.TX0008;LINKVARIABLES['TOPERIODE'] = ROW.TX0008}
						if (VIEW.DG_CODE009 == 'CTI_MVTDCMD') {LINKVARIABLES['PERIODE'] = ROW.TX0009;LINKVARIABLES['TOPERIODE'] = ROW.TX0009}
						if (VIEW.DG_CODE010 == 'CTI_MVTDCMD') {LINKVARIABLES['PERIODE'] = ROW.TX0010;LINKVARIABLES['TOPERIODE'] = ROW.TX0010}
						if (VIEW.DG_CODE011 == 'CTI_MVTDCMD') {LINKVARIABLES['PERIODE'] = ROW.TX0011;LINKVARIABLES['TOPERIODE'] = ROW.TX0011}
						if (VIEW.DG_CODE012 == 'CTI_MVTDCMD') {LINKVARIABLES['PERIODE'] = ROW.TX0012;LINKVARIABLES['TOPERIODE'] = ROW.TX0012}
						if (VIEW.DG_CODE013 == 'CTI_MVTDCMD') {LINKVARIABLES['PERIODE'] = ROW.TX0013;LINKVARIABLES['TOPERIODE'] = ROW.TX0013}
						if (VIEW.DG_CODE014 == 'CTI_MVTDCMD') {LINKVARIABLES['PERIODE'] = ROW.TX0014;LINKVARIABLES['TOPERIODE'] = ROW.TX0014}
						if (VIEW.DG_CODE015 == 'CTI_MVTDCMD') {LINKVARIABLES['PERIODE'] = ROW.TX0015;LINKVARIABLES['TOPERIODE'] = ROW.TX0015}
						if (VIEW.DG_CODE016 == 'CTI_MVTDCMD') {LINKVARIABLES['PERIODE'] = ROW.TX0016;LINKVARIABLES['TOPERIODE'] = ROW.TX0016}
						if (VIEW.DG_CODE017 == 'CTI_MVTDCMD') {LINKVARIABLES['PERIODE'] = ROW.TX0017;LINKVARIABLES['TOPERIODE'] = ROW.TX0017}
						if (VIEW.DG_CODE018 == 'CTI_MVTDCMD') {LINKVARIABLES['PERIODE'] = ROW.TX0018;LINKVARIABLES['TOPERIODE'] = ROW.TX0018}
						if (VIEW.DG_CODE019 == 'CTI_MVTDCMD') {LINKVARIABLES['PERIODE'] = ROW.TX0019;LINKVARIABLES['TOPERIODE'] = ROW.TX0019}
						if (VIEW.DG_CODE020 == 'CTI_MVTDCMD') {LINKVARIABLES['PERIODE'] = ROW.TX0020;LINKVARIABLES['TOPERIODE'] = ROW.TX0020}
						
						if (VIEW.DG_CODE001 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0001}
						if (VIEW.DG_CODE002 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0002}
						if (VIEW.DG_CODE003 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0003}
						if (VIEW.DG_CODE004 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0004}
						if (VIEW.DG_CODE005 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0005}
						if (VIEW.DG_CODE006 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0006}
						if (VIEW.DG_CODE007 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0007}
						if (VIEW.DG_CODE008 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0008}
						if (VIEW.DG_CODE009 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0009}
						if (VIEW.DG_CODE010 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0010}
						if (VIEW.DG_CODE011 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0011}
						if (VIEW.DG_CODE012 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0012}
						if (VIEW.DG_CODE013 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0013}
						if (VIEW.DG_CODE014 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0014}
						if (VIEW.DG_CODE015 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0015}
						if (VIEW.DG_CODE016 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0016}
						if (VIEW.DG_CODE017 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0017}
						if (VIEW.DG_CODE018 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0018}
						if (VIEW.DG_CODE019 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0019}
						if (VIEW.DG_CODE020 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0020}
						
						LINKVARIABLES['GROUPBY_2'] = 'CML'
						LINKVARIABLES['DATACOL'] = 'CTI_LIST_CMD'
						LINKVARIABLES['DATA01'] = '-1'
						return 'OK';
				
						]]></value>
					</ARGS>
				</VIEWLINK>
				<VIEWLINK label="Détail mouvements" shortLabel="Détail mouvements" view="ECO001010.XML" componentName="ECO_VIEWLINK" rowContext="true"
						  visible="= '[VIEW.CONTEXTE]' == 'CMD'">
					<ARGS name="SPEC" >
						<value><![CDATA[
						var com = ''

						if (SELECT.GROUPBY == '-1') {
							com = ROW.COD1
						}
						else {
							com = ROW.COD2
						}
						
						var sep = com.indexOf('-')
						if (sep != -1) {com = com.substr(0,sep)}
						LINKVARIABLES['COMMANDE'] = com
						LINKVARIABLES['DATA01'] = '-1'
						LINKVARIABLES['DATACOL'] = 'CTI_LIST_MVT'
						LINKVARIABLES['GROUPBY_2'] = 'MVT'
						
						if (VIEW.DG_CODE001 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0001}
						if (VIEW.DG_CODE002 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0002}
						if (VIEW.DG_CODE003 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0003}
						if (VIEW.DG_CODE004 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0004}
						if (VIEW.DG_CODE005 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0005}
						if (VIEW.DG_CODE006 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0006}
						if (VIEW.DG_CODE007 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0007}
						if (VIEW.DG_CODE008 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0008}
						if (VIEW.DG_CODE009 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0009}
						if (VIEW.DG_CODE010 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0010}
						if (VIEW.DG_CODE011 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0011}
						if (VIEW.DG_CODE012 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0012}
						if (VIEW.DG_CODE013 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0013}
						if (VIEW.DG_CODE014 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0014}
						if (VIEW.DG_CODE015 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0015}
						if (VIEW.DG_CODE016 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0016}
						if (VIEW.DG_CODE017 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0017}
						if (VIEW.DG_CODE018 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0018}
						if (VIEW.DG_CODE019 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0019}
						if (VIEW.DG_CODE020 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0020}
						
						
						return 'OK';
				
						]]></value>
					</ARGS>
				</VIEWLINK>
				<VIEWLINK label="Détail article" shortLabel="Détail article" view="ECO001069.XML" componentName="ECO_VIEWLINK" component2Name="" >
					<ARGS name="SPEC" >
						<value><![CDATA[
							LINKVARIABLES['GROUPBY'] = 'AMDEF'
							LINKVARIABLES['GROUPBY_2'] = '-1'
							LINKVARIABLES['GROUPBY_3'] = '-1'
							LINKVARIABLES['TAB'] = 'AUTO'
							if (VIEW.DG_CODE001 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0001}
							if (VIEW.DG_CODE002 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0002}
							if (VIEW.DG_CODE003 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0003}
							if (VIEW.DG_CODE004 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0004}
							if (VIEW.DG_CODE005 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0005}
							if (VIEW.DG_CODE006 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0006}
							if (VIEW.DG_CODE007 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0007}
							if (VIEW.DG_CODE008 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0008}
							if (VIEW.DG_CODE009 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0009}
							if (VIEW.DG_CODE010 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0010}
							if (VIEW.DG_CODE011 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0011}
							if (VIEW.DG_CODE012 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0012}
							if (VIEW.DG_CODE013 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0013}
							if (VIEW.DG_CODE014 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0014}
							if (VIEW.DG_CODE015 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0015}
							if (VIEW.DG_CODE016 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0016}
							if (VIEW.DG_CODE017 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0017}
							if (VIEW.DG_CODE018 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0018}
							if (VIEW.DG_CODE019 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0019}
							if (VIEW.DG_CODE020 == 'CTI_ARTOID') {LINKVARIABLES['ARTICLE'] = 'DT' + ROW.TX0020}
						
							return 'OK';
				
						]]></value>
					</ARGS>
				</VIEWLINK>
			</VIEWLINKS>
			<ONGLET label="Justificatif" multiTab="false" >
				<DATAGRID title="" total="true" headerHeight="80" selectRowInRows="= ROW.OID == '-9999997'" otherRowInRows="= ROW.OID == '-9999998'" totalRowInRows="= ROW.OID == '-9999999'" variableRowHeight="true" sortable="= SELECT.GROUPBY_3 == '-1' &amp;&amp; (SELECT.GROUPBY_2 == '-1' || SELECT.GROUPBY_TAB == 'TAB')">
					<INSERT name="DATAGRID_MULTITAB_STYLES"/>
					<ROWSTYLE name="fontWeight" value="bold" condition="ROW.MX == '1'" />
					<COLUMN dataField="OID" type="Number" visible="false"/>
					<COLUMN dataField="COD" type="Char" width="200" outputFormat="#" headerText="Code" textAlign="left" totalComplement="*ROW"

					>
						<INSERT name="COLUMN_COD_MULTITAB_STYLES"/>
					</COLUMN>
					<COLUMN dataField="TXT" type="Char" minWidth="110" headerText="SELECT.GROUPBY_LABEL" headerTextCalc="true" textAlign="left" totalComplement="*ROW"

					>
						<INSERT name="COLUMN_COD_MULTITAB_STYLES"/>
						<CELLSTYLE name="toolTip" value="= ROW.TXT.toString()" />
					</COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD001]" type="[VIEW.DG_FTYPE001]" width="[VIEW.DG_WIDTH001]" minWidth="[VIEW.DG_MWIDTH001]" selectable="[VIEW.DG_SELECT001]"                                inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT001]" headerText="[VIEW.DG_HEAD001]" description="[VIEW.DG_DESC001]" textAlign="[VIEW.DG_FALIGN001]" totalComplement="*ROW" fixed="true "><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR001]" condition="'[VIEW.DG_BGCOLOR001]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR001]" condition="'[VIEW.DG_BGCOLOR001]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR001]" condition="'[VIEW.DG_COLOR001]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC001 + ' : ' + ROW.[VIEW.DG_FIELD001].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD002]" type="[VIEW.DG_FTYPE002]" width="[VIEW.DG_WIDTH002]" minWidth="[VIEW.DG_MWIDTH002]" selectable="[VIEW.DG_SELECT002]" visible="[VIEW.DG_VISIBLE002]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT002]" headerText="[VIEW.DG_HEAD002]" description="[VIEW.DG_DESC002]" textAlign="[VIEW.DG_FALIGN002]" totalComplement="*ROW" fixed="true "><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR002]" condition="'[VIEW.DG_BGCOLOR002]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR002]" condition="'[VIEW.DG_BGCOLOR002]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR002]" condition="'[VIEW.DG_COLOR002]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC002 + ' : ' + ROW.[VIEW.DG_FIELD002].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD003]" type="[VIEW.DG_FTYPE003]" width="[VIEW.DG_WIDTH003]" minWidth="[VIEW.DG_MWIDTH003]" selectable="[VIEW.DG_SELECT003]" visible="[VIEW.DG_VISIBLE003]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT003]" headerText="[VIEW.DG_HEAD003]" description="[VIEW.DG_DESC003]" textAlign="[VIEW.DG_FALIGN003]" totalComplement="*ROW" fixed="true "><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR003]" condition="'[VIEW.DG_BGCOLOR003]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR003]" condition="'[VIEW.DG_BGCOLOR003]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR003]" condition="'[VIEW.DG_COLOR003]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC003 + ' : ' + ROW.[VIEW.DG_FIELD003].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD004]" type="[VIEW.DG_FTYPE004]" width="[VIEW.DG_WIDTH004]" minWidth="[VIEW.DG_MWIDTH004]" selectable="[VIEW.DG_SELECT004]" visible="[VIEW.DG_VISIBLE004]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT004]" headerText="[VIEW.DG_HEAD004]" description="[VIEW.DG_DESC004]" textAlign="[VIEW.DG_FALIGN004]" totalComplement="*ROW" fixed="false"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR004]" condition="'[VIEW.DG_BGCOLOR004]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR004]" condition="'[VIEW.DG_BGCOLOR004]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR004]" condition="'[VIEW.DG_COLOR004]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC004 + ' : ' + ROW.[VIEW.DG_FIELD004].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD005]" type="[VIEW.DG_FTYPE005]" width="[VIEW.DG_WIDTH005]" minWidth="[VIEW.DG_MWIDTH005]" selectable="[VIEW.DG_SELECT005]" visible="[VIEW.DG_VISIBLE005]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT005]" headerText="[VIEW.DG_HEAD005]" description="[VIEW.DG_DESC005]" textAlign="[VIEW.DG_FALIGN005]" totalComplement="*ROW" fixed="false"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR005]" condition="'[VIEW.DG_BGCOLOR005]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR005]" condition="'[VIEW.DG_BGCOLOR005]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR005]" condition="'[VIEW.DG_COLOR005]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC005 + ' : ' + ROW.[VIEW.DG_FIELD005].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD006]" type="[VIEW.DG_FTYPE006]" width="[VIEW.DG_WIDTH006]" minWidth="[VIEW.DG_MWIDTH006]" selectable="[VIEW.DG_SELECT006]" visible="[VIEW.DG_VISIBLE006]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT006]" headerText="[VIEW.DG_HEAD006]" description="[VIEW.DG_DESC006]" textAlign="[VIEW.DG_FALIGN006]" totalComplement="*ROW" fixed="false"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR006]" condition="'[VIEW.DG_BGCOLOR006]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR006]" condition="'[VIEW.DG_BGCOLOR006]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR006]" condition="'[VIEW.DG_COLOR006]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC006 + ' : ' + ROW.[VIEW.DG_FIELD006].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD007]" type="[VIEW.DG_FTYPE007]" width="[VIEW.DG_WIDTH007]" minWidth="[VIEW.DG_MWIDTH007]" selectable="[VIEW.DG_SELECT007]" visible="[VIEW.DG_VISIBLE007]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT007]" headerText="[VIEW.DG_HEAD007]" description="[VIEW.DG_DESC007]" textAlign="[VIEW.DG_FALIGN007]" totalComplement="*ROW" fixed="false"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR007]" condition="'[VIEW.DG_BGCOLOR007]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR007]" condition="'[VIEW.DG_BGCOLOR007]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR007]" condition="'[VIEW.DG_COLOR007]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC007 + ' : ' + ROW.[VIEW.DG_FIELD007].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD008]" type="[VIEW.DG_FTYPE008]" width="[VIEW.DG_WIDTH008]" minWidth="[VIEW.DG_MWIDTH008]" selectable="[VIEW.DG_SELECT008]" visible="[VIEW.DG_VISIBLE008]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT008]" headerText="[VIEW.DG_HEAD008]" description="[VIEW.DG_DESC008]" textAlign="[VIEW.DG_FALIGN008]" totalComplement="*ROW" fixed="false"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR008]" condition="'[VIEW.DG_BGCOLOR008]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR008]" condition="'[VIEW.DG_BGCOLOR008]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR008]" condition="'[VIEW.DG_COLOR008]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC008 + ' : ' + ROW.[VIEW.DG_FIELD008].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD009]" type="[VIEW.DG_FTYPE009]" width="[VIEW.DG_WIDTH009]" minWidth="[VIEW.DG_MWIDTH009]" selectable="[VIEW.DG_SELECT009]" visible="[VIEW.DG_VISIBLE009]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT009]" headerText="[VIEW.DG_HEAD009]" description="[VIEW.DG_DESC009]" textAlign="[VIEW.DG_FALIGN009]" totalComplement="*ROW" fixed="false"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR009]" condition="'[VIEW.DG_BGCOLOR009]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR009]" condition="'[VIEW.DG_BGCOLOR009]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR009]" condition="'[VIEW.DG_COLOR009]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC009 + ' : ' + ROW.[VIEW.DG_FIELD009].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD010]" type="[VIEW.DG_FTYPE010]" width="[VIEW.DG_WIDTH010]" minWidth="[VIEW.DG_MWIDTH010]" selectable="[VIEW.DG_SELECT010]" visible="[VIEW.DG_VISIBLE010]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT010]" headerText="[VIEW.DG_HEAD010]" description="[VIEW.DG_DESC010]" textAlign="[VIEW.DG_FALIGN010]" totalComplement="*ROW" fixed="false"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR010]" condition="'[VIEW.DG_BGCOLOR010]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR010]" condition="'[VIEW.DG_BGCOLOR010]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR010]" condition="'[VIEW.DG_COLOR010]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC010 + ' : ' + ROW.[VIEW.DG_FIELD010].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD011]" type="[VIEW.DG_FTYPE011]" width="[VIEW.DG_WIDTH011]" minWidth="[VIEW.DG_MWIDTH011]" selectable="[VIEW.DG_SELECT011]" visible="[VIEW.DG_VISIBLE011]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT011]" headerText="[VIEW.DG_HEAD011]" description="[VIEW.DG_DESC011]" textAlign="[VIEW.DG_FALIGN011]" totalComplement="*ROW" fixed="false"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR011]" condition="'[VIEW.DG_BGCOLOR011]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR011]" condition="'[VIEW.DG_BGCOLOR011]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR011]" condition="'[VIEW.DG_COLOR011]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC011 + ' : ' + ROW.[VIEW.DG_FIELD011].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD012]" type="[VIEW.DG_FTYPE012]" width="[VIEW.DG_WIDTH012]" minWidth="[VIEW.DG_MWIDTH012]" selectable="[VIEW.DG_SELECT012]" visible="[VIEW.DG_VISIBLE012]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT012]" headerText="[VIEW.DG_HEAD012]" description="[VIEW.DG_DESC012]" textAlign="[VIEW.DG_FALIGN012]" totalComplement="*ROW" fixed="false"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR012]" condition="'[VIEW.DG_BGCOLOR012]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR012]" condition="'[VIEW.DG_BGCOLOR012]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR012]" condition="'[VIEW.DG_COLOR012]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC012 + ' : ' + ROW.[VIEW.DG_FIELD012].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD013]" type="[VIEW.DG_FTYPE013]" width="[VIEW.DG_WIDTH013]" minWidth="[VIEW.DG_MWIDTH013]" selectable="[VIEW.DG_SELECT013]" visible="[VIEW.DG_VISIBLE013]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT013]" headerText="[VIEW.DG_HEAD013]" description="[VIEW.DG_DESC013]" textAlign="[VIEW.DG_FALIGN013]" totalComplement="*ROW" fixed="false"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR013]" condition="'[VIEW.DG_BGCOLOR013]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR013]" condition="'[VIEW.DG_BGCOLOR013]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR013]" condition="'[VIEW.DG_COLOR013]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC013 + ' : ' + ROW.[VIEW.DG_FIELD013].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD014]" type="[VIEW.DG_FTYPE014]" width="[VIEW.DG_WIDTH014]" minWidth="[VIEW.DG_MWIDTH014]" selectable="[VIEW.DG_SELECT014]" visible="[VIEW.DG_VISIBLE014]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT014]" headerText="[VIEW.DG_HEAD014]" description="[VIEW.DG_DESC014]" textAlign="[VIEW.DG_FALIGN014]" totalComplement="*ROW" fixed="false"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR014]" condition="'[VIEW.DG_BGCOLOR014]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR014]" condition="'[VIEW.DG_BGCOLOR014]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR014]" condition="'[VIEW.DG_COLOR014]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC014 + ' : ' + ROW.[VIEW.DG_FIELD014].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD015]" type="[VIEW.DG_FTYPE015]" width="[VIEW.DG_WIDTH015]" minWidth="[VIEW.DG_MWIDTH015]" selectable="[VIEW.DG_SELECT015]" visible="[VIEW.DG_VISIBLE015]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT015]" headerText="[VIEW.DG_HEAD015]" description="[VIEW.DG_DESC015]" textAlign="[VIEW.DG_FALIGN015]" totalComplement="*ROW" fixed="false"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR015]" condition="'[VIEW.DG_BGCOLOR015]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR015]" condition="'[VIEW.DG_BGCOLOR015]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR015]" condition="'[VIEW.DG_COLOR015]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC015 + ' : ' + ROW.[VIEW.DG_FIELD015].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD016]" type="[VIEW.DG_FTYPE016]" width="[VIEW.DG_WIDTH016]" minWidth="[VIEW.DG_MWIDTH016]" selectable="[VIEW.DG_SELECT016]" visible="[VIEW.DG_VISIBLE016]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT016]" headerText="[VIEW.DG_HEAD016]" description="[VIEW.DG_DESC016]" textAlign="[VIEW.DG_FALIGN016]" totalComplement="*ROW" fixed="true "><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR016]" condition="'[VIEW.DG_BGCOLOR016]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR016]" condition="'[VIEW.DG_BGCOLOR016]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR016]" condition="'[VIEW.DG_COLOR016]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC016 + ' : ' + ROW.[VIEW.DG_FIELD016].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD017]" type="[VIEW.DG_FTYPE017]" width="[VIEW.DG_WIDTH017]" minWidth="[VIEW.DG_MWIDTH017]" selectable="[VIEW.DG_SELECT017]" visible="[VIEW.DG_VISIBLE017]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT017]" headerText="[VIEW.DG_HEAD017]" description="[VIEW.DG_DESC017]" textAlign="[VIEW.DG_FALIGN017]" totalComplement="*ROW" fixed="true "><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR017]" condition="'[VIEW.DG_BGCOLOR017]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR017]" condition="'[VIEW.DG_BGCOLOR017]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR017]" condition="'[VIEW.DG_COLOR017]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC017 + ' : ' + ROW.[VIEW.DG_FIELD017].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD018]" type="[VIEW.DG_FTYPE018]" width="[VIEW.DG_WIDTH018]" minWidth="[VIEW.DG_MWIDTH018]" selectable="[VIEW.DG_SELECT018]" visible="[VIEW.DG_VISIBLE018]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT018]" headerText="[VIEW.DG_HEAD018]" description="[VIEW.DG_DESC018]" textAlign="[VIEW.DG_FALIGN018]" totalComplement="*ROW" fixed="true "><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR018]" condition="'[VIEW.DG_BGCOLOR018]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR018]" condition="'[VIEW.DG_BGCOLOR018]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR018]" condition="'[VIEW.DG_COLOR018]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC018 + ' : ' + ROW.[VIEW.DG_FIELD018].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD019]" type="[VIEW.DG_FTYPE019]" width="[VIEW.DG_WIDTH019]" minWidth="[VIEW.DG_MWIDTH019]" selectable="[VIEW.DG_SELECT019]" visible="[VIEW.DG_VISIBLE019]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT019]" headerText="[VIEW.DG_HEAD019]" description="[VIEW.DG_DESC019]" textAlign="[VIEW.DG_FALIGN019]" totalComplement="*ROW" fixed="false"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR019]" condition="'[VIEW.DG_BGCOLOR019]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR019]" condition="'[VIEW.DG_BGCOLOR019]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR019]" condition="'[VIEW.DG_COLOR019]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC019 + ' : ' + ROW.[VIEW.DG_FIELD019].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD020]" type="[VIEW.DG_FTYPE020]" width="[VIEW.DG_WIDTH020]" minWidth="[VIEW.DG_MWIDTH020]" selectable="[VIEW.DG_SELECT020]" visible="[VIEW.DG_VISIBLE020]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT020]" headerText="[VIEW.DG_HEAD020]" description="[VIEW.DG_DESC020]" textAlign="[VIEW.DG_FALIGN020]" totalComplement="*ROW" fixed="false"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR020]" condition="'[VIEW.DG_BGCOLOR020]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR020]" condition="'[VIEW.DG_BGCOLOR020]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR020]" condition="'[VIEW.DG_COLOR020]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC020 + ' : ' + ROW.[VIEW.DG_FIELD020].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD021]" type="[VIEW.DG_FTYPE021]" width="[VIEW.DG_WIDTH021]" minWidth="[VIEW.DG_MWIDTH021]" selectable="[VIEW.DG_SELECT021]" visible="[VIEW.DG_VISIBLE021]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT021]" headerText="[VIEW.DG_HEAD021]" description="[VIEW.DG_DESC021]" textAlign="[VIEW.DG_FALIGN021]" totalComplement="*ROW" fixed="false"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR021]" condition="'[VIEW.DG_BGCOLOR021]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR021]" condition="'[VIEW.DG_BGCOLOR021]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR021]" condition="'[VIEW.DG_COLOR021]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC021 + ' : ' + ROW.[VIEW.DG_FIELD021].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD022]" type="[VIEW.DG_FTYPE022]" width="[VIEW.DG_WIDTH022]" minWidth="[VIEW.DG_MWIDTH022]" selectable="[VIEW.DG_SELECT022]" visible="[VIEW.DG_VISIBLE022]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT022]" headerText="[VIEW.DG_HEAD022]" description="[VIEW.DG_DESC022]" textAlign="[VIEW.DG_FALIGN022]" totalComplement="*ROW" fixed="false"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR022]" condition="'[VIEW.DG_BGCOLOR022]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR022]" condition="'[VIEW.DG_BGCOLOR022]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR022]" condition="'[VIEW.DG_COLOR022]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC022 + ' : ' + ROW.[VIEW.DG_FIELD022].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD023]" type="[VIEW.DG_FTYPE023]" width="[VIEW.DG_WIDTH023]" minWidth="[VIEW.DG_MWIDTH023]" selectable="[VIEW.DG_SELECT023]" visible="[VIEW.DG_VISIBLE023]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT023]" headerText="[VIEW.DG_HEAD023]" description="[VIEW.DG_DESC023]" textAlign="[VIEW.DG_FALIGN023]" totalComplement="*ROW" fixed="false"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR023]" condition="'[VIEW.DG_BGCOLOR023]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR023]" condition="'[VIEW.DG_BGCOLOR023]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR023]" condition="'[VIEW.DG_COLOR023]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC023 + ' : ' + ROW.[VIEW.DG_FIELD023].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD024]" type="[VIEW.DG_FTYPE024]" width="[VIEW.DG_WIDTH024]" minWidth="[VIEW.DG_MWIDTH024]" selectable="[VIEW.DG_SELECT024]" visible="[VIEW.DG_VISIBLE024]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT024]" headerText="[VIEW.DG_HEAD024]" description="[VIEW.DG_DESC024]" textAlign="[VIEW.DG_FALIGN024]" totalComplement="*ROW" fixed="false"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR024]" condition="'[VIEW.DG_BGCOLOR024]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR024]" condition="'[VIEW.DG_BGCOLOR024]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR024]" condition="'[VIEW.DG_COLOR024]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC024 + ' : ' + ROW.[VIEW.DG_FIELD024].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD025]" type="[VIEW.DG_FTYPE025]" width="[VIEW.DG_WIDTH025]" minWidth="[VIEW.DG_MWIDTH025]" selectable="[VIEW.DG_SELECT025]" visible="[VIEW.DG_VISIBLE025]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT025]" headerText="[VIEW.DG_HEAD025]" description="[VIEW.DG_DESC025]" textAlign="[VIEW.DG_FALIGN025]" totalComplement="*ROW" fixed="false"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR025]" condition="'[VIEW.DG_BGCOLOR025]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR025]" condition="'[VIEW.DG_BGCOLOR025]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR025]" condition="'[VIEW.DG_COLOR025]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC025 + ' : ' + ROW.[VIEW.DG_FIELD025].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD026]" type="[VIEW.DG_FTYPE026]" width="[VIEW.DG_WIDTH026]" minWidth="[VIEW.DG_MWIDTH026]" selectable="[VIEW.DG_SELECT026]" visible="[VIEW.DG_VISIBLE026]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT026]" headerText="[VIEW.DG_HEAD026]" description="[VIEW.DG_DESC026]" textAlign="[VIEW.DG_FALIGN026]" totalComplement="*ROW" fixed="false"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR026]" condition="'[VIEW.DG_BGCOLOR026]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR026]" condition="'[VIEW.DG_BGCOLOR026]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR026]" condition="'[VIEW.DG_COLOR026]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC026 + ' : ' + ROW.[VIEW.DG_FIELD026].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD027]" type="[VIEW.DG_FTYPE027]" width="[VIEW.DG_WIDTH027]" minWidth="[VIEW.DG_MWIDTH027]" selectable="[VIEW.DG_SELECT027]" visible="[VIEW.DG_VISIBLE027]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT027]" headerText="[VIEW.DG_HEAD027]" description="[VIEW.DG_DESC027]" textAlign="[VIEW.DG_FALIGN027]" totalComplement="*ROW" fixed="false"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR027]" condition="'[VIEW.DG_BGCOLOR027]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR027]" condition="'[VIEW.DG_BGCOLOR027]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR027]" condition="'[VIEW.DG_COLOR027]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC027 + ' : ' + ROW.[VIEW.DG_FIELD027].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD028]" type="[VIEW.DG_FTYPE028]" width="[VIEW.DG_WIDTH028]" minWidth="[VIEW.DG_MWIDTH028]" selectable="[VIEW.DG_SELECT028]" visible="[VIEW.DG_VISIBLE028]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT028]" headerText="[VIEW.DG_HEAD028]" description="[VIEW.DG_DESC028]" textAlign="[VIEW.DG_FALIGN028]" totalComplement="*ROW" fixed="false"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR028]" condition="'[VIEW.DG_BGCOLOR028]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR028]" condition="'[VIEW.DG_BGCOLOR028]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR028]" condition="'[VIEW.DG_COLOR028]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC028 + ' : ' + ROW.[VIEW.DG_FIELD028].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD029]" type="[VIEW.DG_FTYPE029]" width="[VIEW.DG_WIDTH029]" minWidth="[VIEW.DG_MWIDTH029]" selectable="[VIEW.DG_SELECT029]" visible="[VIEW.DG_VISIBLE029]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT029]" headerText="[VIEW.DG_HEAD029]" description="[VIEW.DG_DESC029]" textAlign="[VIEW.DG_FALIGN029]" totalComplement="*ROW" fixed="false"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR029]" condition="'[VIEW.DG_BGCOLOR029]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR029]" condition="'[VIEW.DG_BGCOLOR029]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR029]" condition="'[VIEW.DG_COLOR029]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC029 + ' : ' + ROW.[VIEW.DG_FIELD029].toString()" /></COLUMN>
					<COLUMN dataField="[VIEW.DG_FIELD030]" type="[VIEW.DG_FTYPE030]" width="[VIEW.DG_WIDTH030]" minWidth="[VIEW.DG_MWIDTH030]" selectable="[VIEW.DG_SELECT030]" visible="[VIEW.DG_VISIBLE030]" inputFormat="AAAA-MM-JJ" outputFormat="[VIEW.DG_FMT030]" headerText="[VIEW.DG_HEAD030]" description="[VIEW.DG_DESC030]" textAlign="[VIEW.DG_FALIGN030]" totalComplement="*ROW" fixed="false"><HEADERCELLSTYLEx name="backgroundColor" value="[VIEW.DG_BGCOLOR030]" condition="'[VIEW.DG_BGCOLOR030]' != ''" /><CELLSTYLE name="backgroundColor" value="[VIEW.DG_BGCOLOR030]" condition="'[VIEW.DG_BGCOLOR030]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="color" value="[VIEW.DG_COLOR030]" condition="'[VIEW.DG_COLOR030]' != '' &amp;&amp; ROW.LVL != ''" /><CELLSTYLE name="toolTip" value="= VIEW.DG_DESC030 + ' : ' + ROW.[VIEW.DG_FIELD030].toString()" /></COLUMN>

				</DATAGRID>
			</ONGLET>
		</PRESENTATION>
	</COMPONENT>

	<COMPONENT name="PRESENTATION_EVOL">
		<PRESENTATION>
			<VIEWLINKS>
				<VIEWLINK label="Comparatif" shortLabel="Comparatif" view="[VIEW.LINKVIEW_COMP].XML" rowContext="false" componentName="ECO_VIEWLINK" component2Name="DATE_EVOL_VIEWLINK">
					<ARGS name="BASE" >
						<value><![CDATA[
							LINKVARIABLES['DATACOL'] = '*'
							LINKVARIABLES['DATACOL001'] = SELECT.DATA
					]]></value>
					</ARGS>
				</VIEWLINK>
				<VIEWLINK label="Analyse croisée" shortLabel="Analyse croisée" view="[VIEW.LINKVIEW_CROSS].XML" rowContext="false" componentName="ECO_VIEWLINK" component2Name="DATE_EVOL_VIEWLINK">
				</VIEWLINK>
				<VIEWLINK label="Analyse" shortLabel="Analyse" view="[VIEW.LINKVIEW_ANZ].XML" rowContext="false" componentName="ECO_VIEWLINK" component2Name="DATE_EVOL_VIEWLINK">
				</VIEWLINK>
				<VIEWLINK label="Justificatif" shortLabel="Justificatif" view="[VIEW.LINKVIEW_JUSTIF].XML" componentName="ECO_VIEWLINK" component2Name="DATE_EVOL_VIEWLINK" visible="= '[VIEW.CONTEXTE]' != 'STK'">
					<ARGS name="BASE" >
						<value><![CDATA[
							LINKVARIABLES['DATACOL001'] = SELECT.DATA
					]]></value>
					</ARGS>
				</VIEWLINK>
				<VIEWLINK label="Fiche Article" shortLabel="Fiche Article" view="[VIEW.LINKVIEW_ART].XML" component2Name="ECO_VIEWLINK">
				</VIEWLINK>
			</VIEWLINKS>
			<ONGLET excelLabel="Evolution temporelle" label="Evolution temporelle" multiTab="true">
				<CHART title="" type="group" subType="h" percentHeight="100" fromTotal="false">
					<CHART title="Décomposition (10 premiers)" type="pieChart" maxItems="10" maxItemsSortOn="NB" maxItemsSortSeq="D" sortField="NB" sortSeq="D" condition="ROW.LVL == '1'" percentHeight="80">>
						<CATEGORY field="CODTXT" type="Char" />
						<SERIE field="NB" displayName="SELECT.DATA_LABEL" displayNameCalc="true" />
					</CHART>
					<CHART title="Evolution temporelle (5 premiers)" type="lineChart" maxItems="5" maxItemsSortOn="NB" maxItemsSortSeq="D" serieIsCategory="true" sortField="COD" sortSeq="A"
						   visibleCondition="'[VIEW.VIEWTYPE]' == 'EVOL'" condition="ROW.LVL == '1'" percentHeight="300">
						<CATEGORY field="COD" type="Char" />
						<SERIE field="N01" displayName="VIEW.COLH1" displayNameCalc="true" visibleCondition="VIEW.COLH1 != null" />
						<SERIE field="N02" displayName="VIEW.COLH2" displayNameCalc="true" visibleCondition="VIEW.COLH2 != null" />
						<SERIE field="N03" displayName="VIEW.COLH3" displayNameCalc="true" visibleCondition="VIEW.COLH3 != null" />
						<SERIE field="N04" displayName="VIEW.COLH4" displayNameCalc="true" visibleCondition="VIEW.COLH4 != null" />
						<SERIE field="N05" displayName="VIEW.COLH5" displayNameCalc="true" visibleCondition="VIEW.COLH5 != null" />
						<SERIE field="N06" displayName="VIEW.COLH6" displayNameCalc="true" visibleCondition="VIEW.COLH6 != null" />
						<SERIE field="N07" displayName="VIEW.COLH7" displayNameCalc="true" visibleCondition="VIEW.COLH7 != null" />
						<SERIE field="N08" displayName="VIEW.COLH8" displayNameCalc="true" visibleCondition="VIEW.COLH8 != null" />
						<SERIE field="N09" 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>
					<CHART title="Répartition (5 premiers)" type="pieChart" maxItems="10" maxItemsSortOn="NB" maxItemsSortSeq="D" serieIsCategory="true" sortField="COD" sortSeq="A"
						   visibleCondition="'[VIEW.VIEWTYPE]' == 'CROSS'" condition="ROW.LVL == '1'" percentHeight="300">
						<CATEGORY field="COD" type="Char" />
						<SERIE field="N01" displayName="VIEW.COLH1" displayNameCalc="true" visibleCondition="VIEW.COLH1 != null" />
						<SERIE field="N02" displayName="VIEW.COLH2" displayNameCalc="true" visibleCondition="VIEW.COLH2 != null" />
						<SERIE field="N03" displayName="VIEW.COLH3" displayNameCalc="true" visibleCondition="VIEW.COLH3 != null" />
						<SERIE field="N04" displayName="VIEW.COLH4" displayNameCalc="true" visibleCondition="VIEW.COLH4 != null" />
						<SERIE field="N05" displayName="VIEW.COLH5" displayNameCalc="true" visibleCondition="VIEW.COLH5 != null" />
						<SERIE field="N06" displayName="VIEW.COLH6" displayNameCalc="true" visibleCondition="VIEW.COLH6 != null" />
						<SERIE field="N07" displayName="VIEW.COLH7" displayNameCalc="true" visibleCondition="VIEW.COLH7 != null" />
						<SERIE field="N08" displayName="VIEW.COLH8" displayNameCalc="true" visibleCondition="VIEW.COLH8 != null" />
						<SERIE field="N09" 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>
				</CHART>
				<DATAGRID title="" total="true" showOthers="true" headerHeight="54" variableRowHeight="true" sortable="= SELECT.GROUPBY_3 == '-1' &amp;&amp; (SELECT.GROUPBY_2 == '-1' || SELECT.GROUPBY_TAB == 'TAB')" selectRowInRows="= ROW.OID == '-9999997'" otherRowInRows="= ROW.OID == '-9999998'" totalRowInRows="= ROW.OID == '-9999999'">
					<INSERT name="DATAGRID_MULTITAB_STYLES"/>
					<ROWSTYLE name="fontWeight" value="bold" condition="ROW.MX == '1'" />

					<COLUMN dataField="OID" width="50" type="Char" visible="false" headerText="Oid">
					</COLUMN>
					<COLUMN dataField="COD" width="150" type="Char" headerText="Code" textAlign="left" otherFunction="text" totalFunction="text" totalComplement="TOTAL">
						<INSERT name="COLUMN_COD_MULTITAB_STYLES"/>
					</COLUMN>
					<COLUMN dataField="TXT" type="Char" minWidth="50" headerText="SELECT.GROUPBY_LABEL" headerTextCalc="true" textAlign="left" totalFunction="text" otherFunction="text" otherComplement="*ROW">
						<INSERT name="COLUMN_COD_MULTITAB_STYLES"/>
						<CELLSTYLE name="toolTip" value="= ROW.TXT.toString()" />
					</COLUMN>
					<COLUMN dataField="CODTXT" type="Char" visible="false" totalFunction="text" otherFunction="text" calc="true">
						<CALC formula="ROW.TXT.toString().substr(0,40)" condition="ROW.COD == ROW.TXT"/>
						<CALC formula="(ROW.COD + ' - ' + ROW.TXT).toString().substr(0,40)" condition="ROW.COD != ROW.TXT"/>
					</COLUMN>


					<COLUMN dataField="NB" type="Number" width="[VIEW.DG_WIDTH001]" visibleCondition="SELECT.PERIODICITE != 'YEAR'" outputFormat="=VIEW.DG_FMT001" headerTextCalc="true" headerText="VIEW.DG_HEAD001" description="= VIEW.DG_DESC001" textAlign="right" totalComplement="*ROW"/>
					<COLUMN dataField="TX" type="Number" headerText="% / Total"
							visibleCondition="SELECT.PERIODICITE != 'YEAR'"
							width="40" outputFormat="0%" textAlign="right" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
						<CALC formula="ROW.NB / TOTALROW.NB * 100" />
					</COLUMN>
					<COLUMN dataField="N00" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH0 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" headerText="&lt;&lt;" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N01" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH1 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH1" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N02" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH2 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH2" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N03" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH3 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH3" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N04" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH4 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH4" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N05" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH5 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH5" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N06" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH6 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH6" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N07" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH7 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH7" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N08" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH8 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH8" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N09" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH9 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH9" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N10" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH10 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH10" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N11" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH11 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH11" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N12" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH12 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH12" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N13" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH13 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH13" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N14" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH14 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH14" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N15" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH15 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH15" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N16" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH16 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH16" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N17" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH17 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH17" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N18" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH18 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH18" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N19" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH19 != null" type="Number" outputFormat="=VIEW.DG_FMT001" selectable="true"  fixed="false" headerText="VIEW.COLH19" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N20" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH20 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH20" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N21" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH21 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH21" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N22" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH22 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH22" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N23" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH23 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH23" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N24" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH24 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH24" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N25" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH25 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH25" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N26" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH26 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH26" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N27" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH27 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH27" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N28" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH28 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH28" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N29" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH29 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH29" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N30" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH30 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH30" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
					<COLUMN dataField="N31" width="[VIEW.DG_WIDTH001]" visibleCondition="VIEW.COLH31 != null" type="Number" outputFormat="=VIEW.DG_FMT001" fixed="false" selectable="true" headerText="VIEW.COLH31" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum">
					</COLUMN>
				</DATAGRID>
			</ONGLET>
		</PRESENTATION>
	</COMPONENT>

	<COMPONENT name="PRESENTATION_COMP">
		<PRESENTATION>
			<VIEWLINKS>
				<VIEWLINK label="Evolution" shortLabel="Evolution" view="[VIEW.LINKVIEW_EVOL].XML" rowContext="false" componentName="ECO_VIEWLINK_EVOL" component2Name="ECO_VIEWLINK">
				</VIEWLINK>
				<VIEWLINK label="Analyse croisée" shortLabel="Analyse croisée" view="[VIEW.LINKVIEW_CROSS].XML" rowContext="false" componentName="ECO_VIEWLINK_CROSS" component2Name="ECO_VIEWLINK">
				</VIEWLINK>
				<VIEWLINK label="Analyse" shortLabel="Analyse" view="[VIEW.LINKVIEW_ANZ].XML" rowContext="false" componentName="ECO_VIEWLINK_ANZ" component2Name="ECO_VIEWLINK">
				</VIEWLINK>
				<VIEWLINK label="Justificatif" shortLabel="Justificatif" view="[VIEW.LINKVIEW_JUSTIF].XML" componentName="ECO_VIEWLINK_JUSTIF" component2Name="ECO_VIEWLINK" visible="= '[VIEW.CONTEXTE]' != 'STK'">
				</VIEWLINK>
				<VIEWLINK label="Fiche Article" shortLabel="Fiche Article" view="[VIEW.LINKVIEW_ART].XML" component2Name="ECO_VIEWLINK">
				</VIEWLINK></VIEWLINKS>
			<ONGLET excelLabel="Comparatif" label="Comparatif" multiTab="true">
				<CHART title="" type="group" subType="h" percentHeight="100" fromTotal="false">
					<CHART title="[VIEW.DG_LHEAD001] N(15 premiers)" type="pieChart" maxItems="15" maxItemsSortOn="I001NP1" maxItemsSortSeq="D" sortField="I001NP1" sortSeq="D" condition="ROW.LVL == '1'">
						<CATEGORY field="CODTXT" type="Char" />
						<SERIE field="I001NP1" displayName="SELECT.DATA_LABEL" displayNameCalc="true" />
					</CHART>
					<CHART title="[VIEW.DG_LHEAD001]" type="columnChart" fromTotal="true" serieIsCategory="true"
						   visibleCondition="SELECT.PERIODICITE != 'DAY'" >
						<CATEGORY field="COD" type="Char" />
						<SERIE field="I001NP1" displayName="[VIEW.CH_HEAD001_NP1]" visibleCondition="VIEW.DG_VISIBLE001 == 'true' &amp;&amp; VIEW.COLH1 != null" />
						<SERIE field="I001NP2" displayName="[VIEW.CH_HEAD001_NP2]" visibleCondition="VIEW.DG_VISIBLE001 == 'true' &amp;&amp; VIEW.COLH2 != null" />
					</CHART>
				</CHART>
				<CHART title="[VIEW.DG_LHEAD001] (15 premiers)" type="columnChart" maxItems="15" maxItemsSortOn="I001NP1" maxItemsSortSeq="D" sortField="COD" sortSeq="A"
					   visibleCondition="SELECT.PERIODICITE != 'DAY'" condition="ROW.LVL == '1'">
					<CATEGORY field="CODTXT" type="Char" />
					<SERIE field="I001NP1" displayName="[VIEW.CH_HEAD001_NP1]" visibleCondition="VIEW.DG_VISIBLE001 == 'true' &amp;&amp; VIEW.COLH1 != null" />
					<SERIE field="I001NP2" displayName="[VIEW.CH_HEAD001_NP2]" visibleCondition="VIEW.DG_VISIBLE001 == 'true' &amp;&amp; VIEW.COLH2 != null" />
				</CHART>

				<DATAGRID title="" total="true" showOthers="true" headerHeight="80" variableRowHeight="true" sortable="= SELECT.GROUPBY_3 == '-1' &amp;&amp; (SELECT.GROUPBY_2 == '-1' || SELECT.GROUPBY_TAB == 'TAB')" selectRowInRows="= ROW.OID == '-9999997'" otherRowInRows="= ROW.OID == '-9999998'" totalRowInRows="= ROW.OID == '-9999999'">
					<INSERT name="DATAGRID_MULTITAB_STYLES"/>
					<ROWSTYLE name="fontWeight" value="bold" condition="ROW.MX == '1'" />

					<COLUMN dataField="OID" width="50" type="Char" visible="false" headerText="Oid">
					</COLUMN>
					<COLUMN dataField="COD" width="150" type="Char" headerText="Code" textAlign="left" otherFunction="text" totalFunction="text" totalComplement="TOTAL">
						<INSERT name="COLUMN_COD_MULTITAB_STYLES"/>
					</COLUMN>
					<COLUMN dataField="TXT" type="Char" minWidth="50" headerText="SELECT.GROUPBY_LABEL" headerTextCalc="true" textAlign="left" totalFunction="text" otherFunction="text" otherComplement="*ROW">
						<INSERT name="COLUMN_COD_MULTITAB_STYLES"/>
						<CELLSTYLE name="toolTip" value="= ROW.TXT.toString()" />
					</COLUMN>
					<COLUMN dataField="CODTXT" type="Char" visible="false" totalFunction="text" otherFunction="text" calc="true">
						<CALC formula="ROW.TXT.toString().substr(0,40)" condition="ROW.COD == ROW.TXT"/>
						<CALC formula="(ROW.COD + ' - ' + ROW.TXT).toString().substr(0,40)" condition="ROW.COD != ROW.TXT"/>
					</COLUMN>


					<COLUMN dataField="I001NP2"
							width="[VIEW.DG_WIDTH001]"
							visibleCondition="VIEW.DG_VISIBLE001 == 'true' &amp;&amp; VIEW.COLH2 != null"
							type="Number"
							outputFormat="[VIEW.DG_FMT001]"
							fixed="false"
							selectable="true"
							description="= VIEW.DG_DESC001"
							headerText="[VIEW.DG_HEAD001_NP2]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I001NP1"
							width="[VIEW.DG_WIDTH001]"
							visibleCondition="VIEW.DG_VISIBLE001 == 'true' &amp;&amp; VIEW.COLH1 != null"
							type="Number"
							outputFormat="[VIEW.DG_FMT001]"
							fixed="false"
							selectable="true"
							description="= VIEW.DG_DESC001"
							headerText="[VIEW.DG_HEAD001_NP1]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum" >
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I001EP21"
							width="[VIEW.DG_WIDTH001]"
							visibleCondition="VIEW.DG_VISIBLE001 == 'true' &amp;&amp; VIEW.COLH2 != null &amp;&amp; SELECT.TYPE_COMPARAISON != '-1' &amp;&amp; SELECT.MODE_COMPARAISON != 'LAST'"
							type="Number"
							outputFormat="[VIEW.DG_FMT001]"
							fixed="false"
							selectable="true"
							headerText="[VIEW.DG_HEAD001_EP21]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum" >
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I001PP21"
							width="[VIEW.DG_WIDTH001]"
							visibleCondition="VIEW.DG_VISIBLE001 == 'true' &amp;&amp; VIEW.COLH2 != null &amp;&amp; SELECT.TYPE_COMPARAISON != '-1' &amp;&amp; SELECT.MODE_COMPARAISON != 'LAST'"
							type="Number"
							outputFormat="#,00 %"
							fixed="false"
							selectable="true"
							headerText="[VIEW.DG_HEAD001_PP21]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum" >
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>

					<COLUMN dataField="I001NM2"
							width="[VIEW.DG_WIDTH001]"
							visibleCondition="VIEW.DG_VISIBLE001 == 'true' &amp;&amp; VIEW.COLH6 != null"
							type="Number"
							outputFormat="[VIEW.DG_FMT001]"
							fixed="false"
							selectable="true"
							description="= VIEW.DG_DESC001"
							headerText="[VIEW.DG_HEAD001_NM2]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I001NM1"
							width="[VIEW.DG_WIDTH001]"
							visibleCondition="VIEW.DG_VISIBLE001 == 'true' &amp;&amp; VIEW.COLH5 != null"
							type="Number"
							outputFormat="[VIEW.DG_FMT001]"
							fixed="false"
							selectable="true"
							description="= VIEW.DG_DESC001"
							headerText="[VIEW.DG_HEAD001_NM1]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I001EM21"
							width="[VIEW.DG_WIDTH001]"
							visibleCondition="VIEW.DG_VISIBLE001 == 'true' &amp;&amp; VIEW.COLH5 != null &amp;&amp; SELECT.TYPE_COMPARAISON != '-1' &amp;&amp; SELECT.MODE_COMPARAISON != 'LAST'"
							type="Number"
							outputFormat="[VIEW.DG_FMT001]"
							fixed="false"
							selectable="true"
							headerText="[VIEW.DG_HEAD001_EM21]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I001PM21"
							width="[VIEW.DG_WIDTH001]"
							visibleCondition="VIEW.DG_VISIBLE001 == 'true' &amp;&amp; VIEW.COLH5 != null &amp;&amp; SELECT.TYPE_COMPARAISON != '-1' &amp;&amp; SELECT.MODE_COMPARAISON != 'LAST'"
							type="Number"
							outputFormat="#,00 %"
							fixed="false"
							selectable="true"
							headerText="[VIEW.DG_HEAD001_PM21]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>

					<COLUMN dataField="I002NP2"
							width="[VIEW.DG_WIDTH002]"
							visibleCondition="VIEW.DG_VISIBLE002 == 'true' &amp;&amp; VIEW.COLH2 != null"
							type="Number"
							outputFormat="[VIEW.DG_FMT002]"
							fixed="false"
							selectable="true"
							description="= VIEW.DG_DESC002"
							headerText="[VIEW.DG_HEAD002_NP2]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I002NP1"
							width="[VIEW.DG_WIDTH002]"
							visibleCondition="VIEW.DG_VISIBLE002 == 'true' &amp;&amp; VIEW.COLH1 != null"
							type="Number"
							outputFormat="[VIEW.DG_FMT002]"
							fixed="false"
							selectable="true"
							description="= VIEW.DG_DESC002"
							headerText="[VIEW.DG_HEAD002_NP1]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum" >
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I002EP21"
							width="[VIEW.DG_WIDTH002]"
							visibleCondition="VIEW.DG_VISIBLE002 == 'true' &amp;&amp; VIEW.COLH2 != null &amp;&amp; SELECT.TYPE_COMPARAISON != '-1' &amp;&amp; SELECT.MODE_COMPARAISON != 'LAST'"
							type="Number"
							outputFormat="[VIEW.DG_FMT002]"
							fixed="false"
							selectable="true"
							headerText="[VIEW.DG_HEAD002_EP21]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum" >
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I002PP21"
							width="[VIEW.DG_WIDTH002]"
							visibleCondition="VIEW.DG_VISIBLE002 == 'true' &amp;&amp; VIEW.COLH2 != null &amp;&amp; SELECT.TYPE_COMPARAISON != '-1' &amp;&amp; SELECT.MODE_COMPARAISON != 'LAST'"
							type="Number"
							outputFormat="#,00 %"
							fixed="false"
							selectable="true"
							headerText="[VIEW.DG_HEAD002_PP21]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum" >
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>

					<COLUMN dataField="I002NM2"
							width="[VIEW.DG_WIDTH002]"
							visibleCondition="VIEW.DG_VISIBLE002 == 'true' &amp;&amp; VIEW.COLH6 != null"
							type="Number"
							outputFormat="[VIEW.DG_FMT002]"
							fixed="false"
							selectable="true"
							description="= VIEW.DG_DESC002"
							headerText="[VIEW.DG_HEAD002_NM2]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I002NM1"
							width="[VIEW.DG_WIDTH002]"
							visibleCondition="VIEW.DG_VISIBLE002 == 'true' &amp;&amp; VIEW.COLH5 != null"
							type="Number"
							outputFormat="[VIEW.DG_FMT002]"
							fixed="false"
							selectable="true"
							description="= VIEW.DG_DESC002"
							headerText="[VIEW.DG_HEAD002_NM1]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I002EM21"
							width="[VIEW.DG_WIDTH002]"
							visibleCondition="VIEW.DG_VISIBLE002 == 'true' &amp;&amp; VIEW.COLH5 != null &amp;&amp; SELECT.TYPE_COMPARAISON != '-1' &amp;&amp; SELECT.MODE_COMPARAISON != 'LAST'"
							type="Number"
							outputFormat="[VIEW.DG_FMT002]"
							fixed="false"
							selectable="true"
							headerText="[VIEW.DG_HEAD002_EM21]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I002PM21"
							width="[VIEW.DG_WIDTH002]"
							visibleCondition="VIEW.DG_VISIBLE002 == 'true' &amp;&amp; VIEW.COLH5 != null &amp;&amp; SELECT.TYPE_COMPARAISON != '-1' &amp;&amp; SELECT.MODE_COMPARAISON != 'LAST'"
							type="Number"
							outputFormat="#,00 %"
							fixed="false"
							selectable="true"
							headerText="[VIEW.DG_HEAD002_PM21]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>

					<COLUMN dataField="I003NP2"
							width="[VIEW.DG_WIDTH003]"
							visibleCondition="VIEW.DG_VISIBLE003 == 'true' &amp;&amp; VIEW.COLH2 != null"
							type="Number"
							outputFormat="[VIEW.DG_FMT003]"
							fixed="false"
							selectable="false"
							description="= VIEW.DG_DESC003"
							headerText="[VIEW.DG_HEAD003_NP2]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I003NP1"
							width="[VIEW.DG_WIDTH003]"
							visibleCondition="VIEW.DG_VISIBLE003 == 'true' &amp;&amp; VIEW.COLH1 != null"
							type="Number"
							outputFormat="[VIEW.DG_FMT003]"
							fixed="false"
							selectable="true"
							description="= VIEW.DG_DESC003"
							headerText="[VIEW.DG_HEAD003_NP1]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum" >
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I003EP21"
							width="[VIEW.DG_WIDTH003]"
							visibleCondition="VIEW.DG_VISIBLE003 == 'true' &amp;&amp; VIEW.COLH2 != null &amp;&amp; SELECT.TYPE_COMPARAISON != '-1' &amp;&amp; SELECT.MODE_COMPARAISON != 'LAST'"
							type="Number"
							outputFormat="[VIEW.DG_FMT003]"
							fixed="false"
							selectable="true"
							headerText="[VIEW.DG_HEAD003_EP21]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum" >
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I003PP21"
							width="[VIEW.DG_WIDTH003]"
							visibleCondition="VIEW.DG_VISIBLE003 == 'true' &amp;&amp; VIEW.COLH2 != null &amp;&amp; SELECT.TYPE_COMPARAISON != '-1' &amp;&amp; SELECT.MODE_COMPARAISON != 'LAST'"
							type="Number"
							outputFormat="#,00 %"
							fixed="false"
							selectable="true"
							headerText="[VIEW.DG_HEAD003_PP21]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum" >
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>

					<COLUMN dataField="I003NM2"
							width="[VIEW.DG_WIDTH003]"
							visibleCondition="VIEW.DG_VISIBLE003 == 'true' &amp;&amp; VIEW.COLH6 != null"
							type="Number"
							outputFormat="[VIEW.DG_FMT003]"
							fixed="false"
							selectable="true"
							description="= VIEW.DG_DESC003"
							headerText="[VIEW.DG_HEAD003_NM2]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I003NM1"
							width="[VIEW.DG_WIDTH003]"
							visibleCondition="VIEW.DG_VISIBLE003 == 'true' &amp;&amp; VIEW.COLH5 != null"
							type="Number"
							outputFormat="[VIEW.DG_FMT003]"
							fixed="false"
							selectable="true"
							description="= VIEW.DG_DESC003"
							headerText="[VIEW.DG_HEAD003_NM1]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I003EM21"
							width="[VIEW.DG_WIDTH003]"
							visibleCondition="VIEW.DG_VISIBLE003 == 'true' &amp;&amp; VIEW.COLH5 != null &amp;&amp; SELECT.TYPE_COMPARAISON != '-1' &amp;&amp; SELECT.MODE_COMPARAISON != 'LAST'"
							type="Number"
							outputFormat="[VIEW.DG_FMT003]"
							fixed="false"
							selectable="true"
							headerText="[VIEW.DG_HEAD003_EM21]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I003PM21"
							width="[VIEW.DG_WIDTH003]"
							visibleCondition="VIEW.DG_VISIBLE003 == 'true' &amp;&amp; VIEW.COLH5 != null &amp;&amp; SELECT.TYPE_COMPARAISON != '-1' &amp;&amp; SELECT.MODE_COMPARAISON != 'LAST'"
							type="Number"
							outputFormat="#,00 %"
							fixed="false"
							selectable="true"
							headerText="[VIEW.DG_HEAD003_PM21]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>

					<COLUMN dataField="I004NP2"
							width="[VIEW.DG_WIDTH004]"
							visibleCondition="VIEW.DG_VISIBLE004 == 'true' &amp;&amp; VIEW.COLH2 != null"
							type="Number"
							outputFormat="[VIEW.DG_FMT004]"
							fixed="false"
							selectable="false"
							description="= VIEW.DG_DESC004"
							headerText="[VIEW.DG_HEAD004_NP2]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I004NP1"
							width="[VIEW.DG_WIDTH004]"
							visibleCondition="VIEW.DG_VISIBLE004 == 'true' &amp;&amp; VIEW.COLH1 != null"
							type="Number"
							outputFormat="[VIEW.DG_FMT004]"
							fixed="false"
							selectable="true"
							description="= VIEW.DG_DESC004"
							headerText="[VIEW.DG_HEAD004_NP1]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum" >
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I004EP21"
							width="[VIEW.DG_WIDTH004]"
							visibleCondition="VIEW.DG_VISIBLE004 == 'true' &amp;&amp; VIEW.COLH2 != null &amp;&amp; SELECT.TYPE_COMPARAISON != '-1' &amp;&amp; SELECT.MODE_COMPARAISON != 'LAST'"
							type="Number"
							outputFormat="[VIEW.DG_FMT004]"
							fixed="false"
							selectable="true"
							headerText="[VIEW.DG_HEAD004_EP21]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum" >
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I004PP21"
							width="[VIEW.DG_WIDTH004]"
							visibleCondition="VIEW.DG_VISIBLE004 == 'true' &amp;&amp; VIEW.COLH2 != null &amp;&amp; SELECT.TYPE_COMPARAISON != '-1' &amp;&amp; SELECT.MODE_COMPARAISON != 'LAST'"
							type="Number"
							outputFormat="#,00 %"
							fixed="false"
							selectable="true"
							headerText="[VIEW.DG_HEAD004_PP21]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum" >
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>

					<COLUMN dataField="I004NM2"
							width="[VIEW.DG_WIDTH004]"
							visibleCondition="VIEW.DG_VISIBLE004 == 'true' &amp;&amp; VIEW.COLH6 != null"
							type="Number"
							outputFormat="[VIEW.DG_FMT004]"
							fixed="false"
							selectable="true"
							description="= VIEW.DG_DESC004"
							headerText="[VIEW.DG_HEAD004_NM2]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I004NM1"
							width="[VIEW.DG_WIDTH004]"
							visibleCondition="VIEW.DG_VISIBLE004 == 'true' &amp;&amp; VIEW.COLH5 != null"
							type="Number"
							outputFormat="[VIEW.DG_FMT004]"
							fixed="false"
							selectable="true"
							description="= VIEW.DG_DESC004"
							headerText="[VIEW.DG_HEAD004_NM1]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I004EM21"
							width="[VIEW.DG_WIDTH004]"
							visibleCondition="VIEW.DG_VISIBLE004 == 'true' &amp;&amp; VIEW.COLH5 != null &amp;&amp; SELECT.TYPE_COMPARAISON != '-1' &amp;&amp; SELECT.MODE_COMPARAISON != 'LAST'"
							type="Number"
							outputFormat="[VIEW.DG_FMT004]"
							fixed="false"
							selectable="true"
							headerText="[VIEW.DG_HEAD004_EM21]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I004PM21"
							width="[VIEW.DG_WIDTH004]"
							visibleCondition="VIEW.DG_VISIBLE004 == 'true' &amp;&amp; VIEW.COLH5 != null &amp;&amp; SELECT.TYPE_COMPARAISON != '-1' &amp;&amp; SELECT.MODE_COMPARAISON != 'LAST'"
							type="Number"
							outputFormat="#,00 %"
							fixed="false"
							selectable="true"
							headerText="[VIEW.DG_HEAD004_PM21]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>

					<COLUMN dataField="I005NP2"
							width="[VIEW.DG_WIDTH005]"
							visibleCondition="VIEW.DG_VISIBLE005 == 'true' &amp;&amp; VIEW.COLH2 != null"
							type="Number"
							outputFormat="[VIEW.DG_FMT005]"
							fixed="false"
							selectable="false"
							description="= VIEW.DG_DESC005"
							headerText="[VIEW.DG_HEAD005_NP2]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I005NP1"
							width="[VIEW.DG_WIDTH005]"
							visibleCondition="VIEW.DG_VISIBLE005 == 'true' &amp;&amp; VIEW.COLH1 != null"
							type="Number"
							outputFormat="[VIEW.DG_FMT005]"
							fixed="false"
							selectable="true"
							description="= VIEW.DG_DESC005"
							headerText="[VIEW.DG_HEAD005_NP1]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum" >
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I005EP21"
							width="[VIEW.DG_WIDTH005]"
							visibleCondition="VIEW.DG_VISIBLE005 == 'true' &amp;&amp; VIEW.COLH2 != null &amp;&amp; SELECT.TYPE_COMPARAISON != '-1' &amp;&amp; SELECT.MODE_COMPARAISON != 'LAST'"
							type="Number"
							outputFormat="[VIEW.DG_FMT005]"
							fixed="false"
							selectable="true"
							headerText="[VIEW.DG_HEAD005_EP21]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum" >
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I005PP21"
							width="[VIEW.DG_WIDTH005]"
							visibleCondition="VIEW.DG_VISIBLE005 == 'true' &amp;&amp; VIEW.COLH2 != null &amp;&amp; SELECT.TYPE_COMPARAISON != '-1' &amp;&amp; SELECT.MODE_COMPARAISON != 'LAST'"
							type="Number"
							outputFormat="#,00 %"
							fixed="false"
							selectable="true"
							headerText="[VIEW.DG_HEAD005_PP21]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum" >
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>

					<COLUMN dataField="I005NM2"
							width="[VIEW.DG_WIDTH005]"
							visibleCondition="VIEW.DG_VISIBLE005 == 'true' &amp;&amp; VIEW.COLH6 != null"
							type="Number"
							outputFormat="[VIEW.DG_FMT005]"
							fixed="false"
							selectable="true"
							description="= VIEW.DG_DESC005"
							headerText="[VIEW.DG_HEAD005_NM2]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I005NM1"
							width="[VIEW.DG_WIDTH005]"
							visibleCondition="VIEW.DG_VISIBLE005 == 'true' &amp;&amp; VIEW.COLH5 != null"
							type="Number"
							outputFormat="[VIEW.DG_FMT005]"
							fixed="false"
							selectable="true"
							description="= VIEW.DG_DESC005"
							headerText="[VIEW.DG_HEAD005_NM1]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I005EM21"
							width="[VIEW.DG_WIDTH005]"
							visibleCondition="VIEW.DG_VISIBLE005 == 'true' &amp;&amp; VIEW.COLH5 != null &amp;&amp; SELECT.TYPE_COMPARAISON != '-1' &amp;&amp; SELECT.MODE_COMPARAISON != 'LAST'"
							type="Number"
							outputFormat="[VIEW.DG_FMT005]"
							fixed="false"
							selectable="true"
							headerText="[VIEW.DG_HEAD005_EM21]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I005PM21"
							width="[VIEW.DG_WIDTH005]"
							visibleCondition="VIEW.DG_VISIBLE005 == 'true' &amp;&amp; VIEW.COLH5 != null &amp;&amp; SELECT.TYPE_COMPARAISON != '-1' &amp;&amp; SELECT.MODE_COMPARAISON != 'LAST'"
							type="Number"
							outputFormat="#,00 %"
							fixed="false"
							selectable="true"
							headerText="[VIEW.DG_HEAD005_PM21]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>

					<COLUMN dataField="I006NP2"
							width="[VIEW.DG_WIDTH006]"
							visibleCondition="VIEW.DG_VISIBLE006 == 'true' &amp;&amp; VIEW.COLH2 != null"
							type="Number"
							outputFormat="[VIEW.DG_FMT006]"
							fixed="false"
							selectable="false"
							description="= VIEW.DG_DESC006"
							headerText="[VIEW.DG_HEAD006_NP2]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I006NP1"
							width="[VIEW.DG_WIDTH006]"
							visibleCondition="VIEW.DG_VISIBLE006 == 'true' &amp;&amp; VIEW.COLH1 != null"
							type="Number"
							outputFormat="[VIEW.DG_FMT006]"
							fixed="false"
							selectable="true"
							description="= VIEW.DG_DESC006"
							headerText="[VIEW.DG_HEAD006_NP1]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum" >
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I006EP21"
							width="[VIEW.DG_WIDTH006]"
							visibleCondition="VIEW.DG_VISIBLE006 == 'true' &amp;&amp; VIEW.COLH2 != null &amp;&amp; SELECT.TYPE_COMPARAISON != '-1' &amp;&amp; SELECT.MODE_COMPARAISON != 'LAST'"
							type="Number"
							outputFormat="[VIEW.DG_FMT006]"
							fixed="false"
							selectable="true"
							headerText="[VIEW.DG_HEAD006_EP21]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum" >
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I006PP21"
							width="[VIEW.DG_WIDTH006]"
							visibleCondition="VIEW.DG_VISIBLE006 == 'true' &amp;&amp; VIEW.COLH2 != null &amp;&amp; SELECT.TYPE_COMPARAISON != '-1' &amp;&amp; SELECT.MODE_COMPARAISON != 'LAST'"
							type="Number"
							outputFormat="#,00 %"
							fixed="false"
							selectable="true"
							headerText="[VIEW.DG_HEAD006_PP21]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum" >
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>

					<COLUMN dataField="I006NM2"
							width="[VIEW.DG_WIDTH006]"
							visibleCondition="VIEW.DG_VISIBLE006 == 'true' &amp;&amp; VIEW.COLH6 != null"
							type="Number"
							outputFormat="[VIEW.DG_FMT006]"
							fixed="false"
							selectable="true"
							description="= VIEW.DG_DESC006"
							headerText="[VIEW.DG_HEAD006_NM2]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I006NM1"
							width="[VIEW.DG_WIDTH006]"
							visibleCondition="VIEW.DG_VISIBLE006 == 'true' &amp;&amp; VIEW.COLH5 != null"
							type="Number"
							outputFormat="[VIEW.DG_FMT006]"
							fixed="false"
							selectable="true"
							description="= VIEW.DG_DESC006"
							headerText="[VIEW.DG_HEAD006_NM1]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I006EM21"
							width="[VIEW.DG_WIDTH006]"
							visibleCondition="VIEW.DG_VISIBLE006 == 'true' &amp;&amp; VIEW.COLH5 != null &amp;&amp; SELECT.TYPE_COMPARAISON != '-1' &amp;&amp; SELECT.MODE_COMPARAISON != 'LAST'"
							type="Number"
							outputFormat="[VIEW.DG_FMT006]"
							fixed="false"
							selectable="true"
							headerText="[VIEW.DG_HEAD006_EM21]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I006PM21"
							width="[VIEW.DG_WIDTH006]"
							visibleCondition="VIEW.DG_VISIBLE006 == 'true' &amp;&amp; VIEW.COLH5 != null &amp;&amp; SELECT.TYPE_COMPARAISON != '-1' &amp;&amp; SELECT.MODE_COMPARAISON != 'LAST'"
							type="Number"
							outputFormat="#,00 %"
							fixed="false"
							selectable="true"
							headerText="[VIEW.DG_HEAD006_PM21]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>

					<COLUMN dataField="I007NP2"
							width="[VIEW.DG_WIDTH007]"
							visibleCondition="VIEW.DG_VISIBLE007 == 'true' &amp;&amp; VIEW.COLH2 != null"
							type="Number"
							outputFormat="[VIEW.DG_FMT007]"
							fixed="false"
							selectable="false"
							description="= VIEW.DG_DESC007"
							headerText="[VIEW.DG_HEAD007_NP2]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I007NP1"
							width="[VIEW.DG_WIDTH007]"
							visibleCondition="VIEW.DG_VISIBLE007 == 'true' &amp;&amp; VIEW.COLH1 != null"
							type="Number"
							outputFormat="[VIEW.DG_FMT007]"
							fixed="false"
							selectable="true"
							description="= VIEW.DG_DESC007"
							headerText="[VIEW.DG_HEAD007_NP1]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum" >
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I007EP21"
							width="[VIEW.DG_WIDTH007]"
							visibleCondition="VIEW.DG_VISIBLE007 == 'true' &amp;&amp; VIEW.COLH2 != null &amp;&amp; SELECT.TYPE_COMPARAISON != '-1' &amp;&amp; SELECT.MODE_COMPARAISON != 'LAST'"
							type="Number"
							outputFormat="[VIEW.DG_FMT007]"
							fixed="false"
							selectable="true"
							headerText="[VIEW.DG_HEAD007_EP21]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum" >
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I007PP21"
							width="[VIEW.DG_WIDTH007]"
							visibleCondition="VIEW.DG_VISIBLE007 == 'true' &amp;&amp; VIEW.COLH2 != null &amp;&amp; SELECT.TYPE_COMPARAISON != '-1' &amp;&amp; SELECT.MODE_COMPARAISON != 'LAST'"
							type="Number"
							outputFormat="#,00 %"
							fixed="false"
							selectable="true"
							headerText="[VIEW.DG_HEAD007_PP21]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum" >
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>

					<COLUMN dataField="I007NM2"
							width="[VIEW.DG_WIDTH007]"
							visibleCondition="VIEW.DG_VISIBLE007 == 'true' &amp;&amp; VIEW.COLH6 != null"
							type="Number"
							outputFormat="[VIEW.DG_FMT007]"
							fixed="false"
							selectable="true"
							description="= VIEW.DG_DESC007"
							headerText="[VIEW.DG_HEAD007_NM2]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I007NM1"
							width="[VIEW.DG_WIDTH007]"
							visibleCondition="VIEW.DG_VISIBLE007 == 'true' &amp;&amp; VIEW.COLH5 != null"
							type="Number"
							outputFormat="[VIEW.DG_FMT007]"
							fixed="false"
							selectable="true"
							description="= VIEW.DG_DESC007"
							headerText="[VIEW.DG_HEAD007_NM1]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I007EM21"
							width="[VIEW.DG_WIDTH007]"
							visibleCondition="VIEW.DG_VISIBLE007 == 'true' &amp;&amp; VIEW.COLH5 != null &amp;&amp; SELECT.TYPE_COMPARAISON != '-1' &amp;&amp; SELECT.MODE_COMPARAISON != 'LAST'"
							type="Number"
							outputFormat="[VIEW.DG_FMT007]"
							fixed="false"
							selectable="true"
							headerText="[VIEW.DG_HEAD007_EM21]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>
					<COLUMN dataField="I007PM21"
							width="[VIEW.DG_WIDTH007]"
							visibleCondition="VIEW.DG_VISIBLE007 == 'true' &amp;&amp; VIEW.COLH5 != null &amp;&amp; SELECT.TYPE_COMPARAISON != '-1' &amp;&amp; SELECT.MODE_COMPARAISON != 'LAST'"
							type="Number"
							outputFormat="#,00 %"
							fixed="false"
							selectable="true"
							headerText="[VIEW.DG_HEAD007_PM21]"
							textAlign="right"
							otherFunction="sum"
							totalFunction="sum">
						<HEADERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<FOOTERCELLSTYLE name="backgroundColor" value="0xDCDCDC"/>
						<HEADERCELLSTYLE name="textAlign" value="center"/>
					</COLUMN>

				</DATAGRID>
			</ONGLET>
		</PRESENTATION>
	</COMPONENT>

</COMPONENTS>

			
