Patch level : 12.00 1256

Files correlati     : cg1500ax.msk cg1500b.rep cg1500c.rep cg2.exe

Commento            :
Stammpa bilnci avanzata
This commit is contained in:
Alessandro Bonazzi 2023-04-12 10:08:58 +02:00
parent 4b64ddeaa2
commit 44ed2784b3
7 changed files with 1160 additions and 451 deletions

View File

@ -32,7 +32,10 @@ void TXRef_mask::test_rmov()
TString msg; TString msg;
TISAM_recordset rmov_set("USE RMOV"); TISAM_recordset rmov_set("USE RMOV");
const TRectype& rmov = rmov_set.cursor()->curr(); const TRectype& rmov = rmov_set.cursor()->curr();
{
TProgress_monitor pm(rmov_set.items(), TR("Scansione righe contabili")); TProgress_monitor pm(rmov_set.items(), TR("Scansione righe contabili"));
for (bool ok = rmov_set.move_first(); ok; ok = rmov_set.move_next()) for (bool ok = rmov_set.move_first(); ok; ok = rmov_set.move_next())
{ {
const long numreg = rmov.get_long(RMV_NUMREG); const long numreg = rmov.get_long(RMV_NUMREG);
@ -64,7 +67,7 @@ void TXRef_mask::test_rmov()
if (!pm.add_status()) if (!pm.add_status())
break; break;
} }
}
log.preview(); log.preview();
} }

View File

