Patch level : 12.0 1101
Files correlati     : 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 :
modificato il meccanismo per lanciare le stampe in batch.
Sintassi: ca3 -7 -b <nome del file che contiene i valori dell maschera> (-T) <tipo di output <P>rint|<E>xport|E<X>cel|PD<F>|<T>esto|<D>Base|<V>isualizza> (-O) <nome del file di output (-F) <codice ditta> (-S) <separatore per excel)
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
							
								
									63c8360a15
								
							
						
					
					
						commit
						e6be3d14be
					
				@ -1028,6 +1028,7 @@ protected:
 | 
			
		||||
	virtual void set_dbase_fixed_fields(bool on = true);
 | 
			
		||||
 | 
			
		||||
public:
 | 
			
		||||
	virtual const char * get_excel_disabled_field() { return "H0.201|H0.202|H0.203"; }
 | 
			
		||||
	void set_filter(const TPag_per_cms_mask& msk, const int cms_row, const long dacodfor, const long acodfor, const TString& campodata);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -4,16 +4,6 @@
 | 
			
		||||
 <font face="Courier New" size="8" />
 | 
			
		||||
 <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="" hidden="" height="5" page_break="" can_break="" pattern="1">
 | 
			
		||||
  <font italic="1" face="Courier New" bold="1" size="8" />
 | 
			
		||||
  <field x="1" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <font italic="1" face="Courier New" bold="1" size="10" />
 | 
			
		||||
   <source>#SYSTEM.RAGSOC</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="80" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>#SYSTEM.DATE</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="155" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>#REPORT.PAGE</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field border="2" x="1" y="2" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="160" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
 | 
			
		||||
  <field x="1" y="3.5" deactivated="" type="Testo" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="7" codval="" id="" pattern="1" hide_zero="" text="N. Reg." />
 | 
			
		||||
  <field x="10" y="3.5" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="11" codval="" id="" pattern="1" hide_zero="" text="Data reg." />
 | 
			
		||||
@ -26,6 +16,16 @@
 | 
			
		||||
  <field x="130" y="3.5" deactivated="" type="Testo" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Tot. pagamento" />
 | 
			
		||||
  <field x="146" y="3.5" deactivated="" type="Testo" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Tot. residuo" />
 | 
			
		||||
  <field border="1" x="1" y="4.5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="160" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
 | 
			
		||||
  <field x="1" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="201" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <font italic="1" face="Courier New" bold="1" size="10" />
 | 
			
		||||
   <source>#SYSTEM.RAGSOC</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="80" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="202" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>#SYSTEM.DATE</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="155" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="203" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>#REPORT.PAGE</source>
 | 
			
		||||
  </field>
 | 
			
		||||
 </section>
 | 
			
		||||
 <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="1" hidden="" page_break="" can_break="" pattern="1">
 | 
			
		||||
  <prescript description="H1 PRESCRIPT">MESSAGE RESET,F1.101
 | 
			
		||||
@ -229,7 +229,7 @@ MESSAGE ADD,F3.103</postscript>
 | 
			
		||||
   <source>#FASE</source>
 | 
			
		||||
   <prescript description="">CA_FORMAT_FASE</prescript>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="224" deactivated="" type="Stringa" hidden="1" link="" dynamic_height="" shade_offset="" width="13" codval="" id="204" pattern="1" hide_zero="" text="">
 | 
			
		||||
  <field x="224" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="13" codval="" id="204" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <font face="Arial" bold="1" size="9" />
 | 
			
		||||
   <modules>NP</modules>
 | 
			
		||||
   <source>#CONTSEP</source>
 | 
			
		||||
 | 
			
		||||
@ -1996,6 +1996,7 @@ protected:
 | 
			
		||||
	virtual void set_dbase_fixed_fields(bool on = true);
 | 
			
		||||
 | 
			
		||||
