Patch level : 12.0 1058

Files correlati     : ce3.exe ce3900a.rep ce3900b.rep

Commento        :

Corretto ordinamento per impianto e località nelregistro sintetico cespiti
This commit is contained in:
Alessandro Bonazzi 2021-04-23 21:20:05 +02:00
parent acb48e3083
commit 4326b79043
3 changed files with 267 additions and 118 deletions

View File

@ -144,14 +144,17 @@ void TStampa_sintetica_recordset::set_filter(const TStampa_sintetica_mask& msk)
{
query << "\nBY ";
if (sort_type & SORT_DATACOMP)
query << "CODCAT|DTCOMP|CODIMP|CODLOC|IDCESPITE";
query << "CODCAT|CODIMP|CODLOC|DTCOMP|IDCESPITE";
else
query << "CODCAT|IDCESPITE";
query << "CODCAT|CODIMP|CODLOC|IDCESPITE";
}
else
{
query << "\nBY ";
if (sort_type & SORT_DATACOMP)
query << "\nBY DTCOMP|CODIMP|CODLOC|IDCESPITE";
query << "CODIMP|CODLOC|DTCOMP|IDCESPITE";
else
query << "CODIMP|CODLOC|IDCESPITE";
}
@ -206,7 +209,7 @@ real TStampa_sintetica_rep::val_amm(const TRectype& rec_saldi) const
if (_tpamm == 1) //solo fiscale
valore -= rec_saldi.get_real(SALCE_VNONAMM06);
if (_tpamm == 2) //solo civilistico
if ( _tpamm == 2) //solo civilistico
{
valore -= rec_saldi.get_real(SALCE_VNONAMMC);
valore += rec_saldi.get_real(SALCE_RIVGC);
@ -239,8 +242,7 @@ bool TStampa_sintetica_rep::get_usr_val(const TString& name, TVariant& var) cons
c.read(idcespite);
c.load_saldi(_tpamm, _anno);
}
if (name == "#DESCAT") //categoria (descrizione della categoria corrente)
if (name == "#DESCAT") //categoria (descrizione della categoria corrente)
{
const int gruppo = recset.get("CODCGRA").as_int();
const TString& specie = recset.get("CODSPA").as_string();
@ -249,7 +251,6 @@ bool TStampa_sintetica_rep::get_usr_val(const TString& name, TVariant& var) cons
var = rec_cac.get("S0");
return true;
}
if (name.starts_with("#COSTO")) //valore dell'anno (iniziale e finale, comprese rivalutazioni e non ammortizz.)
{
if (name.ends_with("FIN")) //tiposaldo finale
@ -262,21 +263,16 @@ bool TStampa_sintetica_rep::get_usr_val(const TString& name, TVariant& var) cons
}
return true;
}
if (name == "#GROUP_CODIMP")
{
var.set(_group_codimp);
return true;
}
if (name == "#GROUP_CODLOC")
if (name == "#GROUP_CODLOC")
{
var.set(_group_codloc);
return true;
}
if (name == "#QAMMMV") //quote ammortamento su movimento esercizio corrente
{
real quote_ammmv;
@ -284,25 +280,30 @@ bool TStampa_sintetica_rep::get_usr_val(const TString& name, TVariant& var) cons
for (int i = 0; i < array_ammmv.items(); i++)
{
const TRectype& rec_ammmv = (const TRectype&)array_ammmv[i];
quote_ammmv += rec_ammmv.get_real(AMMMV_QNOR) + rec_ammmv.get_real(AMMMV_QACC) +
rec_ammmv.get_real(AMMMV_QANT) + rec_ammmv.get_real(AMMMV_QPERSE) +
rec_ammmv.get_real(AMMMV_QPPRIVATE); // +rec_ammmv.get_real(AMMMV_FPRIVATO);
rec_ammmv.get_real(AMMMV_QPPRIVATE) + rec_ammmv.get_real(AMMMV_FPRIVATO);
}
var = quote_ammmv;
return true;
}
if (name == "#QAMM") //quote ammortamento esercizio corrente
{
const TRectype& rec_ammce = _cespite.amm_pro();
real quote_amm = real(rec_ammce.get_real(AMMCE_QNOR) + rec_ammce.get_real(AMMCE_QACC) +
rec_ammce.get_real(AMMCE_QANT) + rec_ammce.get_real(AMMCE_QPERSE) +
rec_ammce.get_real(AMMCE_QPPRIVATE)); // +rec_ammce.get_real(AMMCE_FPRIVATO));
const real quote_amm = rec_ammce.get_real(AMMCE_QNOR) + rec_ammce.get_real(AMMCE_QACC) +
rec_ammce.get_real(AMMCE_QANT) + rec_ammce.get_real(AMMCE_QPERSE) +
rec_ammce.get_real(AMMCE_QPPRIVATE); // +rec_ammce.get_real(AMMCE_FPRIVATO);
var = quote_amm;
return true;
}
if (name == "#QAMM_FPRIVATO") //fondo ammortamento privato corrente
{
const TRectype& rec_ammce = _cespite.amm_pro();
real famm = rec_ammce.get_real(AMMCE_FPRIVATO);
var = famm;
return true;
@ -321,9 +322,9 @@ bool TStampa_sintetica_rep::get_usr_val(const TString& name, TVariant& var) cons
if (name == "#FAMM") //fondo ammortamento alla fine dell'esercizio precedente
{
const TRectype& rec_ammce = _cespite.amm_ini();
real fondo = real(rec_ammce.get_real(AMMCE_QNOR) + rec_ammce.get_real(AMMCE_QACC) +
rec_ammce.get_real(AMMCE_QANT) + rec_ammce.get_real(AMMCE_QPERSE) +
rec_ammce.get_real(AMMCE_QPPRIVATE) + rec_ammce.get_real(AMMCE_FPRIVATO));
const real fondo = rec_ammce.get_real(AMMCE_QNOR) + rec_ammce.get_real(AMMCE_QACC) +
rec_ammce.get_real(AMMCE_QANT) + rec_ammce.get_real(AMMCE_QPERSE) +
rec_ammce.get_real(AMMCE_QPPRIVATE) + rec_ammce.get_real(AMMCE_FPRIVATO);
var = fondo;
return true;
}
@ -383,7 +384,7 @@ void TStampa_sintetica::main_loop()
{
TStampa_sintetica_mask mask;
mask.set(F_CALCOLO, "X");
// mask.set(F_CALCOLO, "X");
while (mask.run() == K_ENTER)
{
// Esecuzione calcolo globale

View File

@ -166,7 +166,7 @@ MESSAGE ADD,F3.103
MESSAGE ADD,F4.103</postscript>
</field>
<field x="109" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="104" pattern="1" hide_zero="" text="#########,@@">
<source>#QAMM+#QAMMMV-#QAMM_FPRIVATO</source>
<source>#QAMM+#QAMMMV</source>
<postscript description="B1.104 POSTSCRIPT">MESSAGE ADD,F2.104
MESSAGE ADD,F3.104
MESSAGE ADD,F4.104</postscript>

View File

@ -1,56 +1,56 @@
<?xml version="1.0" encoding="UTF-8" ?>
<report name="ce3900b" orientation="2" lpi="6">
<report libraries="" page_merge="" save_printer="" name="ce3900b" use_printer_font="" orientation="2" page_split="" lpi="6" command="" class="">
<description>Registro cespiti sintetico per codice cespite</description>
<font face="Arial Narrow" size="8" />
<section type="Head" pattern="1">
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="" hidden="" page_break="" can_break="" pattern="1">
<font face="Arial Narrow" bold="1" size="8" />
<field x="18.5" y="0.5" type="Testo" align="center" width="10" pattern="1" text="Date" />
<field x="83" y="0.5" type="Testo" align="center" width="8" pattern="1" text="Valori" />
<field x="124" y="0.5" type="Testo" width="20" pattern="1" text="Fondo Ammortamento" />
<field x="157" y="0.75" type="Testo" align="right" width="12" pattern="1" text="Residuo da" />
<field x="1" y="1.5" type="Testo" width="10" pattern="1" text="Codice" />
<field x="11" y="1.5" type="Testo" width="10" pattern="1" text="Alienazione" />
<field x="21" y="1.5" type="Testo" width="10" pattern="1" text="Acquisto" />
<field x="31" y="1.5" type="Testo" width="10" pattern="1" text="Entr. Funz." />
<field x="41" y="1.5" type="Testo" width="28" pattern="1" text="Descrizione" />
<field x="66" y="1.5" type="Testo" align="right" width="12" pattern="1" text="Iniziale" />
<field x="78" y="1.5" type="Testo" align="right" width="12" pattern="1" text="Variazione" />
<field x="90" y="1.5" type="Testo" align="right" width="12" pattern="1" text="Finale" />
<field x="102.5" y="1.5" type="Testo" align="right" width="6" pattern="1" text="%Amm" />
<field x="109" y="1.5" type="Testo" align="right" width="12" pattern="1" text="Es. corr." />
<field x="121" y="1.5" type="Testo" align="right" width="12" pattern="1" text="Fine es.prec" />
<field x="133" y="1.5" type="Testo" align="right" width="12" pattern="1" text="Cessioni" />
<field x="145" y="1.5" type="Testo" align="right" width="12" pattern="1" text="Totale" />
<field x="157" y="1.5" type="Testo" align="right" width="12" pattern="1" text="ammortizzare" />
<field border="1" x="1" y="2.5" type="Linea" width="168" height="0" pattern="1" />
<field x="18.5" y="0.5" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="Date" />
<field x="83" y="0.5" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="8" codval="" id="" pattern="1" hide_zero="" text="Valori" />
<field x="124" y="0.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Fondo Ammortamento" />
<field x="157" y="0.75" deactivated="" type="Testo" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="" pattern="1" hide_zero="" text="Residuo da" />
<field x="1" y="1.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="Codice" />
<field x="11" y="1.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="Alienazione" />
<field x="21" y="1.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="Acquisto" />
<field x="31" y="1.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="Entr. Funz." />
<field x="41" y="1.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="28" codval="" id="" pattern="1" hide_zero="" text="Descrizione" />
<field x="66" y="1.5" deactivated="" type="Testo" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="" pattern="1" hide_zero="" text="Iniziale" />
<field x="78" y="1.5" deactivated="" type="Testo" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="" pattern="1" hide_zero="" text="Variazione" />
<field x="90" y="1.5" deactivated="" type="Testo" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="" pattern="1" hide_zero="" text="Finale" />
<field x="102.5" y="1.5" deactivated="" type="Testo" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="6" codval="" id="" pattern="1" hide_zero="" text="%Amm" />
<field x="109" y="1.5" deactivated="" type="Testo" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="" pattern="1" hide_zero="" text="Es. corr." />
<field x="121" y="1.5" deactivated="" type="Testo" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="" pattern="1" hide_zero="" text="Fine es.prec" />
<field x="133" y="1.5" deactivated="" type="Testo" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="" pattern="1" hide_zero="" text="Cessioni" />
<field x="145" y="1.5" deactivated="" type="Testo" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="" pattern="1" hide_zero="" text="Totale" />
<field x="157" y="1.5" deactivated="" type="Testo" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="" pattern="1" hide_zero="" text="ammortizzare" />
<field border="1" x="1" y="2.5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="168" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
</section>
<section type="Head" level="1" pattern="1">
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="1" hidden="" page_break="" can_break="" pattern="1">
<font face="Arial" size="8" />
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1
</prescript>
<field border="1" radius="100" x="12" y="0.5" type="Testo" valign="center" align="center" shade_offset="25" width="148" height="2.5" pattern="2" text="REGISTRO CESPITI SINTETICO">
<field border="1" radius="100" x="12" y="0.5" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="25" width="148" codval="" height="2.5" id="" pattern="2" hide_zero="" text="REGISTRO CESPITI SINTETICO">
<font face="Times New Roman" bold="1" size="16" />
</field>
<field border="2" x="1" y="4" type="Linea" width="168" height="0" pattern="1" />
<field x="1" y="4.5" type="Stringa" width="50" pattern="1">
<field border="2" x="1" y="4" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="168" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
<field x="1" y="4.5" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="" pattern="1" hide_zero="" text="">
<font italic="1" face="Arial" bold="1" size="8" />
<source>#SYSTEM.RAGSOC</source>
</field>
<field x="58.5" y="4.5" type="Testo" width="14" pattern="1" text="Data stampa:">
<field x="58.5" y="4.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="14" codval="" id="" pattern="1" hide_zero="" text="Data stampa:">
<font italic="1" face="Arial" size="8" />
</field>
<field x="72.5" y="4.5" type="Data" width="11" pattern="1">
<field x="72.5" y="4.5" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="11" codval="" id="" pattern="1" hide_zero="" text="">
<font italic="1" face="Arial" bold="1" size="8" />
<source>#SYSTEM.DATE</source>
</field>
<field x="93" y="4.5" type="Testo" width="7" pattern="1" text="Anno:">
<field x="93" y="4.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="7" codval="" id="" pattern="1" hide_zero="" text="Anno:">
<font italic="1" face="Arial" size="8" />
</field>
<field x="100" y="4.5" type="Numero" align="right" width="5" pattern="1">
<field x="100" y="4.5" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="5" codval="" id="" pattern="1" hide_zero="" text="">
<font italic="1" face="Arial" bold="1" size="8" />
<source>#ANNO</source>
</field>
<field x="117" y="4.5" type="Array" width="25" pattern="1">
<field x="117" y="4.5" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="25" codval="" id="" pattern="1" hide_zero="" text="">
<font italic="1" face="Arial" bold="1" size="8" />
<source>#SITUAZIONE</source>
<list>
@ -60,81 +60,229 @@
</list>
</field>
</section>
<section type="Body" pattern="1" />
<section type="Body" level="1" pattern="1">
<field x="1" type="Stringa" width="10" pattern="1">
<source>IDCESPITE</source>
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="2" hidden="" bg_color="#000000" page_break="" can_break="" pattern="10" sh_angle="270">
<groupby>CODCAT</groupby>
<font face="Arial" bold="1" size="8" />
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2
</prescript>
<field x="1" deactivated="" type="Testo" hidden="" link="" bg_color="#000000" txt_color="#FFFFFF" dynamic_height="" shade_offset="" width="12" codval="" id="" pattern="1" hide_zero="" text="Categoria:" />
<field x="18" deactivated="" type="Stringa" hidden="" link="" txt_color="#FFFFFF" dynamic_height="" shade_offset="" width="70" codval="" id="98" pattern="1" hide_zero="" text="">
<source>#DESCAT</source>
<postscript description="H2.98 POSTSCRIPT">MESSAGE COPY,F2.98</postscript>
</field>
<field x="11" type="Data" width="10" pattern="1">
<source>DTALIEN</source>
</field>
<field x="21" type="Data" width="10" pattern="1">
<source>DTCOMP</source>
</field>
<field x="31" type="Data" width="10" pattern="1">
<source>DTFUNZ</source>
</field>
<field x="41" type="Stringa" dynamic_height="1" width="25" height="2" pattern="1">
<source>DESC</source>
</field>
<field x="102.5" type="Numero" align="right" width="6" pattern="1" text="##@,@@">
<source>#PERCAMM</source>
</field>
<field x="66" type="Valuta" align="right" width="12" id="101" pattern="1" text="#########,@@">
<source>#COSTOINI</source>
<postscript description="B1.101 POSTSCRIPT">MESSAGE ADD,F1.101</postscript>
</field>
<field x="90" type="Valuta" align="right" width="12" id="102" pattern="1" text="#########,@@">
<source>#COSTOFIN</source>
<postscript description="B1.102 POSTSCRIPT">MESSAGE ADD,F1.102</postscript>
</field>
<field x="78" type="Valuta" align="right" width="12" id="103" pattern="1" text="#########,@@">
<source>#102-#101</source>
<postscript description="B1.103 POSTSCRIPT">MESSAGE ADD,F1.103</postscript>
</field>
<field x="109" type="Valuta" align="right" width="12" id="104" pattern="1" text="#########,@@">
<source>#QAMM+#QAMMMV-#QAMM_FPRIVATO</source>
<postscript description="B1.104 POSTSCRIPT">MESSAGE ADD,F1.104</postscript>
</field>
<field x="121" type="Valuta" align="right" width="12" id="105" pattern="1" text="#########,@@">
<source>#FAMM-#FAMM_FPRIVATO</source>
<postscript description="B1.105 POSTSCRIPT">MESSAGE ADD,F1.105</postscript>
</field>
<field x="133" type="Valuta" align="right" width="12" id="106" pattern="1" text="#########,@@">
<source>#CESSELIM+#QAMMMV</source>
<postscript description="B1.106 POSTSCRIPT">MESSAGE ADD,F1.106</postscript>
</field>
<field x="145" type="Valuta" align="right" width="12" id="107" pattern="1" text="#########,@@">
<source>#104+#105-#106</source>
<postscript description="B1.107 POSTSCRIPT">MESSAGE ADD,F1.107</postscript>
</field>
<field x="157" type="Valuta" align="right" width="12" id="108" pattern="1" text="#########,@@">
<source>#RESAMM-#QAMM</source>
<postscript description="B1.108 POSTSCRIPT">MESSAGE ADD,F1.108</postscript>
<field x="14" deactivated="" type="Numero" hidden="" align="right" link="" txt_color="#FFFFFF" dynamic_height="" shade_offset="" width="2" codval="" id="101" pattern="1" hide_zero="" text="">
<source>CODCAT</source>
<postscript description="H2.101 POSTSCRIPT">MESSAGE COPY,F2.97</postscript>
</field>
</section>
<section type="Foot" pattern="1">
<field border="1" x="1" type="Linea" width="168" height="0" pattern="1" />
<field x="140" y="0.25" type="Testo" width="5" pattern="1" text="Pag.">
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="3" hidden="1" bg_color="#808080" sh_color="#C0C0C0" page_break="" can_break="" pattern="10" sh_angle="270">
<groupby>CODIMP</groupby>
<font face="Arial" size="8" />
<prescript description="H3 PRESCRIPT">#GROUP_CODIMP @
IF
"H3" SHOW
"F3" SHOW
ELSE
"H3" HIDE
"F3" HIDE
THEN
</prescript>
<postscript description="H3 POSTSCRIPT">MESSAGE RESET,F3
</postscript>
<field x="4" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="12" codval="" id="" pattern="1" hide_zero="" text="Impianto:">
<font face="Arial" bold="1" size="9" />
</field>
<field x="16.5" deactivated="" type="Stringa" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="97" pattern="1" hide_zero="" text="">
<font face="Arial" bold="1" size="9" />
<source>CODIMP</source>
<postscript description="H3.97 POSTSCRIPT">MESSAGE COPY,F3.97</postscript>
</field>
<field x="30.5" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="70" codval="" id="98" pattern="1" hide_zero="" text="">
<font face="Arial" bold="1" size="9" />
<prescript description="H3.98 PRESCRIPT">MESSAGE TABLEREAD,CIM,CODIMP,S0</prescript>
<postscript description="H3.98 POSTSCRIPT">MESSAGE COPY,F3.98</postscript>
</field>
</section>
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="4" hidden="1" bg_color="#C0C0C0" sh_color="#FFFFFF" page_break="" can_break="" pattern="10" sh_angle="270">
<groupby>CODLOC</groupby>
<font face="Arial" bold="1" size="8" />
<prescript description="H4 PRESCRIPT">#GROUP_CODLOC @
IF
"H4" SHOW
"F4" SHOW
ELSE
"H4" HIDE
"F4" HIDE
THEN
</prescript>
<postscript description="H4 POSTSCRIPT">MESSAGE RESET,F4
</postscript>
<field x="7" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="8" codval="" id="" pattern="1" hide_zero="" text="Localita':" />
<field x="15" deactivated="" type="Stringa" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="97" pattern="1" hide_zero="" text="">
<source>CODLOC</source>
<postscript description="H4.97 POSTSCRIPT">MESSAGE COPY,F4.97</postscript>
</field>
<field x="29" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="70" codval="" id="98" pattern="1" hide_zero="" text="">
<prescript description="H4.98 PRESCRIPT">MESSAGE TABLEREAD,LOC,CODLOC,S0</prescript>
<postscript description="H4.98 POSTSCRIPT">MESSAGE COPY,F4.98</postscript>
</field>
</section>
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Body" level="" hidden="" page_break="" can_break="" pattern="1" />
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Body" level="1" hidden="" page_break="" can_break="" pattern="1">
<field x="1" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="">
<source>IDCESPITE</source>
</field>
<field x="11" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="">
<source>DTALIEN</source>
</field>
<field x="21" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="">
<source>DTCOMP</source>
</field>
<field x="31" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="">
<source>DTFUNZ</source>
</field>
<field x="41" deactivated="" type="Stringa" hidden="" link="" dynamic_height="1" shade_offset="" width="25" codval="" height="2" id="" pattern="1" hide_zero="" text="">
<source>DESC</source>
</field>
<field x="102.5" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="6" codval="" id="" pattern="1" hide_zero="" text="##@,@@">
<source>#PERCAMM</source>
</field>
<field x="66" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="101" pattern="1" hide_zero="" text="#########,@@">
<source>#COSTOINI</source>
<postscript description="B1.101 POSTSCRIPT">MESSAGE ADD,F2.101
MESSAGE ADD,F3.101
MESSAGE ADD,F4.101</postscript>
</field>
<field x="90" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="102" pattern="1" hide_zero="" text="#########,@@">
<source>#COSTOFIN</source>
<postscript description="B1.102 POSTSCRIPT">MESSAGE ADD,F2.102
MESSAGE ADD,F3.102
MESSAGE ADD,F4.102</postscript>
</field>
<field x="78" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="103" pattern="1" hide_zero="" text="#########,@@">
<source>#102-#101</source>
<postscript description="B1.103 POSTSCRIPT">MESSAGE ADD,F2.103
MESSAGE ADD,F3.103
MESSAGE ADD,F4.103</postscript>
</field>
<field x="109" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="104" pattern="1" hide_zero="" text="#########,@@">
<source>#QAMM+#QAMMMV</source>
<postscript description="B1.104 POSTSCRIPT">MESSAGE ADD,F2.104
MESSAGE ADD,F3.104
MESSAGE ADD,F4.104</postscript>
</field>
<field x="121" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="105" pattern="1" hide_zero="" text="#########,@@">
<source>#FAMM-#FAMM_FPRIVATO</source>
<postscript description="B1.105 POSTSCRIPT">MESSAGE ADD,F2.105
MESSAGE ADD,F3.105
MESSAGE ADD,F4.105</postscript>
</field>
<field x="133" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="106" pattern="1" hide_zero="" text="#########,@@">
<source>#CESSELIM+#QAMMMV</source>
<postscript description="B1.106 POSTSCRIPT">MESSAGE ADD,F2.106
MESSAGE ADD,F3.106
MESSAGE ADD,F4.106</postscript>
</field>
<field x="145" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="107" pattern="1" hide_zero="" text="#########,@@">
<source>#104+#105-#106</source>
<postscript description="B1.107 POSTSCRIPT">MESSAGE ADD,F2.107
MESSAGE ADD,F3.107
MESSAGE ADD,F4.107</postscript>
</field>
<field x="157" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="108" pattern="1" hide_zero="" text="#########,@@">
<source>#RESAMM-#QAMM</source>
<postscript description="B1.108 POSTSCRIPT">MESSAGE ADD,F2.108
MESSAGE ADD,F3.108
MESSAGE ADD,F4.108</postscript>
</field>
</section>
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="" hidden="" page_break="" can_break="" pattern="1">
<field border="1" x="1" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="168" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
<field x="140" y="0.25" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="5" codval="" id="" pattern="1" hide_zero="" text="Pag.">
<font italic="1" face="Courier New" size="9" />
</field>
<field x="146" y="0.25" type="Numero" align="right" width="3" pattern="1">
<field x="146" y="0.25" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text="">
<font italic="1" face="Courier New" bold="1" size="9" />
<source>#REPORT.PAGE</source>
</field>
</section>
<section type="Foot" level="1" bg_color="#000000" pattern="2">
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="1" hidden="" bg_color="#000000" page_break="" can_break="" pattern="2">
<font italic="1" face="Arial" bold="1" size="8" />
<field border="2" x="1" type="Linea" fg_color="#FFFFFF" width="168" height="0" pattern="1" />
<field x="1" type="Testo" txt_color="#FFFFFF" width="25" pattern="1" text="Totali generali" />
<field x="66" type="Valuta" align="right" txt_color="#FFFFFF" width="12" id="101" pattern="1" text="#########,@@" />
<field x="90" type="Valuta" align="right" txt_color="#FFFFFF" width="12" id="102" pattern="1" text="#########,@@" />
<field x="78" type="Valuta" align="right" txt_color="#FFFFFF" width="12" id="103" pattern="1" text="#########,@@" />
<field x="109" type="Valuta" align="right" txt_color="#FFFFFF" width="12" id="104" pattern="1" text="#########,@@" />
<field x="121" type="Valuta" align="right" txt_color="#FFFFFF" width="12" id="105" pattern="1" text="#########,@@" />
<field x="133" type="Valuta" align="right" txt_color="#FFFFFF" width="12" id="106" pattern="1" text="#########,@@" />
<field x="145" type="Valuta" align="right" txt_color="#FFFFFF" width="12" id="107" pattern="1" text="#########,@@" />
<field x="157" type="Valuta" align="right" txt_color="#FFFFFF" width="12" id="108" pattern="1" text="#########,@@" />
<field border="2" x="1" deactivated="" type="Linea" hidden="" link="" fg_color="#FFFFFF" dynamic_height="" shade_offset="" width="168" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
<field x="1" deactivated="" type="Testo" hidden="" link="" txt_color="#FFFFFF" dynamic_height="" shade_offset="" width="25" codval="" id="" pattern="1" hide_zero="" text="Totali generali" />
<field x="66" deactivated="" type="Valuta" hidden="" align="right" link="" txt_color="#FFFFFF" dynamic_height="" shade_offset="" width="12" codval="" id="101" pattern="1" hide_zero="" text="#########,@@" />
<field x="90" deactivated="" type="Valuta" hidden="" align="right" link="" txt_color="#FFFFFF" dynamic_height="" shade_offset="" width="12" codval="" id="102" pattern="1" hide_zero="" text="#########,@@" />
<field x="78" deactivated="" type="Valuta" hidden="" align="right" link="" txt_color="#FFFFFF" dynamic_height="" shade_offset="" width="12" codval="" id="103" pattern="1" hide_zero="" text="#########,@@" />
<field x="109" deactivated="" type="Valuta" hidden="" align="right" link="" txt_color="#FFFFFF" dynamic_height="" shade_offset="" width="12" codval="" id="104" pattern="1" hide_zero="" text="#########,@@" />
<field x="121" deactivated="" type="Valuta" hidden="" align="right" link="" txt_color="#FFFFFF" dynamic_height="" shade_offset="" width="12" codval="" id="105" pattern="1" hide_zero="" text="#########,@@" />
<field x="133" deactivated="" type="Valuta" hidden="" align="right" link="" txt_color="#FFFFFF" dynamic_height="" shade_offset="" width="12" codval="" id="106" pattern="1" hide_zero="" text="#########,@@" />
<field x="145" deactivated="" type="Valuta" hidden="" align="right" link="" txt_color="#FFFFFF" dynamic_height="" shade_offset="" width="12" codval="" id="107" pattern="1" hide_zero="" text="#########,@@" />
<field x="157" deactivated="" type="Valuta" hidden="" align="right" link="" txt_color="#FFFFFF" dynamic_height="" shade_offset="" width="12" codval="" id="108" pattern="1" hide_zero="" text="#########,@@" />
</section>
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="2" hidden="" bg_color="#000000" height="2" page_break="" can_break="" pattern="10" sh_angle="90">
<font face="Arial" bold="1" size="8" />
<field x="1" deactivated="" type="Testo" hidden="" link="" txt_color="#FFFFFF" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Totale Categoria" />
<field x="17" deactivated="" type="Stringa" hidden="" link="" txt_color="#FFFFFF" dynamic_height="" shade_offset="" width="2" codval="" id="97" pattern="1" hide_zero="" text="" />
<field x="20" deactivated="" type="Stringa" hidden="" link="" txt_color="#FFFFFF" dynamic_height="" shade_offset="" width="30" codval="" id="98" pattern="1" hide_zero="" text="">
<font italic="1" face="Arial Narrow" bold="1" size="9" />
</field>
<field x="66" deactivated="" type="Valuta" hidden="" align="right" link="" txt_color="#FFFFFF" dynamic_height="" shade_offset="" width="12" codval="" id="101" pattern="1" hide_zero="" text="#########,@@">
<postscript description="F2.101 POSTSCRIPT">MESSAGE ADD,F1.101</postscript>
</field>
<field x="90" deactivated="" type="Valuta" hidden="" align="right" link="" txt_color="#FFFFFF" dynamic_height="" shade_offset="" width="12" codval="" id="102" pattern="1" hide_zero="" text="#########,@@">
<postscript description="F2.102 POSTSCRIPT">MESSAGE ADD,F1.102</postscript>
</field>
<field x="78" deactivated="" type="Valuta" hidden="" align="right" link="" txt_color="#FFFFFF" dynamic_height="" shade_offset="" width="12" codval="" id="103" pattern="1" hide_zero="" text="#########,@@">
<postscript description="F2.103 POSTSCRIPT">MESSAGE ADD,F1.103</postscript>
</field>
<field x="109" deactivated="" type="Valuta" hidden="" align="right" link="" txt_color="#FFFFFF" dynamic_height="" shade_offset="" width="12" codval="" id="104" pattern="1" hide_zero="" text="#########,@@">
<postscript description="F2.104 POSTSCRIPT">MESSAGE ADD,F1.104</postscript>
</field>
<field x="121" deactivated="" type="Valuta" hidden="" align="right" link="" txt_color="#FFFFFF" dynamic_height="" shade_offset="" width="12" codval="" id="105" pattern="1" hide_zero="" text="#########,@@">
<postscript description="F2.105 POSTSCRIPT">MESSAGE ADD,F1.105</postscript>
</field>
<field x="133" deactivated="" type="Valuta" hidden="" align="right" link="" txt_color="#FFFFFF" dynamic_height="" shade_offset="" width="12" codval="" id="106" pattern="1" hide_zero="" text="#########,@@">
<postscript description="F2.106 POSTSCRIPT">MESSAGE ADD,F1.106</postscript>
</field>
<field x="145" deactivated="" type="Valuta" hidden="" align="right" link="" txt_color="#FFFFFF" dynamic_height="" shade_offset="" width="12" codval="" id="107" pattern="1" hide_zero="" text="#########,@@">
<postscript description="F2.107 POSTSCRIPT">MESSAGE ADD,F1.107</postscript>
</field>
<field x="157" deactivated="" type="Valuta" hidden="" align="right" link="" txt_color="#FFFFFF" dynamic_height="" shade_offset="" width="12" codval="" id="108" pattern="1" hide_zero="" text="#########,@@">
<postscript description="F2.108 POSTSCRIPT">MESSAGE ADD,F1.108</postscript>
</field>
</section>
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="3" hidden="1" bg_color="#808080" sh_color="#C0C0C0" page_break="" can_break="" pattern="10" sh_angle="90">
<font italic="1" face="Arial" bold="1" size="8" />
<field x="4" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Totale impianto" />
<field border="2" x="1" y="1" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="168" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
<field x="20" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="12" codval="" id="97" pattern="1" hide_zero="" text="" />
<field x="32.5" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="30" codval="" id="98" pattern="1" hide_zero="" text="">
<font italic="1" face="Arial Narrow" bold="1" size="9" />
</field>
<field x="66" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="101" pattern="1" hide_zero="" text="#########,@@" />
<field x="90" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="102" pattern="1" hide_zero="" text="#########,@@" />
<field x="78" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="103" pattern="1" hide_zero="" text="#########,@@" />
<field x="109" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="104" pattern="1" hide_zero="" text="#########,@@" />
<field x="121" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="105" pattern="1" hide_zero="" text="#########,@@" />
<field x="133" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="106" pattern="1" hide_zero="" text="#########,@@" />
<field x="145" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="107" pattern="1" hide_zero="" text="#########,@@" />
<field x="157" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="108" pattern="1" hide_zero="" text="#########,@@" />
</section>
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="4" hidden="1" bg_color="#C0C0C0" sh_color="#FFFFFF" page_break="" can_break="" pattern="10" sh_angle="90">
<font italic="1" face="Arial" bold="1" size="8" />
<field x="7" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Totale localit&#E0;" />
<field x="23.5" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="12" codval="" id="97" pattern="1" hide_zero="" text="" />
<field x="36.5" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="20" codval="" id="98" pattern="1" hide_zero="" text="">
<font italic="1" face="Arial Narrow" bold="1" size="8" />
</field>
<field x="66" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="101" pattern="1" hide_zero="" text="#########,@@" />
<field x="90" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="102" pattern="1" hide_zero="" text="#########,@@" />
<field x="78" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="103" pattern="1" hide_zero="" text="#########,@@" />
<field x="109" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="104" pattern="1" hide_zero="" text="#########,@@" />
<field x="121" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="105" pattern="1" hide_zero="" text="#########,@@" />
<field x="133" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="106" pattern="1" hide_zero="" text="#########,@@" />
<field x="145" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="107" pattern="1" hide_zero="" text="#########,@@" />
<field x="157" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="12" codval="" id="108" pattern="1" hide_zero="" text="#########,@@" />
</section>
<sql>USE CESPI KEY 2</sql>
</report>