campo-sirio/ve/ve3900a.rep

189 lines
9.1 KiB
Plaintext
Raw Normal View History

<?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" />
<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="75" x="26" y="0.5" type="Rettangolo" shade_offset="50" width="32" height="3" />
<field x="27" y="1.5" type="Testo" align="center" width="30" height="1.5" pattern="1" text="STAMPA FATTURATO">
<font face="Arial" bold="1" size="12" />
</field>
<field x="1" y="5" type="Testo" width="10" pattern="1" text="Numerazione:" />
<field x="20" y="5" type="Testo" width="6" pattern="1" text="Tipo:" />
<field x="33" y="5" type="Testo" width="6" pattern="1" text="Anno:" />
<field x="45" y="5" type="Testo" width="8" pattern="1" text="Dalla data:" />
<field x="68" y="5" type="Testo" width="8" pattern="1" text="Alla data:" />
<field border="3" x="1" y="6.5" type="Linea" width="86" height="0" pattern="1" />
<field x="11.5" y="5" type="Stringa" width="4" id="101" pattern="1">
<font face="Arial" size="8" />
<source>#CODNUM</source>
</field>
<field x="24" y="5" type="Stringa" width="4" id="102" pattern="1">
<font face="Arial" size="8" />
<source>#TIPODOC</source>
</field>
<field x="38" y="5" type="Numero" align="right" width="4" id="103" pattern="1">
<font face="Arial" size="8" />
<source>#ANNO</source>
</field>
<field x="53" y="5" type="Data" width="10" id="104" pattern="1">
<font face="Arial" size="8" />
<source>#DADATA</source>
</field>
<field x="76" y="5" type="Data" align="right" width="10" id="105" pattern="1">
<font face="Arial" size="8" />
<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="9" />
<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" y="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="26" y="1.75" type="Testo" align="right" width="10" height="0.75" pattern="1" text="Totale Merce">
<font italic="1" face="Arial" size="8" />
</field>
<field x="39" y="1.75" type="Testo" align="right" width="8" height="0.75" pattern="1" text="Prestazioni">
<font italic="1" face="Arial" size="8" />
</field>
<field x="47" y="1.75" type="Testo" align="right" width="8" height="0.75" pattern="1" text="Spese">
<font italic="1" face="Arial" size="8" />
</field>
<field x="56" y="1.75" type="Testo" align="right" width="10" height="0.75" pattern="1" text="Imponibile">
<font italic="1" face="Arial" size="8" />
</field>
<field x="24.25" y="1.8" type="Testo" width="2" height="0.75" pattern="1" text="St">
<font italic="1" face="Arial" size="8" />
</field>
<field x="67.37" y="1.81" type="Testo" align="right" width="12" height="0.75" pattern="1" text="Tot. Documento">
<font italic="1" face="Arial" size="8" />
</field>
<field border="1" x="1" y="2.75" type="Linea" width="86" height="0" pattern="1" />
<field x="8" y="0.5" type="Stringa" width="7" id="101" pattern="1">
<source>CODCF</source>
</field>
<field x="16" y="0.5" 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" height="1">
<font face="Arial" size="8" />
<postscript description="B1 POSTSCRIPT">MESSAGE RESET,B1</postscript>
<field x="25" type="Stringa" width="1" pattern="1">
<source>STATO</source>
</field>
<field x="93" type="Stringa" hidden="1" width="4" pattern="1">
<source>CODNUM</source>
</field>
<field x="2" type="Stringa" width="4" id="50" pattern="1">
<source>TIPODOC</source>
<prescript description="B1.50 PRESCRIPT">MESSAGE TABLEREAD,%TPD,CODTAB=#50,67=B7</prescript>
</field>
<field x="81" 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="85.5" type="Array" hidden="1" align="right" width="3" id="67" pattern="1">
<list>
<li Value="+1" Code=" ">1 68 !</li>
<li Value="-1" Code="X">-1 68 !</li>
</list>
</field>
<field x="89" type="Numero" hidden="1" align="right" width="3" id="68" pattern="1" />
<field x="27" type="Valuta" align="right" width="10" id="100" pattern="1" hide_zero="1" text="###.###.###,@@">
<prescript description="B1.100 PRESCRIPT">#68 @
"33.TOTMER" @
* .</prescript>
<postscript description="B1.100 POSTSCRIPT">MESSAGE ADD,F2.100|ADD,F1.100</postscript>
</field>
<field x="38" type="Valuta" align="right" width="8" id="110" pattern="1" hide_zero="1" text="###.###.###,@@">
<prescript description="B1.110 PRESCRIPT">#68 @
"33.TOTPRE" @
* .</prescript>
<postscript description="B1.110 POSTSCRIPT">MESSAGE ADD,F2.110|ADD,F1.110</postscript>
</field>
<field x="47" type="Valuta" align="right" width="8" id="120" pattern="1" hide_zero="1" text="###.###.###,@@">
<prescript description="B1.120 PRESCRIPT">#68 @
"33.SPESE" @
* .
</prescript>
<postscript description="B1.120 POSTSCRIPT">MESSAGE ADD,F2.120|ADD,F1.120</postscript>
</field>
<field x="56" type="Valuta" align="right" width="10" id="130" pattern="1" hide_zero="1" text="###.###.###,@@">
<prescript description="B1.130 PRESCRIPT">#68 @
"33.IMPOSTE" @
* .
</prescript>
<postscript description="B1.130 POSTSCRIPT">MESSAGE ADD,F2.130|ADD,F1.130</postscript>
</field>
<field x="67" type="Valuta" align="right" width="12" id="140" pattern="1" text="###.###.###,@@">
<source>#68*TOTDOC</source>
<prescript description="B1.140 PRESCRIPT">#68 @
"33.TOTDOC" @
* .
</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 italic="1" face="Arial" bold="1" size="8" />
<field border="2" y="0.5" type="Linea" width="92" height="0" pattern="1" />
<field x="7" y="1" type="Testo" width="18" pattern="1" text="TOTALE GENERALE" />
<field x="27" y="1" type="Valuta" align="right" width="12" id="100" pattern="1" hide_zero="1" text="###.###.###,@@">
<font face="Arial" bold="1" size="8" />
</field>
<field x="40" y="1" type="Valuta" align="right" width="8" id="110" pattern="1" hide_zero="1" text="###.###.###,@@">
<font face="Arial" bold="1" size="8" />
</field>
<field x="49" y="1" type="Valuta" align="right" width="12" id="120" pattern="1" hide_zero="1" text="###.###.###,@@">
<font face="Arial" bold="1" size="8" />
</field>
<field x="62" y="1" type="Valuta" align="right" width="8" id="130" pattern="1" hide_zero="1" text="###.###.###,@@">
<font face="Arial" bold="1" size="8" />
</field>
<field x="71" y="1" type="Valuta" align="right" width="12" id="140" pattern="1" hide_zero="1" text="###.###.###,@@">
<font face="Arial" bold="1" size="8" />
</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="4.5" y="0.5" type="Testo" width="14" pattern="1" text="Totale Cliente" />
<field x="27" y="0.5" type="Valuta" align="right" width="12" id="100" pattern="1" hide_zero="1" text="###.###.###,@@" />
<field x="40" y="0.5" type="Valuta" align="right" width="8" id="110" pattern="1" hide_zero="1" text="###.###.###,@@" />
<field x="49" y="0.5" type="Valuta" align="right" width="12" id="120" pattern="1" hide_zero="1" text="###.###.###,@@" />
<field x="62" y="0.5" type="Valuta" align="right" width="8" id="130" pattern="1" hide_zero="1" text="###.###.###,@@" />
<field x="71" y="0.5" type="Valuta" align="right" width="12" id="140" pattern="1" hide_zero="1" text="###.###.###,@@" />
</section>
<sql>USE DOC KEY 3
SELECT (BETWEEN(STATO,#DASTATO,#ASTATO))&#26;&#26;(BETWEEN(TIPODOC,#TIPODOC,#TIPODOC))&#26;&#26;(BETWEEN(CODCF,#DACLIFO,#ACLIFO))
BY CODCF NDOC TIPODOC
FROM DATADOC=#DADATA PROVV='D' ANNO=#ANNO CODNUM=#CODNUM
TO DATADOC=#ADATA PROVV='D' ANNO=#ANNO CODNUM=#CODNUM</sql>
</report>