Patch level : 12.0 1100
Files correlati : f151.dir f151.trr ca1.exe ca2.exe ca3.exe ca3100.uml ca3100a.rep ca3100b.rep ca3200.uml ca3200a.rep ca3200b.rep ca3300.uml ca3300a.rep ca3300b.rep ca3300c.rep ca3300d.rep ca3600.uml ca3600a.rep ca3700.uml ca3700a.rep ca3700b.rep ca3800.uml ca3800a.rep ca3800as.rep ca3800b.rep ca3800bs.rep ca3800c.rep ca3800cs.rep ca3883.cpp ca3900.uml ca3900a.rep Commento : Aggiunta contabilità separata alle stampe di analitica. Aggiunto meccanismo per lanciare le stampe in batch. Sintassi: ca3 -7 -b <nome del file che contiene i valori dell maschera> <tipo di output <P>rint|<E>xport|E<X>cel|PD<F>|<T>esto|<D>Base|<V>isualizza> <nome del file di output Esempio: ca3 -7 -b select.sav X c:\out\rend esporta il rendiconto di commessa usando i parametri salvati in select.sav nel file c:\out\rend.xls
This commit is contained in:
parent
21f20739ad
commit
cfdf7aa5a1
@ -50,27 +50,32 @@ bool TPrint_bilancio_cms_mask::on_field_event(TOperable_field& o, TField_event e
|
||||
{
|
||||
switch (o.dlg())
|
||||
{
|
||||
case F_ESERCIZIO:
|
||||
case F_FINE_ES:
|
||||
if (e == fe_init || e == fe_modify || e == fe_close)
|
||||
{
|
||||
const int anno = get_int(F_ESERCIZIO);
|
||||
if (anno > 0)
|
||||
{
|
||||
TEsercizi_contabili esc;
|
||||
TDate datainiesc, datafinesc;
|
||||
case F_TIPOSTAMPA:
|
||||
case F_STAMPA_SINTETICA:
|
||||
if (e == fe_init || e == fe_modify)
|
||||
set_report_class();
|
||||
break;
|
||||
case F_ESERCIZIO:
|
||||
case F_FINE_ES:
|
||||
if (e == fe_init || e == fe_modify || e == fe_close)
|
||||
{
|
||||
const int anno = get_int(F_ESERCIZIO);
|
||||
if (anno > 0)
|
||||
{
|
||||
TEsercizi_contabili esc;
|
||||
TDate datainiesc, datafinesc;
|
||||
|
||||
esc.code2range(anno, datainiesc, datafinesc);
|
||||
const TDate datafine = get(F_FINE_ES);
|
||||
if (datafine < datainiesc || datafine > datafinesc)
|
||||
set(F_FINE_ES, datafinesc);
|
||||
//deve comunque scrivere l'inizio dell'esercizio che ha scelto (anche se esercizio non esiste!)
|
||||
set(F_INIZIO_ES, datainiesc);
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
esc.code2range(anno, datainiesc, datafinesc);
|
||||
const TDate datafine = get(F_FINE_ES);
|
||||
if (datafine < datainiesc || datafine > datafinesc)
|
||||
set(F_FINE_ES, datafinesc);
|
||||
//deve comunque scrivere l'inizio dell'esercizio che ha scelto (anche se esercizio non esiste!)
|
||||
set(F_INIZIO_ES, datainiesc);
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return TAnal_report_mask::on_field_event(o, e, jolly);
|
||||
}
|
||||
@ -432,8 +437,8 @@ TReport & TPrint_bilancio_cms::get_report(const TAutomask & m)
|
||||
const bool show_cms_descr = m.get_bool(F_SHOW_CMS_DESCR);
|
||||
const bool show_cms_date = m.get_bool(F_SHOW_CMS_DATE);
|
||||
|
||||
if (path.empty())
|
||||
path = ((TPrint_bilancio_cms_mask &)m).get_report_class();
|
||||
//if (path.empty())
|
||||
// path = ((TPrint_bilancio_cms_mask &)m).get_report_class();
|
||||
//crea il report in base ai parametri (tipo report,struttura,profondita' di stampa)
|
||||
safe_delete(_rep);
|
||||
_rep = new TPrint_bilancio_cms_rep(path, prefix, depth, show_fasi, show_cdc, show_cms_descr, show_cms_date, sintetica, intestazione_minima);
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<report libraries="ve1300" page_merge="" save_printer="" name="ca3800as" use_printer_font="" orientation="2" page_split="" lpi="6" command="" class="ca3800">
|
||||
<report libraries="ve1300" page_merge="" save_printer="" name="ca3800as" use_printer_font="" orientation="2" page_split="" lpi="6" command="" class="ca3800as">
|
||||
<description>Bilancio commessa CA</description>
|
||||
<font face="Arial Narrow" size="7" />
|
||||
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="" hidden="" page_break="" can_break="" pattern="1">
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<report libraries="ve1300" page_merge="" save_printer="" name="ca3800b" use_printer_font="" orientation="2" page_split="" lpi="6" command="" class="ca3800">
|
||||
<report libraries="ve1300" page_merge="" save_printer="" name="ca3800b" use_printer_font="" orientation="2" page_split="" lpi="6" command="" class="ca3800b">
|
||||
<description>Bilancio commessa CA riassuntivo per fasi</description>
|
||||
<font face="Arial Narrow" size="8" />
|
||||
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="" hidden="" page_break="" can_break="" pattern="1">
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<report libraries="ve1300" page_merge="" save_printer="" name="ca3800bs" use_printer_font="" orientation="2" page_split="" lpi="6" command="" class="ca3800">
|
||||
<report libraries="ve1300" page_merge="" save_printer="" name="ca3800bs" use_printer_font="" orientation="2" page_split="" lpi="6" command="" class="ca3800bs">
|
||||
<description>Bilancio commessa CA riassuntivo per fasi</description>
|
||||
<font face="Arial Narrow" size="8" />
|
||||
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="" hidden="" page_break="" can_break="" pattern="1">
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<report libraries="ve1300" page_merge="" save_printer="" name="ca3800c" use_printer_font="" orientation="2" page_split="" lpi="6" command="" class="ca3800">
|
||||
<report libraries="ve1300" page_merge="" save_printer="" name="ca3800c" use_printer_font="" orientation="2" page_split="" lpi="6" command="" class="ca3800c">
|
||||
<description>Bilancio commessa CA riassuntivo per CdC</description>
|
||||
<font face="Arial Narrow" size="8" />
|
||||
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="" hidden="" page_break="" can_break="" pattern="1">
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<report libraries="ve1300" page_merge="" save_printer="" name="ca3800cs" use_printer_font="" orientation="2" page_split="" lpi="6" command="" class="ca3800">
|
||||
<report libraries="ve1300" page_merge="" save_printer="" name="ca3800cs" use_printer_font="" orientation="2" page_split="" lpi="6" command="" class="ca3800cs">
|
||||
<description>Bilancio commessa CA riassuntivo per CdC</description>
|
||||
<font face="Arial Narrow" size="8" />
|
||||
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="" hidden="" page_break="" can_break="" pattern="1">
|
||||
|
Loading…
x
Reference in New Issue
Block a user