Patch level :10.0 502

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :
0001464: Stampa bilancio di commessa e stampa mastrini: manca valore di sbilancio
Descrizione  Nella Stampa bilancio di commessa e nella stampa mastrini manca lo sbilancio DARE/AVERE .


git-svn-id: svn://10.65.10.50/trunk@19580 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2009-11-05 15:42:05 +00:00
parent 444ff58cec
commit d59ad4f401
6 changed files with 250 additions and 105 deletions

View File

@ -60,7 +60,7 @@ BEGIN
CHECKTYPE NORMAL
WARNING "Esercizio assente"
ADD RUN cg0 -5 esc
MESSAGE K_SPACE,F_STAMPA
MESSAGE K_SPACE,F_STAMPA
END
DATE F_DATASTAMPA
@ -88,9 +88,7 @@ RADIOBUTTON F_STAMPA 26
BEGIN
PROMPT 31 4 "@bStampa"
ITEM "1|Per date limite"
MESSAGE ENABLE,5@
ITEM "2|All'ultima immissione"
MESSAGE CLEAR,5@
END
GROUPBOX DLG_NULL 20 4

View File

@ -3,65 +3,80 @@
<description>Bilancio normale di verifica (raffronto)</description>
<font face="Courier New" size="8" />
<section type="Head">
<font italic="1" face="Courier New" bold="1" size="10" />
<field type="Stringa" width="50" pattern="1">
<font face="Arial" bold="1" size="8" />
<field border="1" x="1" y="0.25" type="Linea" width="168" height="0" pattern="1" />
<field x="84.5" y="0.5" type="Testo" align="center" width="25" pattern="1" text="SALDO INIZIALE" />
<field x="112" y="0.5" type="Testo" align="center" width="27" pattern="1" text="MOVIMENTI DEL PERIODO" />
<field x="142" y="0.5" type="Testo" align="center" width="25" pattern="1" text="SALDO FINALE" />
<field x="1" y="1.25" type="Testo" width="10" pattern="1" text="Conto" />
<field x="31" y="1.25" type="Testo" width="15" pattern="1" text="Descrizione" />
<field x="78" y="1.75" type="Testo" align="right" width="13" pattern="1" text="Dare" />
<field x="92" y="1.75" type="Testo" align="right" width="13" pattern="1" text="Avere" />
<field x="107" y="1.75" type="Testo" align="right" width="13" pattern="1" text="Dare" />
<field x="121" y="1.75" type="Testo" align="right" width="13" pattern="1" text="Avere" />
<field x="136" y="1.75" type="Testo" align="right" width="13" pattern="1" text="Dare" />
<field x="150" y="1.75" type="Testo" align="right" width="13" pattern="1" text="Avere" />
<field border="1" x="1" y="2.75" type="Linea" width="168" height="0" pattern="1" />
</section>
<section type="Head" level="1">
<font face="Arial" bold="1" size="9" />
<prescript description="H1 PRESCRIPT">"F1" AZZERA_TOTALI</prescript>
<field border="1" radius="100" x="40.34" y="0.66" type="Rettangolo" shade_offset="25" width="80" height="3.5" />
<field x="53.5" y="1.5" type="Testo" valign="center" width="35" height="2" pattern="1" text="BILANCIO DI VERIFICA">
<font face="Arial" bold="1" size="14" />
</field>
<field x="88.5" y="1.5" type="Testo" valign="center" width="20" height="2" pattern="1" text="RAFFRONTO">
<font face="Arial" bold="1" size="14" />
<source>#TIPOSTAMPA</source>
</field>
<field x="1.19" y="5" type="Stringa" width="50" 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">
<field x="71.19" y="5.25" type="Testo" width="20" pattern="1" text="Data di stampa:">
<font face="Arial" size="9" />
</field>
<field x="91.19" y="5.25" 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 x="1" y="6.25" type="Testo" width="20" pattern="1" text="Movimenti dal:">
<font face="Arial" size="9" />
<prescript description="H1.0 PRESCRIPT">MESSAGE ISAMREAD,COMMESSE,CODCMS=#COMMESSA,DESCRIZ</prescript>
</field>
<field x="-0.19" y="1" type="Testo" width="20" pattern="1" text="Movimenti dal:">
<prescript>MESSAGE ISAMREAD,COMMESSE,CODCMS=#COMMESSA,DESCRIZ</prescript>
</field>
<field x="20" y="1" type="Data" width="15" pattern="1">
<field x="21.19" y="6.25" 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">
<field x="38.19" y="6.25" type="Testo" width="4" pattern="1" text="al:">
<font face="Arial" size="9" />
</field>
<field x="43.19" y="6.25" 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">
<field x="1.19" y="7.5" type="Testo" width="20" pattern="1" text="Centro di costo:">
<font face="Arial" size="9" />
</field>
<field x="21.19" y="7.5" type="Stringa" width="24" pattern="1">
<source>#COSTO</source>
</field>
<field x="45" y="2" type="Stringa" width="70" pattern="1">
<prescript description="H0.0 PRESCRIPT">MESSAGE ISAMREAD,CDC,CODCOSTO=#COSTO,DESCRIZ</prescript>
<field x="46.19" y="7.5" type="Stringa" width="70" pattern="1">
<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">
<field x="1.19" y="8.75" type="Testo" width="20" pattern="1" text="Commessa:">
<font face="Arial" size="9" />
</field>
<field x="21.19" y="8.75" type="Stringa" width="24" pattern="1">
<source>#COMMESSA</source>
</field>
<field x="45" y="3" type="Stringa" width="70" pattern="1">
<prescript description="H0.0 PRESCRIPT">MESSAGE ISAMREAD,COMMESSE,CODCMS=#COMMESSA,DESCRIZ</prescript>
<field x="46.19" y="8.75" type="Stringa" width="70" pattern="1">
<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">
<field x="1.19" y="10" type="Testo" width="20" pattern="1" text="Fase:">
<font face="Arial" size="9" />
</field>
<field x="21.19" y="10" type="Stringa" width="13" pattern="1">
<source>#FASE</source>
</field>
<field x="45" y="4" type="Stringa" width="70" 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="141" y="6" type="Testo" align="center" width="25" 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">
<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 x="46.19" y="10" type="Stringa" width="70" pattern="1">
<prescript>MESSAGE ISAMREAD,FASI,CODCMSFAS=#CMSCDC!CODFASE=#FASE,DESCRIZ</prescript>
</field>
</section>
<section type="Head" level="2">
@ -97,6 +112,7 @@
</section>
<section type="Body" />
<section type="Body" level="1">
<font face="Arial" size="8" />
<field type="Stringa" width="24" id="101" pattern="1">
<source>CODCONTO</source>
<prescript description="B1.101 PRESCRIPT">CA_FORMAT_CONTO</prescript>
@ -183,11 +199,18 @@
<postscript description="B1.308 POSTSCRIPT">MESSAGE ADD,F2.308|ADD,F3.308|ADD,F4.308</postscript>
</field>
</section>
<section type="Foot" />
<section type="Foot">
<font face="Arial" size="8" />
<field border="1" x="1" y="0.5" type="Linea" width="167" height="0" pattern="1" />
<field x="140" y="1.25" type="Testo" width="5" pattern="1" text="Pag." />
<field x="145.19" y="1.25" type="Numero" align="right" width="4" pattern="1">
<source>#REPORT.PAGE</source>
</field>
</section>
<section type="Foot" level="1" />
<section type="Foot" level="2">
<condition>#101 != ""</condition>
<font face="Courier New" bold="1" size="8" />
<font face="Arial" bold="1" size="8" />
<field type="Stringa" width="23" id="101" pattern="1">
<prescript description="F2.101 PRESCRIPT">CA_FORMAT_CONTO</prescript>
</field>
@ -225,7 +248,7 @@
</section>
<section type="Foot" level="3">
<condition>#101 != ""</condition>
<font face="Courier New" bold="1" size="8" />
<font face="Arial" bold="1" size="8" />
<field type="Stringa" width="23" id="101" pattern="1">
<prescript description="F3.101 PRESCRIPT">CA_FORMAT_CONTO</prescript>
</field>
@ -263,7 +286,7 @@
</section>
<section type="Foot" level="4">
<condition>#101 != ""</condition>
<font face="Courier New" bold="1" size="8" />
<font face="Arial" bold="1" size="8" />
<field type="Stringa" width="23" id="101" pattern="1">
<prescript description="F4.101 PRESCRIPT">CA_FORMAT_CONTO</prescript>
</field>

