Patch level :

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :


git-svn-id: svn://10.65.10.50/branches/R_10_00@22135 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2011-05-18 14:29:53 +00:00
parent f1a40b4adb
commit 2be0561718
2 changed files with 142 additions and 140 deletions

View File

@ -14,6 +14,7 @@
#include "movce.h"
#include "salce.h"
#include "celib.h"
#include "ce2101.h"
#include "ce4.h"
#include "ce4300.h"
@ -177,7 +178,10 @@ real TStampa_proiez_ammo_rep::get_value (const int codcat, const char* field) co
void TStampa_proiez_ammo_rep::set_filter(const TStampa_proiez_ammo_mask& msk)
{
_anno = msk.get_int(F_ESERCIZIO);
const int gruppo = msk.get_int(F_GRUPPO);
const TString& specie = msk.get(F_SPECIE);
((TStampa_proiez_ammo_recordset*) recordset())->set_filter(msk);
//ditta_cespiti().set_attivita(_anno, gruppo, specie);
_cat.destroy();
@ -195,8 +199,8 @@ void TStampa_proiez_ammo_rep::set_filter(const TStampa_proiez_ammo_mask& msk)
//Dalla lista cespiti deve risalire ai costi, agli ammortamenti e alle alienazioni;..
//..quindi servono i files collegati..
TLocalisamfile salce(LF_SALCE);
TLocalisamfile ammce(LF_AMMCE);
//TLocalisamfile salce(LF_SALCE);
//TLocalisamfile ammce(LF_AMMCE);
//ISAM query per trovare su MOVCE i movimenti relativi al cespite corrente nell'esercizio selezionato
TString query;
@ -219,88 +223,76 @@ void TStampa_proiez_ammo_rep::set_filter(const TStampa_proiez_ammo_mask& msk)
TProgind pi(num, "Calcolo proiezione ammortamenti...");
for (cur_cespi = 0; cur_cespi.pos() < num; ++cur_cespi)
{
pi.addstatus(1);
if (!pi.addstatus(1))
break;
real costo_ini, costo_fin, alien, incremento, famm;
//Colonna COSTO
const TString idcespite = rel_cespi.curr().get(CESPI_IDCESPITE);
const int codcat = rel_cespi.curr().get_int(CESPI_CODCAT);
salce.put(SALCE_IDCESPITE, idcespite);
salce.put(SALCE_CODES, _anno);
salce.put(SALCE_TPSALDO, 1);
if (salce.read() == NOERR)
{
//costo ad inizio esercizio (=0 nel caso di acquisto cespite nell'anno in corso)
costo_ini = salce.get_real(SALCE_CSTO);
add_value(codcat, SALCE_CSTO, costo_ini);
//costo a fine esercizio (=0 nel caso di vendita cespite nell'anno in corso)
salce.next();
costo_fin = salce.get_real(SALCE_CSTO);
}
const int codcat = rel_cespi.curr().get_int(CESPI_CODCAT);
//Colonna ALIENAZIONI
//cerca tutti i movimenti di vendita relativi al cespite corrente all'interno dell'esercizio..
//NOVITA'! usa l'ggetto TCespite per completezza di calcoli
TCespite cespite(idcespite);
cespite.load_saldi(1, _anno);
//valore ammortizzabile (#VALAMM)
const real val_ammortizzabile = cespite.val_amm();
//residuo da ammortizzare (#RESAMM)
const real res_da_ammortizzare = cespite.res_amm();
if (res_da_ammortizzare <= ZERO)
continue;
//Colonna ALIENAZIONI e colonna ACQUISIZIONI/INCREMENTI
//cerca tutti i movimenti di vendita/acquisto relativi al cespite corrente all'interno dell'esercizio..
//..selezionato sulla maschera;somma i loro importi in modo da ricavare l'importo complessivo..
//..di tutti
real alienazioni, acquisizioni;
movce.set_var("#CESPITE", TVariant(idcespite)); //assegna il vero valore dell'idcespite alla query
for (bool ok = movce.move_first(); ok; ok = movce.move_next())
{
const real vendita = movce.get(MOVCE_IMPVEN).as_real();
add_value(codcat, MOVCE_IMPVEN, vendita);
alien += vendita;
add_value(codcat, "ALIENAZIONI", vendita);
alienazioni += vendita;
const real acquisto = movce.get(MOVCE_CSTO).as_real();
add_value(codcat, "ACQUISIZIONI", acquisto);
incremento += acquisto;
acquisizioni += acquisto;
}
//Colonna FAMM (fondo ammortamento)
ammce.put(AMMCE_IDCESPITE, idcespite);
ammce.put(AMMCE_CODES, _anno);
ammce.put(AMMCE_TPSALDO, 1); //tiposaldo iniziale
ammce.put(AMMCE_TPAMM, 1); //tipoamm fiscale
if (ammce.read() == NOERR)
{
famm += ammce.get_real(AMMCE_QNOR);
famm += ammce.get_real(AMMCE_QACC);
famm += ammce.get_real(AMMCE_QANT);
add_value(codcat, "AMMO0", famm);
}
add_value(codcat, "VALAMM", val_ammortizzabile - acquisizioni + alienazioni);
add_value(codcat, "RESAMM", res_da_ammortizzare - acquisizioni + alienazioni);
//Colonna QAMM
//Per questi ci vuole un tiposaldo diverso
ammce.put(AMMCE_TPSALDO, 2); //tiposaldo finale
if (ammce.read() == NOERR)
//colonne AMMORTAMENTI
//anno selezionato nella mascheta
const TRectype& ammce = cespite.amm_pro();
real qamm;
qamm += ammce.get_real(AMMCE_QNOR);
qamm += ammce.get_real(AMMCE_QACC);
qamm += ammce.get_real(AMMCE_QANT);
add_value(codcat, "AMMO1", qamm);
//Colonne degli ammortamenti successivi all'anno selezionato
//Si calcolano in questo modo perche' si calcolano cespite x cespite;si usa costo_fin perche' e'..
//..quello che serve nel futuro!
real residuo = res_da_ammortizzare - qamm; //qamm e' AMMO1
TString8 ammo;
for (int a = 2; a <= 5 && residuo > ZERO; a++)
{
real qamm;
qamm += ammce.get_real(AMMCE_QNOR);
qamm += ammce.get_real(AMMCE_QACC);
qamm += ammce.get_real(AMMCE_QANT);
add_value(codcat, "AMMO1", qamm);
//Colonne degli ammortamenti
//Si calcolano in questo modo perche' si calcolano cespite x cespite;si usa costo_fin perche' e'..
//..quello che serve nel futuro!
real residuo = costo_fin - alien - famm - qamm; //qamm e' AMMO1
TString8 ammo;
for (int a = 2; a <= 5 && residuo > ZERO; a++)
ammo.format("AMMO%d", a);
if (qamm >= residuo)
{
ammo.format("AMMO%d", a);
if (qamm >= residuo)
{
add_value(codcat, ammo, residuo);
residuo = ZERO;
}
else
{
add_value(codcat, ammo, qamm);
residuo -= qamm;
}
add_value(codcat, ammo, residuo);
residuo = ZERO;
}
else
{
add_value(codcat, ammo, qamm);
residuo -= qamm;
}
if (residuo > ZERO)
add_value(codcat, "AMMOX", residuo);
}
if (residuo > ZERO)
add_value(codcat, "AMMOX", residuo);
} //for(cur_cespi...
@ -325,14 +317,19 @@ bool TStampa_proiez_ammo_rep::get_usr_val(const TString& name, TVariant& var) co
var.set(dal - 1L);
return true;
}
if (name == "#COSTO") //costo
if (name == "#VALAMM") //costo
{
var = get_value(codcat, SALCE_CSTO);
var = get_value(codcat, "VALAMM");
return true;
}
if (name == "#ALIENAZ") //movimenti di vendita
if (name == "#RESAMM") //residuo da ammortizzare
{
var = get_value(codcat, "RESAMM");
return true;
}
if (name == "#ALIENAZIONI") //movimenti di vendita
{
var = get_value(codcat, MOVCE_IMPVEN);
var = get_value(codcat, "ALIENAZIONI");
return true;
}
if (name == "#ACQUISIZIONI") //movimenti di vendita

