<?xml version="1.0" encoding="UTF-8" ?>
<report name="lv0400g" lpi="6">
 <font face="Courier New" size="10" />
 <section type="Head" pattern="1" />
 <section type="Head" level="1" pattern="1" />
 <section type="Body" pattern="1" />
 <section type="Body" level="1" page_break="1" pattern="1">
  <field x="1" type="Testo" align="center" width="91" height="1.5" pattern="1" text="Stampa Contratti per Cliente">
   <font italic="1" face="Times New Roman" bold="1" size="12" />
  </field>
  <field border="2" x="1" y="1.75" type="Linea" width="91" height="0" pattern="1" />
  <field x="1" y="2.5" type="Testo" width="7" height="1.25" pattern="1" text="Cliente:">
   <font face="Times New Roman" size="10" />
  </field>
  <field x="6.5" y="2.5" type="Numero" align="right" width="6" height="1.25" pattern="1">
   <font face="Times New Roman" size="10" />
   <source>LVCONDV.CODCF</source>
  </field>
  <field x="13.5" y="2.5" type="Stringa" width="50" height="1.25" pattern="1">
   <font face="Times New Roman" bold="1" size="10" />
   <source>CLIFO.RAGSOC</source>
  </field>
  <field x="76" y="2.5" type="Testo" width="10" height="1.25" pattern="1" text="Sconto:">
   <font face="Times New Roman" size="10" />
  </field>
  <field border="2" x="1" y="4" type="Linea" width="91" height="0" pattern="1" />
  <field x="1" y="4.5" type="Testo" align="right" width="10" pattern="1" text="Art.">
   <font face="Times New Roman" size="7" />
  </field>
  <field x="12" y="4.5" type="Testo" width="25" pattern="1" text="Descrizione">
   <font face="Times New Roman" size="7" />
  </field>
  <field x="39" y="4.5" type="Testo" align="right" width="4" pattern="1" text="Col.">
   <font face="Times New Roman" size="7" />
  </field>
  <field x="45" y="4.5" type="Testo" align="right" width="4" pattern="1" text="Dot.">
   <font face="Times New Roman" size="7" />
  </field>
  <field x="51" y="4.5" type="Testo" align="right" width="4" pattern="1" text="D.Temp.">
   <font face="Times New Roman" size="7" />
  </field>
  <field x="57" y="4.5" type="Testo" align="right" width="4" pattern="1" text="C.Mese">
   <font face="Times New Roman" size="7" />
  </field>
  <field x="63" y="4.5" type="Testo" align="right" width="4" pattern="1" text="C.Anno">
   <font face="Times New Roman" size="7" />
  </field>
  <field x="69" y="4.5" type="Testo" align="right" width="4" pattern="1" text="Prz.">
   <font face="Times New Roman" size="7" />
  </field>
  <field x="75" y="4.5" type="Testo" align="right" width="4" pattern="1" text="Cicl.">
   <font face="Times New Roman" size="7" />
  </field>
  <field x="81" y="4.5" type="Testo" align="right" width="4" pattern="1" text="V.Conv.">
   <font face="Times New Roman" size="7" />
  </field>
  <field x="87" y="4.5" type="Testo" align="right" width="4" pattern="1" text="% Forf.">
   <font face="Times New Roman" size="7" />
  </field>
 </section>
 <section type="Head" level="11" pattern="1" />
 <section type="Body" level="11" pattern="1">
  <sql>USE LVRCONDV
JOIN ANAMAG INTO CODART==CODART
FROM CODCF=#PARENT.CODCF CODCONT=#PARENT.CODCONT
TO CODCF=#PARENT.CODCF CODCONT=#PARENT.CODCONT

</sql>
  <field x="1" type="Stringa" align="right" width="10" pattern="1">
   <font face="Times New Roman" size="7" />
   <source>LVRCONDV.CODART</source>
  </field>
  <field x="12" type="Stringa" dynamic_height="1" width="25" pattern="1">
   <font face="Times New Roman" size="7" />
   <source>ANAMAG.DESCR+ANAMAG.DESCRAGG</source>
  </field>
  <field x="39" type="Testo" align="right" width="4" pattern="1" text="0">
   <font face="Times New Roman" size="7" />
  </field>
  <field x="51" type="Numero" align="right" width="4" pattern="1">
   <font face="Times New Roman" size="7" />
   <source>#DOTMP</source>
  </field>
  <field x="57" type="Numero" align="right" width="4" pattern="1">
   <font face="Times New Roman" size="7" />
   <source>#CONSMESE</source>
  </field>
  <field x="63" type="Numero" align="right" width="4" pattern="1">
   <font face="Times New Roman" size="7" />
   <source>#CONSANNO</source>
  </field>
  <field x="69" type="Prezzo" align="right" width="4" pattern="1" text="#########,@@">
   <font face="Times New Roman" size="7" />
   <source>LVRCONDV.PREZZO</source>
  </field>
  <field x="75" type="Numero" align="right" width="4" pattern="1">
   <font face="Times New Roman" size="7" />
   <source>LVRCONDV.MINCIC</source>
  </field>
  <field x="88" type="Numero" align="right" width="4" pattern="1">
   <font face="Times New Roman" size="7" />
   <source>LVRCONDV.FORFPERCL</source>
  </field>
  <field x="45" type="Numero" align="right" width="4" id="101" pattern="1">
   <font face="Times New Roman" size="7" />
   <source>#DOTOD</source>
  </field>
  <field x="81" type="Prezzo" align="right" width="5" id="102" pattern="1" text="#########,@@">
   <font face="Times New Roman" size="7" />
   <source>LVRCONDV.VALCONV*#101</source>
   <postscript description="B11.102 POSTSCRIPT">MESSAGE ADD,F11.102</postscript>
  </field>
 </section>
 <section type="Foot" level="11" pattern="1">
  <field type="Testo" width="10" pattern="1" text="Totale">
   <font face="Calibri" size="11" />
  </field>
  <field x="76" type="Prezzo" align="right" width="10" id="102" pattern="1" text="#########,@@">
   <font face="Calibri" size="11" />
  </field>
 </section>
 <section type="Foot" pattern="1" />
 <section type="Foot" level="1" pattern="1" />
 <sql>USE LVCONDV
JOIN CLIFO INTO TIPOCF=="C" CODCF==CODCF
FROM CODCF=#F_CODCF_FROM
TO CODCF=#F_CODCF_TO
</sql>
</report>