<?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="Array" width="10" pattern="1"> <source>TIPOCF</source> <list> <li Value="Cliente" Code="C" /> <li Value="Fornitore" Code="F" /> </list> </field> <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="27" 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="38" 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="67" y="1.75" type="Testo" align="right" width="10" height="0.75" pattern="1" text="Tot. Documento"> <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 border="1" x="1" y="2.75" type="Linea" width="78" height="0" pattern="1" /> <field x="11" y="0.5" type="Stringa" width="7" id="101" pattern="1"> <source>CODCF</source> </field> <field x="19" 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="2" type="Stringa" width="4" id="50" pattern="1"> <source>TIPODOC</source> <prescript description="B1.50 PRESCRIPT">MESSAGE TABLEREAD,%TIP,#50,52=B7</prescript> </field> <field x="78" type="Stringa" hidden="1" link="33.ANNO" width="4" id="51" pattern="1"> <source>ANNO</source> </field> <field x="82.5" type="Stringa" hidden="1" align="right" width="3" id="52" pattern="1"> <prescript description="B1.52 PRESCRIPT">#THIS @ "X" = IF -1 ELSE 1 THEN #53 !</prescript> </field> <field x="86" type="Numero" hidden="1" align="right" width="3" id="53" pattern="1" /> <field x="90" type="Stringa" hidden="1" link="33.CODNUM" width="4" id="54" pattern="1"> <source>CODNUM</source> </field> <field x="95" type="Stringa" hidden="1" link="33.PROVV" width="1" id="55" pattern="1"> <source>PROVV</source> </field> <field x="6" type="Numero" align="right" link="33.NDOC" width="7" id="56" pattern="1"> <source>NDOC</source> </field> <field x="14" type="Data" width="10" id="57" pattern="1"> <source>DATADOC</source> </field> <field x="25" type="Stringa" width="1" id="58" pattern="1"> <source>STATO</source> </field> <field x="27" type="Valuta" align="right" width="10" id="100" pattern="1" hide_zero="1" text="###.###.###,@@"> <prescript description="B1.100 PRESCRIPT">#53 @ "33.TOTMER" @ * #THIS !</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">#53 @ "33.TOTPRE" @ * #THIS !</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">#53 @ "33.SPESE" @ * #THIS ! </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">#53 @ "33.IMPONIBILI" @ * #THIS ! </prescript> <postscript description="B1.130 POSTSCRIPT">MESSAGE ADD,F2.130|ADD,F1.130</postscript> </field> <field x="67" type="Valuta" align="right" width="10" id="140" pattern="1" text="###.###.###,@@"> <source>""</source> <prescript description="B1.140 PRESCRIPT">#53 @ "33.TOTDOC" @ * #THIS ! </prescript> <postscript description="B1.140 POSTSCRIPT">MESSAGE ADD,F2.140|ADD,F1.140</postscript> </field> </section> <section type="Foot"> <font italic="1" face="Arial" size="10" /> <field 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="3" x="1" y="0.5" type="Linea" width="84" height="0" pattern="1" /> <field border="2" radius="100" x="2" y="1" type="Rettangolo" shade_offset="50" width="82" height="2.5" /> <field x="5.5" y="1.75" type="Testo" width="18" pattern="1" text="TOTALE GENERALE" /> <field x="27" y="1.75" type="Valuta" align="right" width="10" id="100" pattern="1" hide_zero="1" text="###.###.###,@@"> <font face="Arial" bold="1" size="8" /> </field> <field x="38" y="1.75" type="Valuta" align="right" width="8" id="110" pattern="1" hide_zero="1" text="###.###.###,@@"> <font face="Arial" bold="1" size="8" /> </field> <field x="47" y="1.75" type="Valuta" align="right" width="8" id="120" pattern="1" hide_zero="1" text="###.###.###,@@"> <font face="Arial" bold="1" size="8" /> </field> <field x="56" y="1.75" type="Valuta" align="right" width="10" id="130" pattern="1" hide_zero="1" text="###.###.###,@@"> <font face="Arial" bold="1" size="8" /> </field> <field x="67" y="1.75" type="Valuta" align="right" width="10" 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" x="1" y="0.25" type="Rettangolo" shade_offset="50" width="84" height="1.5" /> <field x="5.5" y="0.5" type="Testo" width="14" pattern="1" text="Totale Cliente" /> <field x="27" y="0.5" type="Valuta" align="right" width="10" id="100" pattern="1" hide_zero="1" text="###.###.###,@@" /> <field x="38" y="0.5" type="Valuta" align="right" width="8" id="110" pattern="1" hide_zero="1" text="###.###.###,@@" /> <field x="47" y="0.5" type="Valuta" align="right" width="8" id="120" pattern="1" hide_zero="1" text="###.###.###,@@" /> <field x="56" y="0.5" type="Valuta" align="right" width="10" id="130" pattern="1" hide_zero="1" text="###.###.###,@@" /> <field x="67" y="0.5" type="Valuta" align="right" width="10" id="140" pattern="1" hide_zero="1" text="###.###.###,@@" /> </section> <sql>USE DOC KEY 3 SELECT (BETWEEN(CODNUM,#CODNUM,#CODNUM))(BETWEEN(STATO,#DASTATO,#ASTATO))(BETWEEN(TIPODOC,#TIPODOC,#TIPODOC))STR(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>