campo-sirio/src/cg/cg5800b.rep
mtollari 8780ad1298 Patch level : 12.0 290
Files correlati     : 
Commento            : Aggiunta report e maschera modificati

git-svn-id: svn://10.65.10.50/branches/R_10_00@23357 c028cbd2-c16b-5b4b-a496-9718f37d4682
2016-10-03 14:56:34 +00:00

98 lines
4.9 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<report name="cg5800b" lpi="6">
<description>Lista occasionali per quadro VT</description>
<font face="Courier New" size="10" />
<section type="Head" height="3" pattern="1">
<field type="Stringa" align="center" width="80" height="2" pattern="1">
<font face="Courier New" bold="1" size="12" />
<source>"Lista clienti occasionali per quadro IVA VT anno " + #ANNO</source>
</field>
<field border="3" y="2" type="Linea" width="80" height="0" pattern="1" />
</section>
<section type="Head" level="1" pattern="1" />
<section type="Head" level="2" pattern="1">
<groupby>23.CODCF</groupby>
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2</prescript>
<field type="Rettangolo" bg_color="#E2E2E2" width="70" height="2" pattern="2" />
<field y="0.5" type="Testo" width="10" pattern="1" text="Cliente">
<font face="Courier New" bold="1" size="12" />
</field>
<field x="10" y="0.5" type="Numero" align="right" width="8" pattern="1">
<font face="Courier New" bold="1" size="12" />
<source>23.CODCF</source>
</field>
<field x="19" y="0.5" type="Stringa" width="50" pattern="1">
<font face="Courier New" bold="1" size="12" />
<source>20.RAGSOC</source>
</field>
</section>
<section type="Head" level="3" pattern="1">
<groupby>23.OCFPI</groupby>
<prescript description="H3 PRESCRIPT">MESSAGE RESET,F3</prescript>
<field type="Testo" width="10" pattern="1" text="Cliente">
<font face="Courier New" bold="1" size="12" />
</field>
<field x="10" type="Stringa" align="right" width="20" pattern="1">
<font face="Courier New" bold="1" size="12" />
<source>23.OCFPI</source>
</field>
<field x="31" type="Stringa" width="49" pattern="1">
<font face="Courier New" bold="1" size="12" />
<source>18.RAGSOC</source>
</field>
<field border="1" y="1" type="Linea" width="70" height="0" pattern="1" />
<field x="1" y="1.25" type="Testo" width="16" pattern="1" text="N.Operazione" />
<field x="19" y="1.25" type="Testo" align="right" width="18" pattern="1" text="Imponibile" />
<field x="41" y="1.25" type="Testo" width="6" pattern="1" text="Cod." />
<field x="50" y="1.25" type="Testo" align="right" width="18" pattern="1" text="Imposta" />
</section>
<section type="Body" pattern="1" />
<section type="Body" level="1" pattern="1">
<field x="1" type="Numero" align="right" width="6" pattern="1">
<source>RMOVIVA.NUMREG</source>
</field>
<field x="16" type="Valuta" align="right" width="20" pattern="1" text="###.###.###,@@">
<source>RMOVIVA.IMPONIBILE</source>
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F3.101</prescript>
</field>
<field x="41" type="Stringa" width="4" pattern="1">
<source>RMOVIVA.CODIVA</source>
</field>
<field x="50" type="Valuta" align="right" width="18" pattern="1" text="###.###.###,@@">
<source>RMOVIVA.IMPOSTA</source>
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F3.102</prescript>
</field>
</section>
<section type="Foot" pattern="1" />
<section type="Foot" level="1" pattern="1">
<field border="2" y="0.5" type="Linea" width="70" height="0" pattern="1" />
<field border="2" y="0.75" type="Linea" width="70" height="0" pattern="1" />
<field x="2" y="1" type="Testo" width="15" pattern="1" text="Totale generale" />
<field x="18" y="1" type="Valuta" align="right" width="18" id="201" pattern="1" text="###.###.###,@@" />
<field x="50" y="1" type="Valuta" align="right" width="18" id="202" pattern="1" text="###.###.###,@@" />
</section>
<section type="Foot" level="2" pattern="1">
<field x="2" y="1" type="Testo" width="14" pattern="1" text="Totale Cliente" />
<field x="18" y="1" type="Valuta" align="right" width="18" id="201" pattern="1" text="###.###.###,@@">
<prescript description="F2.201 PRESCRIPT">MESSAGE ADD,F1.201</prescript>
</field>
<field x="50" y="1" type="Valuta" align="right" width="18" id="202" pattern="1" text="###.###.###,@@">
<prescript description="F2.202 PRESCRIPT">MESSAGE ADD,F1.202</prescript>
</field>
</section>
<section type="Foot" level="3" pattern="1">
<field x="1" y="0.5" type="Testo" width="16" pattern="1" text="Tot.occasionale" />
<field x="18" y="0.5" type="Valuta" align="right" width="18" id="101" pattern="1" text="###.###.###,@@">
<prescript description="F3.101 PRESCRIPT">MESSAGE ADD,F2.201</prescript>
</field>
<field x="50" y="0.5" type="Valuta" align="right" width="18" id="102" pattern="1" text="###.###.###,@@">
<prescript description="F3.102 PRESCRIPT">MESSAGE ADD,F2.202</prescript>
</field>
</section>
<sql>USE RMOVIVA SE (23.TIPO=="C")&#26;&#26;(23.ANNOIVA=#ANNO)&#26;&#26;(20.OCCAS=="X")
BY 23.ANNOIVA 23.CODCF 23.OCFPI NUMREG
JOIN MOV INTO NUMREG==NUMREG
JOIN OCCAS TO MOV INTO CFPI==OCFPI
JOIN CLIFO TO MOV INTO TIPOCF==TIPO CODCF==CODCF
JOIN %IVA TO RMOVIVA ALIAS 202 INTO CODTAB==CODIVA</sql>
</report>