Patch level :10.0 1004

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :
sistemata stampa previsione ammortamenti cespiti


git-svn-id: svn://10.65.10.50/branches/R_10_00@22133 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2011-05-18 10:54:09 +00:00
parent daacb1ad6c
commit be5ad121f5
3 changed files with 151 additions and 132 deletions

View File

@ -203,9 +203,14 @@ void TStampa_proiez_ammo_rep::set_filter(const TStampa_proiez_ammo_mask& msk)
TEsercizi_contabili esc; TEsercizi_contabili esc;
const TDate& dataini = esc[_anno].inizio(); const TDate& dataini = esc[_anno].inizio();
const TDate& datafine = esc[_anno].fine(); const TDate& datafine = esc[_anno].fine();
query.format("USE MOVCE KEY 2 SELECT NUM(ANSI(DTMOV)>=%ld)&&NUM(ANSI(DTMOV)<=%ld)\nFROM IDCESPITE=#CESPITE\nTO IDCESPITE=#CESPITE", query << "USE MOVCE KEY 2";
dataini.date2ansi(), datafine.date2ansi()); query << "\nSELECT BETWEEN(DTMOV,#DADATA,#ADATA)";
query << "\nFROM IDCESPITE=#CESPITE";
query << "\nTO IDCESPITE=#CESPITE";
TISAM_recordset movce(query); TISAM_recordset movce(query);
movce.set_var("#DADATA", dataini);
movce.set_var("#ADATA", datafine);
//il cespite lo setta di volta in volta nel for sottostante
//Ciclo principale per riempire _cat, assoc_array di assoc_array che sara' poi scandito in fase di creazione report //Ciclo principale per riempire _cat, assoc_array di assoc_array che sara' poi scandito in fase di creazione report
//Il metodo add_value e' quello che effettivamente aggiunge i valori a _cat //Il metodo add_value e' quello che effettivamente aggiunge i valori a _cat
@ -216,7 +221,7 @@ void TStampa_proiez_ammo_rep::set_filter(const TStampa_proiez_ammo_mask& msk)
{ {
pi.addstatus(1); pi.addstatus(1);
real costo_ini, costo_fin, alien, famm; real costo_ini, costo_fin, alien, incremento, famm;
//Colonna COSTO //Colonna COSTO
const TString idcespite = rel_cespi.curr().get(CESPI_IDCESPITE); const TString idcespite = rel_cespi.curr().get(CESPI_IDCESPITE);
@ -239,11 +244,15 @@ void TStampa_proiez_ammo_rep::set_filter(const TStampa_proiez_ammo_mask& msk)
//..selezionato sulla maschera;somma i loro importi in modo da ricavare l'importo complessivo.. //..selezionato sulla maschera;somma i loro importi in modo da ricavare l'importo complessivo..
//..di tutti //..di tutti
movce.set_var("#CESPITE", TVariant(idcespite)); //assegna il vero valore dell'idcespite alla query movce.set_var("#CESPITE", TVariant(idcespite)); //assegna il vero valore dell'idcespite alla query
for (TRecnotype i = 0; movce.move_to(i); i++) for (bool ok = movce.move_first(); ok; ok = movce.move_next())
{ {
const real vendita = movce.get(MOVCE_IMPVEN).as_real(); const real vendita = movce.get(MOVCE_IMPVEN).as_real();
add_value(codcat, MOVCE_IMPVEN, vendita); add_value(codcat, MOVCE_IMPVEN, vendita);
alien += vendita; alien += vendita;
const real acquisto = movce.get(MOVCE_CSTO).as_real();
add_value(codcat, "ACQUISIZIONI", acquisto);
incremento += acquisto;
} }
//Colonna FAMM (fondo ammortamento) //Colonna FAMM (fondo ammortamento)
@ -326,6 +335,11 @@ bool TStampa_proiez_ammo_rep::get_usr_val(const TString& name, TVariant& var) co
var = get_value(codcat, MOVCE_IMPVEN); var = get_value(codcat, MOVCE_IMPVEN);
return true; return true;
} }
if (name == "#ACQUISIZIONI") //movimenti di vendita
{
var = get_value(codcat, "ACQUISIZIONI");
return true;
}
if (name.starts_with("#AMMO")) //fondi ammortamento if (name.starts_with("#AMMO")) //fondi ammortamento
{ {
var = get_value(codcat, name.mid(1)); var = get_value(codcat, name.mid(1));

View File

@ -2,15 +2,7 @@
TOOLBAR "topbar" 0 0 0 2 TOOLBAR "topbar" 0 0 0 2
BUTTON DLG_PRINT 10 2 #include <printbar.h>
BEGIN
PROMPT -12 -11 "~Stampa"
END
BUTTON DLG_QUIT 10 2
BEGIN
PROMPT -22 -11 ""
END
ENDPAGE ENDPAGE

View File

@ -1,18 +1,18 @@
<?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-8" ?>
<report name="ce4300a" lpi="6"> <report name="ce4300a" orientation="2" lpi="6">
<description>Proiezione ammortamenti cespiti</description> <description>Proiezione ammortamenti cespiti</description>
<font face="Arial" size="8" /> <font face="Arial" size="8" />
<section type="Head"> <section type="Head" pattern="1">
<font face="Courier New" bold="1" size="8" /> <font face="Courier New" bold="1" size="8" />
</section> </section>
<section type="Head" level="1" height="6"> <section type="Head" level="1" height="6" pattern="1">
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1</prescript> <prescript description="H1 PRESCRIPT">MESSAGE RESET,F1</prescript>
<field border="1" radius="100" x="18" y="0.5" type="Testo" valign="center" align="center" shade_offset="25" width="130" height="2.5" text="PROIEZIONE AMMORTAMENTI CESPITI"> <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" /> <font face="Courier New" bold="1" size="16" />
</field> </field>
<field border="2" y="4" type="Linea" width="160" height="0" pattern="1" /> <field border="2" y="4" type="Linea" width="160" height="0" pattern="1" />
<field x="1" y="4.5" type="Stringa" width="50" pattern="1"> <field x="1" y="4.5" type="Stringa" width="50" pattern="1">
<font italic="1" face="Courier New" bold="1" size="9" /> <font italic="1" face="Arial" bold="1" size="8" />
<source>#SYSTEM.RAGSOC</source> <source>#SYSTEM.RAGSOC</source>
</field> </field>
<field x="79" y="4.5" type="Data" width="10" pattern="1"> <field x="79" y="4.5" type="Data" width="10" pattern="1">
@ -22,15 +22,12 @@
<source>#REPORT.PAGE</source> <source>#REPORT.PAGE</source>
</field> </field>
</section> </section>
<section repeat="1" type="Head" level="2"> <section repeat="1" type="Head" level="2" pattern="1">
<groupby>I0</groupby> <groupby>I0</groupby>
<font face="Arial" bold="1" size="8" /> <font face="Arial" bold="1" size="8" />
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2</prescript> <prescript description="H2 PRESCRIPT">MESSAGE RESET,F2</prescript>
<field x="1" type="Testo" width="12" pattern="1" text="TIPO BENI:"> <field x="1" y="0.25" type="Testo" width="12" pattern="1" text="TIPO BENI:" />
<font face="Courier New" bold="1" size="9" /> <field x="13" y="0.25" type="Array" width="15" pattern="1">
</field>
<field x="13" type="Array" width="15" pattern="1">
<font face="Courier New" bold="1" size="9" />
<source>I0</source> <source>I0</source>
<postscript description="H2.0 POSTSCRIPT">MESSAGE COPY,F2.100</postscript> <postscript description="H2.0 POSTSCRIPT">MESSAGE COPY,F2.100</postscript>
<list> <list>
@ -39,58 +36,114 @@
<li Value="Pluriennali" Code="2" /> <li Value="Pluriennali" Code="2" />
</list> </list>
</field> </field>
<field x="35" y="1.25" type="Testo" align="right" width="12" height="0.75" pattern="1" text="Valore al" /> <field border="1" x="35" y="0.5" type="Linea" height="2.5" pattern="1" />
<field x="59" y="1.25" type="Testo" align="right" width="13" height="0.75" pattern="1" text="Fondo amm. al" /> <field x="38.5" y="0.5" type="Testo" align="right" width="3" height="0.75" pattern="1" text="Al:" />
<field x="71" y="1.25" type="Testo" align="right" width="13" height="0.75" pattern="1" text="Val. residuo" /> <field x="42.5" y="0.5" type="Stringa" align="right" width="11" height="0.75" pattern="1">
<field x="93" y="1.25" type="Testo" align="right" width="10" height="0.75" pattern="1" text="Ammortam." /> <source>#FINESCPREC</source>
<field x="105" y="1.25" type="Testo" align="right" width="10" height="0.75" pattern="1" text="Ammortam." /> </field>
<field x="117" y="1.25" type="Testo" align="right" width="10" height="0.75" pattern="1" text="Ammortam." /> <field border="1" x="57" y="0.5" type="Linea" height="2.5" pattern="1" />
<field x="129.1" y="1.25" type="Testo" align="right" width="10" height="0.75" pattern="1" text="Ammortam." /> <field x="61" y="0.5" type="Testo" align="right" width="8" height="0.75" pattern="1" text="Valore" />
<field x="141" y="1.25" type="Testo" align="right" width="10" height="0.75" pattern="1" text="Ammortam." /> <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="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="1" y="2" type="Testo" width="10" pattern="1" text="Categoria" />
<field x="35" y="2" type="Stringa" align="right" width="12" height="0.75" pattern="1"> <field x="34.5" y="2" type="Testo" align="right" width="11" height="0.75" pattern="1" text="Valore" />
<source>#FINESCPREC</source> <field x="46.5" y="2" type="Testo" align="right" width="10" height="0.75" pattern="1" text="ammortato" />
</field> <field x="58" y="2" type="Testo" align="right" width="11" height="0.75" pattern="1" text="ammortizz." />
<field x="47.5" y="2" type="Testo" align="right" width="12" pattern="1" text="Alienazioni" /> <field x="73.5" y="2" type="Numero" align="right" width="4" height="0.75" pattern="1">
<field x="60" y="2" type="Data" align="right" width="12" height="0.75" pattern="1">
<source>#FINESCPREC</source>
</field>
<field x="72" y="2" type="Testo" align="right" width="12" height="0.75" pattern="1" text="da ammortizz" />
<field x="85" y="2" type="Testo" align="right" width="5" pattern="1" text="Aliq." />
<field x="94" y="2" type="Numero" align="right" width="6" height="0.75" pattern="1">
<source>#ANNOES</source> <source>#ANNOES</source>
</field> </field>
<field x="106.5" y="2" type="Numero" align="right" width="6" height="0.75" pattern="1"> <field x="85.5" y="2" 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">
<source>#ANNOES</source>
</field>
<field x="102.5" y="2" 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">
<source>#ANNOES+1</source> <source>#ANNOES+1</source>
</field> </field>
<field x="118.5" y="2" type="Numero" align="right" width="6" height="0.75" pattern="1"> <field x="124.5" y="2" type="Numero" align="right" width="4" height="0.75" pattern="1">
<source>#ANNOES+2</source> <source>#ANNOES+2</source>
</field> </field>
<field x="130.5" y="2" type="Numero" align="right" width="6" height="0.75" pattern="1"> <field x="135.5" y="2" type="Numero" align="right" width="4" height="0.75" pattern="1">
<source>#ANNOES+3</source> <source>#ANNOES+3</source>
</field> </field>
<field x="142.5" y="2" type="Numero" align="right" width="6" height="0.75" pattern="1"> <field x="146.5" y="2" type="Numero" align="right" width="4" height="0.75" pattern="1">
<source>#ANNOES+4</source> <source>#ANNOES+4</source>
</field> </field>
<field x="151" y="2" type="Testo" align="right" width="12" height="0.75" pattern="1" text="ammortizzare" /> <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 border="1" x="1" y="3" type="Linea" width="162" height="0" pattern="1" />
</section> </section>
<section type="Body" /> <section type="Body" pattern="1" />
<section type="Body" level="1"> <section type="Body" level="1" pattern="1">
<field x="1" type="Stringa" width="2" pattern="1"> <field x="1" type="Stringa" width="2" pattern="1">
<source>CODTAB[7,8]</source> <source>CODTAB[7,8]</source>
</field> </field>
<field x="4" type="Stringa" dynamic_height="1" width="30" height="2" pattern="1"> <field x="4" type="Stringa" dynamic_height="1" width="30" height="2" pattern="1">
<source>S0</source> <source>S0</source>
</field> </field>
<field x="85" type="Numero" align="right" width="5" pattern="1"> <field x="34.5" type="Valuta" align="right" width="11" id="101" pattern="1" text="###.###.###,@@">
<prescript description="B1.0 PRESCRIPT">#101 @ <source>#COSTO</source>
#102 @ <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>
<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>
<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>
<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">
<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">
<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">
<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">
<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">
<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">
<source>#AMMOX</source>
<postscript description="B1.111 POSTSCRIPT">MESSAGE ADD,F2.111</postscript>
</field>
<field x="92" type="Numero" align="right" width="4" id="120" pattern="1">
<prescript description="B1.120 PRESCRIPT">#104 @ \ residuo
#103 @ - \ sottrae alienzioni
#105 @ + \ somma incrementi
DUP DUP
0 &#3E; IF 0 &#3E; IF
#105 @ #106 @ \ ammortamento primo anno
100 * 100 *
SWAP SWAP
&#2F; &#2F;
@ -102,123 +155,83 @@ ELSE
THEN THEN
#THIS !</prescript> #THIS !</prescript>
</field> </field>
<field x="35" type="Valuta" align="right" width="12" id="101" pattern="1" text="###.###.###,@@">
<source>#COSTO</source>
<postscript description="B1.101 POSTSCRIPT">MESSAGE ADD,F2.101</postscript>
</field>
<field x="47.5" type="Valuta" align="right" width="12" id="102" pattern="1" text="###.###.###,@@">
<source>#ALIENAZ</source>
<postscript description="B1.102 POSTSCRIPT">MESSAGE ADD,F2.102</postscript>
</field>
<field x="60" type="Valuta" align="right" width="12" id="103" pattern="1" text="###.###.###,@@">
<source>#AMMO0</source>
<postscript description="B1.103 POSTSCRIPT">MESSAGE ADD,F2.103</postscript>
</field>
<field x="72.5" type="Valuta" align="right" width="12" id="104" pattern="1" text="###.###.###,@@">
<source>IF((#101-#102-#103)&#3C;0,0,#THIS)</source>
<postscript description="B1.104 POSTSCRIPT">MESSAGE ADD,F2.104</postscript>
</field>
<field x="91" type="Numero" align="right" width="12" id="105" pattern="1">
<source>#AMMO1</source>
<postscript description="B1.105 POSTSCRIPT">MESSAGE ADD,F2.105</postscript>
</field>
<field x="103" type="Numero" align="right" width="12" id="106" pattern="1">
<source>#AMMO2</source>
<postscript description="B1.106 POSTSCRIPT">MESSAGE ADD,F2.106</postscript>
</field>
<field x="115" type="Numero" align="right" width="12" id="107" pattern="1">
<source>#AMMO3</source>
<postscript description="B1.107 POSTSCRIPT">MESSAGE ADD,F2.107</postscript>
</field>
<field x="127" type="Numero" align="right" width="12" id="108" pattern="1">
<source>#AMMO4</source>
<postscript description="B1.108 POSTSCRIPT">MESSAGE ADD,F2.108</postscript>
</field>
<field x="139" type="Numero" align="right" width="12" id="109" pattern="1">
<source>#AMMO5</source>
<postscript description="B1.109 POSTSCRIPT">MESSAGE ADD,F2.109</postscript>
</field>
<field x="151" type="Numero" align="right" width="12" id="110" pattern="1">
<source>#AMMOX</source>
<postscript description="B1.110 POSTSCRIPT">MESSAGE ADD,F2.110</postscript>
</field>
</section> </section>
<section type="Foot" /> <section type="Foot" pattern="1" />
<section type="Foot" level="1"> <section type="Foot" level="1" pattern="1">
<font italic="1" face="Arial" bold="1" size="8" /> <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 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" text="TOTALE GENERALE"> <field x="1" y="1.5" type="Testo" align="center" bg_color="#C0C0C0" width="33.5" pattern="2" text="TOTALE GENERALE" />
<font italic="1" face="Courier New" bold="1" size="10" /> <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="###.###.###,@@">
<postscript description="F1.106 POSTSCRIPT">MESSAGE ADD,F1.105</postscript>
</field> </field>
<field x="84.5" y="1.5" type="Testo" bg_color="#C0C0C0" width="6.5" /> <field x="108" y="1.5" type="Valuta" align="right" bg_color="#C0C0C0" width="11" id="107" pattern="2" text="###.###.###,@@">
<field x="34.5" y="1.5" type="Valuta" align="right" bg_color="#C0C0C0" width="12.5" id="101" text="###.###.###,@@" /> <postscript description="F1.107 POSTSCRIPT">MESSAGE ADD,F1.106</postscript>
<field x="47" y="1.5" type="Valuta" align="right" bg_color="#C0C0C0" width="12.5" id="102" text="###.###.###,@@" />
<field x="59.5" y="1.5" type="Valuta" align="right" bg_color="#C0C0C0" width="12.5" id="103" text="###.###.###,@@" />
<field x="72" y="1.5" type="Valuta" align="right" bg_color="#C0C0C0" width="12.5" id="104" text="###.###.###,@@" />
<field x="91" y="1.5" type="Valuta" align="right" bg_color="#C0C0C0" width="12" id="105" text="###.###.###,@@">
<postscript description="F1.105 POSTSCRIPT">MESSAGE ADD,F1.105</postscript>
</field> </field>
<field x="103" y="1.5" type="Valuta" align="right" bg_color="#C0C0C0" width="12" id="106" text="###.###.###,@@"> <field x="119" y="1.5" type="Valuta" align="right" bg_color="#C0C0C0" width="11" id="108" pattern="2" text="###.###.###,@@">
<postscript description="F1.106 POSTSCRIPT">MESSAGE ADD,F1.106</postscript> <postscript description="F1.108 POSTSCRIPT">MESSAGE ADD,F1.107</postscript>
</field> </field>
<field x="115" y="1.5" type="Valuta" align="right" bg_color="#C0C0C0" width="12" id="107" text="###.###.###,@@"> <field x="130" y="1.5" type="Valuta" align="right" bg_color="#C0C0C0" width="11" id="109" pattern="2" text="###.###.###,@@">
<postscript description="F1.107 POSTSCRIPT">MESSAGE ADD,F1.107</postscript> <postscript description="F1.109 POSTSCRIPT">MESSAGE ADD,F1.108</postscript>
</field> </field>
<field x="127" y="1.5" type="Valuta" align="right" bg_color="#C0C0C0" width="12" id="108" text="###.###.###,@@"> <field x="141" y="1.5" type="Valuta" align="right" bg_color="#C0C0C0" width="11" id="110" pattern="2" text="###.###.###,@@">
<postscript description="F1.108 POSTSCRIPT">MESSAGE ADD,F1.108</postscript> <postscript description="F1.110 POSTSCRIPT">MESSAGE ADD,F1.109</postscript>
</field> </field>
<field x="139" y="1.5" type="Valuta" align="right" bg_color="#C0C0C0" width="12" id="109" text="###.###.###,@@"> <field x="152" y="1.5" type="Valuta" align="right" bg_color="#C0C0C0" width="11" id="111" pattern="2" text="###.###.###,@@">
<postscript description="F1.109 POSTSCRIPT">MESSAGE ADD,F1.109</postscript> <postscript description="F1.111 POSTSCRIPT">MESSAGE ADD,F1.110</postscript>
</field>
<field x="151" y="1.5" type="Valuta" align="right" bg_color="#C0C0C0" width="12" id="110" text="###.###.###,@@">
<postscript description="F1.110 POSTSCRIPT">MESSAGE ADD,F1.110</postscript>
</field> </field>
</section> </section>
<section type="Foot" level="2" height="4"> <section type="Foot" level="2" height="4" pattern="1">
<font italic="1" face="Arial" bold="1" size="8" /> <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="162" height="0" pattern="1" />
<field x="2" y="1" type="Testo" width="12" pattern="1" text="TOTALE AMM"> <field x="2" y="1" type="Testo" width="14" pattern="1" text="TOTALE AMM" />
<font italic="1" face="Courier New" bold="1" size="9" />
</field>
<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="162" height="0" pattern="1" />
<field x="14" y="1" type="Array" width="15" id="100" pattern="1"> <field x="16" y="1" type="Array" width="15" id="100" pattern="1">
<font face="Courier New" bold="1" size="9" /> <font face="Arial" bold="1" size="8" />
<list> <list>
<li Value="Materiali" Code="0" /> <li Value="Materiali" Code="0" />
<li Value="Immateriali" Code="1" /> <li Value="Immateriali" Code="1" />
<li Value="Pluriennali" Code="2" /> <li Value="Pluriennali" Code="2" />
</list> </list>
</field> </field>
<field x="35" y="1" type="Valuta" align="right" width="12" id="101" pattern="1" text="###.###.###,@@"> <field x="34.5" y="1" type="Valuta" align="right" width="11.5" id="101" pattern="1" text="###.###.###,@@">
<postscript description="F2.101 POSTSCRIPT">MESSAGE ADD,F1.101</postscript> <postscript description="F2.101 POSTSCRIPT">MESSAGE ADD,F1.101</postscript>
</field> </field>
<field x="47.5" y="1" type="Valuta" align="right" width="12" id="102" pattern="1" text="###.###.###,@@"> <field x="46" y="1" type="Valuta" align="right" width="11.5" id="102" pattern="1" text="###.###.###,@@">
<postscript description="F2.102 POSTSCRIPT">MESSAGE ADD,F1.102</postscript> <postscript description="F2.102 POSTSCRIPT">MESSAGE ADD,F1.102</postscript>
</field> </field>
<field x="60" y="1" type="Valuta" align="right" width="12" id="103" pattern="1" text="###.###.###,@@"> <field x="69" y="1" type="Valuta" align="right" width="11.5" id="103" pattern="1" text="###.###.###,@@">
<postscript description="F2.103 POSTSCRIPT">MESSAGE ADD,F1.103</postscript> <postscript description="F2.103 POSTSCRIPT">MESSAGE ADD,F1.103</postscript>
</field> </field>
<field x="72.5" y="1" type="Valuta" align="right" width="12" id="104" pattern="1" text="###.###.###,@@"> <field x="57.5" y="1" type="Valuta" align="right" width="11.5" id="104" pattern="1" text="###.###.###,@@">
<postscript description="F2.104 POSTSCRIPT">MESSAGE ADD,F1.104</postscript> <postscript description="F2.104 POSTSCRIPT">MESSAGE ADD,F1.104</postscript>
</field> </field>
<field x="91" y="1" type="Numero" align="right" width="12" id="105" pattern="1"> <field x="80.5" y="1" type="Valuta" align="right" width="11.5" id="105" pattern="1" text="###.###.###,@@">
<postscript description="F2.105 POSTSCRIPT">MESSAGE ADD,F1.105</postscript> <postscript description="F2.105 POSTSCRIPT">MESSAGE ADD,F1.105</postscript>
</field> </field>
<field x="103" y="1" type="Numero" align="right" width="12" id="106" pattern="1"> <field x="97" y="1" type="Numero" align="right" width="11" id="106" pattern="1">
<postscript description="F2.106 POSTSCRIPT">MESSAGE ADD,F1.106</postscript> <postscript description="F2.106 POSTSCRIPT">MESSAGE ADD,F1.106</postscript>
</field> </field>
<field x="115" y="1" type="Numero" align="right" width="12" id="107" pattern="1"> <field x="108" y="1" type="Numero" align="right" width="11" id="107" pattern="1">
<postscript description="F2.107 POSTSCRIPT">MESSAGE ADD,F1.107</postscript> <postscript description="F2.107 POSTSCRIPT">MESSAGE ADD,F1.107</postscript>
</field> </field>
<field x="127" y="1" type="Numero" align="right" width="12" id="108" pattern="1"> <field x="119" y="1" type="Numero" align="right" width="11" id="108" pattern="1">
<postscript description="F2.108 POSTSCRIPT">MESSAGE ADD,F1.108</postscript> <postscript description="F2.108 POSTSCRIPT">MESSAGE ADD,F1.108</postscript>
</field> </field>
<field x="139" y="1" type="Numero" align="right" width="12" id="109" pattern="1"> <field x="130" y="1" type="Numero" align="right" width="11" id="109" pattern="1">
<postscript description="F2.109 POSTSCRIPT">MESSAGE ADD,F1.109</postscript> <postscript description="F2.109 POSTSCRIPT">MESSAGE ADD,F1.109</postscript>
</field> </field>
<field x="151" y="1" type="Numero" align="right" width="12" id="110" pattern="1"> <field x="141" y="1" type="Numero" align="right" width="11" id="110" pattern="1">
<postscript description="F2.110 POSTSCRIPT">MESSAGE ADD,F1.110</postscript> <postscript description="F2.110 POSTSCRIPT">MESSAGE ADD,F1.110</postscript>
</field> </field>
<field x="152" y="1" type="Numero" align="right" width="11" id="111" pattern="1">
<postscript description="F2.111 POSTSCRIPT">MESSAGE ADD,F1.111</postscript>
</field>
</section> </section>
<sql>USE %CAC <sql>USE %CAC
BY I0 CODTAB[7,8]</sql> BY I0 CODTAB[7,8]</sql>