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
This commit is contained in:
mtollari 2016-10-03 14:56:34 +00:00
parent 98250c29aa
commit 8780ad1298
3 changed files with 148 additions and 130 deletions

View File

@ -128,12 +128,6 @@ BEGIN
MODULE IC
END
BOOLEAN F_UTILAUT
BEGIN
PROMPT 4 8 "Riutilizza il credito autorizzato in IVA"
FIELD B6
END
GROUPBOX DLG_NULL 78 6
BEGIN
PROMPT 1 10 "@bCredito"
@ -142,8 +136,8 @@ END
CURRENCY F_CRED_COST 18
BEGIN
PROMPT 4 11 "Credito di costo "
HELP "Eventuale credito di costo dell'anno precedente"
PROMPT 4 11 "Credito di costo (Ag. viaggio) "
HELP "Eventuale credito di costo dell'anno precedente (Agenzie di viaggio)"
FIELD R5
DRIVENBY F_CODVAL
END

View File

@ -1,102 +1,102 @@
<report name="cg5800ra" lpi="6">
<description>Lista privati per regione per quadro VT</description>
<font face="Courier New" size="10" />
<section type="Head" height="3">
<field type="Stringa" align="center" width="68" height="2" pattern="1">
<font face="Courier New" bold="1" size="12" />
<source>"Lista clienti privati per quadro IVA VT anno " + #ANNO</source>
</field>
<field border="3" y="2" type="Linea" width="70" height="0" pattern="1" />
</section>
<section type="Head" level="1" />
<section type="Head" level="2" height="3">
<groupby>13.CODREG</groupby>
<prescript description="H2 PRESCRIPT">0 "F2.201" !
0 "F2.202" !
</prescript>
<field y="1" type="Testo" width="10" pattern="1" text="Regione">
<font face="Courier New" bold="1" size="12" />
</field>
<field x="10" y="1" type="Stringa" width="4" pattern="1">
<font face="Courier New" bold="1" size="12" />
<source>13.CODREG</source>
</field>
<field x="15" y="1" type="Stringa" width="25" pattern="1">
<font face="Courier New" bold="1" size="12" />
<source>201@.S0</source>
</field>
<field border="1" y="2" type="Linea" width="40" height="0" pattern="1" />
</section>
<section type="Head" level="3" height="4">
<groupby>23.CODCF</groupby>
<prescript description="H3 PRESCRIPT">0 "F3.101" !
0 "F3.102" !</prescript>
<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>20.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" />
<section type="Body" level="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" />
<section type="Foot" level="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="301" pattern="1" text="###.###.###,@@" />
<field x="50" y="1" type="Valuta" align="right" width="18" id="302" pattern="1" text="###.###.###,@@" />
</section>
<section type="Foot" level="2">
<field x="2" y="1" type="Testo" width="14" pattern="1" text="Totale regione" />
<field x="18" y="1" type="Valuta" align="right" width="18" id="201" pattern="1" text="###.###.###,@@">
<prescript description="F2.201 PRESCRIPT">MESSAGE ADD,F1.301</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.302</prescript>
</field>
</section>
<section type="Foot" level="3">
<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,F2.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,F2.202</prescript>
</field>
</section>
<sql>USE RMOVIVA SE (23.TIPO=="C")&#26;&#26;(23.ANNOIVA=#ANNO)&#26;&#26;(20.ALLEG=="6")&#26;&#26;(202@.S1=="")
BY 23.ANNOIVA 13.CODREG 23.TIPO 23.CODCF NUMREG
JOIN MOV INTO NUMREG==NUMREG
JOIN CLIFO TO MOV INTO TIPOCF==TIPO CODCF==CODCF
JOIN COMUNI TO CLIFO INTO STATO==STATOCF COM==COMCF
JOIN %RGI TO COMUNI ALIAS 201 INTO CODTAB==CODREG
JOIN %IVA TO RMOVIVA ALIAS 202 INTO CODTAB==CODIVA</sql>
<?xml version="1.0" encoding="UTF-8" ?>
<report name="cg5800a" lpi="6">
<description>Lista privati per regione per quadro VT</description>
<font face="Courier New" size="10" />
<section type="Head" height="3" pattern="1">
<field type="Stringa" align="center" width="68" height="2" pattern="1">
<font face="Courier New" bold="1" size="12" />
<source>"Lista clienti privati per quadro IVA VT anno " + #ANNO</source>
</field>
<field border="3" y="2" type="Linea" width="70" height="0" pattern="1" />
</section>
<section type="Head" level="1" pattern="1" />
<section type="Head" level="2" height="3" pattern="1">
<groupby>13.CODREG</groupby>
<prescript description="H2 PRESCRIPT">0 "F2.201" !
0 "F2.202" !
</prescript>
<field y="1" type="Testo" width="10" pattern="1" text="Regione">
<font face="Courier New" bold="1" size="12" />
</field>
<field x="10" y="1" type="Stringa" width="4" pattern="1">
<font face="Courier New" bold="1" size="12" />
<source>13.CODREG</source>
</field>
<field x="15" y="1" type="Stringa" width="25" pattern="1">
<font face="Courier New" bold="1" size="12" />
<source>201@.S0</source>
</field>
<field border="1" y="2" type="Linea" width="40" height="0" pattern="1" />
</section>
<section type="Head" level="3" height="4" pattern="1">
<groupby>23.CODCF</groupby>
<prescript description="H3 PRESCRIPT">0 "F3.101" !
0 "F3.102" !</prescript>
<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>20.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>
<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="301" pattern="1" text="###.###.###,@@" />
<field x="50" y="1" type="Valuta" align="right" width="18" id="302" pattern="1" text="###.###.###,@@" />
</section>
<section type="Foot" level="2" pattern="1">
<field x="2" y="1" type="Testo" width="14" pattern="1" text="Totale regione" />
<field x="18" y="1" type="Valuta" align="right" width="18" id="201" pattern="1" text="###.###.###,@@">
<prescript description="F2.201 PRESCRIPT">MESSAGE ADD,F1.301</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.302</prescript>
</field>
</section>
<section type="Foot" level="3" 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,F2.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,F2.202</prescript>
</field>
</section>
<sql>USE RMOVIVA SE (23.TIPO=="C")&#26;&#26;(23.ANNOIVA=#ANNO)&#26;&#26;(20.ALLEG=="6")
BY 23.ANNOIVA 13.CODREG 23.TIPO 23.CODCF NUMREG
JOIN MOV INTO NUMREG==NUMREG
JOIN CLIFO TO MOV INTO TIPOCF==TIPO CODCF==CODCF
JOIN COMUNI TO CLIFO INTO STATO==STATOCF COM==COMCF
JOIN %RGI TO COMUNI ALIAS 201 INTO CODTAB==CODREG
JOIN %IVA TO RMOVIVA ALIAS 202 INTO CODTAB==CODIVA</sql>
</report>

View File

@ -10,26 +10,41 @@
<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>
<prescript description="H2 PRESCRIPT">0 #F2.101 !
0 #F2.102 !</prescript>
<field y="1" type="Testo" width="10" pattern="1" text="Cliente">
<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="1" type="Numero" align="right" width="8" pattern="1">
<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="1" type="Stringa" width="49" pattern="1">
<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="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" />
<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">
@ -38,14 +53,14 @@
</field>
<field x="16" type="Valuta" align="right" width="20" pattern="1" text="###.###.###,@@">
<source>RMOVIVA.IMPONIBILE</source>
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F2.101</prescript>
<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,F2.102</prescript>
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F3.102</prescript>
</field>
</section>
<section type="Foot" pattern="1" />
@ -57,16 +72,25 @@
<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 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="102" pattern="1" text="###.###.###,@@">
<prescript description="F3.102 PRESCRIPT">MESSAGE ADD,F1.202</prescript>
<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>
<sql>USE RMOVIVA SE (23.TIPO=="C")&#26;&#26;(23.ANNOIVA=#ANNO)&#26;&#26;(20.OCCAS=="X")&#26;&#26;(202@.S1=="")
BY 23.ANNOIVA 23.OCFPI NUMREG
<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