|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
<VUE name="PMSI000027" label="PMSI. Evolution temporelle Prestations" title="= SELECT.DATA_LABEL + ' par ' + SELECT.GROUPBY_LABEL + ' (' + SELECT.PERIODE_LABEL + ' à ' + SELECT.TOPERIODE_LABEL + ') - ' + SELECT.VERSION_GROUPAGE_LABEL" database="iCTI" swf="*CTI_view1" softCode="iCTI_pmsi" globals="PMSI_globals.XML" componentsFile="PMSI_components.XML" helpDokuWIkiDir="pmsi:sejour_analyse_detaillee:prestations" helpDokuWIkiFile="pmsi000025" helpFile="iCTI_PMSI_PMSI000027.HTML">
|
|
|
<VIEWPROPERTIES componentName="PROPERTIES_PRESTATIONS" />
|
|
|
<VIEWPROPERTIES componentName="PROPERTIES_SELECT_TABTREE" />
|
|
|
<VIEWPROPERTIES>
|
|
|
<PROPERTY dataLink="VIEWPROPERTIES" nameField="name" valueField="value" />
|
|
|
<PROPERTY name="DATA1F">
|
|
|
<value><![CDATA[[EVAL return PMSI_CA_data('[DATA]', 0, "date_sortie BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0"); EVAL]]]></value>
|
|
|
</PROPERTY>
|
|
|
<PROPERTY name="DATA2F">
|
|
|
<value><![CDATA[[EVAL return PMSI_CA_data('[DATA]', 0, "date_sortie BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","1"); EVAL]]]></value>
|
|
|
</PROPERTY>
|
|
|
<PROPERTY name="DATA1C">
|
|
|
<value><![CDATA[[EVAL return PMSI_CA_data('[DATA]', 0, "date_sortie BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","0",'[TOPERIODE]'); EVAL]]]></value>
|
|
|
</PROPERTY>
|
|
|
<PROPERTY name="DATA2C">
|
|
|
<value><![CDATA[[EVAL return PMSI_CA_data('[DATA]', 0, "date_sortie BETWEEN '[PERIODE]' AND '[TOPERIODE]'", "","1",'[TOPERIODE]'); EVAL]]]></value>
|
|
|
</PROPERTY>
|
|
|
<PROPERTY name="COMBIEN_JOURS">
|
|
|
<value><![CDATA[
|
|
|
[EVAL
|
|
|
if ('[PERIODICITE]' == 'DAY') {
|
|
|
if ('[NBJOURS]' != '-1') {
|
|
|
return [NBJOURS];
|
|
|
}
|
|
|
else {
|
|
|
return substr('[TOPERIODE]', -2);
|
|
|
}
|
|
|
}
|
|
|
else {return "12";}
|
|
|
EVAL]
|
|
|
]]></value>
|
|
|
</PROPERTY>
|
|
|
<PROPERTY name="NB_MOIS">
|
|
|
<value><![CDATA[[EVAL
|
|
|
|
|
|
// nombre de mois entre les deux dates de la période d'analyse
|
|
|
$nb_mois = ((intval(substr('[TOPERIODE]', 0, 4)) - 1) * 12 + intval(substr('[TOPERIODE]', 5, 2))) -
|
|
|
((intval(substr('[PERIODE]', 0, 4)) - 1) * 12 + intval(substr('[PERIODE]', 5, 2))) + 1;
|
|
|
|
|
|
switch ('[PERIODICITE]') {
|
|
|
case 'DAY' :
|
|
|
if((substr('[TOPERIODE]', 6, 2) == substr('[PERIODE]', 6, 2)) && (substr('[TOPERIODE]',0, 4) == substr('[PERIODE]',0, 4)) ){
|
|
|
$number = cal_days_in_month(CAL_GREGORIAN, substr('[TOPERIODE]', 6, 2), substr('[TOPERIODE]', 0, 4));
|
|
|
return $number;
|
|
|
break;
|
|
|
}else {
|
|
|
$d1=strtotime('[PERIODE]'); // convertir la date en seconde
|
|
|
$d2=strtotime('[TOPERIODE]'); // convertir la date en seconde
|
|
|
$dif=$d2-$d1; // calculer la difference entre les deux date en seconde
|
|
|
$nbj=$dif/86400; // convertir le resultat en nombre de jours 60*60*24
|
|
|
return $nbj;
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
case 'WEEK2':
|
|
|
$d1=strtotime('[PERIODE]'); // convertir la date en seconde
|
|
|
$d2=strtotime('[TOPERIODE]');// convertir la date en seconde
|
|
|
$dif=$d2-$d1; // calculer la difference entre les deux date en seconde
|
|
|
$nbsemaine=$dif/604800; // convertir le resultat en nombre de semaine 60*60*24*7
|
|
|
return $nbsemaine;
|
|
|
break;
|
|
|
case 'MONTH':
|
|
|
// return $nb_mois > 12 ? '12' : strval($nb_mois);
|
|
|
return strval($nb_mois);
|
|
|
break;
|
|
|
case 'QUARTER' :
|
|
|
// return ceil($nb_mois / 3) > 12 ? '12' : strval(ceil($nb_mois / 3));
|
|
|
return strval(ceil($nb_mois / 3));
|
|
|
break;
|
|
|
case 'YEAR' :
|
|
|
// return ceil($nb_mois / 12) > 12 ? '12' : strval(ceil($nb_mois / 12));
|
|
|
return strval(ceil($nb_mois / 12));
|
|
|
break;
|
|
|
default :
|
|
|
return strval($nb_mois);
|
|
|
}
|
|
|
|
|
|
EVAL]]]></value>
|
|
|
</PROPERTY>
|
|
|
</VIEWPROPERTIES>
|
|
|
<SELECTIONS label="Paramètres de l'analyse">
|
|
|
<GROUP label="Période">
|
|
|
<FIELD name="ALIAS_PERIODE" label="" UI="combo" width="220" default="CUM_LAST_MONTH" tree="true" globalListProvider="ALIAS_PERIODE" />
|
|
|
<FIELD name="PERIODE" label="de" UI="combo" tree="true" width="200" default="2014-01-01" printable="false" globalListProvider="DATE_DEBUT" />
|
|
|
<FIELD name="TOPERIODE" label="à" UI="combo" tree="true" width="200" default="2014-12-31" printable="false" globalListProvider="DATE_FIN" />
|
|
|
</GROUP>
|
|
|
<GROUP label="Périodicité">
|
|
|
<FIELD name="PERIODICITE" width="200" UI="combo" default="MONTH" globalListProvider="PERIODICITE" />
|
|
|
<FIELD name="NBJOURS" label="Nombre de jours" UI="combo" width="200" default="12" visible="= SELECT.PERIODICITE == 'DAY' ">
|
|
|
<OPTION data="-1" label="A partir du début du mois"/>
|
|
|
<OPTION data="1" label="1 jour"/>
|
|
|
<OPTION data="2" label="2 jours"/>
|
|
|
<OPTION data="3" label="3 jours"/>
|
|
|
<OPTION data="4" label="4 jours"/>
|
|
|
<OPTION data="5" label="5 jours"/>
|
|
|
<OPTION data="6" label="6 jours"/>
|
|
|
<OPTION data="7" label="7 jours"/>
|
|
|
<OPTION data="8" label="8 jours"/>
|
|
|
<OPTION data="9" label="9 jours"/>
|
|
|
<OPTION data="10" label="10 jours"/>
|
|
|
<OPTION data="11" label="11 jours"/>
|
|
|
<OPTION data="12" label="12 jours"/>
|
|
|
<OPTION data="13" label="13 jours"/>
|
|
|
<OPTION data="14" label="14 jours"/>
|
|
|
<OPTION data="15" label="15 jours"/>
|
|
|
<OPTION data="16" label="16 jours"/>
|
|
|
<OPTION data="17" label="17 jours"/>
|
|
|
<OPTION data="18" label="18 jours"/>
|
|
|
<OPTION data="19" label="19 jours"/>
|
|
|
<OPTION data="20" label="20 jours"/>
|
|
|
<OPTION data="21" label="21 jours"/>
|
|
|
<OPTION data="22" label="22 jours"/>
|
|
|
<OPTION data="23" label="23 jours"/>
|
|
|
<OPTION data="24" label="24 jours"/>
|
|
|
<OPTION data="25" label="25 jours"/>
|
|
|
<OPTION data="26" label="26 jours"/>
|
|
|
<OPTION data="27" label="27 jours"/>
|
|
|
<OPTION data="28" label="28 jours"/>
|
|
|
<OPTION data="29" label="29 jours"/>
|
|
|
<OPTION data="30" label="30 jours"/>
|
|
|
<OPTION data="31" label="31 jours"/>
|
|
|
</FIELD>
|
|
|
</GROUP>
|
|
|
<GROUP>
|
|
|
<FIELD name="DATA" width="300" label="Données" UI="combo" tree="true" default="16.1" default2="0" default3="" printable="false">
|
|
|
<OPTION label="Options" data="" globalListProvider="PRESTATIONS_DATA" />
|
|
|
</FIELD>
|
|
|
</GROUP>
|
|
|
<GROUP label="Regroupements">
|
|
|
<FIELD name="GROUPBY" width="220" label="" UI="combo" default="PRESTA" tree="true">
|
|
|
<OPTION label="Options" data="" globalListProvider="PRESTATIONS_GROUPBY_OPTIONS" />
|
|
|
</FIELD>
|
|
|
<FIELD name="GROUPBY_TAB" width="100" label="Présentation" UI="combo" default="AUTO" visible="= SELECT.GROUPBY_2 != '-1' ">
|
|
|
<OPTION label="Automatique" data="AUTO" />
|
|
|
<OPTION label="Arbre" data="TREE" />
|
|
|
<OPTION label="Onglet" data="TAB" />
|
|
|
</FIELD>
|
|
|
</GROUP>
|
|
|
<GROUP label="">
|
|
|
<FIELD name="GROUPBY_2" width="220" label="" UI="combo" default="-1" tree="true">
|
|
|
<OPTION label="Pas de second niveau" data="-1" />
|
|
|
<OPTION label="Options" data="" globalListProvider="PRESTATIONS_GROUPBY_OPTIONS" />
|
|
|
</FIELD>
|
|
|
</GROUP>
|
|
|
<GROUP label="">
|
|
|
<FIELD name="GROUPBY_3" width="220" label="" UI="combo" default="-1" tree="true">
|
|
|
<OPTION label="Pas de troisième niveau" data="-1" />
|
|
|
<OPTION label="Options" data="" globalListProvider="PRESTATIONS_GROUPBY_OPTIONS" />
|
|
|
</FIELD>
|
|
|
</GROUP>
|
|
|
</SELECTIONS>
|
|
|
<SELECTIONS componentName="FILTRES_PRESTATIONS_SELECTIONS" />
|
|
|
<SELECTIONS componentName="FILTRES_PRESTATION_SOUSSELECTIONS" />
|
|
|
<SELECTIONS componentName="FILTRES_RSS_SELECTIONS" />
|
|
|
<QUERIES>
|
|
|
<QUERY label="">
|
|
|
<SQL optimizer="V_RSS_X" cacheEnabled="true">
|
|
|
<select><![CDATA[
|
|
|
|
|
|
CTISELECT_TREE
|
|
|
GROUPBY1{[VIEW.SELECT_TABTREE_OID_FIELD],, [VIEW.SELECT_TABTREE_COD_FIELD],, [VIEW.SELECT_TABTREE_TXT_FIELD]}
|
|
|
GROUPBY1MODE{[GROUPBY_TAB]}
|
|
|
GROUPBY2{[VIEW.SELECT_TABTREE_2_OID_FIELD],, [VIEW.SELECT_TABTREE_2_COD_FIELD],, [VIEW.SELECT_TABTREE_2_TXT_FIELD]}
|
|
|
GROUPBY3{[VIEW.SELECT_TABTREE_3_OID_FIELD],, [VIEW.SELECT_TABTREE_3_COD_FIELD],, [VIEW.SELECT_TABTREE_3_TXT_FIELD]}
|
|
|
SIGNIFDATA{[VIEW.SELECT_TABTREE_ACTIVITE_SIGNIFICATIVE_DATA],, [ACTIVITE_SIGNIFICATIVE_MODE],, [ACTIVITE_SIGNIFICATIVE_NUMBER]}
|
|
|
COLUMNBY[PERIODICITE]{v_rss_1.date_sortie,, '[PERIODE]' ,, '[TOPERIODE]' ,, [VIEW.COMBIEN_JOURS],, [VIEW.COLUMN_OPTION]}
|
|
|
OPTIONS{NOTZERO=1}
|
|
|
INDICATORS{[VIEW.DATA1F]}
|
|
|
INDICATORS_COLUMNS{[VIEW.DATA2F]}
|
|
|
ORDERBY{[VIEW.DATA],, DESC}
|
|
|
FROM #V_RSS_X#
|
|
|
JOIN pmsi.v_rsf_detail_1 ON v_rss_1.rss_id = v_rsf_detail_1.rss_id
|
|
|
WHERE
|
|
|
mois_sortie IN ([VIEW.PERIODE_MOIS_LIST])
|
|
|
AND date_sortie BETWEEN '[PERIODE]' AND '[TOPERIODE]'
|
|
|
[VIEW.FILTRE_RSS_SELECT]
|
|
|
[VIEW.PRESTATION_SELECT]
|
|
|
|
|
|
]]></select>
|
|
|
<FIELDS>
|
|
|
<INSERT name="CTISELECT_TREE_FIELDS" />
|
|
|
<FIELD name="SORT" />
|
|
|
<FIELD name="N" />
|
|
|
<FIELD name="N0" />
|
|
|
<FIELD name="N1" />
|
|
|
<FIELD name="N2" />
|
|
|
<FIELD name="N3" />
|
|
|
<FIELD name="N4" />
|
|
|
<FIELD name="N5" />
|
|
|
<FIELD name="N6" />
|
|
|
<FIELD name="N7" />
|
|
|
<FIELD name="N8" />
|
|
|
<FIELD name="N9" />
|
|
|
<FIELD name="N10" />
|
|
|
<FIELD name="N11" />
|
|
|
<FIELD name="N12" />
|
|
|
<FIELD name="N13" />
|
|
|
<FIELD name="N14" />
|
|
|
<FIELD name="N15" />
|
|
|
<FIELD name="N16" />
|
|
|
<FIELD name="N17" />
|
|
|
<FIELD name="N18" />
|
|
|
<FIELD name="N19" />
|
|
|
<FIELD name="N20" />
|
|
|
<FIELD name="N21" />
|
|
|
<FIELD name="N22" />
|
|
|
<FIELD name="N23" />
|
|
|
<FIELD name="N24" />
|
|
|
<FIELD name="N25" />
|
|
|
<FIELD name="N26" />
|
|
|
<FIELD name="N27" />
|
|
|
<FIELD name="N28" />
|
|
|
<FIELD name="N29" />
|
|
|
<FIELD name="N30" />
|
|
|
<FIELD name="N31" />
|
|
|
</FIELDS>
|
|
|
</SQL>
|
|
|
</QUERY>
|
|
|
<QUERY type="propertiesLink" name="VIEWPROPERTIES" forSelections="false">
|
|
|
<SQL>
|
|
|
<select><![CDATA[
|
|
|
SELECT 'X_PERIODE_D', greatest(to_date(to_char('[PERIODE]'::date - INTERVAL '1 year', 'YYYY-MM-DD'), 'YYYY-MM-DD'), (SELECT min(date_debut) FROM pmsi.p_imports))::text
|
|
|
UNION
|
|
|
SELECT 'X_TOPERIODE_D', greatest(to_date(to_char('[TOPERIODE]'::date - INTERVAL '1 year', 'YYYY-MM-DD'), 'YYYY-MM-DD'), (SELECT min(date_debut) FROM pmsi.p_imports))::text
|
|
|
UNION
|
|
|
SELECT 'X_PERIODE', greatest(to_date(to_char('[PERIODE]'::date - INTERVAL '3 year', 'YYYY-MM-DD'), 'YYYY-MM-DD'), (SELECT min(date_debut) FROM pmsi.p_imports))::text
|
|
|
UNION
|
|
|
SELECT 'BASE_NAT_YEAR', extract('year' FROM max(date_reference))::text FROM pmsi.t_indicateurs_atih where periode_type <> 'NOW'
|
|
|
]]></select>
|
|
|
<FIELDS>
|
|
|
<FIELD name="name" />
|
|
|
<FIELD name="value" />
|
|
|
</FIELDS>
|
|
|
</SQL>
|
|
|
</QUERY>
|
|
|
</QUERIES>
|
|
|
<PRESENTATION>
|
|
|
<VIEWLINKS>
|
|
|
<VIEWLINK label="Justificatif Prestations par RSS" shortLabel="Liste Prestations" view="PMSI000026.XML" componentName="RSS_BASE_VIEWLINK" component2Name="PRESTATION_VIEWLINK" component3Name="DATE_EVOL_2_VIEWLINK" />
|
|
|
<VIEWLINK label="Liste des RSS" shortLabel="Liste RSS" view="PMSI000005.XML" componentName="RSS_BASE_VIEWLINK" component2Name="RSS_OTHERS_VIEWLINK" component3Name="DATE_EVOL_2_VIEWLINK" />
|
|
|
</VIEWLINKS>
|
|
|
<ONGLET excelLabel="Répartition temporelle" label="Répartition temporelle" multiTab="true" multiTabBreakField="TABD" multiTabBreakLabelField="TABDL" multiTabBreakLonglabelField="TABDLL">
|
|
|
<CHART title="Evolution temporelle (5 premiers)" type="lineChart" maxItems="5" maxItemsSortOn="N" maxItemsSortSeq="D" serieIsCategory="true" sortField="N" sortSeq="D" visibleCondition="SELECT.PERIODICITE != 'DAY'" condition="ROW.LVL == '1'">
|
|
|
<CATEGORY field="CODTXT" type="Char" />
|
|
|
<SERIE field="N1" displayName="VIEW.COLH1" displayNameCalc="true" visibleCondition="VIEW.COLH1 != null" />
|
|
|
<SERIE field="N2" displayName="VIEW.COLH2" displayNameCalc="true" visibleCondition="VIEW.COLH2 != null" />
|
|
|
<SERIE field="N3" displayName="VIEW.COLH3" displayNameCalc="true" visibleCondition="VIEW.COLH3 != null" />
|
|
|
<SERIE field="N4" displayName="VIEW.COLH4" displayNameCalc="true" visibleCondition="VIEW.COLH4 != null" />
|
|
|
<SERIE field="N5" displayName="VIEW.COLH5" displayNameCalc="true" visibleCondition="VIEW.COLH5 != null" />
|
|
|
<SERIE field="N6" displayName="VIEW.COLH6" displayNameCalc="true" visibleCondition="VIEW.COLH6 != null" />
|
|
|
<SERIE field="N7" displayName="VIEW.COLH7" displayNameCalc="true" visibleCondition="VIEW.COLH7 != null" />
|
|
|
<SERIE field="N8" displayName="VIEW.COLH8" displayNameCalc="true" visibleCondition="VIEW.COLH8 != null" />
|
|
|
<SERIE field="N9" displayName="VIEW.COLH9" displayNameCalc="true" visibleCondition="VIEW.COLH9 != null" />
|
|
|
<SERIE field="N10" displayName="VIEW.COLH10" displayNameCalc="true" visibleCondition="VIEW.COLH10 != null" />
|
|
|
<SERIE field="N11" displayName="VIEW.COLH11" displayNameCalc="true" visibleCondition="VIEW.COLH11 != null" />
|
|
|
<SERIE field="N12" displayName="VIEW.COLH12" displayNameCalc="true" visibleCondition="VIEW.COLH12 != null" />
|
|
|
<SERIE field="N13" displayName="VIEW.COLH13" displayNameCalc="true" visibleCondition="VIEW.COLH13 != null" />
|
|
|
<SERIE field="N14" displayName="VIEW.COLH14" displayNameCalc="true" visibleCondition="VIEW.COLH14 != null" />
|
|
|
<SERIE field="N15" displayName="VIEW.COLH15" displayNameCalc="true" visibleCondition="VIEW.COLH15 != null" />
|
|
|
<SERIE field="N16" displayName="VIEW.COLH16" displayNameCalc="true" visibleCondition="VIEW.COLH16 != null" />
|
|
|
<SERIE field="N17" displayName="VIEW.COLH17" displayNameCalc="true" visibleCondition="VIEW.COLH17 != null" />
|
|
|
<SERIE field="N18" displayName="VIEW.COLH18" displayNameCalc="true" visibleCondition="VIEW.COLH18 != null" />
|
|
|
<SERIE field="N19" displayName="VIEW.COLH19" displayNameCalc="true" visibleCondition="VIEW.COLH19 != null" />
|
|
|
<SERIE field="N20" displayName="VIEW.COLH20" displayNameCalc="true" visibleCondition="VIEW.COLH20 != null" />
|
|
|
<SERIE field="N21" displayName="VIEW.COLH21" displayNameCalc="true" visibleCondition="VIEW.COLH21 != null" />
|
|
|
<SERIE field="N22" displayName="VIEW.COLH22" displayNameCalc="true" visibleCondition="VIEW.COLH22 != null" />
|
|
|
<SERIE field="N23" displayName="VIEW.COLH23" displayNameCalc="true" visibleCondition="VIEW.COLH23 != null" />
|
|
|
<SERIE field="N24" displayName="VIEW.COLH24" displayNameCalc="true" visibleCondition="VIEW.COLH24 != null" />
|
|
|
<SERIE field="N25" displayName="VIEW.COLH25" displayNameCalc="true" visibleCondition="VIEW.COLH25 != null" />
|
|
|
<SERIE field="N26" displayName="VIEW.COLH26" displayNameCalc="true" visibleCondition="VIEW.COLH26 != null" />
|
|
|
<SERIE field="N27" displayName="VIEW.COLH27" displayNameCalc="true" visibleCondition="VIEW.COLH27 != null" />
|
|
|
<SERIE field="N28" displayName="VIEW.COLH28" displayNameCalc="true" visibleCondition="VIEW.COLH28 != null" />
|
|
|
<SERIE field="N29" displayName="VIEW.COLH29" displayNameCalc="true" visibleCondition="VIEW.COLH29 != null" />
|
|
|
<SERIE field="N30" displayName="VIEW.COLH30" displayNameCalc="true" visibleCondition="VIEW.COLH30 != null" />
|
|
|
<SERIE field="N31" displayName="VIEW.COLH31" displayNameCalc="true" visibleCondition="VIEW.COLH31 != null" />
|
|
|
</CHART>
|
|
|
<CHART title="Comparatif (10 premiers)" type="pieChart" maxItems="10" maxItemsSortOn="N" maxItemsSortSeq="D" sortField="CODTXT" sortSeq="A" condition="ROW.LVL == '1'">
|
|
|
<CATEGORY field="CODTXT" type="Char" />
|
|
|
<SERIE field="N" displayName="SELECT.DATA_LABEL" displayNameCalc="true" />
|
|
|
</CHART>
|
|
|
<DATAGRID title="" total="true" showOthers="true" headerHeight="36" variableRowHeight="true" sortable="= SELECT.GROUPBY_3 == '-1' || SELECT.GROUPBY_2 == '-1' || SELECT.GROUPBY_TAB == 'TAB'" selectRowInRows="= ROW.OID == '-9999997'" otherRowInRows="= ROW.OID == '-9999998'" totalRowInRows="= ROW.OID == '-9999999'">
|
|
|
<INSERT name="DATAGRID_MULTITAB_STYLES" />
|
|
|
<COLUMN dataField="OID" width="60" type="Char" visible="false" headerText="Oid" />
|
|
|
<COLUMN dataField="COD" width="70" 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="200" headerText="SELECT.GROUPBY_LABEL" headerTextCalc="true" textAlign="left" totalFunction="text" otherFunction="text" otherComplement="*ROW" />
|
|
|
<COLUMN dataField="CODTXT" type="Char" visible="false" totalFunction="text" otherFunction="text" calc="true">
|
|
|
<CALC formula="ROW.TXT" condition="ROW.COD == ROW.TXT" />
|
|
|
<CALC formula="ROW.COD + ' - ' + ROW.TXT" condition="ROW.COD != ROW.TXT" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="N" width="90" visibleCondition="SELECT.PERIODICITE != 'YEAR'" type="Number" outputFormat="= SELECT.DATA2" headerText="SELECT.DATA3" headerTextCalc="true" textAlign="right" totalFunction="sum" otherFunction="sum" />
|
|
|
<COLUMN dataField="N_P" type="Number" headerText="% / Total" width="40" visibleCondition="SELECT.PERIODICITE != 'YEAR'" outputFormat="0%" textAlign="right" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
|
|
|
<CALC formula="ROW.N / TOTALROW.N * 100" />
|
|
|
</COLUMN>
|
|
|
<!-- Pour calculer la colonne "M_P" ("Moy."), il faut forcer le calcul de chacun
|
|
|
des mois avant de pouvoir les utiliser dans la balise <CALC formula="..." />-->
|
|
|
<COLUMN dataField="N0" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N1" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N2" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N3" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N4" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N5" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N6" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N7" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N8" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N9" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N10" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N11" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N12" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N13" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N14" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N15" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N16" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N17" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N18" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N19" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N20" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N21" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N22" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N23" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N24" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N25" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N26" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N27" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N28" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N29" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N30" visible="false" type="Number" outputFormat="#" />
|
|
|
<COLUMN dataField="N31" visible="false" type="Number" outputFormat="#" />
|
|
|
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
<COLUMN dataField="M_P" type="Number" headerText="Moy." width="75" visibleCondition="SELECT.PERIODICITE != 'YEAR'" outputFormat="#" textAlign="right" totalFunction="calc" totalComplement="" otherFunction="calc" calc="true">
|
|
|
<CALC formula="(ROW.N0+ROW.N1+ROW.N2+ROW.N3+ROW.N4+ROW.N5+ROW.N6+ROW.N7+ROW.N8+ROW.N9+ROW.N10+ROW.N11+ROW.N12+ROW.N13+ROW.N14+ROW.N15+ROW.N16+ROW.N17+ROW.N18+ROW.N19+ROW.N20+ROW.N21+ROW.N22+ROW.N23+ROW.N24+ROW.N25+ROW.N26+ROW.N27+ROW.N28+ROW.N29+ROW.N30+ROW.N31) / Number(VIEW.NB_MOIS)" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="N0" width="75" visibleCondition="VIEW.COLH0 != null" type="Number" outputFormat="#" fixed="false" selectable="true" headerText="<<" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N1" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH1 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH1" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N2" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH2 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH2" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N3" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH3 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH3" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N4" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH4 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH4" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N5" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH5 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH5" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N6" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH6 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH6" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N7" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH7 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH7" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N8" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH8 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH8" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N9" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH9 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH9" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N10" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH10 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH10" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N11" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH11 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH11" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N12" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH12 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH12" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N13" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH13 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH13" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N14" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH14 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH14" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N15" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH15 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH15" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N16" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH16 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH16" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N17" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH17 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH17" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N18" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH18 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH18" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N19" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH19 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH19" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N20" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH20 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH20" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N21" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH21 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH21" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N22" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH22 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH22" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N23" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH23 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH23" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N24" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH24 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH24" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N25" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH25 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH25" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N26" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH26 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH26" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N27" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH27 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH27" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N28" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH28 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH28" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N29" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH29 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH29" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N30" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH30 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH30" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
<COLUMN dataField="N31" width="= if (SELECT.PERIODICITE == 'DAY') { return 50;} else { return 70;}" visibleCondition="VIEW.COLH31 != null" type="Number" outputFormat="=SELECT.DATA2" fixed="false" selectable="true" headerText="VIEW.COLH31" headerTextCalc="true" textAlign="right" otherFunction="sum" totalFunction="sum" />
|
|
|
</DATAGRID>
|
|
|
</ONGLET>
|
|
|
</PRESENTATION>
|
|
|
</VUE>
|