Patch level :10.0 496
Files correlati : Ricompilazione Demo : [ ] Commento : 0001459: Stampa bilancio : difficoltà nell'individuare i totali di gruppo e conto Descrizione E' possibile avere i totali di gruppo e conto in grassetto, magari separandoli dal successivo gruppo e conto con un'interlinea? git-svn-id: svn://10.65.10.50/trunk@19545 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
53ef9da7c0
commit
62ab0e7da9
@ -38,8 +38,10 @@ const TString& TPrint_bilancio_ca_mask::get_report_class() const
|
||||
{
|
||||
TString& lib = get_tmp_string();
|
||||
lib = "ca3300";
|
||||
const char stp = get(F_TIPOSTAMPA)[0]; // Raffronto o No?
|
||||
|
||||
const char bil = get(F_BILANCIO)[0]; // Verifica o sezioni Contrapposte
|
||||
const char stp = get(F_TIPOSTAMPA)[0]; // Raffronto o No?
|
||||
|
||||
if (bil == 'V')
|
||||
lib << (stp == 'R' ? 'a' : 'b'); // Verifica
|
||||
else
|
||||
@ -52,7 +54,7 @@ bool TPrint_bilancio_ca_mask::test_compatible_report()
|
||||
const TString& cls = get_report_class();
|
||||
const TString& name = get(F_REPORT);
|
||||
bool ok = name.not_empty();
|
||||
if (ok)
|
||||
if (ok && name != cls)
|
||||
{
|
||||
TReport rep;
|
||||
ok = rep.load(name);
|
||||
@ -501,6 +503,7 @@ class TRecordset_sezioni_contrapposte : public TRecordset
|
||||
word _tipimov;
|
||||
bool _movimentati, _nonnulli;
|
||||
TString _daconto, _aconto;
|
||||
TString4 _tipostampa;
|
||||
|
||||
TArray _attivita, _passivita, _costi, _ricavi; // Elenco di saldi contrapposti
|
||||
TRecnotype _pos;
|
||||
@ -562,6 +565,17 @@ void TRecordset_sezioni_contrapposte::set_filter(char piano, const char* costo,
|
||||
_a_data = al;
|
||||
|
||||
_tipimov = tipimov;
|
||||
|
||||
//serve per settare il tipostampa sul report!!!
|
||||
switch (tipimov)
|
||||
{
|
||||
case 1: _tipostampa = "C"; break;
|
||||
case 2:
|
||||
case 4:
|
||||
case 6: _tipostampa = "P"; break;
|
||||
default: _tipostampa = "R"; break;
|
||||
}
|
||||
|
||||
_movimentati = movimentati;
|
||||
_nonnulli = nonnulli;
|
||||
|
||||
@ -811,7 +825,17 @@ const TVariant& TRecordset_sezioni_contrapposte::get_fld(const TArray& a, int r,
|
||||
} else
|
||||
if (fld == "SEZIONEP" || fld == "SEZIONEV")
|
||||
{
|
||||
get_section(sc._preventivo, var);
|
||||
get_section(sc._preventivo, var);
|
||||
} else
|
||||
if (fld == "LIVELLO")
|
||||
{
|
||||
const int len = sc._conto.len();
|
||||
if (tipo_piano() == 'C')
|
||||
var = len <= 3 ? 1 : (len <= 6 ? 2 : 3);
|
||||
else
|
||||
{
|
||||
var = 1; // facile esercizio per gli studenti :-)
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -844,6 +868,13 @@ const TVariant& TRecordset_sezioni_contrapposte::get(const char* field) const
|
||||
return get_tmp_var() = _da_data;
|
||||
if (fld == "#DATA_FINALE")
|
||||
return get_tmp_var() = _a_data;
|
||||
if (fld == "#TIPOPIANO")
|
||||
{
|
||||
TString4 tp; tp << tipo_piano();
|
||||
return get_tmp_var() = tp;
|
||||
}
|
||||
if (fld == "#TIPOSTAMPA")
|
||||
return get_tmp_var() = _tipostampa;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -913,7 +944,7 @@ void TReport_bilancio_sezioni_contrapposte::set_filter(const TMask& m, int row)
|
||||
switch (m.get(F_TIPOSTAMPA)[0])
|
||||
{
|
||||
case 'C': tipimov = _saldanal_consuntivo; break; // Consuntivo
|
||||
case 'P': tipimov = _saldanal_preventivi; break; // Preventivo e variazione preventivo
|
||||
case 'P': tipimov = _saldanal_preventivi; break; // Preventivo e variazione preventivo
|
||||
default : tipimov = _saldanal_qualsiasi; break; // Tutti per raffronto
|
||||
}
|
||||
|
||||
@ -984,6 +1015,7 @@ void TPrint_bilancio_ca::bilancio_a_sezioni_contrapposte(TMask& mask)
|
||||
TReport_bilancio_sezioni_contrapposte rep(mask.get(F_REPORT));
|
||||
|
||||
const int rows = mask.sfield(F_RIGHE).items();
|
||||
|
||||
TReport_book book;
|
||||
for (int i = 0; i < rows; i++)
|
||||
{
|
||||
@ -998,6 +1030,7 @@ void TPrint_bilancio_ca::bilancio_di_verifica(TMask& mask)
|
||||
TReport_bilancio_verifica rep(mask.get(F_REPORT));
|
||||
|
||||
const int rows = mask.sfield(F_RIGHE).items();
|
||||
|
||||
TReport_book book;
|
||||
for (int i = 0; i < rows; i++)
|
||||
{
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<report name="ca3300a" orientation="2" lpi="8" command="ca3 -2" class="ca3300b">
|
||||
<report name="ca3300a" orientation="2" lpi="8" command="ca3 -2" class="ca3300a">
|
||||
<description>Bilancio normale di verifica (raffronto)</description>
|
||||
<font face="Courier New" size="8" />
|
||||
<section type="Head">
|
||||
|
264
ca/ca3300c.rep
264
ca/ca3300c.rep
@ -1,122 +1,230 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<report name="ca3300c" orientation="2" lpi="8" command="ca3 -2" class="ca3300d">
|
||||
<report name="ca3300c" orientation="2" lpi="8" command="ca3 -2" class="ca3300c">
|
||||
<description>Bilancio a sezioni contrapposte (raffronto)</description>
|
||||
<font face="Courier New" size="8" />
|
||||
<section type="Head">
|
||||
<font italic="1" face="Courier New" bold="1" size="10" />
|
||||
<field x="1" type="Stringa" width="50" pattern="1">
|
||||
<source>#SYSTEM.RAGSOC</source>
|
||||
</field>
|
||||
<field x="71" type="Testo" width="20" pattern="1" text="Data di stampa:" />
|
||||
<field x="91" type="Data" width="15" pattern="1">
|
||||
<source>#SYSTEM.DATE</source>
|
||||
</field>
|
||||
<field x="165" type="Numero" align="right" width="4" pattern="1">
|
||||
<source>#REPORT.PAGE</source>
|
||||
</field>
|
||||
<field x="0.75" y="1" type="Testo" width="20" pattern="1" text="Movimenti dal:">
|
||||
<prescript>MESSAGE ISAMREAD,COMMESSE,CODCMS=#COMMESSA,DESCRIZ</prescript>
|
||||
</field>
|
||||
<field x="21" y="1" type="Data" width="15" pattern="1">
|
||||
<source>#DATA_INIZIALE</source>
|
||||
</field>
|
||||
<field x="38.25" y="1" type="Testo" width="4" pattern="1" text="al:" />
|
||||
<field x="43" y="1" type="Data" width="15" pattern="1">
|
||||
<source>#DATA_FINALE</source>
|
||||
</field>
|
||||
<field x="1" y="2" type="Testo" width="20" pattern="1" text="Centro di costo:" />
|
||||
<field x="21" y="2" type="Stringa" width="24" pattern="1">
|
||||
<source>#COSTO</source>
|
||||
</field>
|
||||
<field x="46" y="2" type="Stringa" width="70" pattern="1">
|
||||
<prescript description="H0.0 PRESCRIPT">MESSAGE ISAMREAD,CDC,CODCOSTO=#COSTO,DESCRIZ</prescript>
|
||||
</field>
|
||||
<field x="1" y="3" type="Testo" width="20" pattern="1" text="Commessa:" />
|
||||
<field x="21" y="3" type="Stringa" width="24" pattern="1">
|
||||
<source>#COMMESSA</source>
|
||||
</field>
|
||||
<field x="46" y="3" type="Stringa" width="70" pattern="1">
|
||||
<prescript description="H0.0 PRESCRIPT">MESSAGE ISAMREAD,COMMESSE,CODCMS=#COMMESSA,DESCRIZ</prescript>
|
||||
</field>
|
||||
<field x="1" y="4" type="Testo" width="20" pattern="1" text="Fase:" />
|
||||
<field x="21" y="4" type="Stringa" width="13" pattern="1">
|
||||
<source>#FASE</source>
|
||||
</field>
|
||||
<field x="46" 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" x="1" y="6" type="Linea" width="168" height="0" pattern="1" />
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<field x="41" type="Testo" align="right" width="12" pattern="1" text="Preventivo" />
|
||||
<field x="55" type="Testo" align="right" width="12" pattern="1" text="Consuntivo" />
|
||||
<field x="69" type="Testo" align="right" width="12" pattern="1" text="Differenza" />
|
||||
<field x="125" type="Testo" align="right" width="12" pattern="1" text="Preventivo" />
|
||||
<field x="139" type="Testo" align="right" width="12" pattern="1" text="Consuntivo" />
|
||||
<field x="153" type="Testo" align="right" width="12" pattern="1" text="Differenza" />
|
||||
<field x="2" y="0.25" type="Testo" width="6" pattern="1" text="Conto" />
|
||||
<field x="16" y="0.25" type="Testo" width="12" pattern="1" text="Descrizione" />
|
||||
<field border="1" x="1" y="1.25" type="Linea" width="164" height="0" pattern="1" />
|
||||
</section>
|
||||
<section type="Head" level="1">
|
||||
<field border="1" radius="100" x="0.25" y="0.25" type="Testo" valign="center" align="center" shade_offset="25" width="166" height="2.5" text="BILANCIO A SEZIONI CONTRAPPOSTE">
|
||||
<font face="Courier New" bold="1" size="16" />
|
||||
<field border="1" radius="100" x="8.21" y="0.91" type="Rettangolo" shade_offset="25" width="150" height="3.5" />
|
||||
<field x="37.71" y="1.66" type="Testo" valign="center" width="55" height="2" pattern="1" text="BILANCIO A SEZIONI CONTRAPPOSTE">
|
||||
<font face="Arial" bold="1" size="14" />
|
||||
</field>
|
||||
<field x="95.71" y="1.66" 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="2" y="5.16" type="Stringa" width="50" pattern="1">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<source>#SYSTEM.RAGSOC</source>
|
||||
</field>
|
||||
<field x="72.15" y="5.16" type="Testo" width="20" pattern="1" text="Data di stampa:">
|
||||
<font face="Arial" size="9" />
|
||||
</field>
|
||||
<field x="92.15" y="5.16" type="Data" width="15" pattern="1">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<source>#SYSTEM.DATE</source>
|
||||
</field>
|
||||
<field x="2" y="6.41" 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="22" y="6.41" type="Data" width="15" pattern="1">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<source>#DATA_INIZIALE</source>
|
||||
</field>
|
||||
<field x="39.4" y="6.41" type="Testo" width="4" pattern="1" text="al:">
|
||||
<font face="Arial" size="9" />
|
||||
</field>
|
||||
<field x="44.15" y="6.41" type="Data" width="15" pattern="1">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<source>#DATA_FINALE</source>
|
||||
</field>
|
||||
<field x="2" y="7.66" type="Testo" width="20" pattern="1" text="Centro di costo:">
|
||||
<font face="Arial" size="9" />
|
||||
</field>
|
||||
<field x="22" y="7.66" type="Stringa" width="24" pattern="1">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<source>#COSTO</source>
|
||||
</field>
|
||||
<field x="47.15" y="7.66" type="Stringa" width="70" pattern="1">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<prescript description="H1.0 PRESCRIPT">MESSAGE ISAMREAD,CDC,CODCOSTO=#COSTO,DESCRIZ</prescript>
|
||||
</field>
|
||||
<field x="2" y="8.91" type="Testo" width="20" pattern="1" text="Commessa:">
|
||||
<font face="Arial" size="9" />
|
||||
</field>
|
||||
<field x="22" y="8.91" type="Stringa" width="24" pattern="1">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<source>#COMMESSA</source>
|
||||
</field>
|
||||
<field x="47.15" y="8.91" type="Stringa" width="70" pattern="1">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<prescript description="H1.0 PRESCRIPT">MESSAGE ISAMREAD,COMMESSE,CODCMS=#COMMESSA,DESCRIZ</prescript>
|
||||
</field>
|
||||
<field x="2" y="10.16" type="Testo" width="20" pattern="1" text="Fase:">
|
||||
<font face="Arial" size="9" />
|
||||
</field>
|
||||
<field x="22" y="10.16" type="Stringa" width="13" pattern="1">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<source>#FASE</source>
|
||||
</field>
|
||||
<field x="47.15" y="10.16" type="Stringa" width="70" pattern="1">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<prescript description="H1.0 PRESCRIPT">MESSAGE ISAMREAD,FASI,CODCMSFAS=#CMSCDC!CODFASE=#FASE,DESCRIZ</prescript>
|
||||
</field>
|
||||
<field border="1" x="2" y="11.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="Courier New" bold="1" size="9" />
|
||||
<font face="Arial" bold="1" size="9" />
|
||||
<field x="26" y="0.5" type="Stringa" width="12" pattern="1">
|
||||
<source>IF(SEZIONE=="AP","ATTIVITA'","COSTI")</source>
|
||||
</field>
|
||||
<field x="109" y="0.5" type="Stringa" width="12" pattern="1">
|
||||
<source>IF(SEZIONE=="AP","PASSIVITA'","RICAVI")</source>
|
||||
</field>
|
||||
<field border="1" x="1" y="2" type="Linea" width="166" height="0" pattern="1" />
|
||||
<field border="1" x="1" y="1.75" type="Linea" width="164" height="0" pattern="1" />
|
||||
</section>
|
||||
<section type="Body" />
|
||||
<section type="Body" level="1">
|
||||
<field x="1" type="Stringa" width="24" pattern="1">
|
||||
<source>LEFT:CONTO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">CA_FORMAT_CONTO</prescript>
|
||||
<font face="Arial" size="8" />
|
||||
<field border="1" x="83" type="Linea" pattern="1" />
|
||||
<field type="Stringa" hidden="1" 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="26" type="Stringa" width="35" height="2" pattern="1">
|
||||
<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="25" id="103">
|
||||
<font face="Arial Narrow" size="8" />
|
||||
<groups>1</groups>
|
||||
<source>LEFT:DESCR</source>
|
||||
</field>
|
||||
<field x="62" type="Valuta" align="right" width="16" pattern="1" hide_zero="1" text="###.###.###,@@">
|
||||
<field x="40" type="Valuta" align="right" width="12" id="104" hide_zero="1" text="###.###.###,@@">
|
||||
<groups>1</groups>
|
||||
<source>LEFT:SALDOP</source>
|
||||
</field>
|
||||
<field x="79" type="Stringa" width="1" pattern="1">
|
||||
<field x="52" type="Stringa" align="center" width="2" id="105">
|
||||
<groups>1</groups>
|
||||
<source>LEFT:SEZIONEP</source>
|
||||
</field>
|
||||
<field x="84" type="Stringa" width="24" pattern="1">
|
||||
<source>RIGHT:CONTO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">CA_FORMAT_CONTO</prescript>
|
||||
</field>
|
||||
<field x="109" type="Stringa" width="35" height="2" pattern="1">
|
||||
<source>RIGHT:DESCR</source>
|
||||
</field>
|
||||
<field x="145" type="Valuta" align="right" width="16" pattern="1" hide_zero="1" text="###.###.###,@@">
|
||||
<source>RIGHT:SALDO</source>
|
||||
</field>
|
||||
<field x="162" type="Stringa" width="1" pattern="1">
|
||||
<source>RIGHT:SEZIONE</source>
|
||||
</field>
|
||||
<field x="62" y="1" type="Valuta" align="right" width="16" pattern="1" hide_zero="1" text="###.###.###,@@">
|
||||
<field x="54" type="Valuta" align="right" width="12" id="204" hide_zero="1" text="###.###.###,@@">
|
||||
<groups>1</groups>
|
||||
<source>LEFT:SALDOC</source>
|
||||
</field>
|
||||
<field x="79" y="1" type="Stringa" width="1" pattern="1">
|
||||
<field x="66" type="Stringa" align="center" width="2" id="205">
|
||||
<groups>1</groups>
|
||||
<source>LEFT:SEZIONEC</source>
|
||||
</field>
|
||||
<field x="145" y="1" type="Valuta" align="right" width="16" pattern="1" hide_zero="1" text="###.###.###,@@">
|
||||
<source>RIGHT:SALDOC</source>
|
||||
<field x="84" type="Stringa" hidden="1" width="1" id="301" pattern="1">
|
||||
<source>RIGHT:LIVELLO</source>
|
||||
<prescript description="B1.301 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="162" y="1" type="Stringa" width="1" pattern="1">
|
||||
<source>RIGHT:SEZIONEC</source>
|
||||
<field x="85" type="Stringa" width="14" id="302">
|
||||
<groups>2</groups>
|
||||
<source>RIGHT:CONTO</source>
|
||||
<prescript description="B1.302 PRESCRIPT">CA_FORMAT_CONTO</prescript>
|
||||
</field>
|
||||
<field x="62" y="2" type="Valuta" align="right" width="16" pattern="1" hide_zero="1" text="###.###.###,@@">
|
||||
<field x="99" type="Stringa" width="25" id="303">
|
||||
<font face="Arial Narrow" size="8" />
|
||||
<groups>2</groups>
|
||||
<source>RIGHT:DESCR</source>
|
||||
</field>
|
||||
<field x="68" type="Valuta" align="right" width="12" id="304" hide_zero="1" text="###.###.###,@@">
|
||||
<groups>1</groups>
|
||||
<source>LEFT:SALDO</source>
|
||||
</field>
|
||||
<field x="79" y="2" type="Stringa" width="1" pattern="1">
|
||||
<field x="124" type="Valuta" align="right" width="12" id="304" hide_zero="1" text="###.###.###,@@">
|
||||
<groups>2</groups>
|
||||
<source>RIGHT:SALDOP</source>
|
||||
</field>
|
||||
<field x="79.5" type="Stringa" align="center" width="2.5" id="305">
|
||||
<groups>1</groups>
|
||||
<source>LEFT:SEZIONE</source>
|
||||
</field>
|
||||
<field x="145" y="2" type="Valuta" align="right" width="16" pattern="1" hide_zero="1" text="###.###.###,@@">
|
||||
<field x="136" type="Stringa" width="2" id="305">
|
||||
<groups>2</groups>
|
||||
<source>RIGHT:SEZIONEP</source>
|
||||
</field>
|
||||
<field x="138" type="Valuta" align="right" width="12" id="404" hide_zero="1" text="###.###.###,@@">
|
||||
<groups>2</groups>
|
||||
<source>RIGHT:SALDOC</source>
|
||||
</field>
|
||||
<field x="150" type="Stringa" width="2" id="405">
|
||||
<groups>2</groups>
|
||||
<source>RIGHT:SEZIONEC</source>
|
||||
</field>
|
||||
<field x="152" type="Valuta" align="right" width="12" id="504" hide_zero="1" text="###.###.###,@@">
|
||||
<groups>2</groups>
|
||||
<source>RIGHT:SALDO</source>
|
||||
</field>
|
||||
<field x="162" y="2" type="Stringa" width="1" pattern="1">
|
||||
<field x="164" type="Stringa" width="2" id="505">
|
||||
<groups>2</groups>
|
||||
<source>RIGHT:SEZIONE</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot" />
|
||||
<section type="Foot">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<field border="1" y="0.5" type="Linea" width="162" height="0" pattern="1" />
|
||||
<field x="145" y="1" type="Testo" width="5" pattern="1" text="Pag." />
|
||||
<field x="150" 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" />
|
||||
</report>
|
212
ca/ca3300d.rep
212
ca/ca3300d.rep
@ -1,98 +1,184 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<report name="ca3300d" orientation="2" lpi="8" command="ca3 -2" class="ca3300d">
|
||||
<description>Bilancio a sezioni contrapposte</description>
|
||||
<description>Bilancio a sezioni contrapposte (cons - prev)</description>
|
||||
<font face="Courier New" size="8" />
|
||||
<section type="Head">
|
||||
<font italic="1" face="Courier New" bold="1" size="10" />
|
||||
<field x="1" type="Stringa" width="50" pattern="1">
|
||||
<source>#SYSTEM.RAGSOC</source>
|
||||
</field>
|
||||
<field x="71" type="Testo" width="20" pattern="1" text="Data di stampa:" />
|
||||
<field x="91" type="Data" width="15" pattern="1">
|
||||
<source>#SYSTEM.DATE</source>
|
||||
</field>
|
||||
<field x="165" type="Numero" align="right" width="4" pattern="1">
|
||||
<source>#REPORT.PAGE</source>
|
||||
</field>
|
||||
<field x="21" y="1" type="Data" width="15" pattern="1">
|
||||
<source>#DATA_INIZIALE</source>
|
||||
</field>
|
||||
<field x="37.5" 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 x="1.09" y="1.08" type="Testo" width="20" pattern="1" text="Movimenti dal:">
|
||||
<prescript>MESSAGE ISAMREAD,COMMESSE,CODCMS=#COMMESSA,DESCRIZ</prescript>
|
||||
</field>
|
||||
<field x="1" y="2" type="Testo" width="20" pattern="1" text="Centro di costo:" />
|
||||
<field x="21" y="2" type="Stringa" width="24" pattern="1">
|
||||
<source>#COSTO</source>
|
||||
</field>
|
||||
<field x="46" y="2" type="Stringa" width="70" pattern="1">
|
||||
<prescript description="H0.0 PRESCRIPT">MESSAGE ISAMREAD,CDC,CODCOSTO=#COSTO,DESCRIZ</prescript>
|
||||
</field>
|
||||
<field x="1" y="3" type="Testo" width="20" pattern="1" text="Commessa:" />
|
||||
<field x="21" y="3" type="Stringa" width="24" pattern="1">
|
||||
<source>#COMMESSA</source>
|
||||
</field>
|
||||
<field x="46" y="3" type="Stringa" width="70" pattern="1">
|
||||
<prescript description="H0.0 PRESCRIPT">MESSAGE ISAMREAD,COMMESSE,CODCMS=#COMMESSA,DESCRIZ</prescript>
|
||||
</field>
|
||||
<field x="1" y="4" type="Testo" width="20" pattern="1" text="Fase:" />
|
||||
<field x="21" y="4" type="Stringa" width="13" pattern="1">
|
||||
<source>#FASE</source>
|
||||
</field>
|
||||
<field x="46" 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" x="1" y="6" type="Linea" width="168" height="0" pattern="1" />
|
||||
<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">
|
||||
<field border="1" radius="100" x="0.25" y="0.25" type="Testo" valign="center" align="center" shade_offset="25" width="166" height="2.5" text="BILANCIO A SEZIONI CONTRAPPOSTE">
|
||||
<font face="Courier New" bold="1" size="16" />
|
||||
<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="37" y="1.75" type="Testo" valign="center" width="55" height="2" pattern="1" text="BILANCIO A SEZIONI CONTRAPPOSTE">
|
||||
<font face="Arial" bold="1" size="14" />
|
||||
</field>
|
||||
<field x="95" 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="Courier New" bold="1" size="9" />
|
||||
<field x="26" y="0.5" type="Stringa" width="12" pattern="1">
|
||||
<font face="Arial" bold="1" size="9" />
|
||||
<field x="26" y="0.25" type="Stringa" width="12" pattern="1">
|
||||
<source>IF(SEZIONE=="AP","ATTIVITA'","COSTI")</source>
|
||||
</field>
|
||||
<field x="109" y="0.5" type="Stringa" width="12" pattern="1">
|
||||
<field x="109" y="0.25" type="Stringa" width="12" pattern="1">
|
||||
<source>IF(SEZIONE=="AP","PASSIVITA'","RICAVI")</source>
|
||||
</field>
|
||||
<field border="1" x="1" y="2" type="Linea" width="166" height="0" pattern="1" />
|
||||
<field border="1" x="1" y="1.5" type="Linea" width="164" height="0" pattern="1" />
|
||||
</section>
|
||||
<section type="Body" />
|
||||
<section type="Body" level="1">
|
||||
<field x="1" type="Stringa" width="24" pattern="1">
|
||||
<source>LEFT:CONTO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">CA_FORMAT_CONTO</prescript>
|
||||
<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="26" type="Stringa" dynamic_height="1" width="35" height="2" pattern="1">
|
||||
<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="62" type="Valuta" align="right" width="16" pattern="1" hide_zero="1" text="###.###.###,@@">
|
||||
<field x="63" type="Valuta" align="right" width="16" id="104" hide_zero="1" text="###.###.###,@@">
|
||||
<groups>1</groups>
|
||||
<source>LEFT:SALDO</source>
|
||||
</field>
|
||||
<field x="79" type="Stringa" width="1" pattern="1">
|
||||
<field x="79" type="Stringa" align="center" width="2.5" id="105">
|
||||
<groups>1</groups>
|
||||
<source>LEFT:SEZIONE</source>
|
||||
</field>
|
||||
<field x="84" type="Stringa" width="24" pattern="1">
|
||||
<source>RIGHT:CONTO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">CA_FORMAT_CONTO</prescript>
|
||||
<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="109" type="Stringa" dynamic_height="1" width="35" height="2" pattern="1">
|
||||
<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="145" type="Valuta" align="right" width="16" pattern="1" hide_zero="1" text="###.###.###,@@">
|
||||
<field x="144.5" type="Valuta" align="right" width="16" id="204" hide_zero="1" text="###.###.###,@@">
|
||||
<groups>2</groups>
|
||||
<source>RIGHT:SALDO</source>
|
||||
</field>
|
||||
<field x="162" type="Stringa" width="1" pattern="1">
|
||||
<field x="160.5" type="Stringa" align="center" width="2.5" id="205">
|
||||
<groups>2</groups>
|
||||
<source>RIGHT:SEZIONE</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot" />
|
||||
<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" />
|
||||
</report>
|
Loading…
x
Reference in New Issue
Block a user