public:
 | 
			
		||||
		virtual const char * get_excel_disabled_field() { return "H0.201|H0.202|H0.203|H0.204|H0.205|H0.206|H0.207"; }
 | 
			
		||||
	void set_filter(const TPrint_rendiconto_ca_mask& msk, int cms_row, const int recset_key, TLog_report& log);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -4,21 +4,6 @@
 | 
			
		||||
 <font face="Courier New" size="7" />
 | 
			
		||||
 <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="" hidden="" height="5" page_break="" can_break="" pattern="1">
 | 
			
		||||
  <font italic="1" face="Courier New" bold="1" size="8" />
 | 
			
		||||
  <field x="1" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" height="1.2" id="" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>#SYSTEM.RAGSOC</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="67" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" height="1.2" id="" pattern="1" hide_zero="" text="Data stampa">
 | 
			
		||||
   <font italic="1" face="Courier New" size="8" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="82" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" height="1.2" id="" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>#SYSTEM.DATE</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="157" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" height="1.2" id="" pattern="1" hide_zero="" text="Pag.">
 | 
			
		||||
   <font italic="1" face="Courier New" size="8" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="161" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" height="1.2" id="" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>#REPORT.PAGE</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field border="2" x="1" y="2" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="169" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
 | 
			
		||||
  <field x="44" y="2.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="23" codval="" id="" pattern="1" hide_zero="" text="Doc. clienteF;fornitore" />
 | 
			
		||||
  <field x="102.5" y="2.5" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="12" codval="" id="" pattern="1" hide_zero="" text="Riferimento" />
 | 
			
		||||
@ -38,6 +23,21 @@
 | 
			
		||||
  <field x="157" y="3.5" deactivated="" type="Testo" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="" pattern="1" hide_zero="" text="Impegnato" />
 | 
			
		||||
  <field border="1" x="1" y="4.5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="169" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
 | 
			
		||||
  <field x="1" y="3.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="121" pattern="1" hide_zero="" text="Rif. Contabile" />
 | 
			
		||||
  <field x="1" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" height="1.2" id="201" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>#SYSTEM.RAGSOC</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="67" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" height="1.2" id="202" pattern="1" hide_zero="" text="Data stampa">
 | 
			
		||||
   <font italic="1" face="Courier New" size="8" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="82" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" height="1.2" id="203" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>#SYSTEM.DATE</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="157" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" height="1.2" id="204" pattern="1" hide_zero="" text="Pag.">
 | 
			
		||||
   <font italic="1" face="Courier New" size="8" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="161" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" height="1.2" id="205" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>#REPORT.PAGE</source>
 | 
			
		||||
  </field>
 | 
			
		||||
 </section>
 | 
			
		||||
 <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="1" hidden="" page_break="" can_break="" pattern="1">
 | 
			
		||||
  <prescript description="H1 PRESCRIPT">MESSAGE RESET,F1</prescript>
 | 
			
		||||
@ -301,7 +301,7 @@
 | 
			
		||||
   <source>#FASE</source>
 | 
			
		||||
   <prescript description="">CA_FORMAT_FASE</prescript>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="233" y="0.5" deactivated="" type="Stringa" hidden="1" link="" dynamic_height="" shade_offset="" width="13" codval="" id="204" pattern="1" hide_zero="" text="">
 | 
			
		||||
  <field x="233" y="0.5" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="13" codval="" id="204" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <font face="Arial" bold="1" size="9" />
 | 
			
		||||
   <modules>NP</modules>
 | 
			
		||||
   <source>#CONTSEP</source>
 | 
			
		||||
 | 
			
		||||
@ -4,33 +4,6 @@
 | 
			
		||||
 <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">
 | 
			
		||||
  <font italic="1" face="Arial Narrow" bold="1" size="7" />
 | 
			
		||||
  <field x="1" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>#SYSTEM.RAGSOC</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="2" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="192" codval="" height="2.5" id="" pattern="1" hide_zero="" text="Riepilogo Entrate e Costi Esterni">
 | 
			
		||||
   <font face="Arial Narrow" bold="1" size="16" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="70" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="Data stampa">
 | 
			
		||||
   <font italic="1" face="Arial Narrow" size="7" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="82" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>#SYSTEM.DATE</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="117" deactivated="" type="Testo" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="25" codval="" height="2.5" id="" pattern="1" hide_zero="" text="Contabilit&#E0; separata">
 | 
			
		||||
   <font face="Arial Narrow" bold="1" size="16" />
 | 
			
		||||
   <modules>NP</modules>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="146" deactivated="" type="Stringa" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="18" codval="" height="2.5" id="" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <font face="Courier New" bold="1" size="16" />
 | 
			
		||||
   <modules>NP</modules>
 | 
			
		||||
   <source>#CONTSEP</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="186" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="1" hide_zero="" text="Pag.">
 | 
			
		||||
   <font italic="1" face="Arial Narrow" size="7" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="190" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>#REPORT.PAGE</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field border="2" x="1" y="2.5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="193" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
 | 
			
		||||
  <field x="80" y="2.5" deactivated="" type="Testo" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="Ricavi" />
 | 
			
		||||
  <field x="142.5" y="2.5" deactivated="" type="Testo" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="Costi" />
 | 
			
		||||