@ -45,6 +45,13 @@
class TStampa_bilanci : public TPrintapp class TStampa_bilanci : public TPrintapp
{ {
static bool mask_anno(TMask_field& f, KEY k);
static bool mask_datalim(TMask_field& f, KEY k);
static bool verifica_handler(TMask_field& f, KEY k);
static bool mask_dataini(TMask_field& f, KEY k);
static bool mask_bilancio(TMask_field& f, KEY k);
static bool mask_tipost(TMask_field& f, KEY k);
struct cli_for struct cli_for
{ {
char tipocf; char tipocf;
@ -172,6 +179,141 @@ public:
HIDDEN inline TStampa_bilanci& app() { return (TStampa_bilanci&)main_app(); } HIDDEN inline TStampa_bilanci& app() { return (TStampa_bilanci&)main_app(); }
bool TStampa_bilanci::mask_anno(TMask_field& f, KEY k)
{
TMask& m = f.mask();
if (k == K_ENTER)
{
const int tipo_stampa = m.get_int(F_STAMPA);
const int anno = m.get_int(F_ANNO);
if (tipo_stampa == 2 && anno == 0)
return f.error_box(TR("Indicare l'anno di esercizio"));
}
if (f.running_check(k))
{
const int tipo_stampa = m.get_int(F_STAMPA);
const int anno = m.get_int(F_ANNO);
const int bilancio = m.get_int(F_BILANCIO);
const TDate datalim = m.get_date(F_DATALIM);
TDate data;
if (esercizi().exist(datalim))
data = esercizio(datalim).fine();
m.enable_page(1, bilancio != 1);
m.show(F_DATAINI, bilancio == 2 && tipo_stampa == 1);
m.show(F_QUADRATURA, bilancio == 2 && tipo_stampa == 1 && data == datalim);
}
return true;
}
bool TStampa_bilanci::mask_bilancio(TMask_field& f, KEY k)
{
if (k == K_SPACE)
{
TMask& m = f.mask();
const int anno = m.get_int(F_ANNO);
const int bilancio = m.get_int(F_BILANCIO);
const int tipo_stampa = m.get_int(F_STAMPA);
const TDate datalim = m.get_date(F_DATALIM);
TDate data;
m.enable_page(1, bilancio != 1);
if (esercizi().exist(datalim))
data = esercizio(datalim).fine();
m.show(F_DATAINI, bilancio == 2 && tipo_stampa == 1);
m.show(F_QUADRATURA, bilancio == 2 && tipo_stampa == 1 && data == datalim);
}
return true;
}
bool TStampa_bilanci::mask_datalim(TMask_field& f, KEY k)
{
if (k == K_ENTER)
{
TMask& m = f.mask();
const int anno = m.get_int(F_ANNO);
const int bilancio = m.get_int(F_BILANCIO);
const TDate data = m.get_date(F_DATALIM);
if (anno != 0)
{
if (data.ok())
{
if (!esercizi().exist(data) || (esercizio(data).codice() != anno))
return f.error_box(TR("La data limite deve appartenere all'esercizio indicato"));
}
// else
// m.field(F_DATALIM).set(esercizio(anno).fine());
app()._annoapp = anno;
}
else //anno == 0
{
if (!data.ok())
return f.error_box(TR("La data limite e' obbligatoria"));
if (!esercizi().exist(data))
return f.error_box(TR("La data limite deve appartenere ad un esercizio attivo della ditta"));
}
if (m.get_date(F_DATALIM) < m.get_date(F_DATAINI))
return f.error_box(TR("La data limite deve essere maggiore o uguale alla data iniziale"));
}
return true;
}
bool TStampa_bilanci::mask_dataini(TMask_field& f, KEY k)
{
TMask& m = f.mask();
const short id = f.dlg();
if (k == K_ENTER)
{
const int anno = m.get_int(F_ANNO);
int bilancio = m.get_int(F_BILANCIO);
TDate data = f.get_date();
if (anno != 0)
{
if (data.ok())
{
if (!esercizi().exist(data) || (esercizio(data).codice() != anno))
return f.error_box(TR("La data iniziale deve appartenere all'esercizio indicato"));
}
// else
// m.field(F_DATAINI).set(esercizio(anno).inizio());
app()._annoapp = anno;
}
else //anno == 0
{
const TDate datalim = m.get_date(F_DATALIM);
if (!data.ok() && datalim.ok() && esercizi().exist(datalim))
m.field(F_DATAINI).set(data = esercizio(datalim).inizio());
if (!data.ok())
return f.error_box(TR("La data limite e' obbligatoria"));
if (!esercizi().exist(data))
return f.error_box(TR("La data limite deve appartenere ad un esercizio attivo della ditta"));
app()._annoapp = esercizio(data).codice();
}
}
return true;
}
bool TStampa_bilanci::verifica_handler(TMask_field& f, KEY k)
{
if (k == K_SPACE)
{
TMask& m = f.mask();
const int verifica = m.get_int(F_VERIFICA);
m.show(F_SITUAZIONE, verifica == 3);
m.show(F_STAMPAC, verifica == 3);
m.show(F_ORDINAMENTO, verifica == 3);
m.show(F_STAMPAV, verifica != 3);
}
return true;
}
void TStampa_bilanci::scrivig_file_temp() void TStampa_bilanci::scrivig_file_temp()
{ {
TIsamtempfile* tmp = NULL; TIsamtempfile* tmp = NULL;
@ -3245,11 +3387,17 @@ void TStampa_bilanci::stampa_un_bilancio(const TMask& m)
bool TStampa_bilanci::set_print(int) bool TStampa_bilanci::set_print(int)
{ {
#ifdef CONT_SEP #ifdef CONT_SEP
TBilancio_mask m("np0300a"); TMask m("np0300a");
#else #else
TBilancio_mask m("cg1500a"); TMask m("cg1500a");
#endif #endif
m.set_handler(F_VERIFICA, verifica_handler);
m.set_handler(F_BILANCIO, mask_bilancio);
m.set_handler(F_STAMPA, mask_bilancio);
m.set_handler(F_DATALIM, mask_datalim);
m.set_handler(F_DATAINI, mask_dataini);
m.set_handler(F_ANNO, mask_anno);
m.set(F_NORMALI, "X"); m.set(F_NORMALI, "X");
while (m.run() == K_ENTER) while (m.run() == K_ENTER)

View File

@ -4,52 +4,37 @@
<font face="Arial" size="7" /> <font face="Arial" size="7" />
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="" hidden="" page_break="" can_break="" pattern="1"> <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="" hidden="" page_break="" can_break="" pattern="1">
<field deactivated="" type="Testo" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="5" codval="" id="" pattern="1" hide_zero="" text="Ditta" /> <field deactivated="" type="Testo" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="5" codval="" id="" pattern="1" hide_zero="" text="Ditta" />
<field deactivated="" type="Stringa" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="189" codval="" height="1.5" id="" pattern="1" hide_zero="" text="">
<font face="Arial" bold="1" size="14" />
<prescript description="H0.0 PRESCRIPT">"Stampa Bilancio di verifica"
#CODES @
0
&#3C;&#3E;
IF
" esercizio "
+
#CODES @
+
THEN
#THIS !
</prescript>
</field>
<field x="3.5" deactivated="" type="Numero" valign="center" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="5" codval="" id="" pattern="1" hide_zero="" text=""> <field x="3.5" deactivated="" type="Numero" valign="center" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="5" codval="" id="" pattern="1" hide_zero="" text="">
<source>#SYSTEM.FIRM</source> <source>#SYSTEM.FIRM</source>
</field> </field>
<field x="9" deactivated="" type="Stringa" valign="bottom" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="" pattern="1" hide_zero="" text=""> <field x="9" deactivated="" type="Stringa" valign="bottom" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="" pattern="1" hide_zero="" text="">
<source>#SYSTEM.RAGSOC</source> <source>#SYSTEM.RAGSOC</source>
</field> </field>
<field x="160.5" deactivated="" type="Testo" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="2" hide_zero="" text="Data"> <field x="135.5" deactivated="" type="Testo" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="2" hide_zero="" text="Data">
<font italic="1" face="Courier New" bold="1" size="8" /> <font italic="1" face="Courier New" bold="1" size="8" />
</field> </field>
<field x="168.5" deactivated="" type="Data" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="11" codval="" id="" pattern="2" hide_zero="" text=""> <field x="143.5" deactivated="" type="Data" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="11" codval="" id="" pattern="2" hide_zero="" text="">
<source>#SYSTEM.DATE</source> <source>DATASTAMPA</source>
</field> </field>
<field x="180" deactivated="" type="Testo" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="2" hide_zero="" text="Pag."> <field x="155" deactivated="" type="Testo" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="2" hide_zero="" text="Pag.">
<font italic="1" face="Courier New" bold="1" size="8" /> <font italic="1" face="Courier New" bold="1" size="8" />
</field> </field>
<field x="185" deactivated="" type="Numero" valign="center" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="5" codval="" id="" pattern="2" hide_zero="" text=""> <field x="160" deactivated="" type="Numero" valign="center" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="5" codval="" id="" pattern="2" hide_zero="" text="">
<source>#PAGE</source> <source>#PAGE</source>
</field> </field>
<field x="9" y="1" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="40" codval="" height="2" id="" pattern="1" hide_zero="" text=""> <field x="9" y="1" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="40" codval="" height="2" id="" pattern="1" hide_zero="" text="">
<prescript description="H0.0 PRESCRIPT">"!INDIR" <prescript description="H0.0 PRESCRIPT">"!INDIR"
GET_FIRM_DATA </prescript> GET_FIRM_DATA </prescript>
</field> </field>
<field x="160.5" y="1" deactivated="" type="Testo" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text="Dal" /> <field x="135.5" y="1" deactivated="" type="Testo" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text="Dal" />
<field x="165" y="1" deactivated="" type="Data" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text=""> <field x="140" y="1" deactivated="" type="Data" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="">
<source>DATAINI</source> <source>DATAINI</source>
</field> </field>
<field x="176.5" y="1" deactivated="" type="Testo" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text="Al" /> <field x="151.5" y="1" deactivated="" type="Testo" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text="Al" />
<field x="180" y="1" deactivated="" type="Data" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text=""> <field x="155" y="1" deactivated="" type="Data" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="">
<source>DATALIM</source> <source>DATALIM</source>
</field> </field>
<field x="160" y="2" deactivated="" type="Array" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="30" codval="" id="" pattern="1" hide_zero="" text=""> <field x="135" y="2" deactivated="" type="Array" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="30" codval="" id="" pattern="1" hide_zero="" text="">
<source>TIPOST</source> <source>TIPOST</source>
<list> <list>
<li Value="Per data limite" Code="1" /> <li Value="Per data limite" Code="1" />
@ -62,11 +47,11 @@ GET_FIRM_DATA </prescript>
GET_FIRM_DATA </prescript> GET_FIRM_DATA </prescript>
</field> </field>
<field x="31.5" y="3" deactivated="" type="Testo" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="13" codval="" id="" pattern="1" hide_zero="" text="Partita IVA" /> <field x="31.5" y="3" deactivated="" type="Testo" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="13" codval="" id="" pattern="1" hide_zero="" text="Partita IVA" />
<field x="44" y="3" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="11" codval="" id="" pattern="1" hide_zero="" text=""> <field x="44" y="3" deactivated="" type="Stringa" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="11" codval="" id="" pattern="1" hide_zero="" text="">
<prescript description="">"!IVA" <prescript description="H0.0 PRESCRIPT">"!IVA"
GET_FIRM_DATA</prescript> GET_FIRM_DATA</prescript>
</field> </field>
<field x="160" y="3" deactivated="" type="Array" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="30" codval="" id="" pattern="1" hide_zero="" text=""> <field x="135" y="3" deactivated="" type="Array" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="30" codval="" id="" pattern="1" hide_zero="" text="">
<source>TIPOCONTI</source> <source>TIPOCONTI</source>
<list> <list>
<li Value="Tutti i conti" Code="1" /> <li Value="Tutti i conti" Code="1" />
@ -77,14 +62,48 @@ GET_FIRM_DATA</prescript>
<field border="1" y="4" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="16" codval="" height="2" id="" pattern="1" hide_zero="" text="Conto" /> <field border="1" y="4" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="16" codval="" height="2" id="" pattern="1" hide_zero="" text="Conto" />
<field border="1" x="16" y="4" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="12" codval="" height="2" id="" pattern="1" hide_zero="" text="Ultima data" /> <field border="1" x="16" y="4" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="12" codval="" height="2" id="" pattern="1" hide_zero="" text="Ultima data" />
<field border="1" x="28" y="4" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="9" codval="" height="2" id="" pattern="1" hide_zero="" text="Ultimo numero" /> <field border="1" x="28" y="4" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="9" codval="" height="2" id="" pattern="1" hide_zero="" text="Ultimo numero" />
<field border="1" x="37" y="4" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="52" codval="" height="2" id="" pattern="1" hide_zero="" text="Descrizione" /> <field border="1" x="37" y="4" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="27" codval="" height="2" id="" pattern="1" hide_zero="" text="Descrizione" />
<field border="1" x="89" y="4" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="40" codval="" id="" pattern="1" hide_zero="" text="Saldo iniziale" /> <field border="1" x="64" y="4" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="40" codval="" id="" pattern="1" hide_zero="" text="Saldo iniziale" />
<field border="1" x="129" y="4" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="40" codval="" id="" pattern="1" hide_zero="" text="Progressivi del periodo" /> <field border="1" x="104" y="4" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="40" codval="" id="" pattern="1" hide_zero="" text="Progressivi del periodo" />
<field border="1" x="169" y="4" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="21" codval="" height="2" id="" pattern="1" hide_zero="" text="Saldo finale" /> <field border="1" x="144" y="4" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="21" codval="" height="2" id="" pattern="1" hide_zero="" text="Saldo finale" />
<field border="1" x="89" y="5" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Dare" /> <field border="1" x="64" y="5" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Dare" />
<field border="1" x="109" y="5" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Avere" /> <field border="1" x="84" y="5" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Avere" />
<field border="1" x="129" y="5" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Dare" /> <field border="1" x="104" y="5" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Dare" />
<field border="1" x="149" y="5" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Avere" /> <field border="1" x="124" y="5" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Avere" />
<field border="1" y="6" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="16" y="6" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="28" y="6" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="37" y="6" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="64" y="6" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="84" y="6" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="104" y="6" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="124" y="6" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="144" y="6" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="165" y="6" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field x="64" y="1.75" deactivated="" type="Array" valign="center" hidden="1" align="center" link="" dynamic_height="" shade_offset="" width="50" codval="" id="101" pattern="1" hide_zero="" text="">
<font face="Arial" size="8" />
<source>TIPOSIT</source>
<list>
<li Value="Stampa bilancio di verifica" Code=" " />
<li Value="Stampa situazione clienti" Code="C" />
<li Value="Stampa situazione fornitori" Code="F" />
</list>
</field>
<field deactivated="" type="Stringa" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="165" codval="" height="1.7" id="102" pattern="1" hide_zero="" text="">
<font face="Arial" bold="1" size="14" />
<prescript description="H0.102 PRESCRIPT">#101 @
#CODES @
0
&#3C;&#3E;
IF
" esercizio "
+
#CODES @
+
THEN
#THIS !
</prescript>
</field>
</section> </section>
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="1" hidden="" page_break="" can_break="" pattern="1" /> <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="1" hidden="" page_break="" can_break="" pattern="1" />
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="2" hidden="" page_break="" can_break="" pattern="1"> <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="2" hidden="" page_break="" can_break="" pattern="1">
@ -106,104 +125,95 @@ MESSAGE_RESET #F3.105
MESSAGE_RESET #F3.106</prescript> MESSAGE_RESET #F3.106</prescript>
</section> </section>
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Body" level="" hidden="" page_break="" can_break="" pattern="1" /> <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Body" level="" hidden="" page_break="" can_break="" pattern="1" />
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Body" level="1" hidden="" page_break="" can_break="" pattern="1"> <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Body" level="1" hidden="" page_break="" can_break="1" pattern="1">
<prescript description="B1 PRESCRIPT">MESSAGE_RESET F3</prescript> <field border="1" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="16" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="16" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="28" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="28" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="37" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="37" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field x="38" deactivated="" type="Stringa" valign="center" hidden="" link="" dynamic_height="1" shade_offset="" width="25" codval="" height="2" id="" pattern="1" hide_zero="" text="">
<field x="38" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="" pattern="1" hide_zero="" text="">
<source>DESCR</source> <source>DESCR</source>
</field> </field>
<field border="1" x="89" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="64" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="109" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="84" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="129" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="104" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="149" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="124" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="169" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="144" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="190" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="165" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field x="89" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="101" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="64" deactivated="" type="Valuta" valign="center" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="101" pattern="1" hide_zero="1" text="###.###.###,@@">
<source>SALDOINIDARE</source> <source>SALDOINIDARE</source>
<postscript description="B1.101 POSTSCRIPT">#THIS @ <postscript description="B1.101 POSTSCRIPT">#THIS @
#F3.101 #F3.101
+!</postscript> +!</postscript>
</field> </field>
<field x="109" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="102" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="84" deactivated="" type="Valuta" valign="center" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="102" pattern="1" hide_zero="1" text="###.###.###,@@">
<source>SALDOINIAVERE</source> <source>SALDOINIAVERE</source>
<postscript description="B1.102 POSTSCRIPT">#THIS @ <postscript description="B1.102 POSTSCRIPT">#THIS @
#F3.102 #F3.102
+!</postscript> +!</postscript>
</field> </field>
<field x="129" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="103" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="104" deactivated="" type="Valuta" valign="center" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="103" pattern="1" hide_zero="1" text="###.###.###,@@">
<source>PDARE</source> <source>PDARE</source>
<postscript description="B1.103 POSTSCRIPT">#THIS @ <postscript description="B1.103 POSTSCRIPT">#THIS @
#F3.103 #F3.103
+!</postscript> +!</postscript>
</field> </field>
<field x="169" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="105" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="124" deactivated="" type="Valuta" valign="center" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="104" pattern="1" hide_zero="1" text="###.###.###,@@">
<source>SALDOFIN</source> <source>PAVERE</source>
<prescript description="B1.105 PRESCRIPT">#THIS @ <postscript description="B1.104 POSTSCRIPT">#THIS @
0 #F3.104
&#3C; +!</postscript>
</field>
<field x="144" deactivated="" type="Valuta" valign="center" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="105" pattern="1" hide_zero="1" text="###.###.###,@@">
<source>SALDOFINDA</source>
<prescript description="B1.105 PRESCRIPT">#THIS @ 0 &#3C;
IF IF
"A" "A"
#106 ! 0 #THIS @ -
0
#THIS @
-
#THIS ! #THIS !
ELSE ELSE
#THIS @ #THIS @ 0 &#3E;
0
&#3E;
IF IF
"D" "D"
#106 !
ELSE ELSE
"" ""
THEN
THEN
#106 ! #106 !
THEN
THEN
</prescript> </prescript>
</field> </field>
<field x="188.5" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="1" codval="" id="106" pattern="1" hide_zero="" text="" /> <field x="163.5" deactivated="" type="Stringa" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="1.2" codval="" id="106" pattern="1" hide_zero="" text="" />
<field x="1" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="201" pattern="1" hide_zero="1" text=""> <field x="1" deactivated="" type="Numero" valign="center" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="201" pattern="1" hide_zero="1" text="">
<source>GRUPPO</source> <source>GRUPPO</source>
<postscript description="B1.201 POSTSCRIPT">#THIS @ <postscript description="B1.201 POSTSCRIPT">#THIS @
#F3.201 !</postscript> #F3.201 !</postscript>
</field> </field>
<field x="5" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="202" pattern="1" hide_zero="1" text=""> <field x="5" deactivated="" type="Numero" valign="center" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="202" pattern="1" hide_zero="1" text="">
<source>CONTO</source> <source>CONTO</source>
<postscript description="B1.202 POSTSCRIPT">#THIS @ <postscript description="B1.202 POSTSCRIPT">#THIS @
#F3.202 !</postscript> #F3.202 !</postscript>
</field> </field>
<field x="9" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="6" codval="" id="203" pattern="1" hide_zero="1" text=""> <field x="9" deactivated="" type="Numero" valign="center" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="6" codval="" id="203" pattern="1" hide_zero="1" text="">
<source>SOTTOCONTO</source> <source>SOTTOCONTO</source>
</field> </field>
<field x="17" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="204" pattern="1" hide_zero="" text=""> <field x="17" deactivated="" type="Data" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="204" pattern="1" hide_zero="" text="">
<source>DATAULMOV</source> <source>DATAULMOV</source>
</field> </field>
<field x="149" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="204" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="29" deactivated="" type="Numero" valign="center" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="7" codval="" id="205" pattern="1" hide_zero="1" text="">
<source>PAVERE</source>
<postscript description="B1.204 POSTSCRIPT">#THIS @
#F3.104
+!</postscript>
</field>
<field x="29" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="7" codval="" id="205" pattern="1" hide_zero="1" text="">
<source>NUMULTMOV</source> <source>NUMULTMOV</source>
</field> </field>
</section> </section>
<section repeat="" y="48" keep_with_next="" deactivated="" hidden_if_needed="1" type="Foot" level="" hidden="" page_break="" can_break="" pattern="1"> <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="1" type="Foot" level="" hidden="" page_break="" can_break="" pattern="1">
<field border="1" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="16" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="16" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="28" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="28" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="37" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="37" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="89" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="64" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="109" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="84" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="129" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="104" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="149" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="124" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="169" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="144" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="190" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="165" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" y="1" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="190" codval="" height="0" id="" pattern="1" hide_zero="" text="" /> <field border="1" y="1" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="165" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
</section> </section>
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="1" hidden="" page_break="" can_break="" pattern="1"> <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="1" hidden="" page_break="" can_break="" pattern="1">
<field border="1" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" /> <field border="1" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" />
@ -211,58 +221,45 @@ THEN
<field border="1" x="28" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="28" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="37" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="37" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" />
<field x="38" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="" pattern="1" hide_zero="" text="TOTALE GENERALE" /> <field x="38" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="" pattern="1" hide_zero="" text="TOTALE GENERALE" />
<field border="1" x="89" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="64" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="109" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="84" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="129" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="104" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="149" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="124" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="169" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="144" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="190" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="165" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" />
<field x="38" y="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="" pattern="1" hide_zero="" text="TOTALE GENERALI CON SALDI INIZIALI" /> <field x="38" y="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="25" codval="" id="" pattern="1" hide_zero="" text="TOTALE GENERALI CON SALDI INIZIALI" />
<field border="1" y="2" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="190" codval="" height="0" id="" pattern="1" hide_zero="" text="" /> <field border="1" y="2" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="165" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
<field x="89" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="101" pattern="1" hide_zero="1" text="###.###.###,@@" /> <field x="64" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="101" pattern="1" hide_zero="1" text="###.###.###,@@" />
<field x="109" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="102" pattern="1" hide_zero="1" text="###.###.###,@@" /> <field x="84" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="102" pattern="1" hide_zero="1" text="###.###.###,@@" />
<field x="129" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="103" pattern="1" hide_zero="1" text="###.###.###,@@" /> <field x="104" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="103" pattern="1" hide_zero="1" text="###.###.###,@@" />
<field x="149" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="104" pattern="1" hide_zero="1" text="###.###.###,@@" /> <field x="124" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="104" pattern="1" hide_zero="1" text="###.###.###,@@" />
<field x="169" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="105" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="144" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="105" pattern="1" hide_zero="1" text="###.###.###,@@">
<prescript description="F1.105 PRESCRIPT">#101 @ <source>#101-#102+#103-#104</source>
#102 @ <prescript description="F1.105 PRESCRIPT">#THIS @
-
#103 @
+
#104 @
-
#THIS !
#THIS @
0 0
&#3C; &#3C;
IF IF
"A" "A"
#106 ! 0 #THIS @ -
0
#THIS @
-
#THIS ! #THIS !
ELSE ELSE
#THIS @ #THIS @ 0 &#3E;
0
&#3E;
IF IF
"D" "D"
#106 !
ELSE ELSE
"" ""
#THIS !
THEN THEN
THEN</prescript> THEN
#106 !</prescript>
</field> </field>
<field x="188.5" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="1" codval="" id="106" pattern="1" hide_zero="" text="" /> <field x="163.5" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="1" codval="" id="106" pattern="1" hide_zero="" text="" />
<field x="129" y="1" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="203" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="104" y="1" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="203" pattern="1" hide_zero="1" text="###.###.###,@@">
<prescript description="F1.203 PRESCRIPT">#101 @ <prescript description="F1.203 PRESCRIPT">#101 @
#103 @ #103 @
+ +
#THIS !</prescript> #THIS !</prescript>
</field> </field>
<field x="149" y="1" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="204" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="124" y="1" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="204" pattern="1" hide_zero="1" text="###.###.###,@@">
<prescript description="F1.204 PRESCRIPT">#102 @ <prescript description="F1.204 PRESCRIPT">#102 @
#104 @ #104 @
+ +
@ -270,141 +267,111 @@ THEN</prescript>
</field> </field>
</section> </section>
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="2" hidden="" page_break="" can_break="" pattern="1"> <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="2" hidden="" page_break="" can_break="" pattern="1">
<field border="1" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="16" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="16" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="28" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="28" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="37" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="37" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field x="38" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="" pattern="1" hide_zero="" text=""> <field x="38" deactivated="" type="Stringa" hidden="" link="" dynamic_height="1" shade_offset="" width="25" codval="" height="2" id="" pattern="1" hide_zero="" text="">
<prescript description="F2.0 PRESCRIPT">MESSAGE ISAMREAD,19,GRUPPO=#201,DESCR</prescript> <prescript description="F2.0 PRESCRIPT">MESSAGE ISAMREAD,19,GRUPPO=#201,DESCR</prescript>
</field> </field>
<field border="1" x="89" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="64" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="109" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="84" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="129" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="104" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="149" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="124" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="169" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="144" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="190" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="165" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field x="90" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="18" codval="" id="101" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="64" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="101" pattern="1" hide_zero="1" text="###.###.###,@@">
<postscript description="F2.101 POSTSCRIPT">#THIS @ <postscript description="F2.101 POSTSCRIPT">#THIS @
#F1.101 #F1.101
+!</postscript> +!</postscript>
</field> </field>
<field x="110" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="18" codval="" id="102" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="84" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="102" pattern="1" hide_zero="1" text="###.###.###,@@">
<postscript description="F2.102 POSTSCRIPT">#THIS @ <postscript description="F2.102 POSTSCRIPT">#THIS @
#F1.102 #F1.102
+!</postscript> +!</postscript>
</field> </field>
<field x="130" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="18" codval="" id="103" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="104" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="103" pattern="1" hide_zero="1" text="###.###.###,@@">
<postscript description="F2.103 POSTSCRIPT">#THIS @ <postscript description="F2.103 POSTSCRIPT">#THIS @
#F1.103 #F1.103
+!</postscript> +!</postscript>
</field> </field>
<field x="150" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="18" codval="" id="104" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="124" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="104" pattern="1" hide_zero="1" text="###.###.###,@@">
<postscript description="F2.104 POSTSCRIPT">#THIS @ <postscript description="F2.104 POSTSCRIPT">#THIS @
#F1.104 #F1.104
+!</postscript> +!</postscript>
</field> </field>
<field x="169" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="105" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="144" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="105" pattern="1" hide_zero="1" text="###.###.###,@@">
<prescript description="F2.105 PRESCRIPT">#101 @ <source>#101-#102+#103-#104</source>
#102 @ <prescript description="F2.105 PRESCRIPT">#THIS @ 0 &#3C;
-
#103 @
+
#104 @
-
#THIS !
#THIS @
0
&#3C;
IF IF
"A" "A"
#106 ! 0 #THIS @ -
0
#THIS @
-
#THIS ! #THIS !
ELSE ELSE
#THIS @ #THIS @ 0 &#3E;
0
&#3E;
IF IF
"D" "D"
#106 !
ELSE ELSE
"" ""
#THIS !
THEN THEN
THEN</prescript> THEN
#106 !</prescript>
</field> </field>
<field x="188.5" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="1" codval="" id="106" pattern="1" hide_zero="" text="" /> <field x="163.5" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="1.2" codval="" id="106" pattern="1" hide_zero="" text="" />
<field x="1" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="201" pattern="1" hide_zero="1" text="" /> <field x="1" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="201" pattern="1" hide_zero="1" text="" />
</section> </section>
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="3" hidden="" page_break="" can_break="" pattern="1"> <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="3" hidden="" page_break="" can_break="" pattern="1">
<field border="1" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="16" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="16" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="28" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="28" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="37" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="37" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field x="38" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="" pattern="1" hide_zero="" text=""> <field x="38" deactivated="" type="Stringa" hidden="" link="" dynamic_height="1" shade_offset="" width="25" codval="" height="2" id="" pattern="1" hide_zero="" text="">
<prescript description="F3.0 PRESCRIPT">MESSAGE ISAMREAD,19,GRUPPO=#201!CONTO=#202,DESCR</prescript> <prescript description="F3.0 PRESCRIPT">MESSAGE ISAMREAD,19,GRUPPO=#201!CONTO=#202,DESCR</prescript>
</field> </field>
<field border="1" x="89" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="64" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="109" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="84" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="129" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="104" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="149" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="124" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="169" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="144" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="190" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="165" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field x="89" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="101" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="64" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="101" pattern="1" hide_zero="1" text="###.###.###,@@">
<postscript description="F3.101 POSTSCRIPT">#THIS @ <postscript description="F3.101 POSTSCRIPT">#THIS @
#F2.101 #F2.101
+!</postscript> +!</postscript>
</field> </field>
<field x="109" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="102" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="84" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="102" pattern="1" hide_zero="1" text="###.###.###,@@">
<postscript description="F3.102 POSTSCRIPT">#THIS @ <postscript description="F3.102 POSTSCRIPT">#THIS @
#F2.102 #F2.102
+!</postscript> +!</postscript>
</field> </field>
<field x="130" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="18" codval="" id="103" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="104" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="103" pattern="1" hide_zero="1" text="###.###.###,@@">
<postscript description="F3.103 POSTSCRIPT">#THIS @ <postscript description="F3.103 POSTSCRIPT">#THIS @
#F2.103 #F2.103
+!</postscript> +!</postscript>
</field> </field>
<field x="150" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="18" codval="" id="104" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="124" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="104" pattern="1" hide_zero="1" text="###.###.###,@@">
<postscript description="F3.104 POSTSCRIPT">#THIS @ <postscript description="F3.104 POSTSCRIPT">#THIS @
#F2.104 #F2.104
+!</postscript> +!</postscript>
</field> </field>
<field x="169" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="105" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="144" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="105" pattern="1" hide_zero="1" text="###.###.###,@@">
<prescript description="F3.105 PRESCRIPT">#101 @ <source>#101-#102+#103-#104</source>
#102 @ <prescript description="F3.105 PRESCRIPT">#THIS @ 0 &#3C;
-
#103 @
+
#104 @
-
#THIS !
#THIS @
0
&#3C;
IF IF
"A" "A"
#106 ! 0 #THIS @ -
0
#THIS @
-
#THIS ! #THIS !
ELSE ELSE
#THIS @ #THIS @ 0 &#3E;
0
&#3E;
IF IF
"D" "D"
#106 !
ELSE ELSE
"" " "
#106 !
THEN THEN
THEN</prescript> THEN
#106 !</prescript>
</field> </field>
<field x="188.5" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="1" codval="" id="106" pattern="1" hide_zero="" text="" /> <field x="163.5" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="1.2" codval="" id="106" pattern="1" hide_zero="" text="" />
<field x="1" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="201" pattern="1" hide_zero="1" text=""> <field x="1" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="201" pattern="1" hide_zero="1" text="">
<postscript description="F3.201 POSTSCRIPT">#THIS @ <postscript description="F3.201 POSTSCRIPT">#THIS @
#F2.201 !</postscript> #F2.201 !</postscript>

View File

@ -3,21 +3,6 @@
<description>Stampa bilancio di verifica estesa</description> <description>Stampa bilancio di verifica estesa</description>
<font face="Arial" size="7" /> <font face="Arial" size="7" />
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="" hidden="" page_break="" can_break="" pattern="1"> <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="" hidden="" page_break="" can_break="" pattern="1">
<field deactivated="" type="Stringa" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="209" codval="" height="1.5" id="" pattern="1" hide_zero="" text="">
<font face="Arial" bold="1" size="14" />
<prescript description="H0.0 PRESCRIPT">"Stampa Bilancio di verifica"
#CODES @
0
&#3C;&#3E;
IF
" esercizio "
+
#CODES @
+
THEN
#THIS !
</prescript>
</field>
<field deactivated="" type="Testo" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="5" codval="" id="" pattern="1" hide_zero="" text="Ditta" /> <field deactivated="" type="Testo" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="5" codval="" id="" pattern="1" hide_zero="" text="Ditta" />
<field x="3.5" deactivated="" type="Numero" valign="center" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="5" codval="" id="" pattern="1" hide_zero="" text=""> <field x="3.5" deactivated="" type="Numero" valign="center" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="5" codval="" id="" pattern="1" hide_zero="" text="">
<source>#SYSTEM.FIRM</source> <source>#SYSTEM.FIRM</source>
@ -25,25 +10,25 @@ THEN
<field x="9" deactivated="" type="Stringa" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="" pattern="1" hide_zero="" text=""> <field x="9" deactivated="" type="Stringa" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="" pattern="1" hide_zero="" text="">
<source>#SYSTEM.RAGSOC</source> <source>#SYSTEM.RAGSOC</source>
</field> </field>
<field x="179.5" deactivated="" type="Testo" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="2" hide_zero="" text="Data"> <field x="159.5" deactivated="" type="Testo" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="2" hide_zero="" text="Data">
<font italic="1" face="Courier New" bold="1" size="8" /> <font italic="1" face="Courier New" bold="1" size="8" />
</field> </field>
<field x="187.5" deactivated="" type="Data" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="11" codval="" id="" pattern="2" hide_zero="" text=""> <field x="167.5" deactivated="" type="Data" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="11" codval="" id="" pattern="2" hide_zero="" text="">
<source>#SYSTEM.DATE</source> <source>DATASTAMPA</source>
</field> </field>
<field x="199" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="2" hide_zero="" text="Pag."> <field x="179" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="2" hide_zero="" text="Pag.">
<font italic="1" face="Courier New" bold="1" size="8" /> <font italic="1" face="Courier New" bold="1" size="8" />
</field> </field>
<field x="204" deactivated="" type="Numero" valign="center" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="5" codval="" id="" pattern="2" hide_zero="" text=""> <field x="184" deactivated="" type="Numero" valign="center" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="5" codval="" id="" pattern="2" hide_zero="" text="">
<source>#PAGE</source> <source>#PAGE</source>
</field> </field>
<field x="9" y="1" deactivated="" type="Stringa" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="" pattern="1" hide_zero="" text=""> <field x="9" y="1" deactivated="" type="Stringa" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="" pattern="1" hide_zero="" text="">
<prescript description="H0.0 PRESCRIPT">"!INDIR" <prescript description="H0.0 PRESCRIPT">"!INDIR"
GET_FIRM_DATA </prescript> GET_FIRM_DATA </prescript>
</field> </field>
<field x="179.5" y="1" deactivated="" type="Testo" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text="Dal" /> <field x="159.5" y="1" deactivated="" type="Testo" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text="Dal" />
<field x="195.5" y="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text="Al" /> <field x="175.5" y="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text="Al" />
<field x="199" y="1" deactivated="" type="Data" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text=""> <field x="179" y="1" deactivated="" type="Data" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="">
<source>DATALIM</source> <source>DATALIM</source>
</field> </field>
<field y="2" deactivated="" type="Testo" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Codice fiscale" /> <field y="2" deactivated="" type="Testo" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Codice fiscale" />
@ -56,14 +41,14 @@ GET_FIRM_DATA </prescript>
<prescript description="H0.0 PRESCRIPT">"!IVA" <prescript description="H0.0 PRESCRIPT">"!IVA"
GET_FIRM_DATA</prescript> GET_FIRM_DATA</prescript>
</field> </field>
<field x="179" y="2" deactivated="" type="Array" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="30" codval="" id="" pattern="1" hide_zero="" text=""> <field x="159" y="2" deactivated="" type="Array" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="30" codval="" id="" pattern="1" hide_zero="" text="">
<source>TIPOST</source> <source>TIPOST</source>
<list> <list>
<li Value="Per data limite" Code="1" /> <li Value="Per data limite" Code="1" />
<li Value="All'ultima immissione" Code="2" /> <li Value="All'ultima immissione" Code="2" />
</list> </list>
</field> </field>
<field x="179" y="3" deactivated="" type="Array" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="30" codval="" id="" pattern="1" hide_zero="" text=""> <field x="159" y="3" deactivated="" type="Array" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="30" codval="" id="" pattern="1" hide_zero="" text="">
<source>TIPOCONTI</source> <source>TIPOCONTI</source>
<list> <list>
<li Value="Tutti i conti" Code="1" /> <li Value="Tutti i conti" Code="1" />
@ -74,16 +59,51 @@ GET_FIRM_DATA</prescript>
<field border="1" y="4" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="16" codval="" height="2" id="" pattern="1" hide_zero="" text="Conto" /> <field border="1" y="4" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="16" codval="" height="2" id="" pattern="1" hide_zero="" text="Conto" />
<field border="1" x="16" y="4" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="12" codval="" height="2" id="" pattern="1" hide_zero="" text="Ultima data" /> <field border="1" x="16" y="4" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="12" codval="" height="2" id="" pattern="1" hide_zero="" text="Ultima data" />
<field border="1" x="28" y="4" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="9" codval="" height="2" id="" pattern="1" hide_zero="" text="Ultimo numero" /> <field border="1" x="28" y="4" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="9" codval="" height="2" id="" pattern="1" hide_zero="" text="Ultimo numero" />
<field border="1" x="37" y="4" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="52" codval="" height="2" id="" pattern="1" hide_zero="" text="Descrizione" /> <field border="1" x="37" y="4" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="32" codval="" height="2" id="" pattern="1" hide_zero="" text="Descrizione" />
<field border="1" x="89" y="4" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="40" codval="" id="" pattern="1" hide_zero="" text="Saldo iniziale" /> <field border="1" x="69" y="4" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="40" codval="" id="" pattern="1" hide_zero="" text="Saldo iniziale" />
<field border="1" x="129" y="4" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="40" codval="" id="" pattern="1" hide_zero="" text="Progressivi del periodo" /> <field border="1" x="109" y="4" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="40" codval="" id="" pattern="1" hide_zero="" text="Progressivi del periodo" />
<field border="1" x="169" y="4" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="40" codval="" id="" pattern="1" hide_zero="" text="Saldo finale" /> <field border="1" x="149" y="4" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="40" codval="" id="" pattern="1" hide_zero="" text="Saldo finale" />
<field border="1" x="89" y="5" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Dare" /> <field border="1" x="69" y="5" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Dare" />
<field border="1" x="109" y="5" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Avere" /> <field border="1" x="89" y="5" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Avere" />
<field border="1" x="129" y="5" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Dare" /> <field border="1" x="109" y="5" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Dare" />
<field border="1" x="149" y="5" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Avere" /> <field border="1" x="129" y="5" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Avere" />
<field border="1" x="169" y="5" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Dare" /> <field border="1" x="149" y="5" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Dare" />
<field border="1" x="189" y="5" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Avere" /> <field border="1" x="169" y="5" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Avere" />
<field border="1" y="6" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="16" y="6" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="28" y="6" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="37" y="6" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="69" y="6" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="89" y="6" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="109" y="6" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="129" y="6" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="149" y="6" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="169" y="6" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="189" y="6" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field x="64" y="1.75" deactivated="" type="Array" valign="center" hidden="1" align="center" link="" dynamic_height="" shade_offset="" width="50" codval="" id="101" pattern="1" hide_zero="" text="">
<font face="Arial" size="8" />
<source>TIPOSIT</source>
<list>
<li Value="Stampa bilancio di verifica" Code=" " />
<li Value="Stampa situazione clienti" Code="C" />
<li Value="Stampa situazione fornitori" Code="F" />
</list>
</field>
<field deactivated="" type="Stringa" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="189" codval="" height="1.7" id="102" pattern="1" hide_zero="" text="">
<font face="Arial" bold="1" size="14" />
<prescript description="H0.102 PRESCRIPT">#101 @
#CODES @
0
&#3C;&#3E;
IF
" esercizio "
+
#CODES @
+
THEN
#THIS !
</prescript>
</field>
</section> </section>
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="1" hidden="" page_break="" can_break="" pattern="1" /> <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="1" hidden="" page_break="" can_break="" pattern="1" />
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="2" hidden="" page_break="" can_break="" pattern="1"> <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="2" hidden="" page_break="" can_break="" pattern="1">
@ -105,94 +125,72 @@ MESSAGE_RESET #F3.105
MESSAGE_RESET #F3.106</prescript> MESSAGE_RESET #F3.106</prescript>
</section> </section>
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Body" level="" hidden="" page_break="" can_break="" pattern="1" /> <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Body" level="" hidden="" page_break="" can_break="" pattern="1" />
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Body" level="1" hidden="" page_break="" can_break="" pattern="1"> <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Body" level="1" hidden="" page_break="" can_break="1" pattern="1">
<prescript description="B1 PRESCRIPT">MESSAGE_RESET F3</prescript> <field border="1" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="16" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="16" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="28" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="28" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="37" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="37" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field x="38" deactivated="" type="Stringa" valign="center" hidden="" link="" dynamic_height="1" shade_offset="" width="30" codval="" height="2" id="" pattern="1" hide_zero="" text="">
<field x="38" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="" pattern="1" hide_zero="" text="">
<source>DESCR</source> <source>DESCR</source>
</field> </field>
<field border="1" x="89" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="69" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="109" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="89" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="129" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="109" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="149" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="129" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="169" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="149" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="189" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="169" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="209" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="189" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field x="89" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="101" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="69" deactivated="" type="Valuta" valign="center" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="101" pattern="1" hide_zero="1" text="###.###.###,@@">
<source>SALDOINIDARE</source> <source>SALDOINIDARE</source>
<postscript description="B1.101 POSTSCRIPT">#THIS @ <postscript description="B1.101 POSTSCRIPT">#THIS @
#F3.101 #F3.101
+!</postscript> +!</postscript>
</field> </field>
<field x="109" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="102" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="89" deactivated="" type="Valuta" valign="center" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="102" pattern="1" hide_zero="1" text="###.###.###,@@">
<source>SALDOINIAVERE</source> <source>SALDOINIAVERE</source>
<postscript description="B1.102 POSTSCRIPT">#THIS @ <postscript description="B1.102 POSTSCRIPT">#THIS @
#F3.102 #F3.102
+!</postscript> +!</postscript>
</field> </field>
<field x="129" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="103" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="109" deactivated="" type="Valuta" valign="center" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="103" pattern="1" hide_zero="1" text="###.###.###,@@">
<source>PDARE</source> <source>PDARE</source>
<postscript description="B1.103 POSTSCRIPT">#THIS @ <postscript description="B1.103 POSTSCRIPT">#THIS @
#F3.103 #F3.103
+!</postscript> +!</postscript>
</field> </field>
<field x="169" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="105" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="129" deactivated="" type="Valuta" valign="center" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="104" pattern="1" hide_zero="1" text="###.###.###,@@">
<source>SALDOFINDARE</source> <source>PAVERE</source>
<prescript description="B1.105 PRESCRIPT">#THIS @ <postscript description="B1.104 POSTSCRIPT">#THIS @
0 #F3.104
&#3C; +!</postscript>
IF
"A"
#106 !
0
#THIS @
-
#THIS !
ELSE
#THIS @
0
&#3E;
IF
"D"
#106 !
ELSE
""
#106 !
THEN
THEN
</prescript>
</field> </field>
<field x="189" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="106" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="149" deactivated="" type="Valuta" valign="center" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="105" pattern="1" hide_zero="1" text="###.###.###,@@">
<source>SALDOFINDARE</source>
<postscript description="B1.105 POSTSCRIPT">#THIS @
#F3.105 !</postscript>
</field>
<field x="169" deactivated="" type="Valuta" valign="center" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="106" pattern="1" hide_zero="1" text="###.###.###,@@">
<source>SALDOFINAVERE</source> <source>SALDOFINAVERE</source>
<postscript description="B1.106 POSTSCRIPT">#THIS @ <postscript description="B1.106 POSTSCRIPT">#THIS @
#F3.106 !</postscript> #F3.106 !</postscript>
</field> </field>
<field x="1" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="201" pattern="1" hide_zero="1" text=""> <field x="1" deactivated="" type="Numero" valign="center" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="201" pattern="1" hide_zero="1" text="">
<source>GRUPPO</source> <source>GRUPPO</source>
<postscript description="B1.201 POSTSCRIPT">#THIS @ <postscript description="B1.201 POSTSCRIPT">#THIS @
#F3.201 !</postscript> #F3.201 !</postscript>
</field> </field>
<field x="5" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="202" pattern="1" hide_zero="1" text=""> <field x="5" deactivated="" type="Numero" valign="center" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="202" pattern="1" hide_zero="1" text="">
<source>CONTO</source> <source>CONTO</source>
<postscript description="B1.202 POSTSCRIPT">#THIS @ <postscript description="B1.202 POSTSCRIPT">#THIS @
#F3.202 !</postscript> #F3.202 !</postscript>
</field> </field>
<field x="9" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="6" codval="" id="203" pattern="1" hide_zero="1" text=""> <field x="9" deactivated="" type="Numero" valign="center" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="6" codval="" id="203" pattern="1" hide_zero="1" text="">
<source>SOTTOCONTO</source> <source>SOTTOCONTO</source>
</field> </field>
<field x="17" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="204" pattern="1" hide_zero="" text=""> <field x="17" deactivated="" type="Data" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="204" pattern="1" hide_zero="" text="">
<source>DATAULMOV</source> <source>DATAULMOV</source>
</field> </field>
<field x="149" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="204" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="29" deactivated="" type="Numero" valign="center" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="7" codval="" id="205" pattern="1" hide_zero="1" text="">
<source>PAVERE</source>
<postscript description="B1.204 POSTSCRIPT">#THIS @
#F3.104
+!</postscript>
</field>
<field x="29" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="7" codval="" id="205" pattern="1" hide_zero="1" text="">
<source>NUMULTMOV</source> <source>NUMULTMOV</source>
</field> </field>
</section> </section>
@ -201,46 +199,46 @@ THEN
<field border="1" x="16" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="16" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="28" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="28" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="37" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="37" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="69" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="89" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="89" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="109" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="109" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="129" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="129" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="149" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="149" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="169" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="169" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="189" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="189" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="209" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" y="1" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="189" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
<field border="1" y="1" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="209" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
</section> </section>
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="1" hidden="" page_break="" can_break="" pattern="1"> <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="1" hidden="" page_break="" can_break="" pattern="1">
<field border="1" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" /> <field border="1" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="16" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="16" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="28" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="28" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="37" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="37" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" />
<field x="38" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="" pattern="1" hide_zero="" text="TOTALE GENERALE" /> <field x="38" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="30" codval="" id="" pattern="1" hide_zero="" text="TOTALE GENERALE" />
<field border="1" x="69" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="89" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="89" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="109" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="109" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="129" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="129" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="149" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="149" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="169" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="169" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="189" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="189" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="209" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2" id="" pattern="1" hide_zero="" text="" /> <field x="38" y="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="30" codval="" id="" pattern="1" hide_zero="" text="TOTALE GENERALI CON SALDI INIZIALI" />
<field x="38" y="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="" pattern="1" hide_zero="" text="TOTALE GENERALI CON SALDI INIZIALI" /> <field border="1" y="2" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="189" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
<field border="1" y="2" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="209" codval="" height="0" id="" pattern="1" hide_zero="" text="" /> <field x="69" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="101" pattern="1" hide_zero="1" text="###.###.###,@@" />
<field x="89" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="101" pattern="1" hide_zero="1" text="###.###.###,@@" /> <field x="89" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="102" pattern="1" hide_zero="1" text="###.###.###,@@" />
<field x="109" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="102" pattern="1" hide_zero="1" text="###.###.###,@@" /> <field x="109" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="103" pattern="1" hide_zero="1" text="###.###.###,@@" />
<field x="129" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="103" pattern="1" hide_zero="1" text="###.###.###,@@" /> <field x="129" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="104" pattern="1" hide_zero="1" text="###.###.###,@@" />
<field x="149" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="104" pattern="1" hide_zero="1" text="###.###.###,@@" /> <field x="149" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="105" pattern="1" hide_zero="1" text="###.###.###,@@" />
<field x="169" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="105" pattern="1" hide_zero="1" text="###.###.###,@@" /> <field x="169" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="106" pattern="1" hide_zero="1" text="###.###.###,@@">
<field x="189" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="106" pattern="1" hide_zero="1" text="###.###.###,@@"> <postscript description="F1.106 POSTSCRIPT">#THIS @
<postscript description="">#THIS @
#F2.106 !</postscript> #F2.106 !</postscript>
</field> </field>
<field x="129" y="1" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="203" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="109" y="1" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="203" pattern="1" hide_zero="1" text="###.###.###,@@">
<prescript description="F1.203 PRESCRIPT">#101 @ <prescript description="F1.203 PRESCRIPT">#101 @
#103 @ #103 @
+ +
#THIS !</prescript> #THIS !</prescript>
</field> </field>
<field x="149" y="1" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="204" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="129" y="1" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="204" pattern="1" hide_zero="1" text="###.###.###,@@">
<prescript description="F1.204 PRESCRIPT">#102 @ <prescript description="F1.204 PRESCRIPT">#102 @
#104 @ #104 @
+ +
@ -248,84 +246,84 @@ THEN
</field> </field>
</section> </section>
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="2" hidden="" page_break="" can_break="" pattern="1"> <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="2" hidden="" page_break="" can_break="" pattern="1">
<field border="1" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="16" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="16" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="28" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="28" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="37" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="37" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field x="38" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="" pattern="1" hide_zero="" text=""> <field x="38" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="" pattern="1" hide_zero="" text="">
<prescript description="F2.0 PRESCRIPT">MESSAGE ISAMREAD,19,GRUPPO=#201,DESCR</prescript> <prescript description="F2.0 PRESCRIPT">MESSAGE ISAMREAD,19,GRUPPO=#201,DESCR</prescript>
</field> </field>
<field border="1" x="89" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="69" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="109" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="89" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="129" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="109" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="149" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="129" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="169" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="149" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="189" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="169" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="209" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="189" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field x="90" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="18" codval="" id="101" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="69" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="101" pattern="1" hide_zero="1" text="###.###.###,@@">
<postscript description="F2.101 POSTSCRIPT">#THIS @ <postscript description="F2.101 POSTSCRIPT">#THIS @
#F1.101 #F1.101
+!</postscript> +!</postscript>
</field> </field>
<field x="110" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="18" codval="" id="102" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="89" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="102" pattern="1" hide_zero="1" text="###.###.###,@@">
<postscript description="F2.102 POSTSCRIPT">#THIS @ <postscript description="F2.102 POSTSCRIPT">#THIS @
#F1.102 #F1.102
+!</postscript> +!</postscript>
</field> </field>
<field x="130" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="18" codval="" id="103" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="109" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="103" pattern="1" hide_zero="1" text="###.###.###,@@">
<postscript description="F2.103 POSTSCRIPT">#THIS @ <postscript description="F2.103 POSTSCRIPT">#THIS @
#F1.103 #F1.103
+!</postscript> +!</postscript>
</field> </field>
<field x="150" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="18" codval="" id="104" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="129" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="104" pattern="1" hide_zero="1" text="###.###.###,@@">
<postscript description="F2.104 POSTSCRIPT">#THIS @ <postscript description="F2.104 POSTSCRIPT">#THIS @
#F1.104 #F1.104
+!</postscript> +!</postscript>
</field> </field>
<field x="169" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="105" pattern="1" hide_zero="1" text="###.###.###,@@" /> <field x="149" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="105" pattern="1" hide_zero="1" text="###.###.###,@@" />
<field x="189" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="106" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="169" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="106" pattern="1" hide_zero="1" text="###.###.###,@@">
<postscript description="F2.106 POSTSCRIPT">#THIS @ <postscript description="F2.106 POSTSCRIPT">#THIS @
#F1.106 !</postscript> #F1.106 !</postscript>
</field> </field>
<field x="1" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="201" pattern="1" hide_zero="1" text="" /> <field x="1" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="201" pattern="1" hide_zero="1" text="" />
</section> </section>
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="3" hidden="" page_break="" can_break="" pattern="1"> <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="3" hidden="" page_break="" can_break="" pattern="1">
<field border="1" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="16" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="16" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="28" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="28" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="37" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="37" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field x="38" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="" pattern="1" hide_zero="" text=""> <field x="38" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="30" codval="" id="" pattern="1" hide_zero="" text="">
<prescript description="F3.0 PRESCRIPT">MESSAGE ISAMREAD,19,GRUPPO=#201!CONTO=#202,DESCR</prescript> <prescript description="F3.0 PRESCRIPT">MESSAGE ISAMREAD,19,GRUPPO=#201!CONTO=#202,DESCR</prescript>
</field> </field>
<field border="1" x="89" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="69" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="109" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="89" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="129" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="109" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="149" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="129" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="169" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="149" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="189" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="169" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="209" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" /> <field border="1" x="189" deactivated="" type="Linea" hidden="" link="" dynamic_height="1" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field x="89" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="101" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="69" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="101" pattern="1" hide_zero="1" text="###.###.###,@@">
<postscript description="F3.101 POSTSCRIPT">#THIS @ <postscript description="F3.101 POSTSCRIPT">#THIS @
#F2.101 #F2.101
+!</postscript> +!</postscript>
</field> </field>
<field x="109" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="102" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="89" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="102" pattern="1" hide_zero="1" text="###.###.###,@@">
<postscript description="F3.102 POSTSCRIPT">#THIS @ <postscript description="F3.102 POSTSCRIPT">#THIS @
#F2.102 #F2.102
+!</postscript> +!</postscript>
</field> </field>
<field x="130" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="18" codval="" id="103" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="109" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="103" pattern="1" hide_zero="1" text="###.###.###,@@">
<postscript description="F3.103 POSTSCRIPT">#THIS @ <postscript description="F3.103 POSTSCRIPT">#THIS @
#F2.103 #F2.103
+!</postscript> +!</postscript>
</field> </field>
<field x="150" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="18" codval="" id="104" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="129" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="104" pattern="1" hide_zero="1" text="###.###.###,@@">
<postscript description="F3.104 POSTSCRIPT">#THIS @ <postscript description="F3.104 POSTSCRIPT">#THIS @
#F2.104 #F2.104
+!</postscript> +!</postscript>
</field> </field>
<field x="169" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="105" pattern="1" hide_zero="1" text="###.###.###,@@" /> <field x="149" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="105" pattern="1" hide_zero="1" text="###.###.###,@@" />
<field x="189" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="106" pattern="1" hide_zero="1" text="###.###.###,@@"> <field x="169" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="19" codval="" id="106" pattern="1" hide_zero="1" text="###.###.###,@@">
<postscript description="F3.106 POSTSCRIPT">#THIS @ <postscript description="F3.106 POSTSCRIPT">#THIS @
#F2.106 !</postscript> #F2.106 !</postscript>
</field> </field>

View File

@ -19,6 +19,62 @@
#include "cg1501.h" #include "cg1501.h"
#include "cglib.h" #include "cglib.h"
HIDDEN const char * __fld_names[] = {"ROW", "GRUPPO", "CONTO","SOTTOCONTO", "DESCR", "SALDO" };
void sez2ind(int sez_bil, int & indfrom, int & indto)
{
indfrom = sez_bil * 2 + 1;
indto = indfrom;
if (indfrom < 5)
indto++;
}
char ind2sezconto(int indbil)
{
if (indbil > 4)
return '\0';
return (indbil == 1 || indbil == 3) ? 'D' : 'A';
}
HIDDEN int ind2sez(int indbil)
{
return (indbil - 1) / 2;
}
HIDDEN int sez2pos(int indbil, char sez)
{
if (indbil > 4)
return sez == 'D' ? 0 : 1;
// int sezbil = ind2sez(indbil);
//return ((sezbil == 0) && (sez == 'A')) || ((sezbil == 1) && (sez == 'D')) ? 1 : 0;
return sez == 'A' ? 1 : 0;
}
HIDDEN int swap_sez(int sez)
{
return ++sez % 2;
}
HIDDEN const TString & bil_fieldname(int fld, int pos = 0)
{
TString & strfld = get_tmp_string();
strfld = __fld_names[fld];
if (pos > 0 && fld >= BIL_GRUPPO)
strfld << pos;
return strfld;
}
HIDDEN int bil_field(int fld, int col = 0)
{
int pos = fld;
if (col > 0 && fld >= BIL_GRUPPO)
pos += (col - 1) * (BIL_SALDO - BIL_GRUPPO + 1);
return pos;
}
const TString & TBilancio_mask::get_report_class() const const TString & TBilancio_mask::get_report_class() const
{ {
TReport_select * rs = efield(DLG_REPORT).reportsel(); TReport_select * rs = efield(DLG_REPORT).reportsel();
@ -162,19 +218,501 @@ bool TBilancio_mask::on_field_event(TOperable_field& o, TField_event e, long jol
return true; return true;
} }
bool TSezioni_contrapposte_recset::move_to(TRecnotype pos)
{
_curr = pos;
return pos >= 0 && pos < items();
}
void TSezioni_contrapposte_recset::calculate_saldo(const TRectype & rec)
{
TTipo_data tipo_data;
TString d;
_last_conto.set(rec.get_int(PCN_GRUPPO), rec.get_int(PCN_CONTO), rec.get_long(PCN_SOTTOCONTO));
_last_conto.set_description(rec.get(PCN_DESCR));
_last_indbil = _last_conto.indicatore_bilancio();
if (_compcr)
tipo_data = CostiRicavi;
else
if (_esercizio == 0)
tipo_data = Registrazione;
else
tipo_data = Competenza;
if (_contsep.full())
_last_saldo.saldo_cont_sep(tipo_data, _last_conto.gruppo(), _last_conto.conto(), _last_conto.sottoconto(), _esercizio, _datalim, _last_indbil, _contsep, _tipi_mov);
else
{
if (_tipo_data == ULTIMA_IMMISSIONE)
_last_saldo.ultima_immissione_bilancio(_esercizio, _last_conto.gruppo(), _last_conto.conto(), _last_conto.sottoconto(), _last_indbil, _tipi_mov);
else
_last_saldo.data_limite_bilancio(tipo_data, _last_conto.gruppo(), _last_conto.conto(), _last_conto.sottoconto(), _dataini, _datalim, _last_indbil, _tipi_mov);
}
}
void TSezioni_contrapposte_recset::update_record(const TRectype & rec) // da fare
{
long curr_key[3] = { _last_conto.gruppo(), _last_conto.conto(), _last_conto.sottoconto() };
TString key;
TImporto s('D', _last_saldo.saldoini());
_sbilancio_prec += s;
s += TImporto('D', _last_saldo.prgdare());
s += TImporto('A', _last_saldo.prgavere());
s.valore().round(TCurrency::get_firm_dec());
if (!_last_conto.compensazione())
s.normalize();
else
if (s.valore() < ZERO)
s.normalize();
const int pos = sez2pos(_last_indbil, s.sezione());
const int col = pos + 1;
TAssoc_array & righe_sez = (TAssoc_array &)_righe_sez[pos];
for (int i = 0; i < 3; i++)
{
if (curr_key[i] != _last_key[i][pos] || (curr_key[i] == _last_key[i][pos] && (_filled_sezs[i] & pos) == 1))
{
_last_key[i][pos] = curr_key[i];
_last_row[i][pos] = righe_sez.items() + 1;
for (int j = i + 1; j < 3; j++)
_last_key[j][pos] = 0;
}
key.format("%06ld", _last_row[i][pos]);
const bool new_record = !exist_row(righe_sez, key);
if (new_record)
righe_sez.add(key, new TArray);
TArray & row = (TArray &) righe_sez[key];
if (new_record)
{
row.add(TString(format("%06ld", _last_row[i])), bil_field(BIL_ROW));
row.add(EMPTY_STRING, bil_field(BIL_GRUPPO, 1));
row.add(EMPTY_STRING, bil_field(BIL_CONTO, 1));
row.add(EMPTY_STRING, bil_field(BIL_SOTTOCONTO, 1));
row.add(EMPTY_STRING, bil_field(BIL_DESCR, 1));
row.add(EMPTY_STRING, bil_field(BIL_SALDO, 1));
row.add(EMPTY_STRING, bil_field(BIL_GRUPPO, 2));
row.add(EMPTY_STRING, bil_field(BIL_CONTO, 2));
row.add(EMPTY_STRING, bil_field(BIL_SOTTOCONTO, 2));
row.add(EMPTY_STRING, bil_field(BIL_DESCR, 2));
row.add(EMPTY_STRING, bil_field(BIL_SALDO, 2));
_filled_sezs [i] = 0;
}
if (((TString &)row[bil_field(BIL_GRUPPO, pos)]).blank())
{
row.add(TString(format("%3d", curr_key[0])), bil_field(BIL_GRUPPO, col));
if (i > 0)
{
row.add(TString(format("%3d", curr_key[1])), bil_field(BIL_CONTO, col));
if (i > 1)
row.add(TString(format("%6ld", curr_key[2])), bil_field(BIL_SOTTOCONTO, col));
}
TString d;
if (i == 2)
d = _last_conto.descrizione();
else
if (i == 1)
d = TBill(_last_conto.gruppo(), _last_conto.conto(), 0L).descrizione();
else
if (i == 0)
d = TBill(_last_conto.gruppo(),0, 0L).descrizione();
row.add(d, bil_field(BIL_DESCR, col));
}
real saldo((TString &)row[bil_field(BIL_SALDO, col)]);
saldo += s.valore();
row.add(TString(saldo.string()), bil_field(BIL_SALDO, col));
_filled_sezs[i] += _filled_sezs[i] & pos;
}
}
void TSezioni_contrapposte_recset::scan_clifor(const TRectype & rec)
{
TCursor clifor(new TRelation(LF_CLIFO));
TRectype reccf(rec);
TRectype from(clifor.curr());
from.zero();
from.put(CLI_TIPOCF, rec.get(PCN_TMCF));
TRectype to(from);
clifor.setregion(from, to);
const TRecnotype items = clifor.items();
TProgress_monitor p(items, "Lettura saldi Clienti/Fornitori");
for (clifor = 0L; p.addstatus() && clifor.pos() < items; ++clifor)
{
reccf.put(PCN_SOTTOCONTO, clifor.curr().get(CLI_CODCF));
reccf.put(PCN_DESCR, clifor.curr().get(CLI_RAGSOC));
calculate_saldo(reccf);
if (_last_saldo.movimentato())
update_record(reccf);
}
}
HIDDEN int __from_indbil;
HIDDEN int __to_indbil;
bool filter_indbil(const TRelation* r)
{
TToken_string key;
key.add(r->lfile().get(PCN_GRUPPO));
key.add(r->lfile().get(PCN_CONTO));
int indbil = cache().get_int(LF_PCON, key, PCN_INDBIL);
return (indbil >= __from_indbil) && (indbil <= __to_indbil);
}
void TSezioni_contrapposte_recset::rebuild()
{
TString filter;
filter << "(" << PCN_SOTTOCONTO << "!=0)||(" << PCN_TMCF << "!=\"\")";
TCursor conti(new TRelation(LF_PCON), filter);
__from_indbil = _sez_bil;
__to_indbil = _sez_bil;
if (__to_indbil < 4)
__to_indbil++;
conti.set_filterfunction(filter_indbil);
const TRecnotype items = conti.items();
TProgress_monitor p(items, "Lettura saldi");
_righe_sez.destroy();
_righe_sez.add(new TAssoc_array);
_righe_sez.add(new TAssoc_array);
_righe.destroy();
_index.destroy();
_sbilancio_prec.set('D', ZERO);
for (int i = 0; i < 3; i++)
{
for (int j = 0; j < 3; j++)
{
_last_row[i][j] = 0L;
_last_key[i][j] = 0L;
}
_filled_sezs[i] = 0;
}
for (conti = 0L; p.addstatus() && conti.pos() < items; ++conti)
{
const TString tipocf = conti.curr().get(PCN_TMCF);
if (tipocf.full())
scan_clifor(conti.curr());
else
if (conti.curr().get_long(PCN_SOTTOCONTO) != 0L)
{
calculate_saldo(conti.curr());
if (_last_saldo.movimentato())
update_record(conti.curr());
}
}
}
void TSezioni_contrapposte_recset::pack_rows(TAssoc_array & righe)
{
TString_array keys;
TArray packed_rows;
righe.get_keys(keys);
keys.sort();
FOR_EACH_ARRAY_ROW(keys, r, k)
{
const TString key(*k);
const TArray & r = (TArray &)righe[key];
TArray * ptr_row = nullptr;
packed_rows.add(ptr_row = new TArray);
*ptr_row = r;
}
righe.destroy();
FOR_EACH_ARRAY_ITEM(packed_rows, i, obj)
{
const TArray & r = (TArray &)*obj;
TArray * ptr_row = nullptr;
TString key;
key.format("%06ld",i + 1);
righe.add(key, ptr_row = new TArray);
*ptr_row = r;
}
}
void TSezioni_contrapposte_recset::filter_rows_pos(TAssoc_array & righe, int col)
{
TString_array keys;
FOR_EACH_ASSOC_OBJECT(righe, obj, key, item)
{
TArray & row = (TArray &)*item;
if (!_st_saldo_zero)
{
real saldo = (TString &)row[bil_field(BIL_SALDO, col)];
if (saldo == ZERO)
{
keys.add(key);
continue;
}
}
TBill conto(atoi((TString &)row[bil_field(BIL_GRUPPO, col)]), atoi((TString &)row[bil_field(BIL_CONTO, col)]),
atol((TString &)row[bil_field(BIL_SOTTOCONTO, col)]));
TToken_string k;
k.add(conto.gruppo());
k.add(conto.conto());
if ((cache().get(LF_PCON, k, PCN_TMCF).full() && conto.sottoconto() != 0L) ||
!_last_conto.stampa_sottoconti_bilancio())
keys.add(key);
else
if (!_totali_gruppo && conto.conto() == 0)
keys.add(key);
}
FOR_EACH_ARRAY_ROW(keys, r, kd)
righe.remove(*kd);
pack_rows(righe);
FOR_EACH_ASSOC_OBJECT(righe, o, k, it)
{
TArray & row = (TArray &)*it;
TArray * rowdest = (TArray *)_righe.objptr(k);
if (rowdest == nullptr)
{
_righe.add(k, new TArray);
TArray & outrow = (TArray &)_righe[k];
outrow = row;
}
else
{
rowdest->add(((TString &)row[bil_field(BIL_GRUPPO, 2)]), bil_field(BIL_GRUPPO, 2));
rowdest->add(((TString &)row[bil_field(BIL_CONTO, 2)]), bil_field(BIL_CONTO, 2));
rowdest->add(((TString &)row[bil_field(BIL_SOTTOCONTO, 2)]), bil_field(BIL_SOTTOCONTO, 2));
rowdest->add(((TString &)row[bil_field(BIL_DESCR, 2)]), bil_field(BIL_DESCR, 2));
rowdest->add(((TString &)row[bil_field(BIL_SALDO, 2)]), bil_field(BIL_SALDO, 2));
}
}
}
void TSezioni_contrapposte_recset::filter_rows()
{
filter_rows_pos((TAssoc_array &)_righe_sez[0], 1);
filter_rows_pos((TAssoc_array &)_righe_sez[1], 2);
}
HIDDEN int compare_sezbil(const TObject** c1, const TObject** c2) // da fare
{
TString * conto1 = (TString *)*c1;
TString * conto2 = (TString *)*c2;
return conto1->compare(*conto2);
}
void TSezioni_contrapposte_recset::update_index() // da fare
{
FOR_EACH_ASSOC_OBJECT(_righe, obj, k, item)
{
const TString key(k);
_index.add(key);
}
_index.sort(compare_sezbil);
}
void TSezioni_contrapposte_recset::set_filter(const TMask& msk)
{
_esercizio = msk.get_int(F_ANNO);
_tipo_data = msk.get_int(F_STAMPA);
_dataini = msk.get_date(F_DATAINI);
_datalim = msk.get_date(F_DATALIM);
if (_esercizio != 0)
{
TDate datainiesc, datafinesc;
esercizi().code2range(_esercizio, datainiesc, datafinesc);
if (!_dataini.ok())
_dataini = datainiesc;
if (!_datalim.ok())
_datalim = datafinesc;
}
_datastampa = msk.get_date(F_DATASTAMPA);
_compcr = msk.get_bool(F_COMPCR);
_st_saldo_zero = !msk.get_bool(F_SALDO);
_tipi_mov = msk.get_bool(F_NORMALI) ? 0x1 : 0;
_tipi_mov |= msk.get_bool(F_PROVVM) ? 0x2 : 0;
_tipi_mov |= msk.get_bool(F_PROVVB) ? 0x4 : 0;
_tipi_mov |= msk.get_bool(F_PROVVC) ? 0x8 : 0;
_totali_gruppo = !msk.get_bool(F_TOTALI);
if (msk.find_by_id(F_CONTSEP))
_contsep = msk.get(F_CONTSEP);
else
_contsep = "";
}
void TSezioni_contrapposte_recset::requery()
{
//***Metodo principale per la creazione della intera stampa***
//Messo nella requery perchè sempre chiamata qualsiasi sia il tipo di stampa
rebuild();
filter_rows();
update_index();
_sbilancio_prec.normalize('D');
_sbilancio_prec.valore().round(TCurrency::get_firm_dec());
}
const TArray & TSezioni_contrapposte_recset::get_row(TRecnotype row) const
{
if (row < 0)
row = _curr;
return(TArray &)_righe[(const TString &)_index[row]];
}
const TVariant& TSezioni_contrapposte_recset::get(unsigned int column) const
{
if (_curr >= 0 && _curr < items())
{
TVariant& var = get_tmp_var();
const TArray & row = get_row();
var.set((const TString &)row[column]);
return var;
}
return NULL_VARIANT;
}
const TVariant& TSezioni_contrapposte_recset::get(const char* column_name) const
{
if (_curr >= 0 && _curr < items())
{
const TFixed_string fld(column_name);
int col = find_column(fld);
TVariant& var = get_tmp_var();
if (col >= 0)
{
const TArray & row = get_row();
var.set((const TString &)row[col]);
}
else
if (fld == "DATAINI")
var = _dataini.stringa();
else
if (fld == "DATALIM")
var = _datalim.stringa();
else
if (fld == "DATASTAMPA")
var = _datastampa.stringa();
else
if (fld == "TIPOST")
var = _tipo_data;
else
if (fld == "#CODES" || fld == "CODES")
var = _esercizio;
return var;
}
return NULL_VARIANT;
}
TSezioni_contrapposte_recset::TSezioni_contrapposte_recset() TSezioni_contrapposte_recset::TSezioni_contrapposte_recset()
{ {
_colonne.add(TRecordset_column_info(PCN_GRUPPO, 3, _intfld)); _colonne.add(TRecordset_column_info(bil_fieldname(BIL_ROW), 6, _intfld));
_colonne.add(TRecordset_column_info(PCN_CONTO, 3, _intfld)); _colonne.add(TRecordset_column_info(bil_fieldname(BIL_GRUPPO, 1), 3, _intfld));
_colonne.add(TRecordset_column_info(PCN_SOTTOCONTO, 6, _longfld)); _colonne.add(TRecordset_column_info(bil_fieldname(BIL_CONTO, 1), 3, _intfld));
_colonne.add(TRecordset_column_info(SLD_NUMULTMOV, 3, _longfld)); _colonne.add(TRecordset_column_info(bil_fieldname(BIL_SOTTOCONTO, 1), 6, _longfld));
_colonne.add(TRecordset_column_info(SLD_DATAULMOV, 10, _datefld)); _colonne.add(TRecordset_column_info(bil_fieldname(BIL_DESCR, 1), 50, _alfafld));
_colonne.add(TRecordset_column_info(PCN_DESCR, 50, _alfafld)); _colonne.add(TRecordset_column_info(bil_fieldname(BIL_SALDO, 1), 18, _realfld));
_colonne.add(TRecordset_column_info(SLD_FLAGSALINI, 1, _alfafld)); _colonne.add(TRecordset_column_info(bil_fieldname(BIL_GRUPPO, 2), 3, _intfld));
_colonne.add(TRecordset_column_info(SLD_SALDO, 18, _realfld)); _colonne.add(TRecordset_column_info(bil_fieldname(BIL_CONTO, 2), 3, _intfld));
_colonne.add(TRecordset_column_info(SLD_PDARE, 18, _realfld)); _colonne.add(TRecordset_column_info(bil_fieldname(BIL_SOTTOCONTO, 2), 6, _longfld));
_colonne.add(TRecordset_column_info(SLD_PAVERE, 18, _realfld)); _colonne.add(TRecordset_column_info(bil_fieldname(BIL_DESCR, 2), 50, _alfafld));
_colonne.add(TRecordset_column_info(PCN_INDBIL, 1, _alfafld)); _colonne.add(TRecordset_column_info(bil_fieldname(BIL_SALDO, 2), 18, _realfld));
}
bool TSezioni_contrapposte::get_usr_val(const TString& name, TVariant& var) const
{
if (name == "SBILPREC")
{
var = _recset->sbilancio_precedente();
return true;
}
return TReport::get_usr_val(name, var);
}
TRecordset* TSezioni_contrapposte::recordset() const
{
if (_recset == nullptr)
((TSezioni_contrapposte *) this)->_recset = new TSezioni_contrapposte_recset;
((TSezioni_contrapposte_recset *)_recset)->set_filter(_mask);
return (TRecordset *)_recset;
}
void TSezioni_contrapposte::init(const char * name, int sez)
{
TFilename repname(name);
const int sez_bil = (sez + 1) * 2 - 1;
repname = repname.name_only();
if (atoi(repname.right(1)) > 0)
repname.rtrim(1);
repname << (sez + 1);
load(repname);
_recset->set_sez(sez_bil);
_st_codici_conto = _mask.get_bool(F_CODICI);
TReport_section * b11 = find_section('B', 11);
if (b11 != nullptr)
{
for (int i = 101; i < 104; i++)
{
TReport_field * b11fld = b11->find_field(i);
if (b11fld != nullptr)
b11fld->show(st_codici_conto());
b11fld = b11->find_field(i + 100);
if (b11fld != nullptr)
b11fld->show(st_codici_conto());
}
}
TReport_section * b21 = find_section('B', 21);
if (b21 != nullptr)
{
for (int i = 101; i < 104; i++)
{
TReport_field * b21fld = b21->find_field(i);
if (b21fld != nullptr)
b21fld->show(st_codici_conto());
b21fld = b21->find_field(i + 100);
if (b21fld != nullptr)
b21fld->show(st_codici_conto());
}
}
} }
bool TVerifica_recset::move_to(TRecnotype pos) bool TVerifica_recset::move_to(TRecnotype pos)
@ -188,6 +726,7 @@ void TVerifica_recset::calculate_saldo(const TRectype & rec)
TTipo_data tipo_data; TTipo_data tipo_data;
_last_conto.set(rec.get_int(PCN_GRUPPO), rec.get_int(PCN_CONTO), rec.get_long(PCN_SOTTOCONTO)); _last_conto.set(rec.get_int(PCN_GRUPPO), rec.get_int(PCN_CONTO), rec.get_long(PCN_SOTTOCONTO));
_last_conto.set_description(rec.get(PCN_DESCR));
_last_indbil =_last_conto.indicatore_bilancio(); _last_indbil =_last_conto.indicatore_bilancio();
if (_compcr) if (_compcr)
@ -210,13 +749,11 @@ void TVerifica_recset::calculate_saldo(const TRectype & rec)
bool TVerifica_recset::select_conti(const TRectype & rec) bool TVerifica_recset::select_conti(const TRectype & rec)
{ {
if (cli_for() && _sit_cf.full() && _sit_cf[0] != _last_conto.tipo())
if (_tipo_ver == CLIENTI_FORNITORI && _sit_cf.full() && _sit_cf != _last_conto.tipo())
return false; return false;
if (_tipo_ver == CLIENTI_FORNITORI && _tipo_ord == ORD_RAGSOC) if (cli_for() && _tipo_ord == ORD_RAGSOC)
{ {
if (_sit_cf != _last_conto.tipo()) if (_sit_cf[0] != _last_conto.tipo())
return false; return false;
if (_last_conto.descrizione() < _da_descrizione.full() && _last_conto.descrizione() > _a_descrizione) if (_last_conto.descrizione() < _da_descrizione.full() && _last_conto.descrizione() > _a_descrizione)
return false; return false;
@ -228,12 +765,10 @@ bool TVerifica_recset::select_conti(const TRectype & rec)
void TVerifica_recset::update_record(const TRectype & rec) void TVerifica_recset::update_record(const TRectype & rec)
{ {
if (cli_for()) TString key = _last_conto.keystr();
_last_conto.set(0, 0, _last_conto.sottoconto());
if (!show_clifo())
_last_conto.set(_last_conto.gruppo(), _last_conto.conto(), 0);
TString & key = _last_conto.keystr(); if (cli_for())
key.overwrite("000000", 0, 6);
const bool new_record = !exist_row(key); const bool new_record = !exist_row(key);
if (new_record) if (new_record)
@ -243,9 +778,9 @@ void TVerifica_recset::update_record(const TRectype & rec)
if (new_record) if (new_record)
{ {
row.add(TString(format("%d", _last_conto.gruppo())), VER_GRUPPO); row.add(TString(format("%d", cli_for() ? 0 : _last_conto.gruppo())), VER_GRUPPO);
row.add(TString(format("%d", _last_conto.conto())), VER_CONTO); row.add(TString(format("%d", cli_for() ? 0 : _last_conto.conto())), VER_CONTO);
row.add(TString(format("%ld", _last_conto.sottoconto())), VER_SOTTOCONTO); row.add(TString(format("%ld", show_clifo() ? _last_conto.sottoconto() : 0L)), VER_SOTTOCONTO);
row.add(EMPTY_STRING, VER_NUMULTMOV); row.add(EMPTY_STRING, VER_NUMULTMOV);
row.add(EMPTY_STRING, VER_DATAULMOV); row.add(EMPTY_STRING, VER_DATAULMOV);
row.add(_last_conto.descrizione(), VER_DESCR); row.add(_last_conto.descrizione(), VER_DESCR);
@ -334,7 +869,7 @@ void TVerifica_recset::rebuild()
if (tipocf.full()) if (tipocf.full())
scan_clifor(conti.curr()); scan_clifor(conti.curr());
else else
if (conti.curr().get_long(PCN_SOTTOCONTO) != 0L) if (!cli_for() && conti.curr().get_long(PCN_SOTTOCONTO) != 0L)
{ {
calculate_saldo(conti.curr()); calculate_saldo(conti.curr());
if (select_conti(conti.curr())) if (select_conti(conti.curr()))
@ -370,14 +905,6 @@ void TVerifica_recset::filter_rows()
{ {
real saldo = (TString &) row[VER_SALDO]; real saldo = (TString &) row[VER_SALDO];
if (atoi((TString &)row[VER_GRUPPO]) == 3 &&
atoi((TString &)row[VER_CONTO]) == 130)
{
const long cod = atol((TString &)row[VER_SOTTOCONTO]);
if (cod < 46L)
int i = 1;
}
if ((TString &)row[VER_FLAGSALINI] == "A") if ((TString &)row[VER_FLAGSALINI] == "A")
saldo = -saldo; saldo = -saldo;
saldo += real((TString &)row[VER_PDARE]); saldo += real((TString &)row[VER_PDARE]);
@ -388,9 +915,9 @@ void TVerifica_recset::filter_rows()
else else
if (_tipo_saldo_ver == MOVIMENTATO) if (_tipo_saldo_ver == MOVIMENTATO)
{ {
const TString num = (TString &)row[VER_NUMULTMOV]; const long num = atol((TString &)row[VER_NUMULTMOV]);
if (num.blank()) if (num == 0L)
keys.add(key); keys.add(key);
} }
} }
@ -402,16 +929,14 @@ void TVerifica_recset::update_index()
{ {
if (cli_for() && _tipo_ord == ORD_RAGSOC) if (cli_for() && _tipo_ord == ORD_RAGSOC)
{ {
FOR_EACH_ASSOC_OBJECT(_righe, obj, key, item) FOR_EACH_ASSOC_OBJECT(_righe, obj, k, item)
{ {
TArray & row = (TArray &)*item; TArray & row = (TArray &)*item;
TToken_string rowkey((TString &)row[VER_DESCR]); TToken_string rowkey = ((TString &)row[VER_DESCR]);
TString key(k);
rowkey.rpad(50); rowkey.rpad(50);
TString conto = format("%03d%03d%06ld", (const char *)((TString &)row[VER_GRUPPO]), rowkey.add(key);
(const char *)((TString &)row[VER_CONTO]),
(const char *)(TString &)row[VER_SOTTOCONTO]);
rowkey.add(conto);
_index.add(rowkey); _index.add(rowkey);
} }
_index.sort(compare_descr); _index.sort(compare_descr);
@ -424,13 +949,10 @@ void TVerifica_recset::update_index()
} }
else else
{ {
FOR_EACH_ASSOC_OBJECT(_righe, obj, key, item) FOR_EACH_ASSOC_OBJECT(_righe, obj, k, item)
{ {
TArray & row = (TArray &)*item; TArray & row = (TArray &)*item;
int gruppo = atoi(((TString &)row[VER_GRUPPO])); TString key(k);
int conto = atoi(((TString &)row[VER_CONTO]));
long sottoconto = atol((TString &)row[VER_SOTTOCONTO]);
TString key = format("%03d%03d%06ld", gruppo, conto, sottoconto);
_index.add(key); _index.add(key);
} }
@ -487,7 +1009,7 @@ const TVariant& TVerifica_recset::get(const char* column_name) const
TImporto saldo(get_string(SLD_FLAGSALINI)[0], get_real(SLD_SALDO)); TImporto saldo(get_string(SLD_FLAGSALINI)[0], get_real(SLD_SALDO));
saldo.normalize('D'); saldo.normalize('D');
if (saldo.valore() >= ZERO) if (saldo.valore() > ZERO)
var = saldo.valore(); var = saldo.valore();
else else
var = ZERO; var = ZERO;
@ -498,15 +1020,15 @@ const TVariant& TVerifica_recset::get(const char* column_name) const
TImporto saldo(get_string(SLD_FLAGSALINI)[0], get_real(SLD_SALDO)); TImporto saldo(get_string(SLD_FLAGSALINI)[0], get_real(SLD_SALDO));
saldo.normalize('A'); saldo.normalize('A');
if (saldo.valore() >= ZERO) if (saldo.valore() > ZERO)
var = saldo.valore(); var = saldo.valore();
else else
var = ZERO; var = ZERO;
} }
else else
if (fld == "SALDOFIN") // eliminare if (fld == "SALDOFINDA")
{ {
TImporto saldo(get_string(SLD_FLAGSALINI)[0], get_real(SLD_SALDO)); TImporto saldo(get(SLD_FLAGSALINI).as_string()[0], get(SLD_SALDO).as_real());
saldo += TImporto('D', get_real(SLD_PDARE)); saldo += TImporto('D', get_real(SLD_PDARE));
saldo += TImporto('A', get_real(SLD_PAVERE)); saldo += TImporto('A', get_real(SLD_PAVERE));
@ -516,10 +1038,10 @@ const TVariant& TVerifica_recset::get(const char* column_name) const
else else
if (fld == "SALDOFINDARE") if (fld == "SALDOFINDARE")
{ {
TImporto saldo('D', get("SALDOFIN").as_real()); TImporto saldo('D', get_real("SALDOFINDA"));
saldo.normalize('D'); saldo.normalize('D');
if (saldo.valore() >= ZERO) if (saldo.valore() > ZERO)
var = saldo.valore(); var = saldo.valore();
else else
var = ZERO; var = ZERO;
@ -527,10 +1049,10 @@ const TVariant& TVerifica_recset::get(const char* column_name) const
else else
if (fld == "SALDOFINAVERE") if (fld == "SALDOFINAVERE")
{ {
TImporto saldo('D', get("SALDOFIN").as_real()); TImporto saldo('D', get_real("SALDOFINDA"));
saldo.normalize('A'); saldo.normalize('A');
if (saldo.valore() >= ZERO) if (saldo.valore() > ZERO)
var = saldo.valore(); var = saldo.valore();
else else
var = ZERO; var = ZERO;
@ -541,12 +1063,18 @@ const TVariant& TVerifica_recset::get(const char* column_name) const
else else
if (fld == "DATALIM") if (fld == "DATALIM")
var = _datalim.stringa(); var = _datalim.stringa();
else
if (fld == "DATASTAMPA")
var = _datastampa.stringa();
else else
if (fld == "TIPOST") if (fld == "TIPOST")
var = _tipo_data; var = _tipo_data;
else else
if (fld == "TIPOCONTI") if (fld == "TIPOCONTI")
var = _tipo_saldo_ver; var = _tipo_saldo_ver;
else
if (fld == "TIPOSIT")
var = _sit_cf.blank() ? EMPTY_STRING : _sit_cf;
else else
if (fld == "#CODES") if (fld == "#CODES")
var = _esercizio; var = _esercizio;
@ -571,6 +1099,7 @@ void TVerifica_recset::set_filter(const TMask& msk)
if (!_datalim.ok()) if (!_datalim.ok())
_datalim = datafinesc; _datalim = datafinesc;
} }
_datastampa = msk.get_date(F_DATASTAMPA);
_compcr = msk.get_bool(F_COMPCR); _compcr = msk.get_bool(F_COMPCR);
_quadratura = msk.get_bool(F_QUADRATURA); _quadratura = msk.get_bool(F_QUADRATURA);
_st_saldo_zero = !msk.get_bool(F_SALDO); _st_saldo_zero = !msk.get_bool(F_SALDO);
@ -627,6 +1156,14 @@ TVerifica_recset::TVerifica_recset()
_colonne.add(TRecordset_column_info(PCN_INDBIL, 1, _alfafld)); _colonne.add(TRecordset_column_info(PCN_INDBIL, 1, _alfafld));
} }
TRecordset* TVerifica::recordset() const
{
if (_recset == nullptr)
((TVerifica *)this)->_recset = new TVerifica_recset;
((TVerifica_recset *)_recset)->set_filter(_mask);
return (TRecordset *)_recset;
}
void TVerifica::init() void TVerifica::init()
{ {
_tipo_ver = _mask.get_int(F_VERIFICA); _tipo_ver = _mask.get_int(F_VERIFICA);
@ -719,8 +1256,6 @@ TReport & TStampa_bilanci_avanzata::get_report(const TAutomask & m)
{ {
if (_sezioni_contrapposte_rep == nullptr) if (_sezioni_contrapposte_rep == nullptr)
_sezioni_contrapposte_rep = new TSezioni_contrapposte((TBilancio_mask & )m); _sezioni_contrapposte_rep = new TSezioni_contrapposte((TBilancio_mask & )m);
_sezioni_contrapposte_rep->load(report_name(m));
_sezioni_contrapposte_rep->init();
return (TReport &) *_sezioni_contrapposte_rep; return (TReport &) *_sezioni_contrapposte_rep;
} }
else else
@ -733,6 +1268,34 @@ TReport & TStampa_bilanci_avanzata::get_report(const TAutomask & m)
} }
} }
// @cmember Esegue la stampa
void TStampa_bilanci_avanzata::execute_print(TReport_book & book, TAutomask & mask, TReport & rep, export_type & type)
{
if (mask.get_int(F_BILANCIO) == SEZIONI_CONTRAPPOSTE)
{
for (int i = 0; i < 4; i++)
{
((TSezioni_contrapposte &)rep).init(report_name(mask), i);
TReport_application::execute_print(book, mask, rep, type);
}
}
else
{
TVerifica & ver = ((TVerifica &)rep);
TVerifica_recset & ver_rs = *((TVerifica_recset *)ver.recordset());
if (ver.cli_for() && ver_rs.entrambi())
{
mask.set(F_SITUAZIONE, "C");
TReport_application::execute_print(book, mask, rep, type);
mask.set(F_SITUAZIONE, "F");
TReport_application::execute_print(book, mask, rep, type);
mask.set(F_SITUAZIONE, " ");
}
else
TReport_application::execute_print(book, mask, rep, type);
}
}
bool TStampa_bilanci_avanzata::user_create() bool TStampa_bilanci_avanzata::user_create()
{ {
#ifdef CONT_SEP #ifdef CONT_SEP

View File

@ -447,10 +447,8 @@ class TBill : public TSortable
int _tipo_cr; // Tipo costo/ricavo int _tipo_cr; // Tipo costo/ricavo
char _sezione; char _sezione;
bool _sospeso; bool _sospeso;
int _indbil;
protected: protected:
void set_description(const char* d);
const TBill& copy(const TBill& b); const TBill& copy(const TBill& b);
const char* field_name(int n, const TRectype& rec, bool contro) const; const char* field_name(int n, const TRectype& rec, bool contro) const;
@ -460,7 +458,7 @@ public: // TObject
virtual bool ok() const; // Gruppo, Conto e Sottoconto non nulli virtual bool ok() const; // Gruppo, Conto e Sottoconto non nulli
public: public:
TBill(int g = 0, int c = 0, long s = 0L, char t = ' ', const char* d = nullptr, int r = -1) TBill(int g = 0, int c = 0, long s = 0L, char t = '\0', const char* d = nullptr, int r = -1)
: _tipo(t), _gruppo(g), _conto(c), _sottoconto(s), _descrizione(nullptr), : _tipo(t), _gruppo(g), _conto(c), _sottoconto(s), _descrizione(nullptr),
_sezione(' '), _sospeso(false) _sezione(' '), _sospeso(false)
{ set(g,c,s,t,d,r);} { set(g,c,s,t,d,r);}
@ -479,7 +477,7 @@ public:
virtual ~TBill(); virtual ~TBill();
const TBill& set(int g = 0, int c = 0, long s = 0L, char t = ' ', const TBill& set(int g = 0, int c = 0, long s = 0L, char t = '\0',
const char* d = nullptr, int r = -1); const char* d = nullptr, int r = -1);
const TBill& get(TToken_string& ts, int from, int mode = 0); const TBill& get(TToken_string& ts, int from, int mode = 0);
@ -488,7 +486,7 @@ public:
bool empty() const { return _gruppo==0 && _conto==0 && _sottoconto == 0; } bool empty() const { return _gruppo==0 && _conto==0 && _sottoconto == 0; }
char tipo() const { return _tipo; } char tipo() const;
int gruppo() const { return _gruppo; } int gruppo() const { return _gruppo; }
int conto() const { return _conto; } int conto() const { return _conto; }
long sottoconto() const { return _sottoconto; } long sottoconto() const { return _sottoconto; }
@ -499,9 +497,12 @@ public:
bool find(); bool find();
const TString& descrizione() const; const TString& descrizione() const;
void set_description(const char* d);
int tipo_cr() const; int tipo_cr() const;
void tipo_cr(int tcr) { _tipo_cr = tcr; } void tipo_cr(int tcr) { _tipo_cr = tcr; }
int indicatore_bilancio() const; int indicatore_bilancio() const;
bool compensazione() const;
bool stampa_sottoconti_bilancio() const;
int tipo_att(); int tipo_att();
bool read(TRectype& r); bool read(TRectype& r);

View File

@ -1308,7 +1308,7 @@ const TBill& TBill::get(TToken_string& s, int from, int mode)
#ifdef DBG #ifdef DBG
error_box(FR("Tipo conto errato: '%c'"), _tipo); error_box(FR("Tipo conto errato: '%c'"), _tipo);
#endif #endif
_tipo = ' '; _tipo = '\0';
} }
_gruppo = first ? atoi(first) : 0; _gruppo = first ? atoi(first) : 0;
@ -1339,7 +1339,7 @@ const TBill& TBill::copy(const TBill& bill)
// Certified 100% // Certified 100%
const TBill& TBill::set(int g, int c, long s, char t, const char* d, int r) const TBill& TBill::set(int g, int c, long s, char t, const char* d, int r)
{ {
_tipo = (t > ' ') ? char(toupper(t)) : ' '; _tipo = (t > '\0') ? char(toupper(t)) : '\0';
_gruppo = g; _gruppo = g;
_conto = c; _conto = c;
_sottoconto = s; _sottoconto = s;
@ -1357,7 +1357,7 @@ const TBill& TBill::add_to(TToken_string& ts, int from, int mode)
} }
if (mode & 0x1) if (mode & 0x1)
ts.add(_tipo, from++); ts.add(tipo(), from++);
if (_gruppo > 0) ts.add(_gruppo, from++); else ts.add(" ", from++); if (_gruppo > 0) ts.add(_gruppo, from++); else ts.add(" ", from++);
if (_conto > 0) ts.add(_conto, from++); else ts.add(" ", from++); if (_conto > 0) ts.add(_conto, from++); else ts.add(" ", from++);
@ -1512,6 +1512,22 @@ TString & TBill::keystr() const
key.format("%03d%03d%06ld", gruppo(), conto(), sottoconto()); key.format("%03d%03d%06ld", gruppo(), conto(), sottoconto());
return key; return key;
} }
char TBill::tipo() const
{
TBill& myself = (TBill&)*this;
TString8 str;
if (_tipo == '\0')
{
str.format("%d|%d", gruppo(), conto());
myself._tipo = cache().get(LF_PCON, str, PCN_TMCF)[0];
if (_tipo < ' ')
myself._tipo = ' ';
}
return _tipo;
}
// Certified 95% // Certified 95%
bool TBill::find() bool TBill::find()
{ {
@ -1520,15 +1536,10 @@ bool TBill::find()
if ((_tipo != 'C' && _tipo != 'F') || _sottoconto == 0L) if ((_tipo != 'C' && _tipo != 'F') || _sottoconto == 0L)
{ {
TRectype pcon(LF_PCON); TRectype pcon(LF_PCON);
ok = read(pcon); ok = read(pcon);
if (!ok && _sottoconto != 0L) if (!ok && _sottoconto != 0L)
{ _tipo = '\0';
const long sotto = _sottoconto;
_sottoconto = 0L;
if (read(pcon))
_tipo = char(toupper(pcon.get_char(PCN_TMCF)));
_sottoconto = sotto;
}
} }
if ((_tipo == 'C' || _tipo == 'F') && _sottoconto != 0L) if ((_tipo == 'C' || _tipo == 'F') && _sottoconto != 0L)
@ -1658,6 +1669,24 @@ int TBill::indicatore_bilancio() const
return ib; return ib;
} }
bool TBill::compensazione() const
{
if (conto() <= 0)
return false;
TString8 str; str.format("%d|%d", gruppo(), conto());
return cache().get_bool(LF_PCON, str, PCN_COMPENS);
}
bool TBill::stampa_sottoconti_bilancio() const
{
if (conto() <= 0)
return true;
TString8 str; str.format("%d|%d", gruppo(), conto());
return !cache().get_int(LF_PCON, str, PCN_STSOTTBIL);
}
bool TBill::sospeso() const bool TBill::sospeso() const
{ {