campo-sirio/src/cg/IVAxCasNonInc.rep
bonazzi 6112cb94d9 Patch level : 12.0 580
Files correlati     : cg4.exe f171.trr f171.dir cg2100c.msk cg2.exe cg7.exe cg7800a.rep

Modifiche alla dichiarazione e alla liquidazione per il volume d'affari (movimenti per cassa)
Corretto il calcolo degli abbuoni in prima nota
Corretta la ricerca per partita IVA in prima nota

git-svn-id: svn://10.65.10.50/branches/R_10_00@24491 c028cbd2-c16b-5b4b-a496-9718f37d4682
2018-05-17 13:19:53 +00:00

97 lines
3.2 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<report name="ivacasnoninc" lpi="6">
<font face="Courier New" size="10" />
<section type="Head" pattern="1" />
<section type="Head" level="1" pattern="1">
<prescript description="H1 PRESCRIPT">0 #F1.102 !
0
#F1.103 !</prescript>
</section>
<section type="Head" level="2" pattern="1">
<groupby>NUMREG</groupby>
<postscript description="H2 POSTSCRIPT">0
#F2.102 !
0
#F2.103 !</postscript>
<field type="Testo" width="15" pattern="1" text="Registrazione" />
<field border="2" y="1" type="Linea" width="80" height="0" pattern="1" />
<field x="15" type="Stringa" width="10" id="101" pattern="1">
<source>NUMREG</source>
<postscript description="H2.101 POSTSCRIPT">#THIS @
#F2.101 !</postscript>
</field>
</section>
<section type="Body" pattern="1" />
<section type="Body" level="1" pattern="1">
<field type="Numero" align="right" width="10" pattern="1">
<source>NUMREG</source>
</field>
<field x="10.5" type="Numero" align="right" width="10" pattern="1">
<source>NUMREGP</source>
</field>
<field x="20.5" type="Data" width="10" pattern="1">
<source>DATAREG</source>
</field>
<field x="30.5" type="Data" width="10" pattern="1">
<source>DATAREGP</source>
</field>
<field x="41.5" type="Stringa" width="1" id="101" pattern="1">
<source>SEZIONE</source>
</field>
<field x="43.5" type="Valuta" align="right" width="10" id="102" pattern="1" text="#########,@@">
<source>IMPONIBILE</source>
<postscript description="B1.102 POSTSCRIPT">#102 @
#101 @
"D"
=
IF
#F2.102 @
+
#F2.102 !
ELSE
#F2.103 @
+
#F2.103 !
THEN
</postscript>
</field>
</section>
<section type="Foot" pattern="1" />
<section type="Foot" level="1" pattern="1">
<field x="43" type="Valuta" align="right" width="10" id="102" pattern="1" text="#########,@@" />
<field x="54" type="Valuta" align="right" width="10" id="103" pattern="1" text="#########,@@" />
<field x="66" type="Valuta" align="right" width="10" id="104" pattern="1" text="#########,@@">
<prescript description="F1.104 PRESCRIPT">#102 @
#103 @
-
#THIS !</prescript>
</field>
</section>
<section type="Foot" level="2" pattern="1">
<field border="2" y="1" type="Linea" width="80" height="0" pattern="1" />
<field y="2" type="Testo" width="10" pattern="1" text="Totale" />
<field x="9.5" y="2" type="Numero" align="right" width="10" id="101" pattern="1" />
<field x="43" y="2" type="Valuta" align="right" width="10" id="102" pattern="1" text="#########,@@">
<postscript description="F2.102 POSTSCRIPT">#102 @
#F1.102 @
+
#F1.102 !
</postscript>
</field>
<field x="54" y="2" type="Valuta" align="right" width="10" id="103" pattern="1" text="#########,@@">
<postscript description="F2.103 POSTSCRIPT">#103 @
#F1.103 @
+
#F1.103 !
</postscript>
</field>
<field x="66" y="2" type="Valuta" align="right" width="10" id="104" pattern="1" text="#########,@@">
<prescript>#102 @
#103 @
-
#THIS !</prescript>
</field>
</section>
<sql>USE IVADIFF SELECT (BETWEEN(DATAREG,#DADATA,#ADATA))&#26;&#26;((DATAREGP=="")||(BETWEEN(DATAREGP,#DADATA,#ADATA)))&#26;&#26;(TIPOIVA==1)&#26;&#26;(TIPODIFF==2)
</sql>
</report>