Patch level : 10.0 290

Files correlati     :  ve7.exe
Commento            :

Dichiarazione IVA inizio 

git-svn-id: svn://10.65.10.50/branches/R_10_00@23312 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
bonazzi 2016-09-21 14:54:36 +00:00
parent 1d6df778d7
commit 406142c380
12 changed files with 1135 additions and 12 deletions

View File

@ -33,7 +33,7 @@ BEGIN
FLAGS "B"
END
STRING F_REPORT 1
STRING F_REPORT 2
BEGIN
PROMPT 3 9 "Report "
FLAGS "B"

View File

@ -102,10 +102,13 @@ void TQuadro_IVA_selfirm_mask::build_report_sheet()
_reports.add("|2|cg7500c|Stampa cessioni Intracomunitarie");
_reports.add("|3|cg7500d|Stampa cessioni verso San Marino");
_reports.add("|4|cg7500e|Stampa operazioni assimilate");
_reports.add("|5|cg7500f|Stampa operazioni non imponibili in seguito a dichirazione d'intenti");
_reports.add("|5|cg7500f|Stampa operazioni non imp. in seguito a dich. d'intenti");
_reports.add("|6|cg7500g|Stampa altre operazioni non imponibili");
_reports.add("|7|cg7500h|Stampa esenti art. 10");
_reports.add("|8|cg7500i|Stampa operazioni non soggette ai sensi art. 7 da uno a septies");
_reports.add("|8|cg7500i|Stampa operazioni non sogg. ai sensi art.7 da uno a septies");
_reports.add("|9|cg7500l|Stampa operazioni reverse charge");
_reports.add("|10|cg7500m|Stampa operazioni terremotati");
_reports.add("|11|cg7500n|Stampa operazioni effettuate con PA ai sensi art.17");
break;
default :
break;

View File

@ -27,7 +27,7 @@ BEGIN
FLAGS "B"
END
STRING F_REPORT 1
STRING F_REPORT 2
BEGIN
PROMPT 3 9 "Report "
FLAGS "B"

View File