@ -54,6 +27,33 @@
 | 
			
		||||
  <field x="71" y="5" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="Data Proroga" />
 | 
			
		||||
  <field border="1" x="1" y="6.25" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="193" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
 | 
			
		||||
  <field x="1" y="3" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="121" pattern="1" hide_zero="" text="Commessa" />
 | 
			
		||||
  <field x="1" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="201" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>#SYSTEM.RAGSOC</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="2" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="192" codval="" height="2.5" id="202" pattern="1" hide_zero="" text="Riepilogo Entrate e Costi Esterni">
 | 
			
		||||
   <font face="Arial Narrow" bold="1" size="16" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="70" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="203" pattern="1" hide_zero="" text="Data stampa">
 | 
			
		||||
   <font italic="1" face="Arial Narrow" size="7" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="82" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="204" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>#SYSTEM.DATE</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="117" deactivated="" type="Testo" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="25" codval="" height="2.5" id="205" pattern="1" hide_zero="" text="Contabilit&#E0; separata">
 | 
			
		||||
   <font face="Arial Narrow" bold="1" size="16" />
 | 
			
		||||
   <modules>NP</modules>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="146" deactivated="" type="Stringa" valign="center" hidden="" link="" dynamic_height="" shade_offset="" width="18" codval="" height="2.5" id="206" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <font face="Courier New" bold="1" size="16" />
 | 
			
		||||
   <modules>NP</modules>
 | 
			
		||||
   <source>#CONTSEP</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="186" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="207" pattern="1" hide_zero="" text="Pag.">
 | 
			
		||||
   <font italic="1" face="Arial Narrow" size="7" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="190" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="208" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>#REPORT.PAGE</source>
 | 
			
		||||
  </field>
 | 
			
		||||
 </section>
 | 
			
		||||
 <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="1" hidden="" page_break="" can_break="" pattern="1">
 | 
			
		||||
  <prescript description="H1 PRESCRIPT">MESSAGE RESET,F1</prescript>
 | 
			
		||||
 | 
			
		||||
@ -165,7 +165,7 @@ protected:
 | 
			
		||||
	virtual bool get_usr_val(const TString& name, TVariant& var) const;
 | 
			
		||||
 | 
			
		||||
public:
 | 
			
		||||
	virtual const char * get_excel_disabled_field() { return "H0.201|H0.202|H0.203|H0.204|H0.205|H0.121|H0.122"; }
 | 
			
		||||
	virtual const char * get_excel_disabled_field() { return "H0.201|H0.202|H0.203|H0.204|H0.205|H0.121|H0.122|B1.171"; }
 | 
			
		||||
	void set_filter(const TPrint_bilancio_cms_mask& msk, const char * curr_fase = "", const char * curr_cdc = "");
 | 
			
		||||
	TPrint_bilancio_cms_rep(const char* rep_name, const TString& prefix, const int depth, 
 | 
			
		||||
                          const bool show_fasi, const bool show_cdc, const bool show_cms_descr, const bool show_cms_date,
 | 
			
		||||
@ -400,9 +400,7 @@ void TPrint_bilancio_cms::execute_print(TReport_book & book, TAutomask & mask, T
 | 
			
		||||
		else  //...senno' stampa standard in un giro solo
 | 
			
		||||
		{		  
 | 
			
		||||
			((TPrint_bilancio_cms_rep &)rep).set_filter(*_mask);
 | 
			
		||||
			rep.set_export_sections(type);
 | 
			
		||||
			book.add(rep);
 | 
			
		||||
			rep.reset_export_sections();
 | 
			
		||||
			book.add(rep, type);
 | 
			
		||||
		}
 | 
			
		||||
  
 | 
			
		||||
}
 | 
			
		||||
@ -438,8 +436,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);
 | 
			
		||||
