<report name="vd1200a" lpi="6"> <description>Riepilogo incassi</description> <font face="Courier New" size="8" /> <section type="Head"> <field x="3" y="0.5" type="Testo" width="10" pattern="1" text="Data"> <font face="Courier New" bold="1" size="8" /> </field> <field x="12" y="0.5" type="Testo" align="right" width="13" pattern="1" text="Venduto lordo"> <font face="Courier New" bold="1" size="8" /> </field> <field x="28.5" y="0.5" type="Testo" align="right" width="8" pattern="1" text="Qta V.L."> <font face="Courier New" bold="1" size="8" /> </field> <field x="40" y="0.5" type="Testo" align="right" width="10" pattern="1" text="Resi"> <font face="Courier New" bold="1" size="8" /> </field> <field x="52" y="0.5" type="Testo" align="right" width="9" pattern="1" text="Qta Resi"> <font face="Courier New" bold="1" size="8" /> </field> <field x="65" y="0.5" type="Testo" align="right" width="10" pattern="1" text="Sconti"> <font face="Courier New" bold="1" size="8" /> </field> <field x="78" y="0.5" type="Testo" align="right" width="13" pattern="1" text="Venduto netto"> <font face="Courier New" bold="1" size="8" /> </field> <field x="94" y="0.5" type="Testo" align="right" width="12" pattern="1" text="Num.Scontr."> <font face="Courier New" bold="1" size="8" /> </field> <field border="1" x="1" y="1.75" type="Linea" width="115" height="0" /> </section> <section type="Head" level="1"> <field type="Stringa" width="50"> <font italic="1" face="Courier New" bold="1" size="8" /> <source>#SYSTEM.RAGSOC</source> </field> <field x="1" y="1.5" type="Stringa" width="20" pattern="1" text="Cassa"> <font face="Courier New" bold="1" size="8" /> <source>#CODCASSA</source> </field> <field x="23" y="1.5" type="Data" width="20" pattern="1" text="Dalla data"> <font face="Courier New" bold="1" size="8" /> <source>#DADATA</source> </field> <field x="49" y="1.5" type="Data" width="20" pattern="1" text="Alla data"> <font face="Courier New" bold="1" size="8" /> <source>#ADATA</source> </field> <field x="1" y="2.25" type="Testo" valign="center" align="center" width="110" height="2" pattern="1" text="Riepilogo incassi"> <font face="Courier New" bold="1" size="14" /> </field> <field border="2" x="1" y="4.5" type="Linea" width="115" height="0" /> </section> <section type="Head" level="2"> <groupby>DATADOC</groupby> <prescript description="H2 PRESCRIPT">MESSAGE RESET,F2.101 MESSAGE RESET,F2.102 MESSAGE RESET,F2.103 MESSAGE RESET,F2.104 MESSAGE RESET,F2.105 MESSAGE RESET,F2.106 MESSAGE RESET,F2.107 MESSAGE RESET,F2.108 MESSAGE RESET,F2.109</prescript> </section> <section type="Body" /> <section type="Body" level="1" hidden="1"> <field type="Numero" align="right" width="1" pattern="1"> <source>1</source> <prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F2.107</prescript> </field> <field x="1" type="Data" width="10" pattern="1"> <source>DATADOC</source> <prescript description="B1.0 PRESCRIPT">MESSAGE COPY,F2.100</prescript> </field> <field x="11" type="Valuta" align="right" width="13" id="101" pattern="1" text="#########,@@"> <source>VDIMPLOR</source> <prescript description="B1.101 PRESCRIPT">MESSAGE ADD,F2.101 </prescript> </field> <field x="24" type="Numero" align="right" width="10" id="102" pattern="1" text="##,@@"> <source>VDQTALOR</source> <prescript description="B1.102 PRESCRIPT">MESSAGE ADD,F2.102 </prescript> </field> <field x="34" type="Valuta" align="right" width="13" id="103" pattern="1" text="#########,@@"> <source>-VDIMPRES</source> <prescript description="B1.103 PRESCRIPT">MESSAGE ADD,F2.103 </prescript> </field> <field x="47" type="Numero" align="right" width="10" id="104" pattern="1" text="##,@@"> <source>VDQTARES</source> <prescript description="B1.104 PRESCRIPT">MESSAGE ADD,F2.104 </prescript> </field> <field x="57" type="Valuta" align="right" width="13" id="105" pattern="1" text="#########,@@"> <source>SCONTOD-SCONTOT</source> <prescript description="B1.105 PRESCRIPT">MESSAGE ADD,F2.105 </prescript> </field> <field x="70" type="Valuta" align="right" width="13" id="106" pattern="1" text="#########,@@"> <source>#101-#103-#105</source> <prescript description="B1.106 PRESCRIPT">MESSAGE ADD,F2.106 </prescript> </field> </section> <section type="Foot" height="3"> <field border="1" x="1" y="0.5" type="Linea" width="125" height="0" /> <field x="2" y="1" type="Data" width="10"> <source>#SYSTEM.DATE</source> </field> <field x="100" y="1" type="Numero" align="right" width="3"> <source>#PAGE</source> </field> <field border="1" x="1" y="2.5" type="Linea" width="125" height="0" /> </section> <section type="Foot" level="1"> <font face="Courier New" bold="1" size="8" /> <field border="1" x="1" y="0.5" type="Linea" width="115" height="0" pattern="1" /> <field x="1" y="1" type="Testo" width="10" pattern="1" text="TOTALI" /> <field x="1" y="2" type="Testo" width="20" pattern="1" text="Scontrino medio" /> <field x="12" y="0.75" type="Valuta" align="right" width="13" id="101" pattern="1" hide_zero="1" text="###.###.###,@@" /> <field x="26" y="0.75" type="Numero" align="right" width="10" id="102" pattern="1" hide_zero="1" /> <field x="37" y="0.75" type="Valuta" align="right" width="13" id="103" pattern="1" hide_zero="1" text="###.###.###,@@" /> <field x="51" y="0.75" type="Numero" align="right" width="10" id="104" pattern="1" hide_zero="1" /> <field x="62" y="0.75" type="Valuta" align="right" width="13" id="105" pattern="1" hide_zero="1" text="###.###.###,@@" /> <field x="78" y="0.75" type="Valuta" align="right" width="13" id="106" pattern="1" hide_zero="1" text="###.###.###,@@" /> <field x="100" y="0.75" type="Numero" align="right" width="6" id="107" pattern="1" hide_zero="1" /> </section> <section type="Foot" level="2"> <field x="1" type="Data" width="10" id="100" pattern="1" /> <field x="12" type="Valuta" align="right" width="13" id="101" pattern="1" hide_zero="1" text="###.###.###,@@"> <postscript description="F2.101 POSTSCRIPT">MESSAGE ADD,F1.101 </postscript> </field> <field x="26" type="Numero" align="right" width="10" id="102" pattern="1" hide_zero="1"> <postscript description="F2.102 POSTSCRIPT">MESSAGE ADD,F1.102 </postscript> </field> <field x="37" type="Valuta" align="right" width="13" id="103" pattern="1" hide_zero="1" text="###.###.###,@@"> <postscript description="F2.103 POSTSCRIPT">MESSAGE ADD,F1.103 </postscript> </field> <field x="51" type="Numero" align="right" width="10" id="104" pattern="1" hide_zero="1"> <postscript description="F2.104 POSTSCRIPT">MESSAGE ADD,F1.104 </postscript> </field> <field x="62" type="Valuta" align="right" width="13" id="105" pattern="1" hide_zero="1" text="###.###.###,@@"> <postscript description="F2.105 POSTSCRIPT">MESSAGE ADD,F1.105 </postscript> </field> <field x="78" type="Valuta" align="right" width="13" id="106" pattern="1" hide_zero="1" text="###.###.###,@@"> <postscript description="F2.106 POSTSCRIPT">MESSAGE ADD,F1.106 </postscript> </field> <field x="100" type="Numero" align="right" width="6" id="107" pattern="1"> <postscript description="F2.107 POSTSCRIPT">MESSAGE ADD,F1.107</postscript> </field> </section> <sql>USE DOC SELECT (NUM(ANSI(DATADOC))E;=NUM(ANSI(#DADATA)))(NUM(ANSI(DATADOC))C;=NUM(ANSI(#ADATA))) FROM PROVV='D' ANNO=#ANNO CODNUM=#CODNUM TO PROVV='D' ANNO=#ANNO CODNUM=#CODNUM </sql> </report>