<report name="vestprs" 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 Prestazioni">
   <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="3" text="IVA">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="68" y="4" type="Testo" width="6" text="Valuta">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="83" y="4" type="Testo" width="6" text="Prezzo">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="6" y="5" type="Testo" width="9" text="Quantita'">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="17" y="5" type="Testo" width="2" text="UM">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="22" y="5" type="Testo" width="13" text="Conto vendite">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field x="56" y="5" type="Testo" width="14" text="Conto acquisti">
   <font face="Courier New" bold="1" size="10" />
  </field>
  <field border="2" x="1" y="6.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="PRS.CODTAB[1,8]" width="8">
   <source>CODTAB[1,8]</source>
  </field>
  <field x="11" type="Stringa" width="50">
   <source>S0</source>
  </field>
  <field x="62" type="Stringa" width="4">
   <source>S3[1,4]</source>
  </field>
  <field x="69" type="Stringa" width="4">
   <source>S4[1,4]</source>
  </field>
  <field x="76" type="Numero" align="right" width="13">
   <source>R0[1,13]</source>
  </field>
  <field x="2" y="1" type="Numero" align="right" width="13">
   <source>R1[1,13]</source>
  </field>
  <field x="17" y="1" type="Stringa" width="2">
   <source>S7[1,2]</source>
  </field>
  <field x="21" y="1" type="Numero" align="right" width="3">
   <source>I0[1,3]</source>
  </field>
  <field x="25" y="1" type="Numero" align="right" width="3">
   <source>I1[1,3]</source>
  </field>
  <field x="29" y="1" type="Numero" align="right" width="6">
   <source>I2[1,6]</source>
  </field>
  <field x="36" y="1" type="Stringa" dynamic_height="1" width="19" height="2">
   <source>200@.DESCR</source>
  </field>
  <field x="56" y="1" type="Numero" align="right" width="3">
   <source>I3[1,3]</source>
  </field>
  <field x="60" y="1" type="Numero" align="right" width="3">
   <source>I4[1,3]</source>
  </field>
  <field x="64" y="1" type="Numero" align="right" width="6">
   <source>I5[1,6]</source>
  </field>
  <field x="71" y="1" type="Stringa" dynamic_height="1" width="19" height="2">
   <source>300@.DESCR</source>
  </field>
  <field border="1" y="3" 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 PRS
JOIN PCON ALIAS 200 INTO GRUPPO==I0 CONTO==I1 SOTTOCONTO==I2
JOIN PCON ALIAS 300 INTO GRUPPO==I3 CONTO==I4 SOTTOCONTO==I5</sql>
</report>