2016-09-23 15:40:14 +00:00
|
|
|
<?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" height="4" pattern="1">
|
|
|
|
<groupby>23.OCFPI</groupby>
|
2016-09-29 18:44:09 +00:00
|
|
|
<prescript description="H2 PRESCRIPT">0 #F2.101 !
|
|
|
|
0 #F2.102 !</prescript>
|
2016-09-23 15:40:14 +00:00
|
|
|
<field y="1" type="Testo" width="10" pattern="1" text="Cliente">
|
|
|
|
<font face="Courier New" bold="1" size="12" />
|
|
|
|
</field>
|
|
|
|
<field x="10" y="1" 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="1" type="Stringa" width="49" pattern="1">
|
|
|
|
<font face="Courier New" bold="1" size="12" />
|
|
|
|
<source>18.RAGSOC</source>
|
|
|
|
</field>
|
|
|
|
<field border="1" y="2" type="Linea" width="70" height="0" pattern="1" />
|
|
|
|
<field x="1" y="2.25" type="Testo" width="16" pattern="1" text="N.Operazione" />
|
|
|
|
<field x="19" y="2.25" type="Testo" align="right" width="18" pattern="1" text="Imponibile" />
|
|
|
|
<field x="41" y="2.25" type="Testo" width="6" pattern="1" text="Cod." />
|
|
|
|
<field x="50" y="2.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>
|
2016-09-26 22:23:09 +00:00
|
|
|
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F2.101</prescript>
|
2016-09-23 15:40:14 +00:00
|
|
|
</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>
|
2016-09-26 22:23:09 +00:00
|
|
|
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F2.102</prescript>
|
2016-09-23 15:40:14 +00:00
|
|
|
</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="101" pattern="1" text="###.###.###,@@">
|
|
|
|
<prescript description="F3.101 PRESCRIPT">MESSAGE ADD,F1.201</prescript>
|
|
|
|
</field>
|
|
|
|
<field x="50" y="1" type="Valuta" align="right" width="18" id="102" pattern="1" text="###.###.###,@@">
|
|
|
|
<prescript description="F3.102 PRESCRIPT">MESSAGE ADD,F1.202</prescript>
|
|
|
|
</field>
|
|
|
|
</section>
|
|
|
|
<sql>USE RMOVIVA SE (23.TIPO=="C")(23.ANNOIVA=#ANNO)(20.OCCAS=="X")(202@.S1=="")
|
|
|
|
BY 23.ANNOIVA 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>
|
2016-09-09 13:58:28 +00:00
|
|
|
</report>
|