View File

@ -1,68 +1,76 @@
<?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>
<description>Bilancio di verifica (cons - prev)</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">
<font face="Arial" bold="1" size="8" />
<field border="1" y="0.25" type="Linea" width="167" height="0" pattern="1" />
<field x="141" y="0.5" type="Testo" align="center" width="25" height="1.5" pattern="1" text="SALDO FINALE" />
<field x="83.56" y="0.66" type="Testo" align="center" width="25" pattern="1" text="SALDO INIZIALE" />
<field x="111.06" y="0.66" type="Testo" align="center" width="27" pattern="1" text="MOVIMENTI DEL PERIODO" />
<field x="0.06" y="1.16" type="Testo" width="10" pattern="1" text="Conto" />
<field x="30.06" y="1.16" type="Testo" width="15" pattern="1" text="Descrizione" />
<field x="78" y="1.66" type="Testo" align="right" width="13" pattern="1" text="Dare" />
<field x="92" y="1.66" type="Testo" align="right" width="13" pattern="1" text="Avere" />
<field x="107" y="1.66" type="Testo" align="right" width="13" pattern="1" text="Dare" />
<field x="121" y="1.66" type="Testo" align="right" width="13" pattern="1" text="Avere" />
<field x="136" y="1.66" type="Testo" align="right" width="13" pattern="1" text="Dare" />
<field x="150" y="1.66" type="Testo" align="right" width="13" pattern="1" text="Avere" />
<field border="1" y="2.75" type="Linea" width="167" height="0" pattern="1" />
</section>
<section type="Head" level="1">
<font face="Arial" bold="1" size="9" />
<prescript description="H1 PRESCRIPT">"F1" AZZERA_TOTALI</prescript>
<field border="1" radius="100" x="40.34" y="0.66" type="Rettangolo" shade_offset="25" width="80" height="3.5" />
<field x="62.5" y="1.5" type="Testo" valign="center" align="center" width="35" height="2" pattern="1" text="BILANCIO DI VERIFICA">
<font face="Arial" bold="1" size="14" />
</field>
<field x="0.75" y="5.83" 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">
<field x="70.75" y="5.83" type="Testo" width="20" pattern="1" text="Data di stampa:">
<font face="Arial" size="9" />
</field>
<field x="90.75" y="5.83" 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 x="0.75" y="7.08" type="Testo" width="20" pattern="1" text="Movimenti dal:">
<font face="Arial" size="9" />
<prescript>MESSAGE ISAMREAD,COMMESSE,CODCMS=#COMMESSA,DESCRIZ</prescript>
</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">
<field x="20.75" y="7.08" 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">
<field x="37.75" y="7.08" type="Testo" width="4" pattern="1" text="al:" />
<field x="42.75" y="7.08" 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">
<field x="0.75" y="8.33" type="Testo" width="20" pattern="1" text="Centro di costo:">
<font face="Arial" size="9" />
</field>
<field x="20.75" y="8.33" type="Stringa" width="24" pattern="1">
<source>#COSTO</source>
</field>
<field x="45" y="2" type="Stringa" width="70" pattern="1">
<prescript description="H0.0 PRESCRIPT">MESSAGE ISAMREAD,CDC,CODCOSTO=#COSTO,DESCRIZ</prescript>
<field x="45.75" y="8.33" type="Stringa" width="70" pattern="1">
<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">
<field x="0.75" y="9.58" type="Testo" width="20" pattern="1" text="Commessa:">
<font face="Arial" size="9" />
</field>
<field x="20.75" y="9.58" type="Stringa" width="24" pattern="1">
<source>#COMMESSA</source>
</field>
<field x="45" y="3" type="Stringa" width="70" pattern="1">
<prescript description="H0.0 PRESCRIPT">MESSAGE ISAMREAD,COMMESSE,CODCMS=#COMMESSA,DESCRIZ</prescript>
<field x="45.75" y="9.58" type="Stringa" width="70" pattern="1">
<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">
<field x="0.75" y="10.83" type="Testo" width="20" pattern="1" text="Fase:">
<font face="Arial" size="9" />
</field>
<field x="20.75" y="10.83" type="Stringa" width="13" pattern="1">
<source>#FASE</source>
</field>
<field x="45" y="4" type="Stringa" width="70" 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 x="45.75" y="10.83" type="Stringa" width="70" pattern="1">
<prescript>MESSAGE ISAMREAD,FASI,CODCMSFAS=#CMSCDC!CODFASE=#FASE,DESCRIZ</prescript>
</field>
</section>
<section type="Head" level="2">
@ -92,6 +100,7 @@
</section>
<section type="Body" />
<section type="Body" level="1" bg_color="#C0C0C0">
<font face="Arial" size="8" />
<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
@ -125,9 +134,17 @@
<source>DESCR</source>
</field>
</section>
<section type="Foot" />
<section type="Foot">
<font face="Arial" bold="1" size="9" />
<field border="1" x="1" y="0.5" type="Linea" width="164" height="0" pattern="1" />
<field x="150" y="0.75" type="Testo" width="6" pattern="1" text="Pag." />
<field x="156" y="0.75" type="Numero" align="right" width="4" pattern="1">
<source>#REPORT.PAGE</source>
</field>
</section>
<section type="Foot" level="1">
<font face="Courier New" bold="1" size="8" />
<font face="Arial" bold="1" size="9" />
<field border="2" y="0.5" type="Linea" width="167" height="0" pattern="1" />
<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>
@ -144,8 +161,8 @@
</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" />
<font italic="1" face="Arial" bold="1" size="8" />
<field border="1" y="2" type="Linea" width="167" 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>
@ -166,7 +183,7 @@ CA_FORMAT_CONTO</prescript>
</section>
<section type="Foot" level="3" height="1.5">
<condition>#101 != ""</condition>
<font face="Courier New" bold="1" size="8" />
<font face="Arial" 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>
@ -187,7 +204,7 @@ CA_FORMAT_CONTO</prescript>
</section>
<section type="Foot" level="4" height="1.5">
<condition>#101 != ""</condition>
<font face="Courier New" bold="1" size="8" />
<font face="Arial" 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>

