campo-sirio/lv/lv0400g.rep
guy 0942d486bf Migliorata stampa contratti per cliente, incorporando personalizzazione LIF
git-svn-id: svn://10.65.10.50/branches/R_10_00@23080 c028cbd2-c16b-5b4b-a496-9718f37d4682
2015-05-07 13:20:33 +00:00

132 lines
5.7 KiB
XML
Executable File

<?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="83" 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="83" height="0" pattern="1" />
<field x="63.5" y="1.75" type="Testo" width="6" height="1.25" pattern="1" text="Sconto:">
<font face="Times New Roman" size="10" />
</field>
<field x="69" y="1.75" type="Stringa" width="14" pattern="1">
<source>CFVEN.SCONTO</source>
</field>
<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" 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="63.5" y="2.75" type="Testo" width="9.5" height="1.25" pattern="1" text="Scadenza:">
<font face="Times New Roman" size="10" />
</field>
<field x="70.5" y="2.75" type="Data" width="12.5" pattern="1">
<source>LVCONDV.DATASC</source>
</field>
<field border="2" x="1" y="4" type="Linea" width="83" height="0" pattern="1" />
<field y="4.5" type="Testo" width="8" pattern="1" text="Art.">
<font face="Times New Roman" size="7" />
</field>
<field x="10" y="4.5" type="Testo" width="25" pattern="1" text="Descrizione">
<font face="Times New Roman" size="7" />
</field>
<field x="35" y="4.5" type="Testo" width="6" pattern="1" text="Sconto">
<font face="Times New Roman" size="7" />
</field>
<field x="39" y="4.5" type="Testo" align="right" width="4" pattern="1" text="Dot.">
<font face="Times New Roman" size="7" />
</field>
<field x="45" y="4.5" type="Testo" align="right" width="4" pattern="1" text="C.Mese">
<font face="Times New Roman" size="7" />
</field>
<field x="51" y="4.5" type="Testo" align="right" width="4" pattern="1" text="C.Anno">
<font face="Times New Roman" size="7" />
</field>
<field x="57" y="4.5" type="Testo" align="right" width="4" pattern="1" text="Prz.">
<font face="Times New Roman" size="7" />
</field>
<field x="63" y="4.5" type="Testo" align="right" width="4" pattern="1" text="Cicl.">
<font face="Times New Roman" size="7" />
</field>
<field x="69" y="4.5" type="Testo" align="right" width="8" pattern="1" text="Prz. Nolo">
<font face="Times New Roman" size="7" />
</field>
<field x="78" y="4.5" type="Testo" align="right" width="5" pattern="1" text="V.Conv.">
<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 type="Stringa" width="9" pattern="1">
<font face="Times New Roman" size="7" />
<source>LVRCONDV.CODART</source>
</field>
<field x="10" type="Stringa" dynamic_height="1" width="25" height="3" pattern="1">
<font face="Times New Roman" size="7" />
<source>ANAMAG.DESCR+" "+TRIM(ANAMAG.DESCRAGG)</source>
</field>
<field x="35" type="Stringa" width="5" pattern="1">
<source>LVRCONDV.SCONTPERC</source>
</field>
<field x="45" type="Numero" align="right" width="4" pattern="1">
<font face="Times New Roman" size="7" />
<source>#CONSMESE</source>
</field>
<field x="51" type="Numero" align="right" width="4" pattern="1">
<font face="Times New Roman" size="7" />
<source>#CONSANNO</source>
</field>
<field x="57" type="Prezzo" align="right" width="4" pattern="1" text="#########,@@">
<font face="Times New Roman" size="7" />
<source>LVRCONDV.PREZZO</source>
</field>
<field x="63" type="Numero" align="right" width="4" pattern="1">
<font face="Times New Roman" size="7" />
<source>LVRCONDV.MINCIC</source>
</field>
<field x="69" type="Numero" align="right" width="7" pattern="1" text="#####,@@">
<font face="Times New Roman" size="7" />
<source>LVRCONDV.PREZNOL</source>
</field>
<field x="40" type="Numero" align="right" width="4" id="101" pattern="1">
<font face="Times New Roman" size="7" />
<source>#DOTOD</source>
</field>
<field x="77" type="Prezzo" align="right" width="6" 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 x="10" type="Testo" width="10" pattern="1" text="Totale">
<font face="Courier New" bold="1" size="11" />
</field>
<field x="76" type="Prezzo" align="right" width="7" id="102" pattern="1" text="###.###.###,@@">
<font face="Times New Roman" bold="1" size="7" />
</field>
</section>
<section type="Foot" pattern="1" />
<section type="Foot" level="1" pattern="1" />
<sql>USE LVCONDV SELECT BETWEEN(DATASC,#DASCAD,#ASCAD)*(20->CODCF>0)
JOIN CLIFO INTO TIPOCF=="C" CODCF==CODCF
JOIN CFVEN INTO TIPOCF=="C" CODCF==CODCF
FROM CODCF=#F_CODCF_FROM
TO CODCF=#F_CODCF_TO
</sql>
</report>