View File

@ -10,14 +10,16 @@
<field border="1" radius="100" x="18" y="0.5" type="Testo" valign="center" align="center" shade_offset="25" width="130" height="2.5" pattern="2" text="PROIEZIONE AMMORTAMENTI CESPITI">
<font face="Courier New" bold="1" size="16" />
</field>
<field border="2" y="4" type="Linea" width="160" height="0" pattern="1" />
<field border="2" x="1" y="4" type="Linea" width="163" height="0" pattern="1" />
<field x="1" y="4.5" type="Stringa" width="50" pattern="1">
<font italic="1" face="Arial" bold="1" size="8" />
<source>#SYSTEM.RAGSOC</source>
</field>
<field x="67" y="4.5" type="Testo" width="12" pattern="1" text="Data stampa" />
<field x="79" y="4.5" type="Data" width="10" pattern="1">
<source>#SYSTEM.DATE</source>
</field>
<field x="153" y="4.5" type="Testo" width="4" pattern="1" text="Pag." />
<field x="157" y="4.5" type="Numero" align="right" width="3" pattern="1">
<source>#REPORT.PAGE</source>
</field>
@ -26,8 +28,8 @@
<groupby>I0</groupby>
<font face="Arial" bold="1" size="8" />
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2</prescript>
<field x="1" y="0.25" type="Testo" width="12" pattern="1" text="TIPO BENI:" />
<field x="13" y="0.25" type="Array" width="15" pattern="1">
<field x="1" type="Testo" bg_color="#C0C0C0" width="12" pattern="2" text="TIPO BENI:" />
<field x="13" type="Array" bg_color="#C0C0C0" width="15" pattern="2">
<source>I0</source>
<postscript description="H2.0 POSTSCRIPT">MESSAGE COPY,F2.100</postscript>
<list>
@ -36,57 +38,58 @@
<li Value="Pluriennali" Code="2" />
</list>
</field>
<field border="1" x="35" y="0.5" type="Linea" height="2.5" pattern="1" />
<field x="38.5" y="0.5" type="Testo" align="right" width="3" height="0.75" pattern="1" text="Al:" />
<field x="42.5" y="0.5" type="Stringa" align="right" width="11" height="0.75" pattern="1">
<field border="1" x="35" y="1.25" type="Linea" height="2.5" pattern="1" />
<field x="38.5" y="1.25" type="Testo" align="right" width="3" height="0.75" pattern="1" text="Al:" />
<field x="42.5" y="1.25" type="Stringa" align="right" width="11" height="0.75" pattern="1">
<source>#FINESCPREC</source>
</field>
<field border="1" x="57" y="0.5" type="Linea" height="2.5" pattern="1" />
<field x="61" y="0.5" type="Testo" align="right" width="8" height="0.75" pattern="1" text="Valore" />
<field x="50.5" y="1.25" type="Testo" align="right" width="6" height="0.75" pattern="1" text="Fondo" />
<field x="58" y="1.25" type="Testo" align="right" width="11" height="0.75" pattern="1" text="residuo da" />
<field x="69" y="1.25" type="Testo" align="right" width="11" pattern="1" text="Alienazioni" />
<field x="82" y="1.25" type="Testo" align="right" width="10" height="0.75" pattern="1" text="Incrementi" />
<field x="92" y="1.25" type="Testo" align="right" width="5" pattern="1" text="Aliq." />
<field x="98" y="1.25" type="Testo" align="right" width="10" height="0.75" pattern="1" text="Ammort." />
<field x="109" y="1.25" type="Testo" align="right" width="10" height="0.75" pattern="1" text="Ammort." />
<field x="120" y="1.25" type="Testo" align="right" width="10" height="0.75" pattern="1" text="Ammort." />
<field x="131.1" y="1.25" type="Testo" align="right" width="10" height="0.75" pattern="1" text="Ammort." />
<field x="142" y="1.25" type="Testo" align="right" width="10" height="0.75" pattern="1" text="Ammort." />
<field x="151" y="1.25" type="Testo" align="right" width="12" height="0.75" pattern="1" text="Residuo da" />
<field x="1" y="2" type="Testo" width="10" pattern="1" text="Categoria" />
<field x="34.5" y="2" type="Testo" align="right" width="11" height="0.75" pattern="1" text="Valore" />
<field x="46.5" y="2" type="Testo" align="right" width="10" height="0.75" pattern="1" text="ammortato" />
<field x="58" y="2" type="Testo" align="right" width="11" height="0.75" pattern="1" text="ammortizz." />
<field x="73.5" y="2" type="Numero" align="right" width="4" height="0.75" pattern="1">
<field border="1" x="57" y="1.25" type="Linea" height="2.5" pattern="1" />
<field x="61" y="1.25" type="Testo" align="right" width="8" height="0.75" pattern="1" text="Valore" />
<field x="50.5" y="2" type="Testo" align="right" width="6" height="0.75" pattern="1" text="Fondo" />
<field x="58" y="2" type="Testo" align="right" width="11" height="0.75" pattern="1" text="residuo da" />
<field x="69" y="2" type="Testo" align="right" width="11" pattern="1" text="Alienazioni" />
<field x="82" y="2" type="Testo" align="right" width="10" height="0.75" pattern="1" text="Incrementi" />
<field x="92" y="2" type="Testo" align="right" width="5" pattern="1" text="Aliq." />
<field x="98" y="2" type="Testo" align="right" width="10" height="0.75" pattern="1" text="Ammort." />
<field x="109" y="2" type="Testo" align="right" width="10" height="0.75" pattern="1" text="Ammort." />
<field x="120" y="2" type="Testo" align="right" width="10" height="0.75" pattern="1" text="Ammort." />
<field x="131.1" y="2" type="Testo" align="right" width="10" height="0.75" pattern="1" text="Ammort." />
<field x="142" y="2" type="Testo" align="right" width="10" height="0.75" pattern="1" text="Ammort." />
<field x="152" y="2" type="Testo" align="right" width="12" height="0.75" pattern="1" text="Residuo da" />
<field x="1" y="2.75" type="Testo" width="10" pattern="1" text="Categoria" />
<field x="34.5" y="2.75" type="Testo" align="right" width="11" height="0.75" pattern="1" text="Valore" />
<field x="46.5" y="2.75" type="Testo" align="right" width="10" height="0.75" pattern="1" text="ammortato" />
<field x="58" y="2.75" type="Testo" align="right" width="11" height="0.75" pattern="1" text="ammortizz." />
<field x="73.5" y="2.75" type="Numero" align="right" width="4" height="0.75" pattern="1">
<source>#ANNOES</source>
</field>
<field x="85.5" y="2" type="Numero" align="right" width="4" height="0.75" pattern="1">
<field x="85.5" y="2.75" type="Numero" align="right" width="4" height="0.75" pattern="1">
<source>#ANNOES</source>
</field>
<field x="93" y="2" type="Numero" align="right" width="4" height="0.75" pattern="1">
<field x="93" y="2.75" type="Numero" align="right" width="4" height="0.75" pattern="1">
<source>#ANNOES</source>
</field>
<field x="102.5" y="2" type="Numero" align="right" width="4" height="0.75" pattern="1">
<field x="102.5" y="2.75" type="Numero" align="right" width="4" height="0.75" pattern="1">
<source>#ANNOES</source>
</field>
<field x="113.5" y="2" type="Numero" align="right" width="4" height="0.75" pattern="1">
<field x="113.5" y="2.75" type="Numero" align="right" width="4" height="0.75" pattern="1">
<source>#ANNOES+1</source>
</field>
<field x="124.5" y="2" type="Numero" align="right" width="4" height="0.75" pattern="1">
<field x="124.5" y="2.75" type="Numero" align="right" width="4" height="0.75" pattern="1">
<source>#ANNOES+2</source>
</field>
<field x="135.5" y="2" type="Numero" align="right" width="4" height="0.75" pattern="1">
<field x="135.5" y="2.75" type="Numero" align="right" width="4" height="0.75" pattern="1">
<source>#ANNOES+3</source>
</field>
<field x="146.5" y="2" type="Numero" align="right" width="4" height="0.75" pattern="1">
<field x="146.5" y="2.75" type="Numero" align="right" width="4" height="0.75" pattern="1">
<source>#ANNOES+4</source>
</field>
<field x="153" y="2" type="Testo" align="right" width="10" height="0.75" pattern="1" text="ammortizz." />
<field border="1" x="1" y="3" type="Linea" width="162" height="0" pattern="1" />
<field x="154" y="2.75" type="Testo" align="right" width="10" height="0.75" pattern="1" text="ammortizz." />
<field border="1" x="1" y="3.75" type="Linea" width="163" height="0" pattern="1" />
</section>
<section type="Body" pattern="1" />
<section type="Body" level="1" pattern="1">
<condition>#RESAMM&#3E;0</condition>
<field x="1" type="Stringa" width="2" pattern="1">
<source>CODTAB[7,8]</source>
</field>
@ -94,46 +97,46 @@
<source>S0</source>
</field>
<field x="34.5" type="Valuta" align="right" width="11" id="101" pattern="1" text="###.###.###,@@">
<source>#COSTO</source>
<source>#VALAMM</source>
<postscript description="B1.101 POSTSCRIPT">MESSAGE ADD,F2.101</postscript>
</field>
<field x="46" type="Valuta" align="right" width="11" id="102" pattern="1" text="###.###.###,@@">
<source>#AMMO0</source>
<source>#VALAMM-#RESAMM</source>
<postscript description="B1.102 POSTSCRIPT">MESSAGE ADD,F2.102</postscript>
</field>
<field x="69" type="Valuta" align="right" width="11" id="103" pattern="1" text="###.###.###,@@">
<source>#ALIENAZ</source>
<source>#ALIENAZIONI</source>
<postscript description="B1.103 POSTSCRIPT">MESSAGE ADD,F2.103</postscript>
</field>
<field x="57.5" type="Valuta" align="right" width="11" id="104" pattern="1" text="###.###.###,@@">
<source>IF((#101-#102)&#3C;0,0,#101-#102)</source>
<source>#RESAMM</source>
<postscript description="B1.104 POSTSCRIPT">MESSAGE ADD,F2.104</postscript>
</field>
<field x="80.5" type="Valuta" align="right" width="11" id="105" pattern="1" text="###.###.###,@@">
<source>#ACQUISIZIONI</source>
<postscript description="B1.105 POSTSCRIPT">MESSAGE ADD,F2.105</postscript>
</field>
<field x="97" type="Numero" align="right" width="11" id="106" pattern="1">
<field x="97" type="Valuta" align="right" width="11" id="106" pattern="1" text="###.###.###,@@">
<source>#AMMO1</source>
<postscript description="B1.106 POSTSCRIPT">MESSAGE ADD,F2.106</postscript>
</field>
<field x="108" type="Numero" align="right" width="11" id="107" pattern="1">
<field x="108" type="Valuta" align="right" width="11" id="107" pattern="1" text="###.###.###,@@">
<source>#AMMO2</source>
<postscript description="B1.107 POSTSCRIPT">MESSAGE ADD,F2.107</postscript>
</field>
<field x="119" type="Numero" align="right" width="11" id="108" pattern="1">
<field x="119" type="Valuta" align="right" width="11" id="108" pattern="1" text="###.###.###,@@">
<source>#AMMO3</source>
<postscript description="B1.108 POSTSCRIPT">MESSAGE ADD,F2.108</postscript>
</field>
<field x="130" type="Numero" align="right" width="11" id="109" pattern="1">
<field x="130" type="Valuta" align="right" width="11" id="109" pattern="1" text="###.###.###,@@">
<source>#AMMO4</source>
<postscript description="B1.109 POSTSCRIPT">MESSAGE ADD,F2.109</postscript>
</field>
<field x="141" type="Numero" align="right" width="11" id="110" pattern="1">
<field x="141" type="Valuta" align="right" width="11" id="110" pattern="1" text="###.###.###,@@">
<source>#AMMO5</source>
<postscript description="B1.110 POSTSCRIPT">MESSAGE ADD,F2.110</postscript>
</field>
<field x="152" type="Numero" align="right" width="11" id="111" pattern="1">
<field x="152" type="Valuta" align="right" width="12" id="111" pattern="1" text="###.###.###,@@">
<source>#AMMOX</source>
<postscript description="B1.111 POSTSCRIPT">MESSAGE ADD,F2.111</postscript>
</field>
@ -156,41 +159,43 @@ THEN
#THIS !</prescript>
</field>
</section>
<section type="Foot" pattern="1" />
<section type="Foot" pattern="1">
<field border="1" x="1" y="0.5" type="Linea" width="163" height="0" pattern="1" />
</section>
<section type="Foot" level="1" pattern="1">
<font italic="1" face="Arial" bold="1" size="8" />
<field border="2" x="1" y="1" type="Linea" width="162" height="0" pattern="1" />
<field x="1" y="1.5" type="Testo" align="center" bg_color="#C0C0C0" width="33.5" pattern="2" text="TOTALE GENERALE" />
<field x="92" y="1.5" type="Testo" bg_color="#C0C0C0" width="5" pattern="2" />
<field x="34.5" y="1.5" type="Valuta" align="right" bg_color="#C0C0C0" width="11.5" id="101" pattern="2" text="###.###.###,@@" />
<field x="46" y="1.5" type="Valuta" align="right" bg_color="#C0C0C0" width="11.5" id="102" pattern="2" text="###.###.###,@@" />
<field x="69" y="1.5" type="Valuta" align="right" bg_color="#C0C0C0" width="11.5" id="103" pattern="2" text="###.###.###,@@" />
<field x="57.5" y="1.5" type="Valuta" align="right" bg_color="#C0C0C0" width="11.5" id="104" pattern="2" text="###.###.###,@@" />
<field x="80.5" y="1.5" type="Valuta" align="right" bg_color="#C0C0C0" width="11.5" id="105" pattern="2" text="###.###.###,@@" />
<field x="97" y="1.5" type="Valuta" align="right" bg_color="#C0C0C0" width="11" id="106" pattern="2" text="###.###.###,@@">
<field border="2" x="1" y="1" type="Linea" width="163" height="0" pattern="1" />
<field x="1" y="1.5" type="Testo" align="center" bg_color="#7F7F7F" txt_color="#FFFFFF" width="33.5" pattern="2" text="TOTALE GENERALE" />
<field x="91.5" y="1.5" type="Testo" bg_color="#7F7F7F" txt_color="#FFFFFF" width="5.5" pattern="2" />
<field x="34" y="1.5" type="Valuta" align="right" bg_color="#7F7F7F" txt_color="#FFFFFF" width="11.5" id="101" pattern="2" text="###.###.###,@@" />
<field x="45.5" y="1.5" type="Valuta" align="right" bg_color="#7F7F7F" txt_color="#FFFFFF" width="11.5" id="102" pattern="2" text="###.###.###,@@" />
<field x="68.5" y="1.5" type="Valuta" align="right" bg_color="#7F7F7F" txt_color="#FFFFFF" width="11.5" id="103" pattern="2" text="###.###.###,@@" />
<field x="57" y="1.5" type="Valuta" align="right" bg_color="#7F7F7F" txt_color="#FFFFFF" width="11.5" id="104" pattern="2" text="###.###.###,@@" />
<field x="80" y="1.5" type="Valuta" align="right" bg_color="#7F7F7F" txt_color="#FFFFFF" width="11.5" id="105" pattern="2" text="###.###.###,@@" />
<field x="97" y="1.5" type="Valuta" align="right" bg_color="#7F7F7F" txt_color="#FFFFFF" width="11" id="106" pattern="2" text="###.###.###,@@">
<postscript description="F1.106 POSTSCRIPT">MESSAGE ADD,F1.105</postscript>
</field>
<field x="108" y="1.5" type="Valuta" align="right" bg_color="#C0C0C0" width="11" id="107" pattern="2" text="###.###.###,@@">
<field x="108" y="1.5" type="Valuta" align="right" bg_color="#7F7F7F" txt_color="#FFFFFF" width="11" id="107" pattern="2" text="###.###.###,@@">
<postscript description="F1.107 POSTSCRIPT">MESSAGE ADD,F1.106</postscript>
</field>
<field x="119" y="1.5" type="Valuta" align="right" bg_color="#C0C0C0" width="11" id="108" pattern="2" text="###.###.###,@@">
<field x="119" y="1.5" type="Valuta" align="right" bg_color="#7F7F7F" txt_color="#FFFFFF" width="11" id="108" pattern="2" text="###.###.###,@@">
<postscript description="F1.108 POSTSCRIPT">MESSAGE ADD,F1.107</postscript>
</field>
<field x="130" y="1.5" type="Valuta" align="right" bg_color="#C0C0C0" width="11" id="109" pattern="2" text="###.###.###,@@">
<field x="130" y="1.5" type="Valuta" align="right" bg_color="#7F7F7F" txt_color="#FFFFFF" width="11" id="109" pattern="2" text="###.###.###,@@">
<postscript description="F1.109 POSTSCRIPT">MESSAGE ADD,F1.108</postscript>
</field>
<field x="141" y="1.5" type="Valuta" align="right" bg_color="#C0C0C0" width="11" id="110" pattern="2" text="###.###.###,@@">
<field x="141" y="1.5" type="Valuta" align="right" bg_color="#7F7F7F" txt_color="#FFFFFF" width="11" id="110" pattern="2" text="###.###.###,@@">
<postscript description="F1.110 POSTSCRIPT">MESSAGE ADD,F1.109</postscript>
</field>
<field x="152" y="1.5" type="Valuta" align="right" bg_color="#C0C0C0" width="11" id="111" pattern="2" text="###.###.###,@@">
<field x="152" y="1.5" type="Valuta" align="right" bg_color="#7F7F7F" txt_color="#FFFFFF" width="12" id="111" pattern="2" text="###.###.###,@@">
<postscript description="F1.111 POSTSCRIPT">MESSAGE ADD,F1.110</postscript>
</field>
</section>
<section type="Foot" level="2" height="4" pattern="1">
<font italic="1" face="Arial" bold="1" size="8" />
<field border="1" x="1" y="0.5" type="Linea" width="162" height="0" pattern="1" />
<field border="1" x="1" y="0.5" type="Linea" width="163" height="0" pattern="1" />
<field x="2" y="1" type="Testo" width="14" pattern="1" text="TOTALE AMM" />
<field border="2" x="1" y="2.5" type="Linea" width="162" height="0" pattern="1" />
<field border="2" x="1" y="2.5" type="Linea" width="163" height="0" pattern="1" />
<field x="16" y="1" type="Array" width="15" id="100" pattern="1">
<font face="Arial" bold="1" size="8" />
<list>
@ -199,37 +204,37 @@ THEN
<li Value="Pluriennali" Code="2" />
</list>
</field>
<field x="34.5" y="1" type="Valuta" align="right" width="11.5" id="101" pattern="1" text="###.###.###,@@">
<field x="34" y="1" type="Valuta" align="right" width="11.5" id="101" pattern="1" text="###.###.###,@@">
<postscript description="F2.101 POSTSCRIPT">MESSAGE ADD,F1.101</postscript>
</field>
<field x="46" y="1" type="Valuta" align="right" width="11.5" id="102" pattern="1" text="###.###.###,@@">
<field x="45.5" y="1" type="Valuta" align="right" width="11.5" id="102" pattern="1" text="###.###.###,@@">
<postscript description="F2.102 POSTSCRIPT">MESSAGE ADD,F1.102</postscript>
</field>
<field x="69" y="1" type="Valuta" align="right" width="11.5" id="103" pattern="1" text="###.###.###,@@">
<field x="68.5" y="1" type="Valuta" align="right" width="11.5" id="103" pattern="1" text="###.###.###,@@">
<postscript description="F2.103 POSTSCRIPT">MESSAGE ADD,F1.103</postscript>
</field>
<field x="57.5" y="1" type="Valuta" align="right" width="11.5" id="104" pattern="1" text="###.###.###,@@">
<field x="57" y="1" type="Valuta" align="right" width="11.5" id="104" pattern="1" text="###.###.###,@@">
<postscript description="F2.104 POSTSCRIPT">MESSAGE ADD,F1.104</postscript>
</field>
<field x="80.5" y="1" type="Valuta" align="right" width="11.5" id="105" pattern="1" text="###.###.###,@@">
<field x="80" y="1" type="Valuta" align="right" width="11.5" id="105" pattern="1" text="###.###.###,@@">
<postscript description="F2.105 POSTSCRIPT">MESSAGE ADD,F1.105</postscript>
</field>
<field x="97" y="1" type="Numero" align="right" width="11" id="106" pattern="1">
<field x="97" y="1" type="Valuta" align="right" width="11" id="106" pattern="1" text="###.###.###,@@">
<postscript description="F2.106 POSTSCRIPT">MESSAGE ADD,F1.106</postscript>
</field>
<field x="108" y="1" type="Numero" align="right" width="11" id="107" pattern="1">
<field x="108" y="1" type="Valuta" align="right" width="11" id="107" pattern="1" text="###.###.###,@@">
<postscript description="F2.107 POSTSCRIPT">MESSAGE ADD,F1.107</postscript>
</field>
<field x="119" y="1" type="Numero" align="right" width="11" id="108" pattern="1">
<field x="119" y="1" type="Valuta" align="right" width="11" id="108" pattern="1" text="###.###.###,@@">
<postscript description="F2.108 POSTSCRIPT">MESSAGE ADD,F1.108</postscript>
</field>
<field x="130" y="1" type="Numero" align="right" width="11" id="109" pattern="1">
<field x="130" y="1" type="Valuta" align="right" width="11" id="109" pattern="1" text="###.###.###,@@">
<postscript description="F2.109 POSTSCRIPT">MESSAGE ADD,F1.109</postscript>
</field>
<field x="141" y="1" type="Numero" align="right" width="11" id="110" pattern="1">
<field x="141" y="1" type="Valuta" align="right" width="11" id="110" pattern="1" text="###.###.###,@@">
<postscript description="F2.110 POSTSCRIPT">MESSAGE ADD,F1.110</postscript>
</field>
<field x="152" y="1" type="Numero" align="right" width="11" id="111" pattern="1">
<field x="152" y="1" type="Valuta" align="right" width="12" id="111" pattern="1" text="###.###.###,@@">
<postscript description="F2.111 POSTSCRIPT">MESSAGE ADD,F1.111</postscript>
</field>
</section>