@ -472,8 +470,12 @@ TTrec * TPrint_bilancio_cms::get_dbase_recdesc(TReport & rep, const TAutomask &
 | 
			
		||||
		desc->add_fielddef("COD", _alfafld, 4);
 | 
			
		||||
 | 
			
		||||
	desc->add_fielddef(cms.rec_des(), COMMESSE_CODCMS);
 | 
			
		||||
	desc->set_name("COMMESSA");
 | 
			
		||||
	if (show_cms_descr)
 | 
			
		||||
	{
 | 
			
		||||
		desc->add_fielddef(cms.rec_des(), COMMESSE_DESCRIZ);
 | 
			
		||||
		desc->set_name("TITOLO");
 | 
			
		||||
	}
 | 
			
		||||
	if (show_cms_date)
 | 
			
		||||
	{
 | 
			
		||||
		desc->add_fielddef("INIZIO", _datefld);
 | 
			
		||||
@ -489,13 +491,13 @@ TTrec * TPrint_bilancio_cms::get_dbase_recdesc(TReport & rep, const TAutomask &
 | 
			
		||||
	desc->add_fielddef("CONSULENZE", _realfld, 18, 2);
 | 
			
		||||
	desc->add_fielddef("ALTRICOSTI", _realfld, 18, 2);
 | 
			
		||||
	desc->add_fielddef("MATERIALI", _realfld, 18, 2);
 | 
			
		||||
	desc->add_fielddef("GENERALI", _realfld, 18, 2);
 | 
			
		||||
	desc->add_fielddef("GENINDIST", _realfld, 18, 2);
 | 
			
		||||
	desc->add_fielddef("DIPENDENTI", _realfld, 18, 2);
 | 
			
		||||
	desc->add_fielddef("COSTI", _realfld, 18, 2);
 | 
			
		||||
	desc->add_fielddef("DIFFERENZA", _realfld, 18, 2);
 | 
			
		||||
	desc->add_fielddef("PERCDIFF", _realfld, 6, 2);
 | 
			
		||||
	desc->add_fielddef("MARGINE", _realfld, 18, 2);
 | 
			
		||||
	desc->add_fielddef("MPCT", _realfld, 6, 2);
 | 
			
		||||
 | 
			
		||||
	TString keydef = COMMESSE_CODCMS;
 | 
			
		||||
	TString keydef = "COMMESSA";
 | 
			
		||||
 | 
			
		||||
	if (dett_fasi)
 | 
			
		||||
		keydef << '+' << FASI_CODFASE;
 | 
			
		||||
@ -503,7 +505,7 @@ TTrec * TPrint_bilancio_cms::get_dbase_recdesc(TReport & rep, const TAutomask &
 | 
			
		||||
		keydef << '+' << CDC_CODCOSTO;
 | 
			
		||||
	desc->add_keydef(keydef, true);
 | 
			
		||||
	if (show_cms_descr)
 | 
			
		||||
		desc->add_keydef(COMMESSE_DESCRIZ, true);
 | 
			
		||||
		desc->add_keydef("TITOLO", true);
 | 
			
		||||
	return desc;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -6,6 +6,7 @@
 | 
			
		||||
  <font italic="1" face="Arial Narrow" bold="1" size="7" />
 | 
			
		||||
  <field border="1" x="1" y="3" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="195" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
 | 
			
		||||
  <field x="1" y="2" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="1" pattern="1" hide_zero="" text="Commessa" />
 | 
			
		||||
  <field x="17" y="2" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="6" codval="" id="2" pattern="1" hide_zero="" text="Titolo" />
 | 
			
		||||
  <field x="41" y="2" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="6" codval="" id="3" pattern="1" hide_zero="" text="Inizio" />
 | 
			
		||||
  <field x="46.5" y="2" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="6" codval="" id="4" pattern="1" hide_zero="" text="Fine" />
 | 
			
		||||
  <field x="51" y="2" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="6" codval="" id="5" pattern="1" hide_zero="" text="Fase" />
 | 
			
		||||
 | 
			
		||||
@ -5,6 +5,7 @@
 | 
			
		||||
 <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="" hidden="" page_break="" can_break="" pattern="1">
 | 
			
		||||
  <font italic="1" face="Arial Narrow" bold="1" size="7" />
 | 
			
		||||
  <field x="5" y="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="1" pattern="1" hide_zero="" text="Commessa" />
 | 
			
		||||
  <field x="20.5" y="1" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="6" codval="" id="2" pattern="1" hide_zero="" text="Titolo" />
 | 
			
		||||
  <field x="45" y="1" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="6" codval="" id="3" pattern="1" hide_zero="" text="Inizio" />
 | 
			
		||||
  <field x="50.5" y="1" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="6" codval="" id="4" pattern="1" hide_zero="" text="Fine" />
 | 
			
		||||
  <field x="55" y="1" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="6" codval="" id="5" pattern="1" hide_zero="" text="Fase" />
 | 
			
		||||
 | 
			
		||||
@ -5,12 +5,6 @@
 | 
			
		||||
 <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="" hidden="" page_break="" can_break="" pattern="1">
 | 
			
		||||
  <font italic="1" face="Arial Narrow" bold="1" size="8" />
 | 
			
		||||
  <field x="39" deactivated="" type="Testo" valign="bottom" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" height="2" id="69" pattern="1" hide_zero="" text="Testata" />
 | 
			
		||||
  <field x="163" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="100" pattern="1" hide_zero="" text="Pag.">
 | 
			
		||||
   <font italic="1" face="Arial Narrow" size="8" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="167" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="101" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>#REPORT.BOOKPAGE</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="6" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="8" codval="" id="121" pattern="1" hide_zero="" text="Fase" />
 | 
			
		||||
  <field x="1" y="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="121" pattern="1" hide_zero="" text="Cod" />
 | 
			
		||||
  <field x="6" y="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="8" codval="" id="121" pattern="1" hide_zero="" text="Commessa" />
 | 
			
		||||
@ -20,6 +14,12 @@
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="54" y="1" deactivated="" type="Stringa" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="13" codval="" id="169" pattern="1" hide_zero="" text="MARGINE" />
 | 
			
		||||
  <field x="67" y="1" deactivated="" type="Testo" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="4" codval="" id="169" pattern="1" hide_zero="" text="Perc" />
 | 
			
		||||
  <field x="163" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="204" pattern="1" hide_zero="" text="Pag.">
 | 
			
		||||
   <font italic="1" face="Arial Narrow" size="8" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="167" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="205" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>#REPORT.BOOKPAGE</source>
 | 
			
		||||
  </field>
 | 
			
		||||
 </section>
 | 
			
		||||
 <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="1" hidden="" page_break="" can_break="" pattern="1">
 | 
			
		||||
  <field deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="169" codval="" id="" pattern="1" hide_zero="" text="BILANCIO DI COMMESSA PER ESERCIZIO RAGGRUPPATO PER FASE">
 | 
			
		||||
 | 
			
		||||
@ -20,14 +20,14 @@
 | 
			
		||||
   <source>#SYSTEM.DATE</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="35" y="2" deactivated="" type="Testo" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="69" pattern="1" hide_zero="" text="Testata" />
 | 
			
		||||
  <field x="120" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="100" pattern="1" hide_zero="" text="Pag.">
 | 
			
		||||
   <font italic="1" face="Arial Narrow" size="8" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="123" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="101" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>#REPORT.BOOKPAGE</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="1" y="2" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="14" codval="" id="121" pattern="1" hide_zero="" text="Centro di costo" />
 | 
			
		||||
  <field x="51" y="2" deactivated="" type="Stringa" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="169" pattern="1" hide_zero="" text="MARGINE" />
 | 
			
		||||
  <field x="120" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="204" pattern="1" hide_zero="" text="Pag.">
 | 
			
		||||
   <font italic="1" face="Arial Narrow" size="8" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="123" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="205" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>#REPORT.BOOKPAGE</source>
 | 
			
		||||
  </field>
 | 
			
		||||
 </section>
 | 
			
		||||
 <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="1" hidden="" page_break="" can_break="" pattern="1">
 | 
			
		||||
  <field border="1" radius="100" x="1" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="25" width="169" codval="" height="2.5" id="" pattern="2" hide_zero="" text="BILANCIO DI COMMESSA PER ESERCIZIO RAGGRUPPATO PER CENTRI DI COSTO">
 | 
			
		||||
 | 
			
		||||
@ -10,18 +10,18 @@
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="68" y="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="1" hide_zero="" text="Perc" />
 | 
			
		||||
  <field x="39" deactivated="" type="Testo" valign="bottom" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" height="2" id="69" pattern="1" hide_zero="" text="Testata" />
 | 
			
		||||
  <field x="164" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="100" pattern="1" hide_zero="" text="Pag.">
 | 
			
		||||
   <font italic="1" face="Arial Narrow" size="8" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="167" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="101" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>#REPORT.BOOKPAGE</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="6" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="14" codval="" id="121" pattern="1" hide_zero="" text="Centro di costo" />
 | 
			
		||||
  <field x="1" y="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="121" pattern="1" hide_zero="" text="Cod" />
 | 
			
		||||
  <field x="6" y="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="14" codval="" id="121" pattern="1" hide_zero="" text="Commessa" />
 | 
			
		||||
  <field x="55" y="1" deactivated="" type="Stringa" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="169" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>"MARGINE CONTRIBUZIONE"</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="164" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="204" pattern="1" hide_zero="" text="Pag.">
 | 
			
		||||
   <font italic="1" face="Arial Narrow" size="8" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="167" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="205" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>#REPORT.BOOKPAGE</source>
 | 
			
		||||
  </field>
 | 
			
		||||
 </section>
 | 
			
		||||
 <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="1" hidden="" page_break="" can_break="" pattern="1">
 | 
			
		||||
  <field deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="169" codval="" id="" pattern="1" hide_zero="" text="BILANCIO DI COMMESSA PER ESERCIZIO RAGGRUPPATO PER CENTRI DI COSTO">
 | 
			
		||||
 | 
			
		||||
@ -108,6 +108,7 @@ protected:
 | 
			
		||||
	virtual bool get_usr_val(const TString& name, TVariant& var) const;
 | 
			
		||||
 | 
			
		||||
public:
 | 
			
		||||
	virtual const char * get_excel_disabled_field() { return "H0.201|H0.202|H0.203|H0.204|H0.205"; }
 | 
			
		||||
	void set_filter(const TPrint_stima_ricavi_mask& msk);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -4,21 +4,6 @@
 | 
			
		||||
 <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">
 | 
			
		||||
  <font italic="1" face="Arial Narrow" bold="1" size="8" />
 | 
			
		||||
  <field x="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="Data stampa">
 | 
			
		||||
   <font italic="1" face="Arial Narrow" size="8" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="11" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="12" codval="" id="" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>#SYSTEM.DATE</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="62" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>#SYSTEM.RAGSOC</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="150" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="1" hide_zero="" text="Pag.">
 | 
			
		||||
   <font italic="1" face="Arial Narrow" size="8" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="154" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>#REPORT.PAGE</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field border="2" x="1" y="1.5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="174" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
 | 
			
		||||
  <field x="1" y="1.75" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="12" codval="" id="" pattern="1" hide_zero="" text="Include inevasi">
 | 
			
		||||
   <font italic="1" face="Arial Narrow" size="9" />
 | 
			
		||||
@ -117,6 +102,21 @@ THEN
 | 
			
		||||
</prescript>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="1" y="3" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="121" pattern="1" hide_zero="" text="Commessa" />
 | 
			
		||||
  <field x="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="201" pattern="1" hide_zero="" text="Data stampa">
 | 
			
		||||
   <font italic="1" face="Arial Narrow" size="8" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="62" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="202" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>#SYSTEM.RAGSOC</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="154" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="203" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>#REPORT.PAGE</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="11" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="12" codval="" id="204" pattern="1" hide_zero="" text="">
 | 
			
		||||
   <source>#SYSTEM.DATE</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="150" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="205" pattern="1" hide_zero="" text="Pag.">
 | 
			
		||||
   <font italic="1" face="Arial Narrow" size="8" />
 | 
			
		||||
  </field>
 | 
			
		||||
 </section>
 | 
			
		||||
 <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="1" hidden="" height="4" page_break="" can_break="" pattern="1">
 | 
			
		||||
  <prescript description="H1 PRESCRIPT">MESSAGE RESET,F1
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user