5095de7507
Files correlati : Ricompilazione Demo : [ ] Commento : riportate modifiche dalla 5.0 git-svn-id: svn://10.65.10.50/trunk@17746 c028cbd2-c16b-5b4b-a496-9718f37d4682
241 lines
12 KiB
XML
Executable File
241 lines
12 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<report name="ca3300b" orientation="2" lpi="8" command="ca3 -2" class="ca3300b">
|
|
<description>Bilancio normale di verifica</description>
|
|
<font face="Courier New" size="8" />
|
|
<section type="Head">
|
|
<font italic="1" face="Courier New" bold="1" size="10" />
|
|
<field type="Stringa" width="60" pattern="1">
|
|
<source>#SYSTEM.RAGSOC</source>
|
|
</field>
|
|
<field x="70" type="Testo" width="20" pattern="1" text="Data di stampa:" />
|
|
<field x="90" type="Data" width="15" pattern="1">
|
|
<source>#SYSTEM.DATE</source>
|
|
</field>
|
|
<field x="164" type="Numero" align="right" width="4" pattern="1">
|
|
<source>#REPORT.PAGE</source>
|
|
</field>
|
|
<field y="1" type="Testo" width="20" pattern="1" text="Movimenti dal:">
|
|
<prescript description="H0.0 PRESCRIPT">MESSAGE ISAMREAD,COMMESSE,CODCMS=#COMMESSA,DESCRIZ</prescript>
|
|
</field>
|
|
<field x="20" y="1" type="Data" width="15" pattern="1">
|
|
<source>#DATA_INIZIALE</source>
|
|
</field>
|
|
<field x="37" y="1" type="Testo" width="4" pattern="1" text="al:" />
|
|
<field x="42" y="1" type="Data" width="15" pattern="1">
|
|
<source>#DATA_FINALE</source>
|
|
</field>
|
|
<field y="2" type="Testo" width="20" pattern="1" text="Centro di costo:" />
|
|
<field x="20" y="2" type="Stringa" width="24" pattern="1">
|
|
<source>#COSTO</source>
|
|
</field>
|
|
<field x="45" y="2" type="Stringa" width="50" pattern="1">
|
|
<prescript description="H0.0 PRESCRIPT">MESSAGE ISAMREAD,CDC,CODCOSTO=#COSTO,DESCRIZ</prescript>
|
|
</field>
|
|
<field y="3" type="Testo" width="20" pattern="1" text="Commessa:" />
|
|
<field x="20" y="3" type="Stringa" width="24" pattern="1">
|
|
<source>#COMMESSA</source>
|
|
</field>
|
|
<field x="45" y="3" type="Stringa" width="50" pattern="1">
|
|
<prescript description="H0.0 PRESCRIPT">MESSAGE ISAMREAD,COMMESSE,CODCMS=#COMMESSA,DESCRIZ</prescript>
|
|
</field>
|
|
<field y="4" type="Testo" width="20" pattern="1" text="Fase:" />
|
|
<field x="20" y="4" type="Stringa" width="13" pattern="1">
|
|
<source>#FASE</source>
|
|
</field>
|
|
<field x="45" y="4" type="Stringa" width="50" pattern="1">
|
|
<prescript description="H0.0 PRESCRIPT">MESSAGE ISAMREAD,FASI,CODCMSFAS=#CMSCDC!CODFASE=#FASE,DESCRIZ</prescript>
|
|
</field>
|
|
<field border="1" y="6" type="Linea" width="168" height="0" pattern="1" />
|
|
<field x="83.5" y="6" type="Testo" align="center" width="25" pattern="1" text="SALDO INIZIALE" />
|
|
<field x="111" y="6" type="Testo" align="center" width="27" pattern="1" text="MOVIMENTI DEL PERIODO" />
|
|
<field x="140.5" y="6" type="Testo" align="center" width="27" pattern="1" text="SALDO FINALE" />
|
|
<field y="6.5" type="Testo" width="10" pattern="1" text="Conto" />
|
|
<field x="30" y="6.5" type="Testo" width="15" pattern="1" text="Descrizione" />
|
|
<field x="78" y="7" type="Testo" align="right" width="13" pattern="1" text="DARE" />
|
|
<field x="92" y="7" type="Testo" align="right" width="13" pattern="1" text="AVERE" />
|
|
<field x="107" y="7" type="Testo" align="right" width="13" pattern="1" text="DARE" />
|
|
<field x="121" y="7" type="Testo" align="right" width="13" pattern="1" text="AVERE" />
|
|
<field x="136" y="7" type="Testo" align="right" width="13" pattern="1" text="DARE" />
|
|
<field x="150" y="7" type="Testo" align="right" width="13" pattern="1" text="AVERE" />
|
|
<field border="1" x="-1" y="8" type="Linea" width="168" height="0" pattern="1" />
|
|
</section>
|
|
<section type="Head" level="1" height="3">
|
|
<prescript description="H1 PRESCRIPT">"F1" AZZERA_TOTALI</prescript>
|
|
<field border="1" radius="100" x="1" type="Testo" valign="center" align="center" shade_offset="25" width="166" height="2.5" text="BILANCIO DI VERIFICA">
|
|
<font face="Courier New" bold="1" size="16" />
|
|
</field>
|
|
</section>
|
|
<section type="Head" level="2">
|
|
<condition>CODCONTO:2!=""</condition>
|
|
<groupby>CODCONTO:1</groupby>
|
|
<prescript description="H2 PRESCRIPT">"CODCONTO:1" @
|
|
"F2.101" !
|
|
|
|
"F2" AZZERA_TOTALI
|
|
</prescript>
|
|
</section>
|
|
<section type="Head" level="3">
|
|
<condition>CODCONTO:3!=""</condition>
|
|
<groupby>CODCONTO:2</groupby>
|
|
<prescript description="H3 PRESCRIPT">"CODCONTO:2" @
|
|
"F3.101" !
|
|
|
|
"F3" AZZERA_TOTALI</prescript>
|
|
</section>
|
|
<section type="Head" level="4">
|
|
<condition>CODCONTO:4 != ""</condition>
|
|
<groupby>CODCONTO:3</groupby>
|
|
<prescript description="H4 PRESCRIPT">"CODCONTO:3" @
|
|
"F4.101" ! \ Copia il codice conto nel footer
|
|
|
|
"F4" AZZERA_TOTALI</prescript>
|
|
</section>
|
|
<section type="Body" />
|
|
<section type="Body" level="1" bg_color="#C0C0C0">
|
|
<field x="78" type="Valuta" align="right" width="13" pattern="1" hide_zero="1" text="###.###.###,@@">
|
|
<source>SALDO:INI_DARE</source>
|
|
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.103|ADD,F2.103|ADD,F3.103|ADD,F4.103
|
|
</postscript>
|
|
</field>
|
|
<field x="92" type="Valuta" align="right" width="13" pattern="1" hide_zero="1" text="###.###.###,@@">
|
|
<source>SALDO:INI_AVERE</source>
|
|
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.104|ADD,F2.104|ADD,F3.104|ADD,F4.104</postscript>
|
|
</field>
|
|
<field x="107" type="Valuta" align="right" width="13" pattern="1" hide_zero="1" text="###.###.###,@@">
|
|
<source>SALDO:MOV_DARE</source>
|
|
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.105|ADD,F2.105|ADD,F3.105|ADD,F4.105</postscript>
|
|
</field>
|
|
<field x="121" type="Valuta" align="right" width="13" pattern="1" hide_zero="1" text="###.###.###,@@">
|
|
<source>SALDO:MOV_AVERE</source>
|
|
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.106|ADD,F2.106|ADD,F3.106|ADD,F4.106</postscript>
|
|
</field>
|
|
<field x="136" type="Valuta" align="right" width="13" pattern="1" hide_zero="1" text="###.###.###,@@">
|
|
<source>SALDO:FIN_DARE</source>
|
|
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.107|ADD,F2.107|ADD,F3.107|ADD,F4.107</postscript>
|
|
</field>
|
|
<field x="150" type="Valuta" align="right" width="13" pattern="1" hide_zero="1" text="###.###.###,@@">
|
|
<source>SALDO:FIN_AVERE</source>
|
|
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.108|ADD,F2.108|ADD,F3.108|ADD,F4.108</postscript>
|
|
</field>
|
|
<field type="Stringa" width="24" id="101" pattern="1">
|
|
<source>CODCONTO</source>
|
|
<prescript description="B1.101 PRESCRIPT">CA_FORMAT_CONTO</prescript>
|
|
</field>
|
|
<field x="25" type="Stringa" width="50" id="102" pattern="1">
|
|
<source>DESCR</source>
|
|
</field>
|
|
</section>
|
|
<section type="Foot" />
|
|
<section type="Foot" level="1">
|
|
<font face="Courier New" bold="1" size="8" />
|
|
<field x="25" y="1" type="Testo" width="50" id="102" pattern="1" text="Totale">
|
|
<prescript description="F1.102 PRESCRIPT">MESSAGE ISAMREAD,PCONANA,CODCONTO=#102,DESCR</prescript>
|
|
</field>
|
|
<field x="78" y="1" type="Valuta" align="right" width="13" id="103" pattern="1" hide_zero="1" text="###.###.###,@@">
|
|
<prescript>103 DARE_AVERE</prescript>
|
|
</field>
|
|
<field x="92" y="1" type="Valuta" align="right" width="13" id="104" pattern="1" hide_zero="1" text="###.###.###,@@" />
|
|
<field x="107" y="1" type="Valuta" align="right" width="13" id="105" pattern="1" hide_zero="1" text="###.###.###,@@" />
|
|
<field x="121" y="1" type="Valuta" align="right" width="13" id="106" pattern="1" hide_zero="1" text="###.###.###,@@" />
|
|
<field x="136" y="1" type="Valuta" align="right" width="13" id="107" pattern="1" hide_zero="1" text="###.###.###,@@">
|
|
<prescript>107 DARE_AVERE</prescript>
|
|
</field>
|
|
<field x="150" y="1" type="Valuta" align="right" width="13" id="108" pattern="1" hide_zero="1" text="###.###.###,@@" />
|
|
</section>
|
|
<section type="Foot" level="2" height="2">
|
|
<condition>#101 != ""</condition>
|
|
<font italic="1" face="Courier New" bold="1" size="8" />
|
|
<field border="1" x="1" y="2" type="Linea" width="162" height="0" pattern="1" />
|
|
<field y="0.5" type="Stringa" width="23" id="101" pattern="1">
|
|
<prescript description="F2.101 PRESCRIPT">#THIS @ #102 !
|
|
CA_FORMAT_CONTO</prescript>
|
|
</field>
|
|
<field x="25" y="0.5" type="Stringa" width="50" id="102" pattern="1">
|
|
<prescript description="F2.102 PRESCRIPT">CA_FORMAT_CONTO_DESCR</prescript>
|
|
</field>
|
|
<field x="78" y="0.5" type="Valuta" align="right" width="13" id="103" pattern="1" hide_zero="1" text="###.###.###,@@">
|
|
<prescript description="F2.103 PRESCRIPT">103 DARE_AVERE</prescript>
|
|
</field>
|
|
<field x="92" y="0.5" type="Valuta" align="right" width="13" id="104" pattern="1" hide_zero="1" text="###.###.###,@@" />
|
|
<field x="107" y="0.5" type="Valuta" align="right" width="13" id="105" pattern="1" hide_zero="1" text="###.###.###,@@" />
|
|
<field x="121" y="0.5" type="Valuta" align="right" width="13" id="106" pattern="1" hide_zero="1" text="###.###.###,@@" />
|
|
<field x="136" y="0.5" type="Valuta" align="right" width="13" id="107" pattern="1" hide_zero="1" text="###.###.###,@@">
|
|
<prescript description="F2.107 PRESCRIPT">107 DARE_AVERE</prescript>
|
|
</field>
|
|
<field x="150" y="0.5" type="Valuta" align="right" width="13" id="108" pattern="1" hide_zero="1" text="###.###.###,@@" />
|
|
</section>
|
|
<section type="Foot" level="3" height="1.5">
|
|
<condition>#101 != ""</condition>
|
|
<font face="Courier New" bold="1" size="8" />
|
|
<field y="0.5" type="Stringa" width="23" id="101" pattern="1">
|
|
<prescript description="F3.101 PRESCRIPT">#THIS @ #102 !
|
|
CA_FORMAT_CONTO</prescript>
|
|
</field>
|
|
<field x="25" y="0.5" type="Stringa" width="50" id="102" pattern="1">
|
|
<prescript description="F3.102 PRESCRIPT">CA_FORMAT_CONTO_DESCR</prescript>
|
|
</field>
|
|
<field x="78" y="0.5" type="Valuta" align="right" width="13" id="103" pattern="1" hide_zero="1" text="###.###.###,@@">
|
|
<prescript description="F3.103 PRESCRIPT">103 DARE_AVERE</prescript>
|
|
</field>
|
|
<field x="92" y="0.5" type="Valuta" align="right" width="13" id="104" pattern="1" hide_zero="1" text="###.###.###,@@" />
|
|
<field x="107" y="0.5" type="Valuta" align="right" width="13" id="105" pattern="1" hide_zero="1" text="###.###.###,@@" />
|
|
<field x="121" y="0.5" type="Valuta" align="right" width="13" id="106" pattern="1" hide_zero="1" text="###.###.###,@@" />
|
|
<field x="136" y="0.5" type="Valuta" align="right" width="13" id="107" pattern="1" hide_zero="1" text="###.###.###,@@">
|
|
<prescript description="F3.107 PRESCRIPT">107 DARE_AVERE</prescript>
|
|
</field>
|
|
<field x="150" y="0.5" type="Valuta" align="right" width="13" id="108" pattern="1" hide_zero="1" text="###.###.###,@@" />
|
|
</section>
|
|
<section type="Foot" level="4" height="1.5">
|
|
<condition>#101 != ""</condition>
|
|
<font face="Courier New" bold="1" size="8" />
|
|
<field y="0.5" type="Stringa" width="23" id="101" pattern="1">
|
|
<prescript description="F4.101 PRESCRIPT">#THIS @ #102 !
|
|
CA_FORMAT_CONTO</prescript>
|
|
</field>
|
|
<field x="25" y="0.5" type="Stringa" width="50" id="102" pattern="1">
|
|
<prescript description="F4.102 PRESCRIPT">CA_FORMAT_CONTO_DESCR</prescript>
|
|
</field>
|
|
<field x="78" y="0.5" type="Valuta" align="right" width="13" id="103" pattern="1" hide_zero="1" text="###.###.###,@@">
|
|
<prescript description="F4.103 PRESCRIPT">103 DARE_AVERE</prescript>
|
|
</field>
|
|
<field x="92" y="0.5" type="Valuta" align="right" width="13" id="104" pattern="1" hide_zero="1" text="###.###.###,@@" />
|
|
<field x="107" y="0.5" type="Valuta" align="right" width="13" id="105" pattern="1" hide_zero="1" text="###.###.###,@@" />
|
|
<field x="121" y="0.5" type="Valuta" align="right" width="13" id="106" pattern="1" hide_zero="1" text="###.###.###,@@" />
|
|
<field x="136" y="0.5" type="Valuta" align="right" width="13" id="107" pattern="1" hide_zero="1" text="###.###.###,@@">
|
|
<prescript description="F4.107 PRESCRIPT">107 DARE_AVERE</prescript>
|
|
</field>
|
|
<field x="150" y="0.5" type="Valuta" align="right" width="13" id="108" pattern="1" hide_zero="1" text="###.###.###,@@" />
|
|
</section>
|
|
<sql>USE PCONANA</sql>
|
|
<prescript description="PRESCRIPT">: AZZERA_TOTALI ( ID_SEC - )
|
|
109 103 DO
|
|
DUP \ Duplica codice sezione
|
|
"." + \ Aggiunge punto
|
|
I + \ Aggiunge codice campo
|
|
0 SWAP ! \ Lo azzera
|
|
LOOP
|
|
DROP
|
|
;
|
|
|
|
: DARE_AVERE ( ID_DARE -- )
|
|
VARIABLE _DARE
|
|
VARIABLE _AVERE
|
|
DUP
|
|
_DARE !
|
|
1 + _AVERE !
|
|
|
|
_DARE @ @ \ DARE
|
|
_AVERE @ @ \ AVERE
|
|
- \ DARE-AVERE
|
|
DUP
|
|
0 C; IF \ Se negativo
|
|
-1 * \ Cambia segno
|
|
_AVERE @ ! \ Setta AVERE
|
|
0 _DARE @ ! \ Azzera DARE
|
|
ELSE
|
|
_DARE @ ! \ Setta DARE
|
|
0 _AVERE @ ! \ Azzera AVERE
|
|
THEN
|
|
;
|
|
</prescript>
|
|
</report> |