campo-sirio/ca/ca3300d.rep
luca ff09db2cd8 Patch level :10.0 530
Files correlati     :
Ricompilazione Demo : [ ]
Commento            :
0001504: bilancio a sezioni contrapposte
Descrizione  sulla stampa del bilancio a sezioni contrapposte delle commesse:

l'esposizione dovrà partire dal conto economico, la dicitura bilancio dovrà essere sostituita con conto economico o situazione conto economico;
per quello che riguarda gli eventuali conti non patrimoniali la sezione dovrà chiamarsi riepilogo conti patrimoniali, dovrà contenere dei totali di sezione ed eventualmente un delta risultante dalla somma algebrica di attività e passività.


git-svn-id: svn://10.65.10.50/trunk@19646 c028cbd2-c16b-5b4b-a496-9718f37d4682
2009-11-18 10:14:49 +00:00

287 lines
11 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8" ?>
<report name="ca3300d" orientation="2" lpi="8" command="ca3 -2" class="ca3300d">
<description>Bilancio a sezioni contrapposte (cons - prev)</description>
<font face="Courier New" size="8" />
<section type="Head">
<font face="Arial" bold="1" size="8" />
<field x="1" y="0.25" type="Testo" width="8" pattern="1" text="Conto" />
<field x="16" y="0.25" type="Testo" width="12" pattern="1" text="Descrizione" />
<field x="72" y="0.25" type="Testo" align="right" width="8" pattern="1" text="Saldo" />
<field x="82" y="0.25" type="Testo" width="8" pattern="1" text="Conto" />
<field x="97" y="0.25" type="Testo" width="12" pattern="1" text="Descrizione" />
<field x="153" y="0.25" type="Testo" align="right" width="8" pattern="1" text="Saldo" />
<field border="1" x="1" y="1.5" type="Linea" width="164" height="0" pattern="1" />
</section>
<section type="Head" level="1">
<font face="Arial" size="9" />
<field border="1" radius="100" x="7.5" y="1" type="Rettangolo" shade_offset="25" width="150" height="3.5" />
<field x="28" y="1.75" type="Testo" valign="center" width="75" height="2" pattern="1" text="SITUAZIONE CONTI A SEZIONI CONTRAPPOSTE:">
<font face="Arial" bold="1" size="14" />
</field>
<field x="103" y="1.75" type="Array" valign="center" width="20" height="2" pattern="1">
<font face="Arial" bold="1" size="14" />
<source>#TIPOSTAMPA</source>
<list>
<li Value="CONSUNTIVO" Code="C" />
<li Value="PREVENTIVO" Code="P" />
<li Value="RAFFRONTO" Code="R" />
</list>
</field>
<field x="1.9" y="6" type="Stringa" width="50" pattern="1">
<font face="Arial" bold="1" size="9" />
<source>#SYSTEM.RAGSOC</source>
</field>
<field x="72" y="6" type="Testo" width="20" pattern="1" text="Data di stampa:" />
<field x="92" y="6" type="Data" width="15" pattern="1">
<font face="Arial" bold="1" size="9" />
<source>#SYSTEM.DATE</source>
</field>
<field x="1.9" y="7.25" type="Testo" width="20" pattern="1" text="Movimenti dal:">
<prescript description="H1.0 PRESCRIPT">MESSAGE ISAMREAD,COMMESSE,CODCMS=#COMMESSA,DESCRIZ</prescript>
</field>
<field x="21.9" y="7.25" type="Data" width="15" pattern="1">
<font face="Arial" bold="1" size="9" />
<source>#DATA_INIZIALE</source>
</field>
<field x="38.4" y="7.25" type="Testo" width="4" pattern="1" text="al:" />
<field x="42.9" y="7.25" type="Data" width="15" pattern="1">
<font face="Arial" bold="1" size="9" />
<source>#DATA_FINALE</source>
</field>
<field x="1.9" y="8.5" type="Testo" width="20" pattern="1" text="Centro di costo:" />
<field x="21.9" y="8.5" type="Stringa" width="24" pattern="1">
<font face="Arial" bold="1" size="9" />
<source>#COSTO</source>
</field>
<field x="46.9" y="8.5" type="Stringa" width="70" pattern="1">
<font face="Arial" bold="1" size="9" />
<prescript description="H1.0 PRESCRIPT">MESSAGE ISAMREAD,CDC,CODCOSTO=#COSTO,DESCRIZ</prescript>
</field>
<field x="1.9" y="9.75" type="Testo" width="20" pattern="1" text="Commessa:" />
<field x="21.9" y="9.75" type="Stringa" width="24" pattern="1">
<font face="Arial" bold="1" size="9" />
<source>#COMMESSA</source>
</field>
<field x="46.9" y="9.75" type="Stringa" width="70" pattern="1">
<font face="Arial" bold="1" size="9" />
<prescript description="H1.0 PRESCRIPT">MESSAGE ISAMREAD,COMMESSE,CODCMS=#COMMESSA,DESCRIZ</prescript>
</field>
<field x="1.9" y="11" type="Testo" width="20" pattern="1" text="Fase:" />
<field x="21.9" y="11" type="Stringa" width="13" pattern="1">
<font face="Arial" bold="1" size="9" />
<source>#FASE</source>
</field>
<field x="46.9" y="11" type="Stringa" width="70" pattern="1">
<font face="Arial" bold="1" size="9" />
<prescript description="H1.0 PRESCRIPT">MESSAGE ISAMREAD,FASI,CODCMSFAS=#CMSCDC!CODFASE=#FASE,DESCRIZ</prescript>
</field>
<field border="1" x="1" y="12.5" type="Linea" width="164" height="0" pattern="1" />
</section>
<section repeat="1" type="Head" level="2" page_break="1">
<groupby>SEZIONE</groupby>
<font face="Arial" bold="1" size="9" />
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2</prescript>
<field x="62" y="0.75" type="Stringa" align="center" width="35" height="1.25" pattern="1">
<source>IF(SEZIONE=="AP","SITUAZIONE CONTO ECONOMICO","SITUAZIONE CONTI PATRIMONIALI")</source>
</field>
<field x="1" y="1" type="Stringa" hidden="1" width="2" pattern="1">
<source>SEZIONE</source>
<prescript description="H2.0 PRESCRIPT">MESSAGE COPY,F2.101</prescript>
</field>
<field x="26" y="1.75" type="Stringa" width="12" pattern="1">
<source>IF(SEZIONE=="AP","ATTIVITA'","COSTI")</source>
</field>
<field x="122" y="1.75" type="Stringa" width="12" pattern="1">
<source>IF(SEZIONE=="AP","PASSIVITA'","RICAVI")</source>
</field>
<field border="1" x="1" y="3.25" type="Linea" width="164" height="0" pattern="1" />
</section>
<section type="Body" />
<section type="Body" level="1">
<font face="Arial" size="8" />
<field border="1" x="82" type="Linea" pattern="1" />
<field type="Numero" hidden="1" align="right" width="1" id="101" pattern="1">
<source>LEFT:LIVELLO</source>
<prescript description="B1.101 PRESCRIPT">#TIPOPIANO @
"C" = IF
#THIS @ 1 = IF
8421504 "1@" SET_BACK_COLOR
16777215 "1@" SET_FORE_COLOR
THEN
#THIS @ 2 = IF
12632256 "1@" SET_BACK_COLOR
0 "1@" SET_FORE_COLOR
THEN
#THIS @ 3 = IF
16777215 "1@" SET_BACK_COLOR
0 "1@" SET_FORE_COLOR
THEN
THEN</prescript>
</field>
<field x="1" type="Stringa" width="14" id="102">
<groups>1</groups>
<source>LEFT:CONTO</source>
<prescript description="B1.102 PRESCRIPT">CA_FORMAT_CONTO</prescript>
</field>
<field x="15" type="Stringa" width="48" id="103">
<groups>1</groups>
<source>LEFT:DESCR</source>
</field>
<field x="63" type="Valuta" align="right" width="16" id="104" hide_zero="1" text="###.###.###,@@">
<groups>1</groups>
<source>LEFT:SALDO</source>
<postscript description="B1.104 POSTSCRIPT">#101 @
1 = IF
#THIS @
"F2.104" +!
THEN</postscript>
</field>
<field x="79" type="Stringa" align="center" width="2.5" id="105">
<groups>1</groups>
<source>LEFT:SEZIONE</source>
<postscript description="B1.105 POSTSCRIPT">#101 @
1 = IF
#THIS @
"F2.105" !
THEN</postscript>
</field>
<field x="81.5" type="Numero" hidden="1" align="right" width="1" id="201" pattern="1">
<source>RIGHT:LIVELLO</source>
<prescript description="B1.201 PRESCRIPT">#TIPOPIANO @
"C" = IF
#THIS @ 1 = IF
8421504 "2@" SET_BACK_COLOR
16777215 "2@" SET_FORE_COLOR
THEN
#THIS @ 2 = IF
12632256 "2@" SET_BACK_COLOR
0 "2@" SET_FORE_COLOR
THEN
#THIS @ 3 = IF
16777215 "2@" SET_BACK_COLOR
0 "2@" SET_FORE_COLOR
THEN
THEN</prescript>
</field>
<field x="82.5" type="Stringa" width="14" id="202">
<groups>2</groups>
<source>RIGHT:CONTO</source>
<prescript description="B1.202 PRESCRIPT">CA_FORMAT_CONTO</prescript>
</field>
<field x="96.5" type="Stringa" width="48" id="203">
<groups>2</groups>
<source>RIGHT:DESCR</source>
</field>
<field x="144.5" type="Valuta" align="right" width="16" id="204" hide_zero="1" text="###.###.###,@@">
<groups>2</groups>
<source>RIGHT:SALDO</source>
<postscript description="B1.204 POSTSCRIPT">#201 @
1 = IF
#THIS @
"F2.204" +!
THEN</postscript>
</field>
<field x="160.5" type="Stringa" align="center" width="2.5" id="205">
<groups>2</groups>
<source>RIGHT:SEZIONE</source>
<postscript description="B1.205 POSTSCRIPT">#201 @
1 = IF
#THIS @
"F2.205" !
THEN</postscript>
</field>
</section>
<section type="Foot">
<font face="Arial" size="8" />
<field border="1" y="0.25" type="Linea" width="166" height="0" pattern="1" />
<field x="150" y="1" type="Testo" width="6" pattern="1" text="Pag." />
<field x="156" y="1" type="Numero" align="right" width="4" pattern="1">
<source>#REPORT.PAGE</source>
</field>
</section>
<section type="Foot" level="1" />
<section type="Foot" level="2">
<font face="Arial" bold="1" size="8" />
<field border="1" x="1" y="1" type="Linea" width="164" height="0" pattern="1" />
<field x="46" y="2" type="Testo" width="10" pattern="1" text="TOTALE" />
<field x="127" y="2" type="Testo" width="10" pattern="1" text="TOTALE" />
<field x="8" y="3" type="Stringa" hidden="1" width="2" id="101" pattern="1" />
<field x="63" y="2" type="Valuta" align="right" width="16" id="104" pattern="1" hide_zero="1" text="###.###.###,@@" />
<field x="79" y="2" type="Stringa" align="center" width="2.5" id="105" pattern="1" />
<field x="144" y="2" type="Valuta" align="right" width="16" id="204" pattern="1" hide_zero="1" text="###.###.###,@@" />
<field x="160" y="2" type="Stringa" align="center" width="2.5" id="205" pattern="1" />
<field x="14" y="3" type="Valuta" hidden="1" align="right" width="16" id="304" text="###.###.###,@@">
<source>IF(#105==#205,#104-#204,#104+#204)</source>
<prescript description="F2.304 PRESCRIPT">#THIS @
0 &#3C; IF
"2@" HIDE
"1@" SHOW
#THIS @
-1 *
406 !
ELSE
"1@" HIDE
"2@" SHOW
#THIS @
409 !
THEN
</prescript>
</field>
<field x="46" y="3" type="Testo" width="10" id="405" pattern="1" text="SBILANCIO">
<groups>1</groups>
</field>
<field x="63" y="3" type="Valuta" align="right" width="16" id="406" pattern="1" hide_zero="1" text="###.###.###,@@">
<groups>1</groups>
</field>
<field x="79" y="3" type="Stringa" align="center" width="2.5" id="407" pattern="1">
<groups>1</groups>
<source>#105</source>
</field>
<field x="127" y="3" type="Testo" width="10" id="408" pattern="1" text="SBILANCIO">
<groups>2</groups>
</field>
<field x="144" y="3" type="Valuta" align="right" width="16" id="409" pattern="1" hide_zero="1" text="###.###.###,@@">
<groups>2</groups>
</field>
<field x="160" y="3" type="Stringa" align="center" width="2.5" id="410" pattern="1">
<groups>2</groups>
<source>#205</source>
</field>
<field x="46" y="4" type="Testo" width="15" id="411" pattern="1" text="TOT A PAREGGIO">
<groups>1</groups>
</field>
<field x="63" y="4" type="Valuta" align="right" width="16" id="412" pattern="1" hide_zero="1" text="###.###.###,@@">
<groups>1</groups>
<prescript description="F2.412 PRESCRIPT">#104 @
#406 @
+
#THIS !</prescript>
</field>
<field x="79" y="4" type="Stringa" align="center" width="2.5" id="413" pattern="1">
<groups>1</groups>
<source>#105</source>
</field>
<field x="127" y="4" type="Testo" width="15" id="414" pattern="1" text="TOT A PAREGGIO">
<groups>2</groups>
</field>
<field x="144" y="4" type="Valuta" align="right" width="16" id="415" pattern="1" hide_zero="1" text="###.###.###,@@">
<groups>2</groups>
<prescript description="F2.415 PRESCRIPT">#204 @
#409 @
+
#THIS !</prescript>
</field>
<field x="160" y="4" type="Stringa" align="center" width="2.5" id="416" pattern="1">
<groups>2</groups>
<source>#205</source>
</field>
</section>
</report>