View File

@ -80,11 +80,24 @@
<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="26" y="0.25" type="Stringa" width="12" pattern="1">
<source>IF(SEZIONE=="AP","ATTIVITA'","COSTI")</source>
<postscript description="H2.0 POSTSCRIPT">"SEZIONE" @
"AP" = IF
"PERDITA" "F2.405" !
ELSE
"UTILE" "F2.405" !
THEN</postscript>
</field>
<field x="109" y="0.25" type="Stringa" width="12" pattern="1">
<source>IF(SEZIONE=="AP","PASSIVITA'","RICAVI")</source>
<postscript description="H2.0 POSTSCRIPT">"SEZIONE" @
"AP" = IF
"UTILE" "F2.408" !
ELSE
"PERDITA" "F2.408" !
THEN</postscript>
</field>
<field border="1" x="1" y="1.5" type="Linea" width="164" height="0" pattern="1" />
</section>
@ -126,10 +139,20 @@ THEN</prescript>
<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>
@ -165,10 +188,20 @@ THEN</prescript>
<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">
@ -180,5 +213,78 @@ THEN</prescript>
</field>
</section>
<section type="Foot" level="1" />
<section type="Foot" level="2" />
<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="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="Stringa" width="10" id="405" pattern="1">
<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="Stringa" width="10" id="408" pattern="1">
<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>

