<?xml version="1.0" encoding="UTF-8" ?>
<report name="co1800a" orientation="2" lpi="6" command="ve1 -3">
 <description>STAMPA CONFERIMENTI</description>
 <font face="Courier New" size="8" />
 <section type="Head">
  <field x="133.08" y="0.18" type="Testo" valign="bottom" width="6" pattern="1" text="Data" />
  <field x="139.08" y="0.18" type="Data" valign="bottom" align="right" width="12" pattern="1">
   <source>#SYSTEM.DATE</source>
  </field>
  <field x="157.08" y="0.18" type="Testo" valign="bottom" width="5" pattern="1" text="Pag." />
  <field x="165.08" y="0.18" type="Numero" valign="bottom" align="right" width="4" pattern="1">
   <source>#REPORT.PAGE</source>
  </field>
  <field x="71.18" y="0.62" type="Testo" valign="center" align="center" width="42" height="2" pattern="1" text="STAMPA CONFERIMENTI">
   <font face="Courier New" bold="1" size="14" />
  </field>
  <field border="2" x="0.18" y="2.62" type="Linea" width="170" height="0" pattern="1" />
  <field x="3.18" y="3.62" type="Testo" width="6" pattern="1" text="Ditta" />
  <field x="10.18" y="3.62" type="Stringa" width="60" pattern="1">
   <source>#SYSTEM.RAGSOC</source>
  </field>
  <field x="3.18" y="4.62" type="Testo" valign="bottom" width="12" pattern="1" text="Dalla data" />
  <field x="15.18" y="4.62" type="Data" valign="bottom" align="right" width="12" pattern="1">
   <source>#DADATA</source>
  </field>
  <field x="28.18" y="4.62" type="Testo" valign="bottom" align="center" width="10" pattern="1" text="alla data" />
  <field x="40.18" y="4.62" type="Data" valign="bottom" align="right" width="12" pattern="1">
   <source>#ADATA</source>
  </field>
  <field border="2" x="0.18" y="6.62" type="Linea" width="170" height="0" pattern="1" />
  <field x="2" y="7" type="Testo" width="12" pattern="1" text="Data">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="10" y="7" type="Testo" align="right" width="8" pattern="1" text="N.reg.">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="30" y="7" type="Testo" width="27" pattern="1" text="Codice socio">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="86.5" y="8" type="Testo" valign="bottom" align="right" width="15" pattern="1" text="Importo" />
  <field x="107.5" y="8" type="Testo" valign="bottom" align="right" width="4" pattern="1" text="IVA" />
  <field x="119.5" y="8" type="Testo" valign="bottom" align="right" width="15" pattern="1" text="Imposta" />
  <field x="6.5" y="8.25" type="Testo" width="50" pattern="1" text="Prestazione">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field border="2" y="10" type="Linea" width="170" height="0" pattern="1" />
 </section>
 <section type="Head" level="1">
  <prescript description="H1 PRESCRIPT">MESSAGE RESET,F1.101|RESET,F1.102|RESET,F1.103|RESET,F1.104|RESET,F1.105|RESET,F1.106|RESET,F1.107|RESET,F1.108</prescript>
 </section>
 <section type="Body" />
 <section type="Body" level="1" />
 <section type="Head" level="11">
  <field x="39" y="0.25" type="Stringa" width="50" pattern="1">
   <font face="Courier New" bold="1" size="10" />
   <source>TRIM(20.RAGSOC[1,30])+' '+TRIM(20.RAGSOC[31,50])</source>
  </field>
  <field x="2.06" y="0.31" type="Data" width="12" pattern="1">
   <font face="Courier New" bold="1" size="10" />
   <source>DATADOC</source>
  </field>
  <field x="15.06" y="0.31" type="Numero" align="right" width="8" pattern="1">
   <font face="Courier New" bold="1" size="10" />
   <source>NDOC</source>
  </field>
  <field x="30" y="0.31" type="Numero" align="right" width="7" pattern="1">
   <font face="Courier New" bold="1" size="10" />
   <source>CODCF</source>
  </field>
 </section>
 <section type="Body" level="11">
  <sql>USE RDOC 
SELECT BETWEEN(CODART,#PARENT.#DACODART,#PARENT.#ACODART)
FROM PROVV=#PARENT.PROVV ANNO=#PARENT.ANNO CODNUM=#PARENT.CODNUM NDOC=#PARENT.NDOC
TO PROVV=#PARENT.PROVV ANNO=#PARENT.ANNO CODNUM=#PARENT.CODNUM NDOC=#PARENT.NDOC
</sql>
  <field x="2" type="Stringa" width="8" pattern="1">
   <font face="Courier New" bold="1" size="10" />
   <source>RDOC.CODART</source>
  </field>
  <field x="10.5" type="Stringa" width="51" pattern="1">
   <font face="Courier New" bold="1" size="10" />
   <source>DESCR</source>
  </field>
  <field x="86.5" type="Valuta" valign="bottom" align="right" width="15" pattern="1" hide_zero="1" text="###.###.###,@@">
   <source>RDOC.IMPNS</source>
   <prescript description="B11.0 PRESCRIPT">MESSAGE ADD,F1.105</prescript>
  </field>
  <field x="107.5" type="Stringa" valign="bottom" align="right" width="6" pattern="1">
   <source>RDOC.CODIVA</source>
   <prescript description="B11.0 PRESCRIPT">MESSAGE TABLEREAD,%IVA,#THIS,S1</prescript>
  </field>
  <field x="119" type="Valuta" valign="bottom" align="right" width="15" pattern="1" hide_zero="1" text="###.###.###,@@">
   <source>RDOC.IMPOSTA</source>
  </field>
 </section>
 <section type="Foot" level="11" height="1" />
 <section type="Foot" />
 <section type="Foot" level="1">
  <field border="2" y="1" type="Linea" width="170" height="0" pattern="1" />
  <field x="2" y="2" type="Testo" width="50" pattern="1" text="Totale">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="86.5" y="2" type="Valuta" valign="bottom" align="right" width="15" id="105" pattern="1" hide_zero="1" text="###.###.###,@@" />
  <field x="130" y="3" type="Valuta" align="right" width="18" id="106" pattern="1" hide_zero="1" text="###.###.###,@@" />
  <field x="155" y="3" type="Valuta" align="right" width="13" id="107" pattern="1" hide_zero="1" text="###.###.###,@@" />
 </section>
 <sql>USE DOC 
SELECT (BETWEEN(DATADOC,#DADATA,#ADATA))&#26;&#26;(BETWEEN(CODCF,#DASOCIO,#ASOCIO))
JOIN 20 TO 33 INTO TIPOCF==TIPOCF CODCF==CODCF
FROM PROVV=D ANNO=#ANNO CODNUM=#CODNUM 
TO PROVV=D ANNO=#ANNO CODNUM=#CODNUM

</sql>
</report>