<report name="vestrfa" lpi="6">
 <font face="Courier New" size="10" />
 <section keep_with_next="1" type="Head">
  <field type="Stringa" width="50">
   <font italic="1" face="Courier New" bold="1" size="10" />
   <source>#SYSTEM.RAGSOC</source>
  </field>
  <field y="1" type="Testo" valign="center" align="center" width="96" height="2" text="Tabella Raggruppamenti Fiscali Articoli">
   <font face="Courier New" bold="1" size="14" />
  </field>
  <field border="2" x="1" y="3.5" type="Linea" width="93" height="0" />
  <field x="2" y="4" type="Testo" width="6" text="Codice">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="11" y="4" type="Testo" width="12" text="Descrizione">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="62" y="4" type="Testo" width="2" text="UM">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="66" y="4" type="Testo" width="3" text="IVA">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="71" y="4" type="Testo" width="12" text="Classe Fisc.">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="85" y="4" type="Testo" width="9" text="%ricarico">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="2" y="5" type="Testo" width="12" text="Costo minimo">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="20" y="5" type="Testo" width="13" text="Costo massimo">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="40" y="5" type="Testo" width="10" text="Tipo costo">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="2" y="6" type="Testo" width="14" text="Conto acquisti">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="50" y="6" type="Testo" width="13" text="Conto vendite">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field border="2" x="1" y="7.5" type="Linea" width="93" height="0" />
 </section>
 <section keep_with_next="1" type="Head" level="1" />
 <section keep_with_next="1" type="Body" />
 <section keep_with_next="1" type="Body" level="1">
  <field x="2" type="Stringa" link="RFA.CODTAB[1,5]" width="5">
   <source>CODTAB[1,5]</source>
  </field>
  <field x="11" type="Stringa" width="50">
   <source>S0</source>
  </field>
  <field x="62" type="Stringa" width="2">
   <source>S7[1,2]</source>
  </field>
  <field x="67" type="Stringa" width="4">
   <source>S9[1,4]</source>
  </field>
  <field x="74" type="Stringa" width="2">
   <source>S8[1,2]</source>
  </field>
  <field x="87" type="Numero" align="right" width="6">
   <source>R0[1,6]</source>
  </field>
  <field x="2" y="1" type="Numero" align="right" width="13">
   <source>R1[1,13]</source>
  </field>
  <field x="20" y="1" type="Numero" align="right" width="13">
   <source>R2[1,13]</source>
  </field>
  <field x="40" y="1" type="Array" width="30">
   <source>S6</source>
   <list>
    <li Value="Costo medio annuale" Code="1" />
    <li Value="Costo ultimi 3 mesi" Code="2" />
    <li Value="Costo ultimo" Code="3" />
    <li Value="Costo standard" Code="4" />
    <li Value="Maggiore ultimi due costi" Code="5" />
    <li Value="Costo massimo d'acquisto" Code="6" />
    <li Value="Costo minimo d'acquisto" Code="7" />
   </list>
  </field>
  <field x="3" y="2" type="Numero" align="right" width="3">
   <source>I0[1,3]</source>
  </field>
  <field x="7" y="2" type="Numero" align="right" width="3">
   <source>I1[1,3]</source>
  </field>
  <field x="10" y="2" type="Numero" align="right" width="6">
   <source>I2[1,6]</source>
  </field>
  <field x="17" y="2" type="Stringa" dynamic_height="1" width="30" height="2">
   <source>300@.DESCR</source>
  </field>
  <field x="49" y="2" type="Numero" align="right" width="3">
   <source>I3[1,3]</source>
  </field>
  <field x="53" y="2" type="Numero" align="right" width="3">
   <source>I4[1,3]</source>
  </field>
  <field x="57" y="2" type="Numero" align="right" width="6">
   <source>I5[1,6]</source>
  </field>
  <field x="64" y="2" type="Stringa" dynamic_height="1" width="30" height="2">
   <source>200@.DESCR</source>
  </field>
  <field border="1" y="4" type="Linea" width="93" height="0" />
 </section>
 <section keep_with_next="1" type="Foot" height="3">
  <field border="2" x="1" y="0.5" type="Linea" width="93" height="0" />
  <field x="2" y="1" type="Data" width="10">
   <source>#SYSTEM.DATE</source>
  </field>
  <field x="90" y="1" type="Numero" align="right" width="3">
   <source>#PAGE</source>
  </field>
  <field border="2" x="1" y="2.5" type="Linea" width="93" height="0" />
 </section>
 <section keep_with_next="1" type="Foot" level="1" />
 <sql>USE RFA
JOIN PCON ALIAS 200 INTO GRUPPO==I0 CONTO==I1 SOTTOCONTO==I2
JOIN PCON ALIAS 300 INTO GRUPPO==I3 CONTO==I4 SOTTOCONTO==I5</sql>
</report>