<?xml version="1.0" encoding="UTF-8" ?>
<report libraries="ve1300" name="ca3800b" orientation="2" lpi="6">
 <description>Bilancio commessa CA riassuntivo per fasi</description>
 <font face="Arial Narrow" size="8" />
 <section type="Head">
  <font italic="1" face="Arial Narrow" bold="1" size="8" />
  <field x="1" type="Stringa" width="50" pattern="1">
   <source>#SYSTEM.RAGSOC</source>
  </field>
  <field x="60" type="Testo" width="10" pattern="1" text="Data stampa">
   <font italic="1" face="Arial Narrow" size="8" />
  </field>
  <field x="70" type="Data" width="12" pattern="1">
   <source>#SYSTEM.DATE</source>
  </field>
  <field x="120" type="Testo" width="4" pattern="1" text="Pag.">
   <font italic="1" face="Arial Narrow" size="8" />
  </field>
  <field x="124" type="Numero" align="right" width="3" pattern="1">
   <source>#REPORT.PAGE</source>
  </field>
  <field x="10" y="2" type="Stringa" width="12" pattern="1">
   <font face="Arial" bold="1" size="10" />
   <source>FASESPEC</source>
  </field>
  <field border="1" x="1" y="3" type="Linea" width="169" height="0" pattern="1" />
  <field x="35" y="1" type="Testo" valign="bottom" align="right" width="13" height="2" id="69" pattern="1" text="Testata" />
  <field x="1" y="2" type="Testo" width="8" id="121" pattern="1" text="Fase" />
  <field x="50" y="1" type="Stringa" align="center" width="13" height="2" id="169" pattern="1">
   <source>"MARGINE CONTRIBUZIONE"</source>
  </field>
 </section>
 <section type="Head" level="1">
  <field border="1" radius="100" x="1" type="Testo" valign="center" align="center" shade_offset="25" width="167" height="2.5" text="BILANCIO DI COMMESSA PER ESERCIZIO RAGGRUPPATO PER FASI">
   <font face="Courier New" bold="1" size="16" />
  </field>
  <field x="7" y="3" type="Testo" width="35" pattern="1" text="Costi e ricavi di Commessa maturati nell'esercizio">
   <font italic="1" face="Arial Narrow" size="9" />
  </field>
  <field x="60" y="3" type="Testo" width="15" pattern="1" text="Stima avanzamento ">
   <font italic="1" face="Arial Narrow" size="9" />
  </field>
  <field x="75" y="3" type="Array" width="35" pattern="1">
   <font face="Arial Narrow" bold="1" size="9" />
   <source>TIPOSTIMA</source>
   <list>
    <li Value="COSTI Preventivi \ RICAVI Preventivi (TEMPO)" Code="T" />
    <li Value="COSTI Consuntivi \ RICAVI Preventivi" Code="C" />
    <li Value="COSTI Consuntivi \ RICAVI Consuntivi" Code="R" />
   </list>
  </field>
  <field x="120" y="3" type="Testo" width="20" pattern="1" text="Detrazioni calcolate come">
   <font italic="1" face="Arial Narrow" size="9" />
  </field>
  <field x="145" y="3" type="Array" width="10" pattern="1">
   <font face="Arial Narrow" bold="1" size="9" />
   <source>DETRCONS</source>
   <list>
    <li Value="Preventivi" Code=" " />
    <li Value="Consuntivi" Code="X" />
   </list>
  </field>
  <field x="120" y="4" type="Testo" width="25" pattern="1" text="Profondita' della struttura in esame">
   <font italic="1" face="Arial Narrow" size="9" />
  </field>
  <field x="145" y="4" type="Array" width="7" pattern="1">
   <font face="Arial Narrow" bold="1" size="9" />
   <source>DEPTH</source>
   <list>
    <li Value="Gruppo" Code="1" />
    <li Value="Conto" Code="2" />
   </list>
  </field>
  <field x="7" y="4.25" type="Testo" width="20" pattern="1" text="Include esercizi successivi">
   <font italic="1" face="Arial Narrow" size="9" />
  </field>
  <field x="27" y="4.25" type="Stringa" width="3" pattern="1">
   <font face="Arial Narrow" bold="1" size="9" />
   <source>VITAINTERA</source>
  </field>
  <field x="60" y="4.25" type="Testo" width="15" pattern="1" text="Fase">
   <font italic="1" face="Arial Narrow" size="9" />
  </field>
  <field border="2" x="1" y="5.5" type="Linea" width="169" height="0" pattern="1" />
  <field x="75" y="4.25" type="Stringa" width="10" id="1" pattern="1">
   <font face="Arial Narrow" bold="1" size="9" />
   <source>FASESPEC</source>
   <postscript description="H1.1 POSTSCRIPT">MESSAGE COPY,F1.2</postscript>
  </field>
  <field x="42" y="3" type="Stringa" width="4" id="2" pattern="1">
   <font face="Arial Narrow" bold="1" size="9" />
   <source>ANNO</source>
  </field>
 </section>
 <section type="Head" level="2" height="1.5">
  <groupby>(LEVEL&#3C;2)||(LEVEL=4)</groupby>
  <font italic="1" face="Arial Narrow" size="8" />
  <field x="1" type="Array" bg_color="#C0C0C0" width="25">
   <source>LEVEL</source>
   <list>
    <li Value="Commesse terminate nel" Code="0" />
    <li Value="Commesse terminate nel" Code="1" />
    <li Value="Commesse che terminano oltre il" Code="2" />
    <li Value="Commesse che terminano oltre il" Code="3" />
    <li Value="Commesse di supporto del" Code="4" />
   </list>
  </field>
  <field x="23" type="Numero" align="right" bg_color="#C0C0C0" width="6">
   <source>ANNO</source>
  </field>
  <field type="Numero" hidden="1" align="right" width="1" id="101" pattern="1">
   <source>LEVEL</source>
   <postscript description="H2.101 POSTSCRIPT">MESSAGE COPY,F2.101</postscript>
  </field>
  <field x="29" type="Numero" hidden="1" align="right" width="4" id="102" pattern="1">
   <source>ANNO</source>
   <postscript description="H2.102 POSTSCRIPT">MESSAGE COPY,F2.102</postscript>
  </field>
 </section>
 <section type="Head" level="3" hidden="1" height="1.5">
  <groupby>LEVEL</groupby>
  <font italic="1" face="Arial Narrow" size="8" />
  <field x="3" type="Array" bg_color="#C0C0C0" width="45" pattern="1">
   <source>LEVEL</source>
   <list>
    <li Value="Commesse avviate in esercizi precedenti" Code="0" />
    <li Value="Commesse avviate nell'esercizio selezionato" Code="1" />
    <li Value="Commesse avviate in esercizi precedenti" Code="2" />
    <li Value="Commesse avviate nell'esercizio selezionato" Code="3" />
    <li Value="Commesse di supporto dell'esercizio selezionato" Code="4" />
   </list>
  </field>
  <field border="1" x="2" y="1.25" type="Linea" width="169" height="0" pattern="1" />
  <field type="Numero" hidden="1" align="right" width="1" id="101" pattern="1">
   <source>LEVEL</source>
   <postscript description="H3.101 POSTSCRIPT">MESSAGE COPY,F3.101</postscript>
  </field>
 </section>
 <section type="Body" />
 <section type="Body" level="1" hidden="1">
  <prescript description="B1 PRESCRIPT">1 #H4.3  \ incrementa il contatore per il numero di righe di fase
+!</prescript>
  <field x="65.5" type="Testo" align="center" width="2" pattern="1" text="%" />
  <field x="1" type="Stringa" width="20" id="1" pattern="1">
   <source>CODCMS</source>
  </field>
  <field x="35" type="Valuta" align="right" width="13" id="69" pattern="1" text="###.###.###,@@">
   <postscript description="B1.69 POSTSCRIPT">MESSAGE ADD,F3.69</postscript>
  </field>
  <field x="48.5" type="Valuta" align="right" width="13" id="169" pattern="1" text="###.###.###,@@">
   <source>#RICAVI-#COSTI</source>
   <postscript description="B1.169 POSTSCRIPT">MESSAGE ADD,F3.169</postscript>
  </field>
  <field x="61.5" type="Numero" align="right" width="4" id="170" pattern="1" text="####">
   <font italic="1" face="Arial Narrow" size="8" />
   <prescript description="B1.170 PRESCRIPT">#RICAVI @
       EMPTY= IF
       0
       ELSE
       1
       #COSTI @
       #RICAVI @
       &#2F;
       -
       100
       *
       0
       ROUND
       DUP
       -999 &#3C; IF
       DROP -999
       THEN
       THEN
       #THIS !
     </prescript>
  </field>
  <field x="65.5" type="Testo" align="center" width="2" id="171" pattern="1" text="%" />
 </section>
 <section type="Foot">
  <field border="1" x="1" y="0.25" type="Linea" width="169" height="0" pattern="1" />
  <field x="2" y="0.75" type="Testo" width="25" pattern="1" text="Bilancio di commessa per esercizio">
   <font italic="1" face="Arial Narrow" bold="1" size="8" />
  </field>
  <field x="28.5" y="0.75" type="Stringa" width="5" pattern="1">
   <font face="Arial Narrow" bold="1" size="9" />
   <source>H1.2</source>
  </field>
 </section>
 <section type="Foot" level="1" height="3">
  <font italic="1" face="Arial Narrow" bold="1" size="8" />
  <field border="2" x="1" y="0.5" type="Linea" width="169" height="0" pattern="1" />
  <field x="1" y="1" type="Testo" valign="center" fg_color="#FFFFFF" bg_color="#000000" width="20" id="1" text="TOTALI GENERALI " />
  <field x="21" y="1" type="Stringa" valign="center" fg_color="#FFFFFF" bg_color="#400040" width="15" id="2">
   <font italic="1" face="Arial" bold="1" size="8" />
  </field>
  <field x="36" y="1" type="Valuta" align="right" width="13" id="69" pattern="1" text="###.###.###,@@" />
  <field x="49.5" y="1" type="Valuta" align="right" width="13" id="169" pattern="1" text="###.###.###,@@">
   <postscript description="F1.169 POSTSCRIPT">MESSAGE RESET,169</postscript>
  </field>
 </section>
 <section type="Foot" level="2" height="4.5">
  <font italic="1" face="Courier New" size="8" />
  <prescript description="F2 PRESCRIPT">#LEVEL @
&#09;4 = IF
&#09;  "90@" ENABLE
&#09;ELSE
&#09;  "90@" DISABLE
  THEN</prescript>
  <field border="1" x="1" y="0.5" type="Linea" width="169" height="0" pattern="1" />
  <field x="1" y="1" type="Array" bg_color="#C0C0C0" width="30">
   <font italic="1" face="Arial Narrow" size="8" />
   <source>H2.101</source>
   <list>
    <li Value="TOTALI Commesse terminate nel" Code="0" />
    <li Value="TOTALI Commesse terminate nel" Code="1" />
    <li Value="TOTALI Commesse che terminano oltre il" Code="2" />
    <li Value="TOTALI Commesse che terminano oltre il" Code="3" />
    <li Value="TOTALI Commesse di supporto del" Code="4" />
   </list>
  </field>
  <field x="29" y="1" type="Numero" align="right" bg_color="#C0C0C0" width="6">
   <font italic="1" face="Arial Narrow" size="8" />
   <source>H2.102</source>
  </field>
  <field border="1" x="1" y="3.25" deactivated="1" type="Linea" width="169" height="0" pattern="1">
   <groups>90</groups>
  </field>
  <field x="1" y="3.5" deactivated="1" type="Testo" fg_color="#FFFFFF" bg_color="#808080" width="30" text="TOTALI commesse normali relative al">
   <font italic="1" face="Arial Narrow" bold="1" size="8" />
   <groups>90</groups>
  </field>
  <field x="31" y="3.5" type="Numero" align="right" fg_color="#FFFFFF" bg_color="#808080" width="6">
   <font italic="1" face="Arial Narrow" bold="1" size="8" />
   <groups>90</groups>
   <source>H2.102</source>
  </field>
  <field x="39" y="1" type="Valuta" align="right" width="13" id="69" pattern="1" text="###.###.###,@@">
   <font italic="1" face="Arial Narrow" bold="1" size="8" />
   <postscript description="F2.69 POSTSCRIPT">MESSAGE ADD,F1.69</postscript>
  </field>
  <field y="1" type="Numero" hidden="1" align="right" width="1" id="101" pattern="1" />
  <field x="35" y="1" type="Numero" hidden="1" align="right" width="4" id="102" pattern="1">
   <postscript description="F2.102 POSTSCRIPT">MESSAGE COPY,F2.101</postscript>
  </field>
  <field x="52.5" y="1" type="Valuta" align="right" width="13" id="169" pattern="1" text="###.###.###,@@">
   <font italic="1" face="Arial Narrow" bold="1" size="8" />
   <postscript description="F2.169 POSTSCRIPT">MESSAGE ADD,F1.169
MESSAGE RESET,169</postscript>
  </field>
 </section>
 <section type="Foot" level="3" height="2">
  <font italic="1" face="Arial Narrow" size="8" />
  <field x="2" y="0.5" type="Array" bg_color="#C0C0C0" width="40" pattern="1">
   <source>H3.101</source>
   <list>
    <li Value="Commesse avviate in esercizi precedenti" Code="0" />
    <li Value="Commesse avviate nell'esercizio selezionato" Code="1" />
    <li Value="Commesse avviate in esercizi precedenti" Code="2" />
    <li Value="Commesse avviate nell'esercizio selezionato" Code="3" />
    <li Value="TOTALI Commesse di supporto dell'esercizio selezionato" Code="4" />
   </list>
  </field>
  <field x="42" y="0.5" type="Valuta" align="right" width="13" id="69" pattern="1" text="###.###.###,@@">
   <postscript description="F3.69 POSTSCRIPT">MESSAGE ADD,F2.69
MESSAGE ADD,F2.269
</postscript>
  </field>
  <field y="0.5" type="Numero" hidden="1" align="right" width="1" id="101" pattern="1" />
  <field x="55.5" y="0.5" type="Valuta" align="right" width="13" id="169" pattern="1" text="###.###.###,@@">
   <postscript description="F3.169 POSTSCRIPT">MESSAGE ADD,F2.169
MESSAGE ADD,F2.369
MESSAGE RESET,169
</postscript>
  </field>
 </section>
 <sql>USE SALDANA</sql>
</report>