View File

@ -198,7 +198,7 @@ void TCRPA_report::offset_and_fill_columns(TReport_section& rep_sect, const TStr
TReport_field& rep_field = *rep_sect.find_field(model_id);
//prende il rettangolo del campo modello..
const TRectangle& rep_field_rect = rep_field.get_rect();
const TReport_rct& rep_field_rect = rep_field.get_rect();
//deve spostare i campi a destra della colonna modello
//si memorizza i campi a destra del campo modello per poterli mettere a destra di tutti..
@ -210,7 +210,7 @@ void TCRPA_report::offset_and_fill_columns(TReport_section& rep_sect, const TStr
//solo i campi con un identificatore vanno spostati; gli altri sono parte dello sfondo
if (campo.id() > model_id)
{
const TRectangle& rct = campo.get_rect();
const TReport_rct& rct = campo.get_rect();
//se il campo e' a destra del modello lo aggiunge all'array dei campi_a_destra
if (rct.left() >= rep_field_rect.right())
campi_a_destra.add(campo);
@ -311,7 +311,7 @@ void TCRPA_report::offset_and_fill_columns(TReport_section& rep_sect, const TStr
//e' il campo con il totale delle commesse normali
TReport_field* sub_new_field = (TReport_field*)new_field->dup();
rep_sect.add(sub_new_field);
sub_new_field->offset(TPoint(0, 250));
sub_new_field->offset(TReport_size(0, 250));
sub_new_field->set_id(new_field->id() + 200);
sub_new_field->set_groups("90");
sub_new_field->set_postscript("");
@ -361,7 +361,7 @@ void TCRPA_report::offset_and_fill_columns(TReport_section& rep_sect, const TStr
{
TReport_field* sub_new_field_margine = (TReport_field*)rep_sect.find_field(169)->dup();
rep_sect.add(sub_new_field_margine);
sub_new_field_margine->offset(TPoint(0, 250));
sub_new_field_margine->offset(TReport_size(0, 250));
sub_new_field_margine->set_id(369);
sub_new_field_margine->set_groups("90");
sub_new_field_margine->set_postscript("");

View File

@ -2129,7 +2129,8 @@ void ca_taglia_campo(TRectype& src, const char* campo_src, TRectype& dst, const
void ca_copia_campo(const TRectype& src, const char* campo_src, TRectype& dst, const char* campo_dst)
{
const TString& valore = src.get(campo_src);
dst.put(campo_dst, valore);
if (valore.full())
dst.put(campo_dst, valore);
}
bool ca_implode_rows(const TRecord_array& input_rows, TRecord_array& compact_rows)