campo-sirio/ve/ve3900a.rep
luca 273fd9ce31 Patch level :10.0
Files correlati     :
Ricompilazione Demo : [ ]
Commento            :
iniziata stampa fatturato


git-svn-id: svn://10.65.10.50/trunk@19506 c028cbd2-c16b-5b4b-a496-9718f37d4682
2009-10-23 14:36:49 +00:00

155 lines
7.8 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8" ?>
<report name="ve3900a" lpi="6">
<description>Stampa fatturato</description>
<font face="Courier New" size="10" />
<section type="Head">
<field x="0.12" y="0.5" type="Rettangolo" bg_color="#C0C0C0" width="90" height="0.2" />
</section>
<section type="Head" level="1">
<font face="Arial" bold="1" size="8" />
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1.100|RESET,F1.110|RESET,F1.120|RESET,F1.130|RESET,F1.140</prescript>
<field border="2" radius="200" x="24" y="0.5" type="Rettangolo" width="32" height="3" pattern="1" />
<field x="25" y="1.5" type="Testo" align="center" width="30" height="1.5" pattern="1" text="STAMPA FATTURATO">
<font face="Arial" size="12" />
</field>
<field x="2" y="4" type="Stringa" width="20" pattern="1" text="dalla data: ">
<font face="Arial" size="10" />
<source>#DADATA</source>
</field>
<field x="24" y="4" type="Stringa" width="18.5" pattern="1" text="alla data: ">
<font face="Arial" size="10" />
<source>#ADATA</source>
</field>
</section>
<section repeat="1" keep_with_next="1" type="Head" level="2" height="3">
<groupby>CODCF</groupby>
<font face="Arial" bold="1" size="10" />
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2.100|RESET,F2.110|RESET,F2.120|RESET,F2.130|RESET,F2.140
MESSAGE RESET,B1</prescript>
<field x="0.5" type="Testo" width="8" pattern="1" text="Cliente" />
<field x="2" y="1.75" type="Testo" width="4" height="0.75" pattern="1" text="Tipo">
<font italic="1" face="Arial" size="8" />
</field>
<field x="6" y="1.75" type="Testo" align="right" width="7" height="0.75" pattern="1" text="Numero">
<font italic="1" face="Arial" size="8" />
</field>
<field x="14" y="1.75" type="Testo" align="center" width="10" height="0.75" pattern="1" text="Data">
<font italic="1" face="Arial" size="8" />
</field>
<field x="29" y="1.75" type="Testo" align="right" width="13" height="0.75" pattern="1" text="Imp. Netto non Sc.">
<font italic="1" face="Arial" size="8" />
</field>
<field x="48" y="1.75" type="Testo" align="right" width="5" height="0.75" pattern="1" text="Sconto ">
<font italic="1" face="Arial" size="8" />
</field>
<field x="56.5" y="1.75" type="Testo" align="right" width="10" height="0.75" pattern="1" text="Imp. Netto Scon.">
<font italic="1" face="Arial" size="8" />
</field>
<field x="68" y="1.75" type="Testo" align="right" width="10" height="0.75" pattern="1" text="Imposta">
<font italic="1" face="Arial" size="8" />
</field>
<field x="25.75" y="1.8" type="Testo" width="2" height="0.75" pattern="1" text="St">
<font italic="1" face="Arial" size="8" />
</field>
<field x="80.87" y="1.81" type="Testo" align="right" width="10" height="0.75" pattern="1" text="Tot. Documento">
<font italic="1" face="Arial" size="8" />
</field>
<field border="1" y="2.75" type="Linea" width="92" height="0" pattern="1" />
<field x="8" type="Stringa" width="7" id="101" pattern="1">
<source>CODCF</source>
</field>
<field x="16" type="Stringa" width="50" id="102" pattern="1">
<prescript description="H2.102 PRESCRIPT">MESSAGE ISAMREAD,20,TIPOCF=C!CODCF=#101,RAGSOC</prescript>
</field>
</section>
<section type="Body" />
<section type="Body" level="1">
<font face="Arial" size="8" />
<postscript description="B1 POSTSCRIPT">MESSAGE RESET,B1</postscript>
<field x="26" type="Stringa" width="1" pattern="1">
<source>DOC.STATO</source>
</field>
<field x="106" type="Stringa" hidden="1" width="10" pattern="1">
<source>CODNUM</source>
</field>
<field x="2" type="Stringa" width="4" id="50" pattern="1">
<source>TIPODOC</source>
</field>
<field x="92" type="Stringa" hidden="1" width="4" id="55" pattern="1">
<source>ANNO</source>
</field>
<field x="6" type="Numero" align="right" link="NDOC" width="7" id="60" pattern="1">
<source>NDOC</source>
</field>
<field x="14" type="Data" width="10" id="65" pattern="1">
<source>DATADOC</source>
</field>
<field x="96" type="Stringa" hidden="1" width="10" id="68" pattern="1">
<source>IF(TIPODOC='NAC',-1,1)</source>
</field>
<field x="31" type="Valuta" align="right" width="11" id="70" pattern="1" hide_zero="1" text="###.###.###,@@">
<source>#68*33.TOTLORDO</source>
<prescript description="B1.70 PRESCRIPT">MESSAGE ADD,F2.100|ADD,F1.100</prescript>
</field>
<field x="43" type="Valuta" align="right" width="10" id="75" pattern="1" hide_zero="1" text="###.###.###,@@">
<source>#68*33.SCONTOD</source>
<prescript description="B1.75 PRESCRIPT">MESSAGE ADD,F2.110|ADD,F1.110</prescript>
</field>
<field x="54" type="Valuta" align="right" width="13" id="80" pattern="1" hide_zero="1" text="###.###.###,@@">
<source>#68*33.IMPONIBILI</source>
<prescript description="B1.80 PRESCRIPT">MESSAGE ADD,F2.120|ADD,F1.120</prescript>
</field>
<field x="68" type="Valuta" align="right" width="10" id="85" pattern="1" hide_zero="1" text="###.###.###,@@">
<source>#68*33.IMPOSTE</source>
<prescript description="B1.85 PRESCRIPT">MESSAGE ADD,F2.130|ADD,F1.130</prescript>
</field>
<field x="78.5" type="Valuta" align="right" width="13" id="90" pattern="1" text="###.###.###,@@">
<source>#68*33.TOTDOC</source>
<prescript description="B1.90 PRESCRIPT">MESSAGE ADD,F2.140|ADD,F1.140</prescript>
</field>
</section>
<section type="Foot">
<font italic="1" face="Arial" size="10" />
<field x="-0.13" y="0.18" type="Rettangolo" bg_color="#C0C0C0" width="92" height="0.2" />
<field y="0.75" type="Stringa" width="20" pattern="1" text="Data: ">
<source>#SYSTEM.DATE</source>
</field>
<field x="82.87" y="0.75" type="Stringa" width="7.5" pattern="1" text="Pag.">
<source>#PAGE</source>
</field>
</section>
<section type="Foot" level="1">
<font face="Arial" bold="1" size="11" />
<field border="2" type="Linea" width="92" height="0" pattern="1" />
<field x="0.5" y="0.25" type="Testo" width="21.5" pattern="1" text="TOTALE GENERALE" />
<field x="29" y="0.25" type="Valuta" align="right" width="13" id="100" pattern="1" hide_zero="1" text="###.###.###,@@">
<font face="Arial" bold="1" size="10" />
</field>
<field x="43" y="0.25" type="Valuta" align="right" width="10" id="110" pattern="1" hide_zero="1" text="###.###.###,@@">
<font face="Arial" bold="1" size="10" />
</field>
<field x="54" y="0.25" type="Valuta" align="right" width="13" id="120" pattern="1" hide_zero="1" text="###.###.###,@@">
<font face="Arial" bold="1" size="10" />
</field>
<field x="68" y="0.25" type="Valuta" align="right" width="10" id="130" pattern="1" hide_zero="1" text="###.###.###,@@">
<font face="Arial" bold="1" size="10" />
</field>
<field x="78.5" y="0.25" type="Valuta" align="right" width="13" id="140" pattern="1" hide_zero="1" text="###.###.###,@@">
<font face="Arial" bold="1" size="10" />
</field>
</section>
<section type="Foot" level="2" height="3">
<field border="1" y="0.25" type="Rettangolo" shade_offset="50" width="92" height="1.5" />
<field x="11" y="0.5" type="Testo" width="16.5" pattern="1" text="Totale Cliente" />
<field x="29" y="0.5" type="Valuta" align="right" width="13" id="100" pattern="1" hide_zero="1" text="###.###.###,@@" />
<field x="43" y="0.5" type="Valuta" align="right" width="10" id="110" pattern="1" hide_zero="1" text="###.###.###,@@" />
<field x="54" y="0.5" type="Valuta" align="right" width="13" id="120" pattern="1" hide_zero="1" text="###.###.###,@@" />
<field x="68" y="0.5" type="Valuta" align="right" width="10" id="130" pattern="1" hide_zero="1" text="###.###.###,@@" />
<field x="78.5" y="0.5" type="Valuta" align="right" width="13" id="140" pattern="1" hide_zero="1" text="###.###.###,@@" />
</section>
<sql>USE DOC KEY 3
SELECT (BETWEEN(STATO,#DASTATO,#ASTATO))&#26;&#26;(CODNUM=#CODNUM)&#26;&#26;(TIPODOC=#TIPODOC)&#26;&#26;(BETWEEN(CODCF,#DACLIFO,#ACLIFO))
BY CODCF NDOC
FROM DATADOC=#DADATA PROVV='D' ANNO=#ANNO
TO DATADOC=#ADATA PROVV='D' ANNO=#ANNO </sql>
</report>