<report name="VE8100A" lpi="6">
 <description>Lista ritenute per F24</description>
 <font face="Courier New" size="10" />
 <section type="Head">
  <field x="1" y="1" type="Stringa" width="50" pattern="1">
   <font italic="1" face="Courier New" bold="1" size="9" />
   <source>#SYSTEM.RAGSOC</source>
  </field>
  <field x="80" y="1" type="Data" width="10" pattern="1">
   <source>#SYSTEM.DATE</source>
  </field>
  <field x="1" y="2" type="Testo" width="25" pattern="1" text="Documenti: dal numero" />
  <field x="24" y="2" type="Data" width="10" pattern="1">
   <source>#DANUM</source>
  </field>
  <field x="40" y="2" type="Testo" width="9.5" pattern="1" text="Al numero" />
  <field x="51" y="2" type="Data" width="10" pattern="1">
   <source>#ANUM</source>
  </field>
  <field border="1" x="1" y="3.5" type="Linea" width="93" height="0" pattern="1" />
 </section>
 <section type="Head" level="1">
  <field border="1" radius="100" x="2" y="1" type="Testo" valign="center" align="center" shade_offset="25" width="90" height="2.5" text="LISTA RITENUTE FISCALI">
   <font face="Courier New" bold="1" size="16" />
  </field>
  <field border="2" x="1" y="4.5" type="Linea" width="90" height="0" pattern="1" />
 </section>
 <section type="Head" level="2">
  <groupby>CODCF</groupby>
  <field y="1" type="Stringa" width="15" pattern="1" text="Cliente:">
   <font face="Courier New" bold="1" size="10" />
   <source>CODCF</source>
  </field>
  <field x="16" y="1" type="Stringa" width="50" pattern="1">
   <font face="Courier New" bold="1" size="10" />
   <prescript description="H2.0 PRESCRIPT">MESSAGE _ISAMREAD,CLIFO,TIPOCF='C'!CODCF=CODCF,RAGSOC</prescript>
  </field>
  <field x="1" y="3" type="Testo" align="right" width="7" pattern="1" text="N.doc." />
  <field x="13" y="3" type="Testo" width="10" pattern="1" text="Data doc." />
  <field x="37" y="3" type="Testo" width="15" pattern="1" text="Importo rit." />
  <field x="50" y="3" type="Testo" width="10" pattern="1" text="Tributo" />
 </section>
 <section type="Body" />
 <section type="Body" level="1" />
 <section type="Head" level="11" />
 <section type="Body" level="11">
  <sql>USE RDOC
SELECT (TIPORIGA=='04')&#26;&#26;(110@-&#3E;S10!='')
JOIN SPP ALIAS 110 INTO CODTAB==CODART
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="1" y="1" type="Numero" align="right" width="10" pattern="1">
   <source>NDOC</source>
  </field>
  <field x="12" y="1" type="Data" width="10" pattern="1">
   <source>33.DATADOC</source>
  </field>
  <field x="25" y="1" type="Valuta" hidden="1" align="right" width="10" pattern="1" text="#########,@@">
   <source>IMPNS</source>
  </field>
  <field x="38" y="1" type="Valuta" align="right" width="10" pattern="1" text="#########,@@">
   <source>RITENUTA</source>
  </field>
  <field x="50" y="1" type="Stringa" width="4" pattern="1">
   <font face="Courier New" bold="1" size="10" />
   <prescript description="B11.0 PRESCRIPT">MESSAGE _TABLEREAD,SPP,CODART,S10</prescript>
  </field>
 </section>
 <section type="Foot" level="11" />
 <section type="Foot" />
 <section type="Foot" level="1" />
 <section type="Foot" level="2" />
 <sql>USE DOC KEY 4
SELECT (CODNUM=#NUM)&#26;&#26;(NDOC&#3E;=#DANUM)&#26;&#26;(NDOC&#3C;=#ANUM)
FROM TIPOCF='C'
TO TIPOCF='C'</sql>
</report>