@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8" ?>
<report name="cg7400b" orientation="2" lpi="6">
<description>Dichiarazione IVA Quadro VE</description>
<report name="cg7500b" orientation="2" lpi="6">
<description>Dichiarazione IVA Quadro VE - Esportazioni</description>
<font face="Arial" size="8" />
<section type="Head" pattern="1">
<field x="130" type="Stringa" align="right" width="30" pattern="1">
<source>"Pag. " +#PAGE</source>
</field>
<field x="2" y="0.5" type="Testo" align="right" width="7" pattern="1" text="Num.Reg" />
<field x="10" y="0.5" type="Testo" hidden="1" width="3" pattern="1" text="N.R." />
<field x="14" y="0.5" type="Testo" width="10" pattern="1" text="Data Reg." />
@ -26,11 +29,11 @@
<font face="Arial" bold="1" size="8" />
<source>#SYSTEM.RAGSOC</source>
</field>
<field x="97" type="Stringa" align="right" width="30" pattern="1">
<source>"Data di Stampa: "+#SYSTEM.DATE+" - Pag. "+#PAGE</source>
<field x="130" type="Stringa" align="right" width="30" pattern="1">
<source>"Data di Stampa: " +#SYSTEM.DATE</source>
</field>
<field x="2" y="1" type="Stringa" align="center" width="125" pattern="1">
<source>"ELENCO FATTURE ESPORTAZIONE - "+#ANNO</source>
<source>"ELENCO FATTURE ESPORTAZIONE - " +#ANNO</source>
</field>
</section>
<section type="Head" level="2" hidden="1" pattern="1">
@ -42,7 +45,6 @@
</section>
<section type="Body" pattern="1" />
<section type="Body" level="1" hidden="1" bg_color="#80FF80" pattern="2">
<condition>201@.S3="1"</condition>
<field x="126" type="Stringa" width="10" pattern="1">
<source>201@.S3</source>
</field>
@ -119,8 +121,9 @@
<prescript description="F2.100 PRESCRIPT">MESSAGE ADD,F1.100</prescript>
</field>
</section>
<sql>USE RMOVIVA SELECT (23.ANNOIVA=#ANNO)&#26;&#26;((201@.S3="1")||(201@.S3="2"))
<sql>USE RMOVIVA SELECT (23.ANNOIVA=#ANNO)&#26;&#26;(23.TIPO="C")&#26;&#26;((201@.S3="1")||(201@.S3="2"))&#26;&#26;(INTRA!="X")&#26;&#26;(202@.B1!="X")
JOIN MOV INTO NUMREG==NUMREG
JOIN 20 TO MOV INTO TIPOCF==TIPO CODCF==CODCF
JOIN %IVA ALIAS 201 INTO CODTAB=CODIVA</sql>
JOIN %IVA ALIAS 201 INTO CODTAB=CODIVA
JOIN %STA TO CLIFO ALIAS 202 INTO CODTAB==STATOCF</sql>
</report>

135
src/cg/cg7500c.rep Normal file
View File

@ -0,0 +1,135 @@
<?xml version="1.0" encoding="UTF-8" ?>
<report name="cg7500c" orientation="2" lpi="6">
<description>Dichiarazione IVA Quadro VE intracomunitarie</description>
<font face="Arial" size="8" />
<section type="Head" pattern="1">
<field x="130" type="Stringa" align="right" width="30" pattern="1">
<source>"Pag. " +#PAGE</source>
</field>
<field x="2" y="0.75" type="Testo" align="right" width="7" pattern="1" text="Num.Reg" />
<field x="10" y="0.75" type="Testo" hidden="1" width="3" pattern="1" text="N.R." />
<field x="14" y="0.75" type="Testo" width="10" pattern="1" text="Data Reg." />
<field x="25" y="0.75" type="Stringa" hidden="1" width="1" pattern="1">
<source>RMOVIVA.INTRA</source>
</field>
<field x="27" y="0.75" type="Testo" width="10" pattern="1" text="Data Doc." />
<field x="38" y="0.75" type="Testo" width="7" pattern="1" text="N. Doc." />
<field x="46" y="0.75" type="Testo" width="4" pattern="1" text="Caus" />
<field x="51" y="0.75" type="Testo" width="50" pattern="1" text="Cliente Ragione Sociale" />
<field x="102" y="0.75" type="Testo" align="right" width="18" pattern="1" text="Imponibile" />
<field x="121" y="0.75" type="Testo" width="4" pattern="1" text="C.Iva" />
<field x="126" y="0.75" type="Stringa" hidden="1" width="10" pattern="1">
<source>201@.S3</source>
</field>
<field border="2" x="2" y="1.75" type="Linea" width="125" height="0" pattern="1" />
</section>
<section type="Head" level="1" pattern="1">
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1</prescript>
<field x="2" type="Stringa" width="40" pattern="1">
<font face="Arial" bold="1" size="8" />
<source>#SYSTEM.RAGSOC</source>
</field>
<field x="130" type="Stringa" align="right" width="30" pattern="1">
<source>"Data di Stampa: " +#SYSTEM.DATE</source>
</field>
<field x="2" y="1" type="Stringa" align="center" width="125" pattern="1">
<source>"ELENCO FATTURE CESSIONI INTRACOMUNITARIE - " +#ANNO</source>
</field>
</section>
<section type="Head" level="2" hidden="1" pattern="1">
<groupby>NUMREG+CODIVA</groupby>
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2</prescript>
<field type="Stringa" width="10" pattern="1">
<source>NUMREG+" "+CODIVA</source>
</field>
</section>
<section type="Body" pattern="1" />
<section type="Body" level="1" bg_color="#80FF80" pattern="2">
<field x="126" type="Stringa" width="3" pattern="1">
<source>201@.S3</source>
</field>
<field x="130" type="Stringa" width="3" pattern="1">
<source>202@.B1</source>
</field>
<field x="137" type="Stringa" width="10" pattern="1">
<source>202@.S0</source>
</field>
<field x="2" type="Numero" align="right" width="7" id="5" pattern="1">
<source>RMOVIVA.NUMREG</source>
</field>
<field x="10" type="Numero" align="right" width="3" id="10" pattern="1">
<source>RMOVIVA.NUMRIG</source>
</field>
<field x="14" type="Data" width="10" id="15" pattern="1">
<source>MOV.DATAREG</source>
</field>
<field x="25" type="Stringa" width="1" id="20" pattern="1">
<source>RMOVIVA.INTRA</source>
</field>
<field x="27" type="Data" width="10" id="25" pattern="1">
<source>MOV.DATADOC</source>
</field>
<field x="38" type="Stringa" width="7" id="30" pattern="1">
<source>MOV.NUMDOC</source>
</field>
<field x="46" type="Stringa" width="4" id="35" pattern="1">
<source>MOV.CODCAUS</source>
</field>
<field x="51" type="Stringa" width="50" id="40" pattern="1">
<source>CLIFO.RAGSOC</source>
</field>
<field x="102" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
<source>RMOVIVA.IMPONIBILE</source>
<prescript description="B1.100 PRESCRIPT">MESSAGE ADD,F2.100</prescript>
</field>
<field x="121" type="Stringa" width="4" id="105" pattern="1">
<source>RMOVIVA.CODIVA</source>
</field>
</section>
<section type="Foot" pattern="1" />
<section type="Foot" level="1" pattern="1">
<field border="2" x="2" y="0.5" type="Linea" width="125" height="0" pattern="1" />
<field x="50" y="1" type="Testo" align="right" width="50" pattern="1" text="TOTALE GENERALE:" />
<field x="102" y="1" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@" />
</section>
<section type="Foot" level="2" height="1" pattern="1">
<field x="2" type="Numero" align="right" link="23.NUMREG" width="7" pattern="1">
<source>#B1.5</source>
</field>
<field x="10" type="Numero" hidden="1" align="right" width="3" pattern="1">
<source>RMOVIVA.NUMRIG</source>
</field>
<field x="14" type="Data" width="10" pattern="1">
<source>#B1.15</source>
</field>
<field x="25" type="Stringa" hidden="1" width="1" pattern="1">
<source>RMOVIVA.INTRA</source>
</field>
<field x="27" type="Data" width="10" pattern="1">
<source>#B1.25</source>
</field>
<field x="38" type="Stringa" width="7" pattern="1">
<source>#B1.30</source>
</field>
<field x="46" type="Stringa" width="4" pattern="1">
<source>#B1.35</source>
</field>
<field x="51" type="Stringa" width="50" pattern="1">
<source>#B1.40</source>
</field>
<field x="121" type="Stringa" width="4" pattern="1">
<source>#B1.105</source>
</field>
<field x="126" type="Stringa" hidden="1" width="10" pattern="1">
<source>201@.S3</source>
</field>
<field x="102" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
<prescript description="F2.100 PRESCRIPT">MESSAGE ADD,F1.100</prescript>
</field>
</section>
<sql>USE RMOVIVA SELECT (23.ANNOIVA=#ANNO)&#26;&#26;(23.TIPO="C")&#26;&#26;(INTRA="X")&#26;&#26;(201@.S3="")&#26;&#26;(202@.B1!="X")
JOIN MOV INTO NUMREG==NUMREG
JOIN 20 TO MOV INTO TIPOCF==TIPO CODCF==CODCF
JOIN %IVA ALIAS 201 INTO CODTAB==CODIVA
JOIN %STA TO CLIFO ALIAS 202 INTO CODTAB==STATOCF</sql>
</report>

135
src/cg/cg7500d.rep Normal file
View File

@ -0,0 +1,135 @@
<?xml version="1.0" encoding="UTF-8" ?>
<report name="cg7500d" orientation="2" lpi="6">
<description>Dichiarazione IVA Quadro VE - San Marino</description>
<font face="Arial" size="8" />
<section type="Head" pattern="1">
<field x="130" type="Stringa" align="right" width="30" pattern="1">
<source>"Pag. " +#PAGE</source>
</field>
<field x="2" y="0.75" type="Testo" align="right" width="7" pattern="1" text="Num.Reg" />
<field x="10" y="0.75" type="Testo" hidden="1" width="3" pattern="1" text="N.R." />
<field x="14" y="0.75" type="Testo" width="10" pattern="1" text="Data Reg." />
<field x="25" y="0.75" type="Stringa" hidden="1" width="1" pattern="1">
<source>RMOVIVA.INTRA</source>
</field>
<field x="27" y="0.75" type="Testo" width="10" pattern="1" text="Data Doc." />
<field x="38" y="0.75" type="Testo" width="7" pattern="1" text="N. Doc." />
<field x="46" y="0.75" type="Testo" width="4" pattern="1" text="Caus" />
<field x="51" y="0.75" type="Testo" width="50" pattern="1" text="Cliente Ragione Sociale" />
<field x="102" y="0.75" type="Testo" align="right" width="18" pattern="1" text="Imponibile" />
<field x="121" y="0.75" type="Testo" width="4" pattern="1" text="C.Iva" />
<field x="126" y="0.75" type="Stringa" hidden="1" width="10" pattern="1">
<source>201@.S3</source>
</field>
<field border="2" x="2" y="1.75" type="Linea" width="125" height="0" pattern="1" />
</section>
<section type="Head" level="1" pattern="1">
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1</prescript>
<field x="2" type="Stringa" width="40" pattern="1">
<font face="Arial" bold="1" size="8" />
<source>#SYSTEM.RAGSOC</source>
</field>
<field x="130" type="Stringa" align="right" width="30" pattern="1">
<source>"Data di Stampa: " +#SYSTEM.DATE</source>
</field>
<field x="2" y="1" type="Stringa" align="center" width="125" pattern="1">
<source>"ELENCO FATTURE CESSIONI VERSO SAN MARINO - " +#ANNO</source>
</field>
</section>
<section type="Head" level="2" hidden="1" pattern="1">
<groupby>NUMREG+CODIVA</groupby>
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2</prescript>
<field type="Stringa" width="10" pattern="1">
<source>NUMREG+" "+CODIVA</source>
</field>
</section>
<section type="Body" pattern="1" />
<section type="Body" level="1" hidden="1" bg_color="#80FF80" pattern="2">
<field x="126" type="Stringa" width="3" pattern="1">
<source>201@.S3</source>
</field>
<field x="130" type="Stringa" width="3" pattern="1">
<source>202@.B1</source>
</field>
<field x="137" type="Stringa" width="10" pattern="1">
<source>202@.S0</source>
</field>
<field x="2" type="Numero" align="right" width="7" id="5" pattern="1">
<source>RMOVIVA.NUMREG</source>
</field>
<field x="10" type="Numero" align="right" width="3" id="10" pattern="1">
<source>RMOVIVA.NUMRIG</source>
</field>
<field x="14" type="Data" width="10" id="15" pattern="1">
<source>MOV.DATAREG</source>
</field>
<field x="25" type="Stringa" width="1" id="20" pattern="1">
<source>RMOVIVA.INTRA</source>
</field>
<field x="27" type="Data" width="10" id="25" pattern="1">
<source>MOV.DATADOC</source>
</field>
<field x="38" type="Stringa" width="7" id="30" pattern="1">
<source>MOV.NUMDOC</source>
</field>
<field x="46" type="Stringa" width="4" id="35" pattern="1">
<source>MOV.CODCAUS</source>
</field>
<field x="51" type="Stringa" width="50" id="40" pattern="1">
<source>CLIFO.RAGSOC</source>
</field>
<field x="102" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
<source>RMOVIVA.IMPONIBILE</source>
<prescript description="B1.100 PRESCRIPT">MESSAGE ADD,F2.100</prescript>
</field>
<field x="121" type="Stringa" width="4" id="105" pattern="1">
<source>RMOVIVA.CODIVA</source>
</field>
</section>
<section type="Foot" pattern="1" />
<section type="Foot" level="1" pattern="1">
<field border="2" x="2" y="0.5" type="Linea" width="125" height="0" pattern="1" />
<field x="50" y="1" type="Testo" align="right" width="50" pattern="1" text="TOTALE GENERALE:" />
<field x="102" y="1" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@" />
</section>
<section type="Foot" level="2" height="1" pattern="1">
<field x="2" type="Numero" align="right" link="23.NUMREG" width="7" pattern="1">
<source>#B1.5</source>
</field>
<field x="10" type="Numero" hidden="1" align="right" width="3" pattern="1">
<source>RMOVIVA.NUMRIG</source>
</field>
<field x="14" type="Data" width="10" pattern="1">
<source>#B1.15</source>
</field>
<field x="25" type="Stringa" hidden="1" width="1" pattern="1">
<source>RMOVIVA.INTRA</source>
</field>
<field x="27" type="Data" width="10" pattern="1">
<source>#B1.25</source>
</field>
<field x="38" type="Stringa" width="7" pattern="1">
<source>#B1.30</source>
</field>
<field x="46" type="Stringa" width="4" pattern="1">
<source>#B1.35</source>
</field>
<field x="51" type="Stringa" width="50" pattern="1">
<source>#B1.40</source>
</field>
<field x="121" type="Stringa" width="4" pattern="1">
<source>#B1.105</source>
</field>
<field x="126" type="Stringa" hidden="1" width="10" pattern="1">
<source>201@.S3</source>
</field>
<field x="102" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
<prescript description="F2.100 PRESCRIPT">MESSAGE ADD,F1.100</prescript>
</field>
</section>
<sql>USE RMOVIVA SELECT (23.ANNOIVA=#ANNO)&#26;&#26;(23.TIPO="C")&#26;&#26;(201@.S3="")&#26;&#26;(202@.B1="X")
JOIN MOV INTO NUMREG==NUMREG
JOIN 20 TO MOV INTO TIPOCF==TIPO CODCF==CODCF
JOIN %IVA ALIAS 201 INTO CODTAB==CODIVA
JOIN %STA TO CLIFO ALIAS 202 INTO CODTAB==STATOCF</sql>
</report>

135
src/cg/cg7500e.rep Normal file
View File

@ -0,0 +1,135 @@
<?xml version="1.0" encoding="UTF-8" ?>
<report name="cg7500e" orientation="2" lpi="6">
<description>Dichiarazione IVA Quadro VE - Assimilate</description>
<font face="Arial" size="8" />
<section type="Head" pattern="1">
<field x="130" type="Stringa" align="right" width="30" pattern="1">
<source>"Pag. " +#PAGE</source>
</field>
<field x="2" y="0.75" type="Testo" align="right" width="7" pattern="1" text="Num.Reg" />
<field x="10" y="0.75" type="Testo" hidden="1" width="3" pattern="1" text="N.R." />
<field x="14" y="0.75" type="Testo" width="10" pattern="1" text="Data Reg." />
<field x="25" y="0.75" type="Stringa" hidden="1" width="1" pattern="1">
<source>RMOVIVA.INTRA</source>
</field>
<field x="27" y="0.75" type="Testo" width="10" pattern="1" text="Data Doc." />
<field x="38" y="0.75" type="Testo" width="7" pattern="1" text="N. Doc." />
<field x="46" y="0.75" type="Testo" width="4" pattern="1" text="Caus" />
<field x="51" y="0.75" type="Testo" width="50" pattern="1" text="Cliente Ragione Sociale" />
<field x="102" y="0.75" type="Testo" align="right" width="18" pattern="1" text="Imponibile" />
<field x="121" y="0.75" type="Testo" width="4" pattern="1" text="C.Iva" />
<field x="126" y="0.75" type="Stringa" hidden="1" width="10" pattern="1">
<source>201@.S3</source>
</field>
<field border="2" x="2" y="1.75" type="Linea" width="125" height="0" pattern="1" />
</section>
<section type="Head" level="1" pattern="1">
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1</prescript>
<field x="2" type="Stringa" width="40" pattern="1">
<font face="Arial" bold="1" size="8" />
<source>#SYSTEM.RAGSOC</source>
</field>
<field x="130" type="Stringa" align="right" width="30" pattern="1">
<source>"Data di Stampa: " +#SYSTEM.DATE</source>
</field>
<field x="2" y="1" type="Stringa" align="center" width="125" pattern="1">
<source>"ELENCO FATTURE OPERAZIONI ASSIMILATE - " +#ANNO</source>
</field>
</section>
<section type="Head" level="2" hidden="1" pattern="1">
<groupby>NUMREG+CODIVA</groupby>
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2</prescript>
<field type="Stringa" width="10" pattern="1">
<source>NUMREG+" "+CODIVA</source>
</field>
</section>
<section type="Body" pattern="1" />
<section type="Body" level="1" hidden="1" bg_color="#80FF80" pattern="2">
<field x="126" type="Stringa" width="3" pattern="1">
<source>201@.S3</source>
</field>
<field x="130" type="Stringa" width="3" pattern="1">
<source>202@.B1</source>
</field>
<field x="137" type="Stringa" width="10" pattern="1">
<source>202@.S0</source>
</field>
<field x="2" type="Numero" align="right" width="7" id="5" pattern="1">
<source>RMOVIVA.NUMREG</source>
</field>
<field x="10" type="Numero" align="right" width="3" id="10" pattern="1">
<source>RMOVIVA.NUMRIG</source>
</field>
<field x="14" type="Data" width="10" id="15" pattern="1">
<source>MOV.DATAREG</source>
</field>
<field x="25" type="Stringa" width="1" id="20" pattern="1">
<source>RMOVIVA.INTRA</source>
</field>
<field x="27" type="Data" width="10" id="25" pattern="1">
<source>MOV.DATADOC</source>
</field>
<field x="38" type="Stringa" width="7" id="30" pattern="1">
<source>MOV.NUMDOC</source>
</field>
<field x="46" type="Stringa" width="4" id="35" pattern="1">
<source>MOV.CODCAUS</source>
</field>
<field x="51" type="Stringa" width="50" id="40" pattern="1">
<source>CLIFO.RAGSOC</source>
</field>
<field x="102" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
<source>RMOVIVA.IMPONIBILE</source>
<prescript description="B1.100 PRESCRIPT">MESSAGE ADD,F2.100</prescript>
</field>
<field x="121" type="Stringa" width="4" id="105" pattern="1">
<source>RMOVIVA.CODIVA</source>
</field>
</section>
<section type="Foot" pattern="1" />
<section type="Foot" level="1" pattern="1">
<field border="2" x="2" y="0.5" type="Linea" width="125" height="0" pattern="1" />
<field x="50" y="1" type="Testo" align="right" width="50" pattern="1" text="TOTALE GENERALE:" />
<field x="102" y="1" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@" />
</section>
<section type="Foot" level="2" height="1" pattern="1">
<field x="2" type="Numero" align="right" link="23.NUMREG" width="7" pattern="1">
<source>#B1.5</source>
</field>
<field x="10" type="Numero" hidden="1" align="right" width="3" pattern="1">
<source>RMOVIVA.NUMRIG</source>
</field>
<field x="14" type="Data" width="10" pattern="1">
<source>#B1.15</source>
</field>
<field x="25" type="Stringa" hidden="1" width="1" pattern="1">
<source>RMOVIVA.INTRA</source>
</field>
<field x="27" type="Data" width="10" pattern="1">
<source>#B1.25</source>
</field>
<field x="38" type="Stringa" width="7" pattern="1">
<source>#B1.30</source>
</field>
<field x="46" type="Stringa" width="4" pattern="1">
<source>#B1.35</source>
</field>
<field x="51" type="Stringa" width="50" pattern="1">
<source>#B1.40</source>
</field>
<field x="121" type="Stringa" width="4" pattern="1">
<source>#B1.105</source>
</field>
<field x="126" type="Stringa" hidden="1" width="10" pattern="1">
<source>201@.S3</source>
</field>
<field x="102" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
<prescript description="F2.100 PRESCRIPT">MESSAGE ADD,F1.100</prescript>
</field>
</section>
<sql>USE RMOVIVA SELECT (23.ANNOIVA=#ANNO)&#26;&#26;(23.TIPO="C")&#26;&#26;(201@.S3="3")&#26;&#26;(202@.B1!="X")&#26;&#26;(INTRA!="X")
JOIN MOV INTO NUMREG==NUMREG
JOIN 20 TO MOV INTO TIPOCF==TIPO CODCF==CODCF
JOIN %IVA ALIAS 201 INTO CODTAB==CODIVA
JOIN %STA TO CLIFO ALIAS 202 INTO CODTAB==STATOCF</sql>
</report>

135
src/cg/cg7500f.rep Normal file
View File

@ -0,0 +1,135 @@
<?xml version="1.0" encoding="UTF-8" ?>
<report name="cg7500f" orientation="2" lpi="6">
<description>Dichiarazione IVA Quadro VE - Intento</description>
<font face="Arial" size="8" />
<section type="Head" pattern="1">
<field x="130" type="Stringa" align="right" width="30" pattern="1">
<source>"Pag. " +#PAGE</source>
</field>
<field x="2" y="0.75" type="Testo" align="right" width="7" pattern="1" text="Num.Reg" />
<field x="10" y="0.75" type="Testo" hidden="1" width="3" pattern="1" text="N.R." />
<field x="14" y="0.75" type="Testo" width="10" pattern="1" text="Data Reg." />
<field x="25" y="0.75" type="Stringa" hidden="1" width="1" pattern="1">
<source>RMOVIVA.INTRA</source>
</field>
<field x="27" y="0.75" type="Testo" width="10" pattern="1" text="Data Doc." />
<field x="38" y="0.75" type="Testo" width="7" pattern="1" text="N. Doc." />
<field x="46" y="0.75" type="Testo" width="4" pattern="1" text="Caus" />
<field x="51" y="0.75" type="Testo" width="50" pattern="1" text="Cliente Ragione Sociale" />
<field x="102" y="0.75" type="Testo" align="right" width="18" pattern="1" text="Imponibile" />
<field x="121" y="0.75" type="Testo" width="4" pattern="1" text="C.Iva" />
<field x="126" y="0.75" type="Stringa" hidden="1" width="10" pattern="1">
<source>201@.S3</source>
</field>
<field border="2" x="2" y="1.75" type="Linea" width="125" height="0" pattern="1" />
</section>
<section type="Head" level="1" pattern="1">
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1</prescript>
<field x="2" type="Stringa" width="40" pattern="1">
<font face="Arial" bold="1" size="8" />
<source>#SYSTEM.RAGSOC</source>
</field>
<field x="130" type="Stringa" align="right" width="30" pattern="1">
<source>"Data di Stampa: " +#SYSTEM.DATE</source>
</field>
<field x="2" y="1" type="Stringa" align="center" width="125" pattern="1">
<source>"ELENCO OPERAZIONI NON IMPONIBILI A SEGUITO DI DICHIARAZIONI DI INTENTO - " +#ANNO</source>
</field>
</section>
<section type="Head" level="2" hidden="1" pattern="1">
<groupby>NUMREG+CODIVA</groupby>
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2</prescript>
<field type="Stringa" width="10" pattern="1">
<source>NUMREG+" "+CODIVA</source>
</field>
</section>
<section type="Body" pattern="1" />
<section type="Body" level="1" hidden="1" bg_color="#80FF80" pattern="2">
<field x="126" type="Stringa" width="3" pattern="1">
<source>201@.S1</source>
</field>
<field x="130" type="Numero" align="right" width="3" pattern="1">
<source>201@.S2</source>
</field>
<field x="137" type="Stringa" hidden="1" width="10" pattern="1">
<source>202@.S0</source>
</field>
<field x="2" type="Numero" align="right" width="7" id="5" pattern="1">
<source>RMOVIVA.NUMREG</source>
</field>
<field x="10" type="Numero" align="right" width="3" id="10" pattern="1">
<source>RMOVIVA.NUMRIG</source>
</field>
<field x="14" type="Data" width="10" id="15" pattern="1">
<source>MOV.DATAREG</source>
</field>
<field x="25" type="Stringa" width="1" id="20" pattern="1">
<source>RMOVIVA.INTRA</source>
</field>
<field x="27" type="Data" width="10" id="25" pattern="1">
<source>MOV.DATADOC</source>
</field>
<field x="38" type="Stringa" width="7" id="30" pattern="1">
<source>MOV.NUMDOC</source>
</field>
<field x="46" type="Stringa" width="4" id="35" pattern="1">
<source>MOV.CODCAUS</source>
</field>
<field x="51" type="Stringa" width="50" id="40" pattern="1">
<source>CLIFO.RAGSOC</source>
</field>
<field x="102" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
<source>RMOVIVA.IMPONIBILE</source>
<prescript description="B1.100 PRESCRIPT">MESSAGE ADD,F2.100</prescript>
</field>
<field x="121" type="Stringa" width="4" id="105" pattern="1">
<source>RMOVIVA.CODIVA</source>
</field>
</section>
<section type="Foot" pattern="1" />
<section type="Foot" level="1" pattern="1">
<field border="2" x="2" y="0.5" type="Linea" width="125" height="0" pattern="1" />
<field x="50" y="1" type="Testo" align="right" width="50" pattern="1" text="TOTALE GENERALE:" />
<field x="102" y="1" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@" />
</section>
<section type="Foot" level="2" height="1" pattern="1">
<field x="2" type="Numero" align="right" link="23.NUMREG" width="7" pattern="1">
<source>#B1.5</source>
</field>
<field x="10" type="Numero" hidden="1" align="right" width="3" pattern="1">
<source>RMOVIVA.NUMRIG</source>
</field>
<field x="14" type="Data" width="10" pattern="1">
<source>#B1.15</source>
</field>
<field x="25" type="Stringa" hidden="1" width="1" pattern="1">
<source>RMOVIVA.INTRA</source>
</field>
<field x="27" type="Data" width="10" pattern="1">
<source>#B1.25</source>
</field>
<field x="38" type="Stringa" width="7" pattern="1">
<source>#B1.30</source>
</field>
<field x="46" type="Stringa" width="4" pattern="1">
<source>#B1.35</source>
</field>
<field x="51" type="Stringa" width="50" pattern="1">
<source>#B1.40</source>
</field>
<field x="121" type="Stringa" width="4" pattern="1">
<source>#B1.105</source>
</field>
<field x="126" type="Stringa" hidden="1" width="10" pattern="1">
<source>201@.S3</source>
</field>
<field x="102" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
<prescript description="F2.100 PRESCRIPT">MESSAGE ADD,F1.100</prescript>
</field>
</section>
<sql>USE RMOVIVA SELECT (23.ANNOIVA=#ANNO)&#26;&#26;(23.TIPO="C")&#26;&#26;(201@.S1="NI")&#26;&#26;(201@.S2="21")
JOIN MOV INTO NUMREG==NUMREG
JOIN 20 TO MOV INTO TIPOCF==TIPO CODCF==CODCF
JOIN %IVA ALIAS 201 INTO CODTAB==CODIVA
JOIN %STA TO CLIFO ALIAS 202 INTO CODTAB==STATOCF</sql>
</report>

135
src/cg/cg7500g.rep Normal file
View File

@ -0,0 +1,135 @@
<?xml version="1.0" encoding="UTF-8" ?>
<report name="CG7500G" orientation="2" lpi="6">
<description>Dichiarazione IVA Quadro VE - Altri NI</description>
<font face="Arial" size="8" />
<section type="Head" pattern="1">
<field x="130" type="Stringa" align="right" width="30" pattern="1">
<source>"Pag. " +#PAGE</source>
</field>
<field x="2" y="0.75" type="Testo" align="right" width="7" pattern="1" text="Num.Reg" />
<field x="10" y="0.75" type="Testo" hidden="1" width="3" pattern="1" text="N.R." />
<field x="14" y="0.75" type="Testo" width="10" pattern="1" text="Data Reg." />
<field x="25" y="0.75" type="Stringa" hidden="1" width="1" pattern="1">
<source>RMOVIVA.INTRA</source>
</field>
<field x="27" y="0.75" type="Testo" width="10" pattern="1" text="Data Doc." />
<field x="38" y="0.75" type="Testo" width="7" pattern="1" text="N. Doc." />
<field x="46" y="0.75" type="Testo" width="4" pattern="1" text="Caus" />
<field x="51" y="0.75" type="Testo" width="50" pattern="1" text="Cliente Ragione Sociale" />
<field x="102" y="0.75" type="Testo" align="right" width="18" pattern="1" text="Imponibile" />
<field x="121" y="0.75" type="Testo" width="4" pattern="1" text="C.Iva" />
<field x="126" y="0.75" type="Stringa" hidden="1" width="10" pattern="1">
<source>201@.S3</source>
</field>
<field border="2" x="2" y="1.75" type="Linea" width="125" height="0" pattern="1" />
</section>
<section type="Head" level="1" pattern="1">
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1</prescript>
<field x="2" type="Stringa" width="40" pattern="1">
<font face="Arial" bold="1" size="8" />
<source>#SYSTEM.RAGSOC</source>
</field>
<field x="130" type="Stringa" align="right" width="30" pattern="1">
<source>"Data di Stampa: " +#SYSTEM.DATE</source>
</field>
<field x="2" y="1" type="Stringa" align="center" width="125" pattern="1">
<source>"ELENCO ALTRE OPERAZIONI NON IMPONIBILI - " +#ANNO</source>
</field>
</section>
<section type="Head" level="2" hidden="1" pattern="1">
<groupby>NUMREG+CODIVA</groupby>
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2</prescript>
<field type="Stringa" width="10" pattern="1">
<source>NUMREG+" "+CODIVA</source>
</field>
</section>
<section type="Body" pattern="1" />
<section type="Body" level="1" hidden="1" bg_color="#80FF80" pattern="2">
<field x="126" type="Stringa" width="3" pattern="1">
<source>201@.S1</source>
</field>
<field x="130" type="Numero" align="right" width="3" pattern="1">
<source>201@.S2</source>
</field>
<field x="137" type="Stringa" hidden="1" width="10" pattern="1">
<source>202@.S0</source>
</field>
<field x="2" type="Numero" align="right" width="7" id="5" pattern="1">
<source>RMOVIVA.NUMREG</source>
</field>
<field x="10" type="Numero" align="right" width="3" id="10" pattern="1">
<source>RMOVIVA.NUMRIG</source>
</field>
<field x="14" type="Data" width="10" id="15" pattern="1">
<source>MOV.DATAREG</source>
</field>
<field x="25" type="Stringa" width="1" id="20" pattern="1">
<source>RMOVIVA.INTRA</source>
</field>
<field x="27" type="Data" width="10" id="25" pattern="1">
<source>MOV.DATADOC</source>
</field>
<field x="38" type="Stringa" width="7" id="30" pattern="1">
<source>MOV.NUMDOC</source>
</field>
<field x="46" type="Stringa" width="4" id="35" pattern="1">
<source>MOV.CODCAUS</source>
</field>
<field x="51" type="Stringa" width="50" id="40" pattern="1">
<source>CLIFO.RAGSOC</source>
</field>
<field x="102" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
<source>RMOVIVA.IMPONIBILE</source>
<prescript description="B1.100 PRESCRIPT">MESSAGE ADD,F2.100</prescript>
</field>
<field x="121" type="Stringa" width="4" id="105" pattern="1">
<source>RMOVIVA.CODIVA</source>
</field>
</section>
<section type="Foot" pattern="1" />
<section type="Foot" level="1" pattern="1">
<field border="2" x="2" y="0.5" type="Linea" width="125" height="0" pattern="1" />
<field x="50" y="1" type="Testo" align="right" width="50" pattern="1" text="TOTALE GENERALE:" />
<field x="102" y="1" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@" />
</section>
<section type="Foot" level="2" height="1" pattern="1">
<field x="2" type="Numero" align="right" link="23.NUMREG" width="7" pattern="1">
<source>#B1.5</source>
</field>
<field x="10" type="Numero" hidden="1" align="right" width="3" pattern="1">
<source>RMOVIVA.NUMRIG</source>
</field>
<field x="14" type="Data" width="10" pattern="1">
<source>#B1.15</source>
</field>
<field x="25" type="Stringa" hidden="1" width="1" pattern="1">
<source>RMOVIVA.INTRA</source>
</field>
<field x="27" type="Data" width="10" pattern="1">
<source>#B1.25</source>
</field>
<field x="38" type="Stringa" width="7" pattern="1">
<source>#B1.30</source>
</field>
<field x="46" type="Stringa" width="4" pattern="1">
<source>#B1.35</source>
</field>
<field x="51" type="Stringa" width="50" pattern="1">
<source>#B1.40</source>
</field>
<field x="121" type="Stringa" width="4" pattern="1">
<source>#B1.105</source>
</field>
<field x="126" type="Stringa" hidden="1" width="10" pattern="1">
<source>201@.S3</source>
</field>
<field x="102" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
<prescript description="F2.100 PRESCRIPT">MESSAGE ADD,F1.100</prescript>
</field>
</section>
<sql>USE RMOVIVA SELECT (23.ANNOIVA=#ANNO)&#26;&#26;(23.TIPO="C")&#26;&#26;(201@.S1="NI")&#26;&#26;(201@.S2="22")
JOIN MOV INTO NUMREG==NUMREG
JOIN 20 TO MOV INTO TIPOCF==TIPO CODCF==CODCF
JOIN %IVA ALIAS 201 INTO CODTAB==CODIVA
JOIN %STA TO CLIFO ALIAS 202 INTO CODTAB==STATOCF</sql>
</report>

135
src/cg/cg7500h.rep Normal file
View File

@ -0,0 +1,135 @@
<?xml version="1.0" encoding="UTF-8" ?>
<report name="CG7500H" orientation="2" lpi="6">
<description>Dichiarazione IVA Quadro VE - Esenti Art. 10</description>
<font face="Arial" size="8" />
<section type="Head" pattern="1">
<field x="130" type="Stringa" align="right" width="30" pattern="1">
<source>"Pag. " +#PAGE</source>
</field>
<field x="2" y="0.75" type="Testo" align="right" width="7" pattern="1" text="Num.Reg" />
<field x="10" y="0.75" type="Testo" hidden="1" width="3" pattern="1" text="N.R." />
<field x="14" y="0.75" type="Testo" width="10" pattern="1" text="Data Reg." />
<field x="25" y="0.75" type="Stringa" hidden="1" width="1" pattern="1">
<source>RMOVIVA.INTRA</source>
</field>
<field x="27" y="0.75" type="Testo" width="10" pattern="1" text="Data Doc." />
<field x="38" y="0.75" type="Testo" width="7" pattern="1" text="N. Doc." />
<field x="46" y="0.75" type="Testo" width="4" pattern="1" text="Caus" />
<field x="51" y="0.75" type="Testo" width="50" pattern="1" text="Cliente Ragione Sociale" />
<field x="102" y="0.75" type="Testo" align="right" width="18" pattern="1" text="Imponibile" />
<field x="121" y="0.75" type="Testo" width="4" pattern="1" text="C.Iva" />
<field x="126" y="0.75" type="Stringa" hidden="1" width="10" pattern="1">
<source>201@.S3</source>
</field>
<field border="2" x="2" y="1.75" type="Linea" width="125" height="0" pattern="1" />
</section>
<section type="Head" level="1" pattern="1">
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1</prescript>
<field x="2" type="Stringa" width="40" pattern="1">
<font face="Arial" bold="1" size="8" />
<source>#SYSTEM.RAGSOC</source>
</field>
<field x="130" type="Stringa" align="right" width="30" pattern="1">
<source>"Data di Stampa: " +#SYSTEM.DATE</source>
</field>
<field x="2" y="1" type="Stringa" align="center" width="125" pattern="1">
<source>"ELENCO OPERAZIONI ESENTI (art. 10) - " +#ANNO</source>
</field>
</section>
<section type="Head" level="2" hidden="1" pattern="1">
<groupby>NUMREG+CODIVA</groupby>
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2</prescript>
<field type="Stringa" width="10" pattern="1">
<source>NUMREG+" "+CODIVA</source>
</field>
</section>
<section type="Body" pattern="1" />
<section type="Body" level="1" hidden="1" bg_color="#80FF80" pattern="2">
<field x="126" type="Stringa" width="3" pattern="1">
<source>201@.S1</source>
</field>
<field x="130" type="Numero" align="right" width="3" pattern="1">
<source>201@.S2</source>
</field>
<field x="137" type="Stringa" hidden="1" width="10" pattern="1">
<source>202@.S0</source>
</field>
<field x="2" type="Numero" align="right" width="7" id="5" pattern="1">
<source>RMOVIVA.NUMREG</source>
</field>
<field x="10" type="Numero" align="right" width="3" id="10" pattern="1">
<source>RMOVIVA.NUMRIG</source>
</field>
<field x="14" type="Data" width="10" id="15" pattern="1">
<source>MOV.DATAREG</source>
</field>
<field x="25" type="Stringa" width="1" id="20" pattern="1">
<source>RMOVIVA.INTRA</source>
</field>
<field x="27" type="Data" width="10" id="25" pattern="1">
<source>MOV.DATADOC</source>
</field>
<field x="38" type="Stringa" width="7" id="30" pattern="1">
<source>MOV.NUMDOC</source>
</field>
<field x="46" type="Stringa" width="4" id="35" pattern="1">
<source>MOV.CODCAUS</source>
</field>
<field x="51" type="Stringa" width="50" id="40" pattern="1">
<source>CLIFO.RAGSOC</source>
</field>
<field x="102" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
<source>RMOVIVA.IMPONIBILE</source>
<prescript description="B1.100 PRESCRIPT">MESSAGE ADD,F2.100</prescript>
</field>
<field x="121" type="Stringa" width="4" id="105" pattern="1">
<source>RMOVIVA.CODIVA</source>
</field>
</section>
<section type="Foot" pattern="1" />
<section type="Foot" level="1" pattern="1">
<field border="2" x="2" y="0.5" type="Linea" width="125" height="0" pattern="1" />
<field x="50" y="1" type="Testo" align="right" width="50" pattern="1" text="TOTALE GENERALE:" />
<field x="102" y="1" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@" />
</section>
<section type="Foot" level="2" height="1" pattern="1">
<field x="2" type="Numero" align="right" link="23.NUMREG" width="7" pattern="1">
<source>#B1.5</source>
</field>
<field x="10" type="Numero" hidden="1" align="right" width="3" pattern="1">
<source>RMOVIVA.NUMRIG</source>
</field>
<field x="14" type="Data" width="10" pattern="1">
<source>#B1.15</source>
</field>
<field x="25" type="Stringa" hidden="1" width="1" pattern="1">
<source>RMOVIVA.INTRA</source>
</field>
<field x="27" type="Data" width="10" pattern="1">
<source>#B1.25</source>
</field>
<field x="38" type="Stringa" width="7" pattern="1">
<source>#B1.30</source>
</field>
<field x="46" type="Stringa" width="4" pattern="1">
<source>#B1.35</source>
</field>
<field x="51" type="Stringa" width="50" pattern="1">
<source>#B1.40</source>
</field>
<field x="121" type="Stringa" width="4" pattern="1">
<source>#B1.105</source>
</field>
<field x="126" type="Stringa" hidden="1" width="10" pattern="1">
<source>201@.S3</source>
</field>
<field x="102" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
<prescript description="F2.100 PRESCRIPT">MESSAGE ADD,F1.100</prescript>
</field>
</section>
<sql>USE RMOVIVA SELECT (23.ANNOIVA=#ANNO)&#26;&#26;(23.TIPO="C")&#26;&#26;(201@.S1="ES")&#26;&#26;(201@.S2="B2")
JOIN MOV INTO NUMREG==NUMREG
JOIN 20 TO MOV INTO TIPOCF==TIPO CODCF==CODCF
JOIN %IVA ALIAS 201 INTO CODTAB==CODIVA
JOIN %STA TO CLIFO ALIAS 202 INTO CODTAB==STATOCF</sql>
</report>

135
src/cg/cg7500i.rep Normal file
View File

@ -0,0 +1,135 @@
<?xml version="1.0" encoding="UTF-8" ?>
<report name="cg7500i" orientation="2" lpi="6">
<description>Dichiarazione IVA Quadro VE - NS ART. 7 A 7-sep</description>
<font face="Arial" size="8" />
<section type="Head" pattern="1">
<field x="130" type="Stringa" align="right" width="30" pattern="1">
<source>"Pag. " +#PAGE</source>
</field>
<field x="2" y="0.75" type="Testo" align="right" width="7" pattern="1" text="Num.Reg" />
<field x="10" y="0.75" type="Testo" hidden="1" width="3" pattern="1" text="N.R." />
<field x="14" y="0.75" type="Testo" width="10" pattern="1" text="Data Reg." />
<field x="25" y="0.75" type="Stringa" hidden="1" width="1" pattern="1">
<source>RMOVIVA.INTRA</source>
</field>
<field x="27" y="0.75" type="Testo" width="10" pattern="1" text="Data Doc." />
<field x="38" y="0.75" type="Testo" width="7" pattern="1" text="N. Doc." />
<field x="46" y="0.75" type="Testo" width="4" pattern="1" text="Caus" />
<field x="51" y="0.75" type="Testo" width="50" pattern="1" text="Cliente Ragione Sociale" />
<field x="102" y="0.75" type="Testo" align="right" width="18" pattern="1" text="Imponibile" />
<field x="121" y="0.75" type="Testo" width="4" pattern="1" text="C.Iva" />
<field x="126" y="0.75" type="Stringa" hidden="1" width="10" pattern="1">
<source>201@.S3</source>
</field>
<field border="2" x="2" y="1.75" type="Linea" width="125" height="0" pattern="1" />
</section>
<section type="Head" level="1" pattern="1">
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1</prescript>
<field x="2" type="Stringa" width="40" pattern="1">
<font face="Arial" bold="1" size="8" />
<source>#SYSTEM.RAGSOC</source>
</field>
<field x="130" type="Stringa" align="right" width="30" pattern="1">
<source>"Data di Stampa: " +#SYSTEM.DATE</source>
</field>
<field x="2" y="1" type="Stringa" align="center" width="125" pattern="1">
<source>"ELENCO OPERAZIONI NON SOGGETTE ALL'IMPOSTA AI SENSI DEGLI ARTICOLI DA 7 A 7 -septies" +#ANNO</source>
</field>
</section>
<section type="Head" level="2" hidden="1" pattern="1">
<groupby>NUMREG+CODIVA</groupby>
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2</prescript>
<field type="Stringa" width="10" pattern="1">
<source>NUMREG+" "+CODIVA</source>
</field>
</section>
<section type="Body" pattern="1" />
<section type="Body" level="1" hidden="1" bg_color="#80FF80" pattern="2">
<field x="126" type="Stringa" width="3" pattern="1">
<source>201@.S1</source>
</field>
<field x="130" type="Numero" align="right" width="3" pattern="1">
<source>201@.S2</source>
</field>
<field x="137" type="Stringa" hidden="1" width="10" pattern="1">
<source>202@.S0</source>
</field>
<field x="2" type="Numero" align="right" width="7" id="5" pattern="1">
<source>RMOVIVA.NUMREG</source>
</field>
<field x="10" type="Numero" align="right" width="3" id="10" pattern="1">
<source>RMOVIVA.NUMRIG</source>
</field>
<field x="14" type="Data" width="10" id="15" pattern="1">
<source>MOV.DATAREG</source>
</field>
<field x="25" type="Stringa" width="1" id="20" pattern="1">
<source>RMOVIVA.INTRA</source>
</field>
<field x="27" type="Data" width="10" id="25" pattern="1">
<source>MOV.DATADOC</source>
</field>
<field x="38" type="Stringa" width="7" id="30" pattern="1">
<source>MOV.NUMDOC</source>
</field>
<field x="46" type="Stringa" width="4" id="35" pattern="1">
<source>MOV.CODCAUS</source>
</field>
<field x="51" type="Stringa" width="50" id="40" pattern="1">
<source>CLIFO.RAGSOC</source>
</field>
<field x="102" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
<source>RMOVIVA.IMPONIBILE</source>
<prescript description="B1.100 PRESCRIPT">MESSAGE ADD,F2.100</prescript>
</field>
<field x="121" type="Stringa" width="4" id="105" pattern="1">
<source>RMOVIVA.CODIVA</source>
</field>
</section>
<section type="Foot" pattern="1" />
<section type="Foot" level="1" pattern="1">
<field border="2" x="2" y="0.5" type="Linea" width="125" height="0" pattern="1" />
<field x="50" y="1" type="Testo" align="right" width="50" pattern="1" text="TOTALE GENERALE:" />
<field x="102" y="1" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@" />
</section>
<section type="Foot" level="2" height="1" pattern="1">
<field x="2" type="Numero" align="right" link="23.NUMREG" width="7" pattern="1">
<source>#B1.5</source>
</field>
<field x="10" type="Numero" hidden="1" align="right" width="3" pattern="1">
<source>RMOVIVA.NUMRIG</source>
</field>
<field x="14" type="Data" width="10" pattern="1">
<source>#B1.15</source>
</field>
<field x="25" type="Stringa" hidden="1" width="1" pattern="1">
<source>RMOVIVA.INTRA</source>
</field>
<field x="27" type="Data" width="10" pattern="1">
<source>#B1.25</source>
</field>
<field x="38" type="Stringa" width="7" pattern="1">
<source>#B1.30</source>
</field>
<field x="46" type="Stringa" width="4" pattern="1">
<source>#B1.35</source>
</field>
<field x="51" type="Stringa" width="50" pattern="1">
<source>#B1.40</source>
</field>
<field x="121" type="Stringa" width="4" pattern="1">
<source>#B1.105</source>
</field>
<field x="126" type="Stringa" hidden="1" width="10" pattern="1">
<source>201@.S3</source>
</field>
<field x="102" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
<prescript description="F2.100 PRESCRIPT">MESSAGE ADD,F1.100</prescript>
</field>
</section>
<sql>USE RMOVIVA SELECT (23.ANNOIVA=#ANNO)&#26;&#26;(23.TIPO="C")&#26;&#26;(201@.S1="ES")&#26;&#26;(201@.S2="B2")
JOIN MOV INTO NUMREG==NUMREG
JOIN 20 TO MOV INTO TIPOCF==TIPO CODCF==CODCF
JOIN %IVA ALIAS 201 INTO CODTAB==CODIVA
JOIN %STA TO CLIFO ALIAS 202 INTO CODTAB==STATOCF</sql>
</report>

172
src/cg/cg7500l.rep Normal file
View File

@ -0,0 +1,172 @@
<?xml version="1.0" encoding="UTF-8" ?>
<report name="CG7500l" orientation="2" lpi="6">
<description>Dichiarazione IVA Quadro VE - Rev.Charge</description>
<font face="Arial" size="8" />
<section type="Head" pattern="1">
<field x="130" type="Stringa" align="right" width="30" pattern="1">
<source>"Pag. " +#PAGE</source>
</field>
<field x="2" y="0.75" type="Testo" align="right" width="7" pattern="1" text="Num.Reg" />
<field x="10" y="0.75" type="Testo" hidden="1" width="3" pattern="1" text="N.R." />
<field x="14" y="0.75" type="Testo" width="10" pattern="1" text="Data Reg." />
<field x="25" y="0.75" type="Stringa" hidden="1" width="1" pattern="1">
<source>RMOVIVA.INTRA</source>
</field>
<field x="27" y="0.75" type="Testo" width="10" pattern="1" text="Data Doc." />
<field x="38" y="0.75" type="Testo" width="7" pattern="1" text="N. Doc." />
<field x="46" y="0.75" type="Testo" width="4" pattern="1" text="Caus" />
<field x="51" y="0.75" type="Testo" width="50" pattern="1" text="Cliente Ragione Sociale" />
<field x="102" y="0.75" type="Testo" align="right" width="18" pattern="1" text="Imponibile" />
<field x="121" y="0.75" type="Testo" width="4" pattern="1" text="C.Iva" />
<field x="126" y="0.75" type="Testo" width="4" pattern="1" text="R.C." />
<field border="2" x="2" y="1.75" type="Linea" width="128" height="0" pattern="1" />
</section>
<section type="Head" level="1" pattern="1">
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1</prescript>
<field x="2" type="Stringa" width="40" pattern="1">
<font face="Arial" bold="1" size="8" />
<source>#SYSTEM.RAGSOC</source>
</field>
<field x="130" type="Stringa" align="right" width="30" pattern="1">
<source>"Data di Stampa: " +#SYSTEM.DATE</source>
</field>
<field x="2" y="1" type="Stringa" align="center" width="125" pattern="1">
<source>"ELENCO OPERAZIONI CON APPLICAZIONE DEL REVERSE CHARGE - " +#ANNO</source>
</field>
</section>
<section type="Head" level="2" hidden="1" pattern="1">
<groupby>NUMREG+CODIVA</groupby>
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2</prescript>
<field type="Stringa" width="10" pattern="1">
<source>NUMREG+" "+CODIVA</source>
</field>
</section>
<section type="Body" pattern="1" />
<section type="Body" level="1" hidden="1" bg_color="#80FF80" pattern="2">
<field x="137" type="Stringa" width="10" pattern="1">
<source>202@.S0</source>
</field>
<field x="2" type="Numero" align="right" width="7" id="5" pattern="1">
<source>RMOVIVA.NUMREG</source>
</field>
<field x="10" type="Numero" align="right" width="3" id="10" pattern="1">
<source>RMOVIVA.NUMRIG</source>
</field>
<field x="14" type="Data" width="10" id="15" pattern="1">
<source>MOV.DATAREG</source>
</field>
<field x="25" type="Stringa" width="1" id="20" pattern="1">
<source>RMOVIVA.INTRA</source>
</field>
<field x="27" type="Data" width="10" id="25" pattern="1">
<source>MOV.DATADOC</source>
</field>
<field x="38" type="Stringa" width="7" id="30" pattern="1">
<source>MOV.NUMDOC</source>
</field>
<field x="46" type="Stringa" width="4" id="35" pattern="1">
<source>MOV.CODCAUS</source>
</field>
<field x="51" type="Stringa" width="50" id="40" pattern="1">
<source>CLIFO.RAGSOC</source>
</field>
<field x="102" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
<source>RMOVIVA.IMPONIBILE</source>
<prescript description="B1.100 PRESCRIPT">MESSAGE ADD,F2.100</prescript>
</field>
<field x="121" type="Stringa" width="4" id="105" pattern="1">
<source>RMOVIVA.CODIVA</source>
</field>
<field x="126" type="Stringa" width="3" id="110" pattern="1">
<source>201@.S1</source>
</field>
<field x="130" type="Numero" align="right" width="3" id="115" pattern="2">
<source>201@.S2</source>
<prescript description="B1.115 PRESCRIPT">#100 @
"F1.1"
#THIS @
+
+!</prescript>
</field>
<field x="134" type="Numero" align="right" width="2" id="120" pattern="1">
<source>26.REGSPIVA</source>
</field>
</section>
<section type="Foot" pattern="1" />
<section type="Foot" level="1" pattern="1">
<field border="2" x="2" y="0.5" type="Linea" width="125" height="0" pattern="1" />
<field x="50" y="1" type="Testo" align="right" width="50" pattern="1" text="TOTALE GENERALE:" />
<field x="3" y="4" type="Testo" width="32" pattern="1" text="Cessioni di rottami e altri materiali di recupero" />
<field x="68.5" y="4" type="Testo" width="32" pattern="1" text="Cessioni di oro e argento puro " />
<field x="3" y="6" type="Testo" width="32" pattern="1" text="Subappalto nel settore edile" />
<field x="68.5" y="6" type="Testo" width="30" pattern="1" text="Cessioni di fabbricati" />
<field x="3" y="8" type="Testo" width="32" pattern="1" text="Cessioni di telefoni cellulari " />
<field x="68.5" y="8" type="Testo" width="30" pattern="1" text="Cessioni di microprocessori " />
<field x="3" y="10" type="Testo" width="32" pattern="1" text="Prestazioni comparto edile e settori connessi" />
<field x="68.5" y="10" type="Testo" width="30" pattern="1" text="Operazioni settore energetico " />
<field x="102" y="1" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@" />
<field x="35" y="4" type="Valuta" align="right" width="18" id="131" pattern="1" text="###.###.###,@@" />
<field x="102" y="4" type="Valuta" align="right" width="18" id="132" pattern="1" text="###.###.###,@@" />
<field x="35" y="6" type="Valuta" align="right" width="18" id="133" pattern="1" text="###.###.###,@@" />
<field x="102" y="6" type="Valuta" align="right" width="18" id="134" pattern="1" text="###.###.###,@@" />
<field x="35" y="8" type="Valuta" align="right" width="18" id="135" pattern="1" text="###.###.###,@@" />
<field x="102" y="8" type="Valuta" align="right" width="18" id="136" pattern="1" text="###.###.###,@@" />
<field x="35" y="10" type="Valuta" align="right" width="18" id="137" pattern="1" text="###.###.###,@@" />
<field x="102" y="10" type="Valuta" align="right" width="18" id="138" pattern="1" text="###.###.###,@@" />
</section>
<section type="Foot" level="2" height="1" pattern="1">
<field x="2" type="Numero" align="right" link="23.NUMREG" width="7" pattern="1">
<source>#B1.5</source>
</field>
<field x="10" type="Numero" hidden="1" align="right" width="3" pattern="1">
<source>RMOVIVA.NUMRIG</source>
</field>
<field x="14" type="Data" width="10" pattern="1">
<source>#B1.15</source>
</field>
<field x="25" type="Stringa" hidden="1" width="1" pattern="1">
<source>RMOVIVA.INTRA</source>
</field>
<field x="27" type="Data" width="10" pattern="1">
<source>#B1.25</source>
</field>
<field x="38" type="Stringa" width="7" pattern="1">
<source>#B1.30</source>
</field>
<field x="46" type="Stringa" width="4" pattern="1">
<source>#B1.35</source>
</field>
<field x="51" type="Stringa" width="50" pattern="1">
<source>#B1.40</source>
</field>
<field x="121" type="Stringa" width="4" pattern="1">
<source>#B1.105</source>
</field>
<field x="130" type="Array" width="28" pattern="1">
<source>#B1.115</source>
<list>
<li Value=" " Code=" " />
<li Value="Cessioni di rottami e altri materiali di recupero" Code="31" />
<li Value="Cessioni di oro e argento puro" Code="32" />
<li Value="Subappalto nel settore edile" Code="33" />
<li Value="Cessioni di fabbricati" Code="34" />
<li Value="Cessioni di telefoni cellulari" Code="35" />
<li Value="Cessioni di microprocessori" Code="36" />
<li Value="Prestazioni comparto edile e settori connessi" Code="37" />
<li Value="Operazioni settore energetico" Code="38" />
</list>
</field>
<field x="102" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
<prescript description="F2.100 PRESCRIPT">MESSAGE ADD,F1.100</prescript>
</field>
<field x="127" type="Numero" align="right" width="2" id="120" pattern="1">
<source>#B1.115</source>
</field>
</section>
<sql>USE RMOVIVA SELECT (23.ANNOIVA=#ANNO)&#26;&#26;(23.TIPO="C")&#26;&#26;(201@.S2&#3E;="31")&#26;&#26;(201@.S2&#3C;="38")
JOIN MOV INTO NUMREG==NUMREG
JOIN 20 TO MOV INTO TIPOCF==TIPO CODCF==CODCF
JOIN %IVA ALIAS 201 INTO CODTAB==CODIVA
JOIN %STA TO CLIFO ALIAS 202 INTO CODTAB==STATOCF
JOIN 26 TO MOV INTO CODCAUS==CODCAUS </sql>
</report>