Patch level :10.0 746
Files correlati : Ricompilazione Demo : [ ] Commento : 0001642: Stampa bilancio analitico a sez contrapposte sbaglia i totali Descrizione Stampa bilancio analitico a sez contrapposte sbaglia i totali in quanto vengono sommati anche i sub-totali di gruppo e conto. Inoltre l'intestazione della stampa cita sempre bilancio di tipo RAFFRONTO anche se CONSUNTIVO git-svn-id: svn://10.65.10.50/trunk@20486 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
4019b6617e
commit
1a65352873
171
ca/ca3200.uml
171
ca/ca3200.uml
@ -24,9 +24,95 @@ ENDPAGE
|
||||
|
||||
PAGE "Selezioni" 0 0 0 2
|
||||
|
||||
GROUPBOX DLG_NULL 78 3
|
||||
BEGIN
|
||||
PROMPT 1 0 "@bDitta"
|
||||
END
|
||||
|
||||
NUMBER F_CODDITTA 5
|
||||
BEGIN
|
||||
PROMPT 2 1 "Ditta "
|
||||
FLAGS "FRD"
|
||||
USE LF_NDITTE KEY 1
|
||||
CHECKTYPE REQUIRED
|
||||
INPUT CODDITTA F_CODDITTA
|
||||
DISPLAY "Codice" CODDITTA
|
||||
DISPLAY "Ragione sociale @50" RAGSOC
|
||||
OUTPUT F_CODDITTA CODDITTA
|
||||
OUTPUT F_RAGSOC RAGSOC
|
||||
END
|
||||
|
||||
STRING F_RAGSOC 50
|
||||
BEGIN
|
||||
PROMPT 19 1 ""
|
||||
FLAGS "D"
|
||||
END
|
||||
|
||||
DATE F_DATASTAMPA
|
||||
BEGIN
|
||||
PROMPT 2 3 "Data di stampa "
|
||||
FLAGS "A"
|
||||
END
|
||||
|
||||
NUMBER F_ANNO 4
|
||||
BEGIN
|
||||
PROMPT 52 3 "Esercizio "
|
||||
USE ESC
|
||||
INPUT CODTAB F_ANNO
|
||||
DISPLAY "Codice Esercizio" CODTAB
|
||||
DISPLAY "Data inizio esercizio" D0
|
||||
DISPLAY "Data fine esercizio " D1
|
||||
OUTPUT F_ANNO CODTAB
|
||||
CHECKTYPE NORMAL
|
||||
CHECKTYPE NORMAL
|
||||
FLAGS "RZ"
|
||||
ADD NONE
|
||||
END
|
||||
|
||||
GROUPBOX DLG_NULL 78 6
|
||||
BEGIN
|
||||
PROMPT 1 5 "@bOpzioni stampa"
|
||||
END
|
||||
|
||||
TEXT 96
|
||||
BEGIN
|
||||
PROMPT 2 6 "Dalla data competenza "
|
||||
END
|
||||
|
||||
TEXT 97
|
||||
BEGIN
|
||||
PROMPT 40 6 "Alla data competenza "
|
||||
END
|
||||
|
||||
DATE F_DATAINI
|
||||
BEGIN
|
||||
PROMPT 26 6 ""
|
||||
END
|
||||
|
||||
DATE F_DATAFIN
|
||||
BEGIN
|
||||
PROMPT 62 6 ""
|
||||
END
|
||||
|
||||
LIST F_TIPOCONTI 24
|
||||
BEGIN
|
||||
PROMPT 2 8 "Selezione conti "
|
||||
ITEM "1|Movimentati nel periodo"
|
||||
ITEM "2|Con saldo diverso da 0"
|
||||
ITEM "3|Tutti"
|
||||
END
|
||||
|
||||
LIST F_TIPIMOV 24
|
||||
BEGIN
|
||||
PROMPT 2 9 "Selezione movimenti "
|
||||
ITEM " |Qualsiasi"
|
||||
ITEM "N|Normale"
|
||||
ITEM "P|Preventivo e variazione"
|
||||
END
|
||||
|
||||
SPREADSHEET F_RIGHE -1 -1
|
||||
BEGIN
|
||||
PROMPT 0 2 ""
|
||||
PROMPT 0 11 ""
|
||||
ITEM "Cdc1"
|
||||
ITEM "Cdc2"
|
||||
ITEM "Cdc3"
|
||||
@ -43,47 +129,7 @@ END
|
||||
|
||||
ENDPAGE
|
||||
|
||||
PAGE "Parametri stampa" -1 -1 78 20
|
||||
|
||||
NUMBER F_CODDITTA 5
|
||||
BEGIN
|
||||
PROMPT 1 1 "Ditta "
|
||||
FLAGS "FRD"
|
||||
USE LF_NDITTE KEY 1
|
||||
CHECKTYPE REQUIRED
|
||||
INPUT CODDITTA F_CODDITTA
|
||||
DISPLAY "Codice" CODDITTA
|
||||
DISPLAY "Ragione sociale @50" RAGSOC
|
||||
OUTPUT F_CODDITTA CODDITTA
|
||||
OUTPUT F_RAGSOC RAGSOC
|
||||
END
|
||||
|
||||
STRING F_RAGSOC 50
|
||||
BEGIN
|
||||
PROMPT 15 1 ""
|
||||
FLAGS "D"
|
||||
END
|
||||
|
||||
DATE F_DATASTAMPA
|
||||
BEGIN
|
||||
PROMPT 1 2 "Data di stampa "
|
||||
FLAGS "A"
|
||||
END
|
||||
|
||||
NUMBER F_ANNO 4
|
||||
BEGIN
|
||||
PROMPT 49 2 "Esercizio "
|
||||
USE ESC
|
||||
INPUT CODTAB F_ANNO
|
||||
DISPLAY "Codice Esercizio" CODTAB
|
||||
DISPLAY "Data inizio esercizio" D0
|
||||
DISPLAY "Data fine esercizio " D1
|
||||
OUTPUT F_ANNO CODTAB
|
||||
CHECKTYPE NORMAL
|
||||
CHECKTYPE NORMAL
|
||||
FLAGS "RZ"
|
||||
ADD NONE
|
||||
END
|
||||
PAGE "Conti" -1 -1 78 20
|
||||
|
||||
GROUPBOX DLG_NULL 76 6
|
||||
BEGIN
|
||||
@ -95,47 +141,6 @@ BEGIN
|
||||
PROMPT 1 9 "@bA:"
|
||||
END
|
||||
|
||||
GROUPBOX DLG_NULL 76 7
|
||||
BEGIN
|
||||
PROMPT 1 15 "@bOpzioni stampa"
|
||||
END
|
||||
|
||||
TEXT 96
|
||||
BEGIN
|
||||
PROMPT 2 16 "Dalla data competenza "
|
||||
END
|
||||
|
||||
TEXT 97
|
||||
BEGIN
|
||||
PROMPT 40 16 "Alla data competenza "
|
||||
END
|
||||
|
||||
DATE F_DATAINI
|
||||
BEGIN
|
||||
PROMPT 26 16 ""
|
||||
END
|
||||
|
||||
DATE F_DATAFIN
|
||||
BEGIN
|
||||
PROMPT 62 16 ""
|
||||
END
|
||||
|
||||
LIST F_TIPOCONTI 24
|
||||
BEGIN
|
||||
PROMPT 2 18 "Selezione conti "
|
||||
ITEM "1|Movimentati nel periodo"
|
||||
ITEM "2|Con saldo diverso da 0"
|
||||
ITEM "3|Tutti"
|
||||
END
|
||||
|
||||
LIST F_TIPIMOV 24
|
||||
BEGIN
|
||||
PROMPT 2 19 "Selezione movimenti "
|
||||
ITEM " |Qualsiasi"
|
||||
ITEM "N|Normale"
|
||||
ITEM "P|Preventivo e variazione"
|
||||
END
|
||||
|
||||
ENDPAGE
|
||||
|
||||
ENDMASK
|
||||
|
200
ca/ca3300.cpp
200
ca/ca3300.cpp
@ -18,7 +18,7 @@
|
||||
// MASCHERA
|
||||
////////////////////////////////////////////////////////
|
||||
|
||||
class TPrint_bilancio_ca_mask : public TAutomask
|
||||
class TPrint_bilancio_ca_mask : public TAnal_report_mask
|
||||
{
|
||||
protected:
|
||||
virtual bool on_field_event(TOperable_field& o, TField_event e, long jolly);
|
||||
@ -26,8 +26,6 @@ protected:
|
||||
bool test_compatible_report();
|
||||
bool esistono_riclassificazioni() const;
|
||||
|
||||
void create_sheet();
|
||||
int create_sheet_fields(int lf, int& y, short& dlg, bool required);
|
||||
public:
|
||||
TPrint_bilancio_ca_mask();
|
||||
virtual ~TPrint_bilancio_ca_mask() {}
|
||||
@ -101,6 +99,7 @@ bool TPrint_bilancio_ca_mask::on_field_event(TOperable_field& o, TField_event e,
|
||||
case F_ANNO:
|
||||
case F_BILANCIO:
|
||||
case F_STAMPA:
|
||||
case F_TIPOSTAMPA:
|
||||
if (e == fe_modify || (e == fe_init && o.dlg() == F_ANNO))
|
||||
{
|
||||
test_compatible_report();
|
||||
@ -186,146 +185,40 @@ bool TPrint_bilancio_ca_mask::on_field_event(TOperable_field& o, TField_event e,
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
int TPrint_bilancio_ca_mask::create_sheet_fields(int lf, int& y, short& dlg, bool required)
|
||||
{
|
||||
TSheet_field& sf = sfield(F_RIGHE);
|
||||
TMask& sm = sf.sheet_mask();
|
||||
|
||||
const int h = ca_create_fields(sm, 0, lf, 1, y, dlg, dlg+50);
|
||||
|
||||
for (int i = 0; i < h; i++)
|
||||
{
|
||||
TEdit_field& fld = sm.efield(dlg+i);
|
||||
int logic = lf;
|
||||
if (logic == LF_FASI)
|
||||
{
|
||||
const TMultilevel_code_info& fasinfo = ca_multilevel_code_info(LF_FASI);
|
||||
if (fasinfo.parent() != 0)
|
||||
{
|
||||
const TMultilevel_code_info& parinfo = ca_multilevel_code_info(fasinfo.parent());
|
||||
if (i < parinfo.levels())
|
||||
logic = fasinfo.parent();
|
||||
}
|
||||
}
|
||||
|
||||
const char* fieldname = NULL;
|
||||
switch(logic)
|
||||
{
|
||||
case LF_CDC : fieldname = RMOVANA_CODCCOSTO; break;
|
||||
case LF_COMMESSE: fieldname = RMOVANA_CODCMS; break;
|
||||
case LF_FASI : fieldname = RMOVANA_CODFASE; break;
|
||||
default : fieldname = RMOVANA_CODCONTO; break;
|
||||
}
|
||||
TFieldref* f = (TFieldref*)fld.field();
|
||||
f->set_name(fieldname);
|
||||
|
||||
fld.check_type(required ? CHECK_REQUIRED : CHECK_NORMAL);
|
||||
|
||||
TEdit_field& dfld = sm.efield(dlg+50+i);
|
||||
dfld.set_field(EMPTY_STRING); // Toglie campi che fan saltare gli output!
|
||||
}
|
||||
|
||||
y += h+1;
|
||||
dlg += h;
|
||||
|
||||
return h;
|
||||
}
|
||||
|
||||
void TPrint_bilancio_ca_mask::create_sheet()
|
||||
{
|
||||
TSheet_field& sf = sfield(F_RIGHE);
|
||||
TMask& sm = sf.sheet_mask();
|
||||
sm.hide(-1);
|
||||
|
||||
const TMultilevel_code_info& fasinfo = ca_multilevel_code_info(LF_FASI);
|
||||
|
||||
TConfig& ini = ca_config();
|
||||
const bool fsc_req = ini.get_bool("FscRequired");
|
||||
|
||||
int y = 1;
|
||||
short dlg = S_CDC1 + 100; // id del primo campo da generare
|
||||
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
const TString& level = ini.get("Level", NULL, i+1); // Legge il livello 1 o 2
|
||||
if (level == "CDC") // Crea centro di costo
|
||||
{
|
||||
if (fasinfo.parent() == LF_CDC)
|
||||
create_sheet_fields(LF_FASI, y, dlg, fsc_req);
|
||||
else
|
||||
{
|
||||
const bool cdc_req = ini.get_bool("CdcRequired");
|
||||
create_sheet_fields(LF_CDC, y, dlg, cdc_req);
|
||||
}
|
||||
} else
|
||||
if (level == "CMS") // Crea commessa
|
||||
{
|
||||
if (fasinfo.parent() == LF_COMMESSE)
|
||||
create_sheet_fields(LF_FASI, y, dlg, fsc_req);
|
||||
else
|
||||
{
|
||||
const bool cms_req = ini.get_bool("CmsRequired");
|
||||
create_sheet_fields(LF_COMMESSE, y, dlg, cms_req);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (fasinfo.levels() > 0 && fasinfo.parent() <= 0)
|
||||
create_sheet_fields(LF_FASI, y, dlg, fsc_req);
|
||||
|
||||
for (short id = S_CDC12+100; id >= S_CDC1+100; id--)
|
||||
{
|
||||
const int pos = sm.id2pos(id);
|
||||
if (pos >= 0)
|
||||
{
|
||||
TMask_field& f = sm.fld(pos);
|
||||
const int size = f.size();
|
||||
const TString& prompt = f.prompt();
|
||||
sf.set_column_header(id, prompt);
|
||||
sf.set_column_justify(id, f.is_kind_of(CLASS_REAL_FIELD));
|
||||
sf.set_column_width(id, (max(3+size, prompt.len()+1)) * CHARX);
|
||||
}
|
||||
else
|
||||
sf.delete_column(id);
|
||||
}
|
||||
return TAnal_report_mask::on_field_event(o, e, jolly);
|
||||
}
|
||||
|
||||
|
||||
TPrint_bilancio_ca_mask::TPrint_bilancio_ca_mask()
|
||||
:TAutomask("ca3300")
|
||||
:TAnal_report_mask("ca3300")
|
||||
{
|
||||
TConfig& cfg = ca_config();
|
||||
|
||||
const bool use_pdcc = cfg.get_bool("UsePdcc");
|
||||
|
||||
const TMultilevel_code_info& pconana_info = ca_multilevel_code_info(LF_PCONANA);
|
||||
const int pconana_levels = pconana_info.levels();
|
||||
|
||||
int pconana_prefix = cfg.get_int("PdcPrefix");
|
||||
if (pconana_prefix >= pconana_levels)
|
||||
pconana_prefix = pconana_levels-1;
|
||||
int prefix = cfg.get_int("PdcPrefix");
|
||||
if (prefix >= pconana_levels)
|
||||
prefix = pconana_levels-1;
|
||||
|
||||
disable(F_PIANO);
|
||||
set(F_PIANO, use_pdcc ? "C" : "A");
|
||||
|
||||
// Controllo se voglio (e posso) usare il conto analitico come prefisso di quello contabile
|
||||
const int pref = cfg.get_int("PdcPrefix");
|
||||
if (use_pdcc && pref > 0)
|
||||
if (use_pdcc && prefix > 0)
|
||||
{
|
||||
const TMultilevel_code_info& info = ca_multilevel_code_info(LF_PCONANA);
|
||||
const int levels = info.levels();
|
||||
if (levels >= 2 && pref < levels && esistono_riclassificazioni())
|
||||
if (levels >= 2 && prefix < levels && esistono_riclassificazioni())
|
||||
{
|
||||
enable(F_PIANO);
|
||||
ca_create_fields(*this, 1, LF_PCONANA, 2, 2, F_PRE1, F_PREDES1, 0x0, PCONANA_CODCONTO);
|
||||
ca_create_fields(*this, 1, LF_PCONANA, 2, 4, F_PRE1, F_PREDES1, 0x0, PCONANA_CODCONTO);
|
||||
|
||||
// Nascondi i campi che non fanno parte del prefisso
|
||||
for (int i = 0; i < levels; i++)
|
||||
{
|
||||
if (i < pref)
|
||||
if (i < prefix)
|
||||
{
|
||||
field(F_PRE1 + i).check_type(CHECK_REQUIRED);
|
||||
field(F_PRE1 + i).set_group(6);
|
||||
@ -348,8 +241,8 @@ TPrint_bilancio_ca_mask::TPrint_bilancio_ca_mask()
|
||||
const short a_dlg = g == 5 ? F_PDC1_FIN : F_PAN1_FIN;
|
||||
const short a_des = g == 5 ? F_PDCDES1_FIN : F_PANDES1_FIN;
|
||||
|
||||
const int nfields = ca_create_fields(*this, 1, logicnum, 2, 8, da_dlg, da_des, 0x0, PCONANA_CODCONTO);
|
||||
ca_create_fields(*this, 1, logicnum, 2, 14, a_dlg, a_des, 0x0, PCONANA_CODCONTO);
|
||||
const int nfields = ca_create_fields(*this, 1, logicnum, 2, 10, da_dlg, da_des, 0x0, PCONANA_CODCONTO);
|
||||
ca_create_fields(*this, 1, logicnum, 2, 16, a_dlg, a_des, 0x0, PCONANA_CODCONTO);
|
||||
|
||||
for (int i = 0; i < nfields; i++)
|
||||
{
|
||||
@ -374,7 +267,7 @@ TPrint_bilancio_ca_mask::TPrint_bilancio_ca_mask()
|
||||
}
|
||||
|
||||
// creazione dei campi della seconda pagina della maschera
|
||||
create_sheet();
|
||||
create_sheet(F_RIGHE);
|
||||
|
||||
set_handlers(); // Setta l'andler universale a tutti i nuovi campi
|
||||
}
|
||||
@ -533,6 +426,7 @@ protected:
|
||||
void add_conto(int indbil, const TString& b);
|
||||
void calcola_totali();
|
||||
void get_section(const TImporto& imp, TVariant& var) const;
|
||||
char get_tipo_livello(const TSaldo_contrapposto& sc, int& livello, int& livelli) const;
|
||||
|
||||
public:
|
||||
virtual TRecnotype items() const;
|
||||
@ -796,12 +690,36 @@ void TRecordset_sezioni_contrapposte::get_section(const TImporto& imp, TVariant&
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
char TRecordset_sezioni_contrapposte::get_tipo_livello(const TSaldo_contrapposto& sc, int& livello, int& livelli) const
|
||||
{
|
||||
const int len = sc._conto.len();
|
||||
const char tipo = tipo_piano();
|
||||
if (tipo == 'C')
|
||||
{
|
||||
livello = len <= 3 ? 1 : (len <= 6 ? 2 : 3);
|
||||
livelli = 3;
|
||||
}
|
||||
else
|
||||
{
|
||||
const TMultilevel_code_info& pconana_info = ca_multilevel_code_info(LF_PCONANA);
|
||||
livelli = pconana_info.levels();
|
||||
for (livello = livelli; livello > 1; livello--)
|
||||
{
|
||||
if (len >= pconana_info.total_len(livello-1))
|
||||
break;
|
||||
}
|
||||
}
|
||||
return tipo;
|
||||
}
|
||||
|
||||
|
||||
const TVariant& TRecordset_sezioni_contrapposte::get_fld(const TArray& a, int r, const char* field) const
|
||||
{
|
||||
const TFixed_string fld(field);
|
||||
TVariant& var = get_tmp_var();
|
||||
if (r >= 0 && r < a.items())
|
||||
{
|
||||
const TFixed_string fld(field);
|
||||
const TSaldo_contrapposto& sc = (const TSaldo_contrapposto&)a[r];
|
||||
if (fld == "CONTO")
|
||||
var = sc._conto; else
|
||||
@ -845,17 +763,39 @@ const TVariant& TRecordset_sezioni_contrapposte::get_fld(const TArray& a, int r,
|
||||
} 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 :-)
|
||||
}
|
||||
int livello, livelli;
|
||||
get_tipo_livello(sc, livello, livelli);
|
||||
var = livello;
|
||||
} else
|
||||
if (fld == "BACKCOLOR")
|
||||
{
|
||||
int livello, livelli;
|
||||
get_tipo_livello(sc, livello, livelli);
|
||||
int rgb = livello * 255 / livelli;
|
||||
var = long(XVT_MAKE_COLOR(rgb, rgb, rgb) & 0xFFFFFF);
|
||||
} else
|
||||
if (fld == "TEXTCOLOR")
|
||||
{
|
||||
int livello, livelli;
|
||||
get_tipo_livello(sc, livello, livelli);
|
||||
//il foreground color può essere solo bianco o nero
|
||||
int rgb = (livello * 255 / livelli) <= 128 ? 255 : 0;
|
||||
var = long(XVT_MAKE_COLOR(rgb, rgb, rgb) & 0xFFFFFF);
|
||||
}
|
||||
}
|
||||
else
|
||||
var = EMPTY_STRING;
|
||||
{
|
||||
if (fld == "BACKCOLOR")
|
||||
{
|
||||
var = long(XVT_MAKE_COLOR(255, 255, 255));
|
||||
} else
|
||||
if (fld == "TEXTCOLOR")
|
||||
{
|
||||
var = long(XVT_MAKE_COLOR(0, 0, 0));
|
||||
}
|
||||
else
|
||||
var = EMPTY_STRING;
|
||||
}
|
||||
return var;
|
||||
}
|
||||
|
||||
|
@ -141,32 +141,33 @@ END
|
||||
|
||||
ENDPAGE
|
||||
|
||||
PAGE "Selezioni" -1 -1 74 20
|
||||
PAGE "Conti" -1 -1 74 20
|
||||
|
||||
LIST F_PIANO 1 20
|
||||
BEGIN
|
||||
PROMPT 1 0 "Piano dei conti "
|
||||
PROMPT 1 1 "Piano dei conti "
|
||||
ITEM "A|Analitico"
|
||||
MESSAGE HIDE,5@|SHOW,6@
|
||||
ITEM "C|Contabile"
|
||||
MESSAGE SHOW,5@|HIDE,6@
|
||||
FLAGS "G"
|
||||
END
|
||||
|
||||
GROUPBOX F_PRE0 78 6
|
||||
BEGIN
|
||||
PROMPT 1 1 "@bPrefisso del piano dei conti analitico:"
|
||||
PROMPT 1 3 "@bPrefisso del piano dei conti analitico:"
|
||||
GROUP 6
|
||||
END
|
||||
|
||||
GROUPBOX F_PDC0_INI 78 6
|
||||
BEGIN
|
||||
PROMPT 1 7 "@bDa conto:"
|
||||
PROMPT 1 9 "@bDa conto:"
|
||||
GROUP 4
|
||||
END
|
||||
|
||||
GROUPBOX F_PDC0_FIN 78 6
|
||||
BEGIN
|
||||
PROMPT 1 13 "@bA conto:"
|
||||
PROMPT 1 15 "@bA conto:"
|
||||
GROUP 4
|
||||
END
|
||||
|
||||
|
158
ca/ca3300c.rep
158
ca/ca3300c.rep
@ -4,24 +4,24 @@
|
||||
<font face="Courier New" size="8" />
|
||||
<section type="Head">
|
||||
<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="86" type="Testo" width="6" pattern="1" text="Conto" />
|
||||
<field x="100" type="Testo" width="12" pattern="1" text="Descrizione" />
|
||||
<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" />
|
||||
<field x="41" type="Testo" align="right" width="12" text="Preventivo" />
|
||||
<field x="55" type="Testo" align="right" width="12" text="Consuntivo" />
|
||||
<field x="69" type="Testo" align="right" width="12" text="Differenza" />
|
||||
<field x="86" type="Testo" width="6" text="Conto" />
|
||||
<field x="100" type="Testo" width="12" text="Descrizione" />
|
||||
<field x="125" type="Testo" align="right" width="12" text="Preventivo" />
|
||||
<field x="139" type="Testo" align="right" width="12" text="Consuntivo" />
|
||||
<field x="153" type="Testo" align="right" width="12" text="Differenza" />
|
||||
<field x="2" y="0.25" type="Testo" width="6" text="Conto" />
|
||||
<field x="16" y="0.25" type="Testo" width="12" text="Descrizione" />
|
||||
<field border="1" x="1" y="1.25" type="Linea" width="164" height="0" />
|
||||
</section>
|
||||
<section type="Head" level="1">
|
||||
<field border="1" radius="100" x="8.21" y="0.91" type="Rettangolo" shade_offset="25" width="150" height="3.5" />
|
||||
<field x="35" y="1.5" type="Testo" valign="center" width="70" height="2" pattern="1" text="SITUAZIONE CONTI A SEZIONI CONTRAPPOSTE:">
|
||||
<field border="1" radius="100" x="8.21" y="0.91" type="Rettangolo" shade_offset="25" width="150" height="3.5" pattern="2" />
|
||||
<field x="35" y="1.5" type="Testo" valign="center" width="70" height="2" text="SITUAZIONE CONTI A SEZIONI CONTRAPPOSTE:">
|
||||
<font face="Arial" bold="1" size="14" />
|
||||
</field>
|
||||
<field x="108" y="1.5" type="Array" valign="center" width="20" height="2" pattern="1">
|
||||
<field x="108" y="1.5" type="Array" valign="center" width="20" height="2">
|
||||
<font face="Arial" bold="1" size="14" />
|
||||
<source>#TIPOSTAMPA</source>
|
||||
<list>
|
||||
@ -30,203 +30,171 @@
|
||||
<li Value="RAFFRONTO" Code="R" />
|
||||
</list>
|
||||
</field>
|
||||
<field x="2" y="5.16" type="Stringa" width="50" pattern="1">
|
||||
<field x="2" y="5.16" type="Stringa" width="50">
|
||||
<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:">
|
||||
<field x="72.15" y="5.16" type="Testo" width="20" text="Data di stampa:">
|
||||
<font face="Arial" size="9" />
|
||||
</field>
|
||||
<field x="92.15" y="5.16" type="Data" width="15" pattern="1">
|
||||
<field x="92.15" y="5.16" type="Data" width="15">
|
||||
<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:">
|
||||
<field x="2" y="6.41" type="Testo" width="20" 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">
|
||||
<field x="22" y="6.41" type="Data" width="15">
|
||||
<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:">
|
||||
<field x="39.4" y="6.41" type="Testo" width="4" text="al:">
|
||||
<font face="Arial" size="9" />
|
||||
</field>
|
||||
<field x="44.15" y="6.41" type="Data" width="15" pattern="1">
|
||||
<field x="44.15" y="6.41" type="Data" width="15">
|
||||
<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:">
|
||||
<field x="2" y="7.66" type="Testo" width="20" text="Centro di costo:">
|
||||
<font face="Arial" size="9" />
|
||||
</field>
|
||||
<field x="22" y="7.66" type="Stringa" width="24" pattern="1">
|
||||
<field x="22" y="7.66" type="Stringa" width="24">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<source>#COSTO</source>
|
||||
</field>
|
||||
<field x="47.15" y="7.66" type="Stringa" width="70" pattern="1">
|
||||
<field x="47.15" y="7.66" type="Stringa" width="70">
|
||||
<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:">
|
||||
<field x="2" y="8.91" type="Testo" width="20" text="Commessa:">
|
||||
<font face="Arial" size="9" />
|
||||
</field>
|
||||
<field x="22" y="8.91" type="Stringa" width="24" pattern="1">
|
||||
<field x="22" y="8.91" type="Stringa" width="24">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<source>#COMMESSA</source>
|
||||
</field>
|
||||
<field x="47.15" y="8.91" type="Stringa" width="70" pattern="1">
|
||||
<field x="47.15" y="8.91" type="Stringa" width="70">
|
||||
<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:">
|
||||
<field x="2" y="10.16" type="Testo" width="20" text="Fase:">
|
||||
<font face="Arial" size="9" />
|
||||
</field>
|
||||
<field x="22" y="10.16" type="Stringa" width="13" pattern="1">
|
||||
<field x="22" y="10.16" type="Stringa" width="13">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<source>#FASE</source>
|
||||
</field>
|
||||
<field x="47.15" y="10.16" type="Stringa" width="70" pattern="1">
|
||||
<field x="47.15" y="10.16" type="Stringa" width="70">
|
||||
<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" />
|
||||
<field border="1" x="2" y="11.5" type="Linea" width="164" height="0" />
|
||||
</section>
|
||||
<section repeat="1" type="Head" level="2" page_break="1">
|
||||
<groupby>SEZIONE</groupby>
|
||||
<font face="Arial" bold="1" size="9" />
|
||||
<field x="67" y="0.5" type="Stringa" align="center" width="35" height="1.25" pattern="1">
|
||||
<field x="67" y="0.5" type="Stringa" align="center" width="35" height="1.25">
|
||||
<source>IF(SEZIONE=="AP","SITUAZIONE CONTO ECONOMICO","SITUAZIONE CONTI PATRIMONIALI")</source>
|
||||
</field>
|
||||
<field x="26" y="1.75" type="Stringa" width="12" pattern="1">
|
||||
<field x="26" y="1.75" type="Stringa" width="12">
|
||||
<source>IF(SEZIONE=="AP","ATTIVITA'","COSTI")</source>
|
||||
</field>
|
||||
<field x="122" y="1.75" type="Stringa" width="12" pattern="1">
|
||||
<field x="122" y="1.75" type="Stringa" width="12">
|
||||
<source>IF(SEZIONE=="AP","PASSIVITA'","RICAVI")</source>
|
||||
</field>
|
||||
<field border="1" x="1" y="3.25" type="Linea" width="164" height="0" pattern="1" />
|
||||
<field border="1" x="1" y="3.25" type="Linea" width="164" height="0" />
|
||||
</section>
|
||||
<section type="Body" />
|
||||
<section type="Body" level="1">
|
||||
<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">
|
||||
<field border="1" x="83" type="Linea" />
|
||||
<field type="Stringa" hidden="1" width="1" id="101">
|
||||
<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>
|
||||
<prescript description="B1.101 PRESCRIPT">"LEFT:BACKCOLOR" @ "1@" SET_BACK_COLOR
|
||||
"LEFT:TEXTCOLOR" @ "1@" SET_TEXT_COLOR
|
||||
</prescript>
|
||||
</field>
|
||||
<field x="1" type="Stringa" width="14" id="102">
|
||||
<field x="1" type="Stringa" width="14" id="102" pattern="2">
|
||||
<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">
|
||||
<field x="15" type="Stringa" width="25" id="103" pattern="2">
|
||||
<font face="Arial Narrow" size="8" />
|
||||
<groups>1</groups>
|
||||
<source>LEFT:DESCR</source>
|
||||
</field>
|
||||
<field x="40" type="Valuta" align="right" width="12" id="104" hide_zero="1" text="###.###.###,@@">
|
||||
<field x="40" type="Valuta" align="right" width="12" id="104" pattern="2" hide_zero="1" text="###.###.###,@@">
|
||||
<groups>1</groups>
|
||||
<source>LEFT:SALDOP</source>
|
||||
</field>
|
||||
<field x="52" type="Stringa" align="center" width="2" id="105">
|
||||
<field x="52" type="Stringa" align="center" width="2" id="105" pattern="2">
|
||||
<groups>1</groups>
|
||||
<source>LEFT:SEZIONEP</source>
|
||||
</field>
|
||||
<field x="54" type="Valuta" align="right" width="12" id="204" hide_zero="1" text="###.###.###,@@">
|
||||
<field x="54" type="Valuta" align="right" width="12" id="204" pattern="2" hide_zero="1" text="###.###.###,@@">
|
||||
<groups>1</groups>
|
||||
<source>LEFT:SALDOC</source>
|
||||
</field>
|
||||
<field x="66" type="Stringa" align="center" width="2" id="205">
|
||||
<field x="66" type="Stringa" align="center" width="2" id="205" pattern="2">
|
||||
<groups>1</groups>
|
||||
<source>LEFT:SEZIONEC</source>
|
||||
</field>
|
||||
<field x="84" type="Stringa" hidden="1" width="1" id="301" pattern="1">
|
||||
<field x="84" type="Stringa" hidden="1" width="1" id="301">
|
||||
<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>
|
||||
<prescript description="B1.301 PRESCRIPT">"RIGHT:BACKCOLOR" @ "2@" SET_BACK_COLOR
|
||||
"RIGHT:TEXTCOLOR" @ "2@" SET_TEXT_COLOR
|
||||
</prescript>
|
||||
</field>
|
||||
<field x="85" type="Stringa" width="14" id="302">
|
||||
<field x="85" type="Stringa" width="14" id="302" pattern="2">
|
||||
<groups>2</groups>
|
||||
<source>RIGHT:CONTO</source>
|
||||
<prescript description="B1.302 PRESCRIPT">CA_FORMAT_CONTO</prescript>
|
||||
</field>
|
||||
<field x="99" type="Stringa" width="25" id="303">
|
||||
<field x="99" type="Stringa" width="25" id="303" pattern="2">
|
||||
<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="###.###.###,@@">
|
||||
<field x="68" type="Valuta" align="right" width="12" id="304" pattern="2" hide_zero="1" text="###.###.###,@@">
|
||||
<groups>1</groups>
|
||||
<source>LEFT:SALDO</source>
|
||||
</field>
|
||||
<field x="124" type="Valuta" align="right" width="12" id="304" hide_zero="1" text="###.###.###,@@">
|
||||
<field x="124" type="Valuta" align="right" width="12" id="304" pattern="2" 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">
|
||||
<field x="80" type="Stringa" align="center" width="2.5" id="305" pattern="2">
|
||||
<groups>1</groups>
|
||||
<source>LEFT:SEZIONE</source>
|
||||
</field>
|
||||
<field x="136" type="Stringa" width="2" id="305">
|
||||
<field x="136" type="Stringa" width="2" id="305" pattern="2">
|
||||
<groups>2</groups>
|
||||
<source>RIGHT:SEZIONEP</source>
|
||||
</field>
|
||||
<field x="138" type="Valuta" align="right" width="12" id="404" hide_zero="1" text="###.###.###,@@">
|
||||
<field x="138" type="Valuta" align="right" width="12" id="404" pattern="2" hide_zero="1" text="###.###.###,@@">
|
||||
<groups>2</groups>
|
||||
<source>RIGHT:SALDOC</source>
|
||||
</field>
|
||||
<field x="150" type="Stringa" width="2" id="405">
|
||||
<field x="150" type="Stringa" width="2" id="405" pattern="2">
|
||||
<groups>2</groups>
|
||||
<source>RIGHT:SEZIONEC</source>
|
||||
</field>
|
||||
<field x="152" type="Valuta" align="right" width="12" id="504" hide_zero="1" text="###.###.###,@@">
|
||||
<field x="152" type="Valuta" align="right" width="12" id="504" pattern="2" hide_zero="1" text="###.###.###,@@">
|
||||
<groups>2</groups>
|
||||
<source>RIGHT:SALDO</source>
|
||||
</field>
|
||||
<field x="164" type="Stringa" width="2" id="505">
|
||||
<field x="164" type="Stringa" width="2" id="505" pattern="2">
|
||||
<groups>2</groups>
|
||||
<source>RIGHT:SEZIONE</source>
|
||||
</field>
|
||||
</section>
|
||||
<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">
|
||||
<field border="1" y="0.5" type="Linea" width="162" height="0" />
|
||||
<field x="145" y="1" type="Testo" width="5" text="Pag." />
|
||||
<field x="150" y="1" type="Numero" align="right" width="4">
|
||||
<source>#REPORT.PAGE</source>
|
||||
</field>
|
||||
</section>
|
||||
|
176
ca/ca3300d.rep
176
ca/ca3300d.rep
@ -4,21 +4,21 @@
|
||||
<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" />
|
||||
<field x="1" y="0.25" type="Testo" width="8" text="Conto" />
|
||||
<field x="16" y="0.25" type="Testo" width="12" text="Descrizione" />
|
||||
<field x="72" y="0.25" type="Testo" align="right" width="8" text="Saldo" />
|
||||
<field x="82" y="0.25" type="Testo" width="8" text="Conto" />
|
||||
<field x="97" y="0.25" type="Testo" width="12" text="Descrizione" />
|
||||
<field x="153" y="0.25" type="Testo" align="right" width="8" text="Saldo" />
|
||||
<field border="1" x="1" y="1.5" type="Linea" width="164" height="0" />
|
||||
</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:">
|
||||
<field border="1" radius="100" x="7.5" y="1" type="Rettangolo" shade_offset="25" width="150" height="3.5" pattern="2" />
|
||||
<field x="28" y="1.75" type="Testo" valign="center" width="75" height="2" 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">
|
||||
<field x="103" y="1.75" type="Array" valign="center" width="20" height="2">
|
||||
<font face="Arial" bold="1" size="14" />
|
||||
<source>#TIPOSTAMPA</source>
|
||||
<list>
|
||||
@ -27,111 +27,95 @@
|
||||
<li Value="RAFFRONTO" Code="R" />
|
||||
</list>
|
||||
</field>
|
||||
<field x="1.9" y="6" type="Stringa" width="50" pattern="1">
|
||||
<field x="1.9" y="6" type="Stringa" width="50">
|
||||
<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">
|
||||
<field x="72" y="6" type="Testo" width="20" text="Data di stampa:" />
|
||||
<field x="92" y="6" type="Data" width="15">
|
||||
<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:">
|
||||
<field x="1.9" y="7.25" type="Testo" width="20" 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">
|
||||
<field x="21.9" y="7.25" type="Data" width="15">
|
||||
<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">
|
||||
<field x="38.4" y="7.25" type="Testo" width="4" text="al:" />
|
||||
<field x="42.9" y="7.25" type="Data" width="15">
|
||||
<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">
|
||||
<field x="1.9" y="8.5" type="Testo" width="20" text="Centro di costo:" />
|
||||
<field x="21.9" y="8.5" type="Stringa" width="24">
|
||||
<font face="Arial" bold="1" size="9" />
|
||||
<source>#COSTO</source>
|
||||
</field>
|
||||
<field x="46.9" y="8.5" type="Stringa" width="70" pattern="1">
|
||||
<field x="46.9" y="8.5" type="Stringa" width="70">
|
||||
<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">
|
||||
<field x="1.9" y="9.75" type="Testo" width="20" text="Commessa:" />
|
||||
<field x="21.9" y="9.75" type="Stringa" width="24">
|
||||
<font face="Arial" bold="1" size="9" />
|
||||
<source>#COMMESSA</source>
|
||||
</field>
|
||||
<field x="46.9" y="9.75" type="Stringa" width="70" pattern="1">
|
||||
<field x="46.9" y="9.75" type="Stringa" width="70">
|
||||
<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">
|
||||
<field x="1.9" y="11" type="Testo" width="20" text="Fase:" />
|
||||
<field x="21.9" y="11" type="Stringa" width="13">
|
||||
<font face="Arial" bold="1" size="9" />
|
||||
<source>#FASE</source>
|
||||
</field>
|
||||
<field x="46.9" y="11" type="Stringa" width="70" pattern="1">
|
||||
<field x="46.9" y="11" type="Stringa" width="70">
|
||||
<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" />
|
||||
<field border="1" x="1" y="12.5" type="Linea" width="164" height="0" />
|
||||
</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">
|
||||
<field x="62" y="0.75" type="Stringa" align="center" width="35" height="1.25">
|
||||
<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">
|
||||
<field x="1" y="1" type="Stringa" hidden="1" width="2">
|
||||
<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">
|
||||
<field x="26" y="1.75" type="Stringa" width="12">
|
||||
<source>IF(SEZIONE=="AP","ATTIVITA'","COSTI")</source>
|
||||
</field>
|
||||
<field x="122" y="1.75" type="Stringa" width="12" pattern="1">
|
||||
<field x="122" y="1.75" type="Stringa" width="12">
|
||||
<source>IF(SEZIONE=="AP","PASSIVITA'","RICAVI")</source>
|
||||
</field>
|
||||
<field border="1" x="1" y="3.25" type="Linea" width="164" height="0" pattern="1" />
|
||||
<field border="1" x="1" y="3.25" type="Linea" width="164" height="0" />
|
||||
</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">
|
||||
<field border="1" x="82" type="Linea" />
|
||||
<field type="Numero" hidden="1" align="right" width="1" id="101">
|
||||
<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>
|
||||
<prescript description="B1.101 PRESCRIPT">"LEFT:BACKCOLOR" @ "1@" SET_BACK_COLOR
|
||||
"LEFT:TEXTCOLOR" @ "1@" SET_TEXT_COLOR
|
||||
</prescript>
|
||||
</field>
|
||||
<field x="1" type="Stringa" width="14" id="102">
|
||||
<field x="1" type="Stringa" width="14" id="102" pattern="2">
|
||||
<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">
|
||||
<field x="15" type="Stringa" width="48" id="103" pattern="2">
|
||||
<groups>1</groups>
|
||||
<source>LEFT:DESCR</source>
|
||||
</field>
|
||||
<field x="63" type="Valuta" align="right" width="16" id="104" hide_zero="1" text="###.###.###,@@">
|
||||
<field x="63" type="Valuta" align="right" width="16" id="104" pattern="2" hide_zero="1" text="###.###.###,@@">
|
||||
<groups>1</groups>
|
||||
<source>LEFT:SALDO</source>
|
||||
<postscript description="B1.104 POSTSCRIPT">#101 @
|
||||
@ -140,7 +124,7 @@ THEN</prescript>
|
||||
"F2.104" +!
|
||||
THEN</postscript>
|
||||
</field>
|
||||
<field x="79" type="Stringa" align="center" width="2.5" id="105">
|
||||
<field x="79" type="Stringa" align="center" width="2.5" id="105" pattern="2">
|
||||
<groups>1</groups>
|
||||
<source>LEFT:SEZIONE</source>
|
||||
<postscript description="B1.105 POSTSCRIPT">#101 @
|
||||
@ -149,38 +133,22 @@ THEN</postscript>
|
||||
"F2.105" !
|
||||
THEN</postscript>
|
||||
</field>
|
||||
<field x="81.5" type="Numero" hidden="1" align="right" width="1" id="201" pattern="1">
|
||||
<field x="81.5" type="Numero" hidden="1" align="right" width="1" id="201">
|
||||
<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>
|
||||
<prescript description="B1.201 PRESCRIPT">"RIGHT:BACKCOLOR" @ "2@" SET_BACK_COLOR
|
||||
"RIGHT:TEXTCOLOR" @ "2@" SET_TEXT_COLOR
|
||||
</prescript>
|
||||
</field>
|
||||
<field x="82.5" type="Stringa" width="14" id="202">
|
||||
<field x="82.5" type="Stringa" width="14" id="202" pattern="2">
|
||||
<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">
|
||||
<field x="96.5" type="Stringa" width="48" id="203" pattern="2">
|
||||
<groups>2</groups>
|
||||
<source>RIGHT:DESCR</source>
|
||||
</field>
|
||||
<field x="144.5" type="Valuta" align="right" width="16" id="204" hide_zero="1" text="###.###.###,@@">
|
||||
<field x="144.5" type="Valuta" align="right" width="16" id="204" pattern="2" hide_zero="1" text="###.###.###,@@">
|
||||
<groups>2</groups>
|
||||
<source>RIGHT:SALDO</source>
|
||||
<postscript description="B1.204 POSTSCRIPT">#201 @
|
||||
@ -189,7 +157,7 @@ THEN</prescript>
|
||||
"F2.204" +!
|
||||
THEN</postscript>
|
||||
</field>
|
||||
<field x="160.5" type="Stringa" align="center" width="2.5" id="205">
|
||||
<field x="160.5" type="Stringa" align="center" width="2.5" id="205" pattern="2">
|
||||
<groups>2</groups>
|
||||
<source>RIGHT:SEZIONE</source>
|
||||
<postscript description="B1.205 POSTSCRIPT">#201 @
|
||||
@ -201,23 +169,23 @@ THEN</postscript>
|
||||
</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">
|
||||
<field border="1" y="0.25" type="Linea" width="166" height="0" />
|
||||
<field x="150" y="1" type="Testo" width="6" text="Pag." />
|
||||
<field x="156" y="1" type="Numero" align="right" width="4">
|
||||
<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 border="1" x="1" y="1" type="Linea" width="164" height="0" />
|
||||
<field x="46" y="2" type="Testo" width="10" text="TOTALE" />
|
||||
<field x="127" y="2" type="Testo" width="10" text="TOTALE" />
|
||||
<field x="8" y="3" type="Stringa" hidden="1" width="2" id="101" />
|
||||
<field x="63" y="2" type="Valuta" align="right" width="16" id="104" hide_zero="1" text="###.###.###,@@" />
|
||||
<field x="79" y="2" type="Stringa" align="center" width="2.5" id="105" />
|
||||
<field x="144" y="2" type="Valuta" align="right" width="16" id="204" hide_zero="1" text="###.###.###,@@" />
|
||||
<field x="160" y="2" type="Stringa" align="center" width="2.5" id="205" />
|
||||
<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 @
|
||||
@ -235,51 +203,51 @@ ELSE
|
||||
THEN
|
||||
</prescript>
|
||||
</field>
|
||||
<field x="46" y="3" type="Testo" width="10" id="405" pattern="1" text="SBILANCIO">
|
||||
<field x="46" y="3" type="Testo" width="10" id="405" 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="###.###.###,@@">
|
||||
<field x="63" y="3" type="Valuta" align="right" width="16" id="406" hide_zero="1" text="###.###.###,@@">
|
||||
<groups>1</groups>
|
||||
</field>
|
||||
<field x="79" y="3" type="Stringa" align="center" width="2.5" id="407" pattern="1">
|
||||
<field x="79" y="3" type="Stringa" align="center" width="2.5" id="407">
|
||||
<groups>1</groups>
|
||||
<source>#105</source>
|
||||
</field>
|
||||
<field x="127" y="3" type="Testo" width="10" id="408" pattern="1" text="SBILANCIO">
|
||||
<field x="127" y="3" type="Testo" width="10" id="408" 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="###.###.###,@@">
|
||||
<field x="144" y="3" type="Valuta" align="right" width="16" id="409" hide_zero="1" text="###.###.###,@@">
|
||||
<groups>2</groups>
|
||||
</field>
|
||||
<field x="160" y="3" type="Stringa" align="center" width="2.5" id="410" pattern="1">
|
||||
<field x="160" y="3" type="Stringa" align="center" width="2.5" id="410">
|
||||
<groups>2</groups>
|
||||
<source>#205</source>
|
||||
</field>
|
||||
<field x="46" y="4" type="Testo" width="15" id="411" pattern="1" text="TOT A PAREGGIO">
|
||||
<field x="46" y="4" type="Testo" width="15" id="411" 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="###.###.###,@@">
|
||||
<field x="63" y="4" type="Valuta" align="right" width="16" id="412" 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">
|
||||
<field x="79" y="4" type="Stringa" align="center" width="2.5" id="413">
|
||||
<groups>1</groups>
|
||||
<source>#105</source>
|
||||
</field>
|
||||
<field x="127" y="4" type="Testo" width="15" id="414" pattern="1" text="TOT A PAREGGIO">
|
||||
<field x="127" y="4" type="Testo" width="15" id="414" 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="###.###.###,@@">
|
||||
<field x="144" y="4" type="Valuta" align="right" width="16" id="415" 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">
|
||||
<field x="160" y="4" type="Stringa" align="center" width="2.5" id="416">
|
||||
<groups>2</groups>
|
||||
<source>#205</source>
|
||||
</field>
|
||||
|
Loading…
x
Reference in New Issue
Block a user