Merge remote-tracking branch 'origin/R_10_00' into R_10_00
This commit is contained in:
		
						commit
						d988f00bca
					
				
							
								
								
									
										10
									
								
								cd/test/ca0942.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								cd/test/ca0942.txt
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,10 @@ | ||||
| ca3800as.rep | ||||
| ca3800bs.rep | ||||
| ca3800cs.rep | ||||
| ca3800b.rep | ||||
| ca3800c.rep | ||||
| ca3.exe | ||||
| ca3800.msk | ||||
| ca3800a.rep | ||||
| 
 | ||||
| Nel bilancio per commessa aggiunti report sintetici (utili per l'esportazione in excel). | ||||
							
								
								
									
										28
									
								
								cd/test/ca0942a.ini
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								cd/test/ca0942a.ini
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,28 @@ | ||||
| [Main] | ||||
| Demo=0 | ||||
| 
 | ||||
| [ca3] | ||||
| File(30) = ca3800as.rep|X | ||||
| File(31) = ca3800bs.rep|X | ||||
| File(32) = ca3800cs.rep|X | ||||
| File(37) = ca3.exe|X | ||||
| File(52) = ca3800.msk|X | ||||
| File(53) = ca3800a.rep|X | ||||
| File(54) = ca3800b.rep|X | ||||
| File(55) = ca3800c.rep|X | ||||
| Patch = 942 | ||||
| Versione = 21511200 | ||||
| 
 | ||||
| [ca] | ||||
| Data = 03-02-2020 | ||||
| Descrizione = Contabilita' Analitica | ||||
| Dischi = 1 | ||||
| Moduli = ba,cg | ||||
| OEM =  | ||||
| Patch = 942 | ||||
| PostProcess =  | ||||
| PreProcess =  | ||||
| Prezzo(1) =  | ||||
| Prezzo(2) =  | ||||
| Versione = 21511200 | ||||
| 
 | ||||
							
								
								
									
										
											BIN
										
									
								
								cd/test/ca0942a1.zip
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								cd/test/ca0942a1.zip
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										10
									
								
								cd/test/ca0946.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								cd/test/ca0946.txt
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,10 @@ | ||||
| ca3800c.rep | ||||
| ca3800.msk | ||||
| ca3800cs.rep | ||||
| ca3.exe | ||||
| ca3800a.rep | ||||
| ca3800as.rep | ||||
| ca3800b.rep | ||||
| ca3800bs.rep | ||||
| 
 | ||||
| Nel bilancio per commessa aggiunti report sintetici (utili per l'esportazione in excel). | ||||
							
								
								
									
										28
									
								
								cd/test/ca0946a.ini
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								cd/test/ca0946a.ini
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,28 @@ | ||||
| [Main] | ||||
| Demo=0 | ||||
| 
 | ||||
| [ca3] | ||||
| File(34) = ca3.exe|X | ||||
| File(49) = ca3800.msk|X | ||||
| File(50) = ca3800a.rep|X | ||||
| File(51) = ca3800as.rep|X | ||||
| File(52) = ca3800b.rep|X | ||||
| File(53) = ca3800bs.rep|X | ||||
| File(54) = ca3800c.rep|X | ||||
| File(55) = ca3800cs.rep|X | ||||
| Patch = 946 | ||||
| Versione = 21511200 | ||||
| 
 | ||||
| [ca] | ||||
| Data = 03-02-2020 | ||||
| Descrizione = Contabilita' Analitica | ||||
| Dischi = 1 | ||||
| Moduli = ba,cg | ||||
| OEM =  | ||||
| Patch = 946 | ||||
| PostProcess =  | ||||
| PreProcess =  | ||||
| Prezzo(1) =  | ||||
| Prezzo(2) =  | ||||
| Versione = 21511200 | ||||
| 
 | ||||
							
								
								
									
										
											BIN
										
									
								
								cd/test/ca0946a1.zip
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								cd/test/ca0946a1.zip
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										3
									
								
								cd/test/cg0942.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								cd/test/cg0942.txt
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,3 @@ | ||||
| cg4.exe | ||||
| 
 | ||||
| Esposto il credito derivante dal versamento dell'acconto in dicembre | ||||
							
								
								
									
										98
									
								
								cd/test/cg0942a.ini
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										98
									
								
								cd/test/cg0942a.ini
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,98 @@ | ||||
| [Main] | ||||
| Demo=0 | ||||
| 
 | ||||
| [cg4] | ||||
| File(85) = cg4.exe|X | ||||
| Patch = 0942 | ||||
| Versione = 21511200 | ||||
| 
 | ||||
| [cg99] | ||||
| Kill(0) = bastcfi.rep|x | ||||
| Kill(1) = batbcve.msk|x | ||||
| Kill(2) = bastcam.rep|x | ||||
| Kill(3) = batbtra.msk|x | ||||
| Kill(4) = batbndo.msk|x | ||||
| Kill(5) = bastver.msk|x | ||||
| Kill(6) = cg2fppro.msk|x | ||||
| Kill(7) = batbpor.msk|x | ||||
| Kill(8) = bastzon.rep|x | ||||
| Kill(9) = bastleg.rep|x | ||||
| Kill(10) = batbcam.msk|x | ||||
| Kill(11) = bastpor.msk|x | ||||
| Kill(12) = bastcco.rep|x | ||||
| Kill(13) = batbind.msk|x | ||||
| Kill(14) = bastnot.msk|x | ||||
| Kill(15) = batbivd.msk|x | ||||
| Kill(16) = batbleg.msk|x | ||||
| Kill(17) = batbcco.msk|x | ||||
| Kill(18) = bastmsp.msk|x | ||||
| Kill(19) = bastntb.rep|x | ||||
| Kill(20) = bastcco.msk|x | ||||
| Kill(21) = batbtit.msk|x | ||||
| Kill(22) = batblia.msk|x | ||||
| Kill(23) = bastscc.msk|x | ||||
| Kill(24) = batbarb.msk|x | ||||
| Kill(25) = bastvet.msk|x | ||||
| Kill(26) = bastzon.msk|x | ||||
| Kill(27) = bastesc.msk|x | ||||
| Kill(28) = batbreg.msk|x | ||||
| Kill(29) = bastndo.msk|x | ||||
| Kill(30) = bastndo.rep|x | ||||
| Kill(31) = bastpdb.msk|x | ||||
| Kill(32) = bastcve.rep|x | ||||
| Kill(33) = batbvet.msk|x | ||||
| Kill(34) = bastvet.rep|x | ||||
| Kill(35) = batbdel.msk|x | ||||
| Kill(36) = batbzon.msk|x | ||||
| Kill(37) = bastcam.msk|x | ||||
| Kill(38) = bastpdb.rep|x | ||||
| Kill(39) = bastver.rep|x | ||||
| Kill(40) = batblbu.msk|x | ||||
| Kill(41) = batbmsp.msk|x | ||||
| Kill(42) = bastscc.rep|x | ||||
| Kill(43) = bastdpn.msk|x | ||||
| Kill(44) = bastesc.rep|x | ||||
| Kill(45) = bastcfi.msk|x | ||||
| Kill(46) = batbinl.msk|x | ||||
| Kill(47) = bastarb.msk|x | ||||
| Kill(48) = batbscc.msk|x | ||||
| Kill(49) = bastarb.rep|x | ||||
| Kill(50) = bastdpn.rep|x | ||||
| Kill(51) = bastntb.msk|x | ||||
| Kill(52) = bastivd.rep|x | ||||
| Kill(53) = bastreg.msk|x | ||||
| Kill(54) = bastivd.msk|x | ||||
| Kill(55) = batbins.msk|x | ||||
| Kill(56) = batbpdb.msk|x | ||||
| Kill(57) = bastreg.rep|x | ||||
| Kill(58) = bastcve.msk|x | ||||
| Kill(59) = batbntb.msk|x | ||||
| Kill(60) = batbnot.msk|x | ||||
| Kill(61) = batblia.msk|x | ||||
| Kill(62) = cgtbcon.msk|x | ||||
| Kill(63) = bastnot.rep|x | ||||
| Kill(64) = batbesc.msk|x | ||||
| Kill(65) = bastpor.rep|x | ||||
| Kill(66) = batbcfi.msk|x | ||||
| Kill(67) = bastmsp.rep|x | ||||
| Kill(68) = batbver.msk|x | ||||
| Kill(69) = batbdpn.msk|x | ||||
| Kill(70) = bastleg.msk|x | ||||
| 
 | ||||
| [cg] | ||||
| Data = 13-02-2020 | ||||
| Descrizione = Contabilita' Generale | ||||
| Dischi = 1 | ||||
| Edit_19 = cg0 -0 | ||||
| Edit_20 = cg0 -1 | ||||
| Edit_26 = cg0 -4 | ||||
| Edit_5 = cg0 -5 | ||||
| Moduli = ba | ||||
| OEM =  | ||||
| Patch = 942 | ||||
| PostProcess = bainst -0 CG | ||||
| PreProcess =  | ||||
| Prezzo(1) =  | ||||
| Prezzo(2) =  | ||||
| Versione = 21511200 | ||||
| 
 | ||||
							
								
								
									
										
											BIN
										
									
								
								cd/test/cg0942a1.zip
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								cd/test/cg0942a1.zip
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										3
									
								
								cd/test/cg0944.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								cd/test/cg0944.txt
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,3 @@ | ||||
| cg2.exe | ||||
| 
 | ||||
| Corretta la patch 940 per il reverse charge. Corretto il test su reverse charge | ||||
							
								
								
									
										98
									
								
								cd/test/cg0944a.ini
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										98
									
								
								cd/test/cg0944a.ini
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,98 @@ | ||||
| [Main] | ||||
| Demo=0 | ||||
| 
 | ||||
| [cg2] | ||||
| File(51) = cg2.exe|X | ||||
| Patch = 944 | ||||
| Versione = 21511200 | ||||
| 
 | ||||
| [cg99] | ||||
| Kill(0) = bastntb.rep|x | ||||
| Kill(1) = bastvet.msk|x | ||||
| Kill(2) = bastpdb.msk|x | ||||
| Kill(3) = bastmsp.msk|x | ||||
| Kill(4) = batbarb.msk|x | ||||
| Kill(5) = bastndo.rep|x | ||||
| Kill(6) = bastesc.msk|x | ||||
| Kill(7) = batbvet.msk|x | ||||
| Kill(8) = bastzon.msk|x | ||||
| Kill(9) = bastcve.rep|x | ||||
| Kill(10) = batbivd.msk|x | ||||
| Kill(11) = batbtit.msk|x | ||||
| Kill(12) = bastnot.msk|x | ||||
| Kill(13) = bastcco.msk|x | ||||
| Kill(14) = batbcco.msk|x | ||||
| Kill(15) = bastscc.msk|x | ||||
| Kill(16) = batbleg.msk|x | ||||
| Kill(17) = batblia.msk|x | ||||
| Kill(18) = bastpor.msk|x | ||||
| Kill(19) = batbcam.msk|x | ||||
| Kill(20) = batbind.msk|x | ||||
| Kill(21) = bastcco.rep|x | ||||
| Kill(22) = batbntb.msk|x | ||||
| Kill(23) = bastpor.rep|x | ||||
| Kill(24) = bastcve.msk|x | ||||
| Kill(25) = batbesc.msk|x | ||||
| Kill(26) = bastleg.msk|x | ||||
| Kill(27) = bastmsp.rep|x | ||||
| Kill(28) = batbcfi.msk|x | ||||
| Kill(29) = bastarb.rep|x | ||||
| Kill(30) = batbins.msk|x | ||||
| Kill(31) = batblia.msk|x | ||||
| Kill(32) = batbscc.msk|x | ||||
| Kill(33) = bastivd.msk|x | ||||
| Kill(34) = batbnot.msk|x | ||||
| Kill(35) = bastreg.rep|x | ||||
| Kill(36) = bastnot.rep|x | ||||
| Kill(37) = batbpdb.msk|x | ||||
| Kill(38) = cgtbcon.msk|x | ||||
| Kill(39) = bastver.rep|x | ||||
| Kill(40) = bastcfi.msk|x | ||||
| Kill(41) = bastntb.msk|x | ||||
| Kill(42) = bastpdb.rep|x | ||||
| Kill(43) = bastesc.rep|x | ||||
| Kill(44) = bastdpn.rep|x | ||||
| Kill(45) = bastarb.msk|x | ||||
| Kill(46) = bastreg.msk|x | ||||
| Kill(47) = batbinl.msk|x | ||||
| Kill(48) = bastivd.rep|x | ||||
| Kill(49) = bastndo.msk|x | ||||
| Kill(50) = batbdel.msk|x | ||||
| Kill(51) = batbmsp.msk|x | ||||
| Kill(52) = batbreg.msk|x | ||||
| Kill(53) = bastvet.rep|x | ||||
| Kill(54) = batblbu.msk|x | ||||
| Kill(55) = bastcam.msk|x | ||||
| Kill(56) = bastdpn.msk|x | ||||
| Kill(57) = batbzon.msk|x | ||||
| Kill(58) = bastscc.rep|x | ||||
| Kill(59) = batbdpn.msk|x | ||||
| Kill(60) = batbver.msk|x | ||||
| Kill(61) = bastleg.rep|x | ||||
| Kill(62) = bastzon.rep|x | ||||
| Kill(63) = batbcve.msk|x | ||||
| Kill(64) = bastcfi.rep|x | ||||
| Kill(65) = bastver.msk|x | ||||
| Kill(66) = batbndo.msk|x | ||||
| Kill(67) = batbtra.msk|x | ||||
| Kill(68) = bastcam.rep|x | ||||
| Kill(69) = batbpor.msk|x | ||||
| Kill(70) = cg2fppro.msk|x | ||||
| 
 | ||||
| [cg] | ||||
| Data = 13-02-2020 | ||||
| Descrizione = Contabilita' Generale | ||||
| Dischi = 1 | ||||
| Edit_19 = cg0 -0 | ||||
| Edit_20 = cg0 -1 | ||||
| Edit_26 = cg0 -4 | ||||
| Edit_5 = cg0 -5 | ||||
| Moduli = ba | ||||
| OEM =  | ||||
| Patch = 944 | ||||
| PostProcess = bainst -0 CG | ||||
| PreProcess =  | ||||
| Prezzo(1) =  | ||||
| Prezzo(2) =  | ||||
| Versione = 21511200 | ||||
| 
 | ||||
							
								
								
									
										
											BIN
										
									
								
								cd/test/cg0944a1.zip
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								cd/test/cg0944a1.zip
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										3
									
								
								cd/test/cg0946.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								cd/test/cg0946.txt
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,3 @@ | ||||
| cg4.exe | ||||
| 
 | ||||
| Esposto il credito derivante dal versamento dell'acconto in dicembre | ||||
							
								
								
									
										98
									
								
								cd/test/cg0946a.ini
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										98
									
								
								cd/test/cg0946a.ini
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,98 @@ | ||||
| [Main] | ||||
| Demo=0 | ||||
| 
 | ||||
| [cg4] | ||||
| File(85) = cg4.exe|X | ||||
| Patch = 946 | ||||
| Versione = 21511200 | ||||
| 
 | ||||
| [cg99] | ||||
| Kill(0) = batbcam.msk|x | ||||
| Kill(1) = batbesc.msk|x | ||||
| Kill(2) = batblia.msk|x | ||||
| Kill(3) = bastpor.msk|x | ||||
| Kill(4) = bastcve.msk|x | ||||
| Kill(5) = batbins.msk|x | ||||
| Kill(6) = bastmsp.rep|x | ||||
| Kill(7) = bastivd.msk|x | ||||
| Kill(8) = bastleg.msk|x | ||||
| Kill(9) = batbscc.msk|x | ||||
| Kill(10) = bastscc.msk|x | ||||
| Kill(11) = bastcco.rep|x | ||||
| Kill(12) = batbcco.msk|x | ||||
| Kill(13) = batbind.msk|x | ||||
| Kill(14) = batblia.msk|x | ||||
| Kill(15) = bastpor.rep|x | ||||
| Kill(16) = batbleg.msk|x | ||||
| Kill(17) = batbntb.msk|x | ||||
| Kill(18) = batbtit.msk|x | ||||
| Kill(19) = batbivd.msk|x | ||||
| Kill(20) = bastcco.msk|x | ||||
| Kill(21) = bastnot.msk|x | ||||
| Kill(22) = batbdpn.msk|x | ||||
| Kill(23) = bastver.msk|x | ||||
| Kill(24) = bastscc.rep|x | ||||
| Kill(25) = bastcfi.rep|x | ||||
| Kill(26) = cg2fppro.msk|x | ||||
| Kill(27) = batbtra.msk|x | ||||
| Kill(28) = batbndo.msk|x | ||||
| Kill(29) = bastndo.msk|x | ||||
| Kill(30) = bastcam.msk|x | ||||
| Kill(31) = bastleg.rep|x | ||||
| Kill(32) = bastivd.rep|x | ||||
| Kill(33) = batblbu.msk|x | ||||
| Kill(34) = batbver.msk|x | ||||
| Kill(35) = batbzon.msk|x | ||||
| Kill(36) = batbcve.msk|x | ||||
| Kill(37) = bastdpn.msk|x | ||||
| Kill(38) = bastzon.rep|x | ||||
| Kill(39) = bastver.rep|x | ||||
| Kill(40) = bastarb.msk|x | ||||
| Kill(41) = batbmsp.msk|x | ||||
| Kill(42) = cgtbcon.msk|x | ||||
| Kill(43) = bastdpn.rep|x | ||||
| Kill(44) = batbdel.msk|x | ||||
| Kill(45) = batbinl.msk|x | ||||
| Kill(46) = bastvet.rep|x | ||||
| Kill(47) = bastreg.msk|x | ||||
| Kill(48) = batbreg.msk|x | ||||
| Kill(49) = bastarb.rep|x | ||||
| Kill(50) = bastreg.rep|x | ||||
| Kill(51) = bastntb.msk|x | ||||
| Kill(52) = batbcfi.msk|x | ||||
| Kill(53) = batbnot.msk|x | ||||
| Kill(54) = bastcfi.msk|x | ||||
| Kill(55) = batbpdb.msk|x | ||||
| Kill(56) = bastesc.rep|x | ||||
| Kill(57) = bastnot.rep|x | ||||
| Kill(58) = bastpdb.rep|x | ||||
| Kill(59) = batbpor.msk|x | ||||
| Kill(60) = bastcam.rep|x | ||||
| Kill(61) = bastcve.rep|x | ||||
| Kill(62) = bastzon.msk|x | ||||
| Kill(63) = bastvet.msk|x | ||||
| Kill(64) = bastntb.rep|x | ||||
| Kill(65) = bastndo.rep|x | ||||
| Kill(66) = batbarb.msk|x | ||||
| Kill(67) = bastmsp.msk|x | ||||
| Kill(68) = bastpdb.msk|x | ||||
| Kill(69) = batbvet.msk|x | ||||
| Kill(70) = bastesc.msk|x | ||||
| 
 | ||||
| [cg] | ||||
| Data = 13-02-2020 | ||||
| Descrizione = Contabilita' Generale | ||||
| Dischi = 1 | ||||
| Edit_19 = cg0 -0 | ||||
| Edit_20 = cg0 -1 | ||||
| Edit_26 = cg0 -4 | ||||
| Edit_5 = cg0 -5 | ||||
| Moduli = ba | ||||
| OEM =  | ||||
| Patch = 946 | ||||
| PostProcess = bainst -0 CG | ||||
| PreProcess =  | ||||
| Prezzo(1) =  | ||||
| Prezzo(2) =  | ||||
| Versione = 21511200 | ||||
| 
 | ||||
							
								
								
									
										
											BIN
										
									
								
								cd/test/cg0946a1.zip
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								cd/test/cg0946a1.zip
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| @ -29,13 +29,17 @@ public: | ||||
| const TString& TPrint_bilancio_cms_mask::get_report_class() const | ||||
| { | ||||
|   TString& classe = get_tmp_string(); | ||||
|   const int tipostampa = get_int(F_TIPOSTAMPA); | ||||
|   switch (tipostampa) | ||||
| 	const int tipostampa = get_int(F_TIPOSTAMPA); | ||||
| 	const bool sintetica = get_bool(F_STAMPA_SINTETICA); | ||||
| 	 | ||||
| 	switch (tipostampa) | ||||
|   { | ||||
|   case  4: classe = "ca3800b"; break; | ||||
|   case  8: classe = "ca3800c"; break; | ||||
|   default: classe = "ca3800a"; break; | ||||
|   }    | ||||
| 	if (sintetica) | ||||
| 		classe << "s"; | ||||
|   return classe; | ||||
| } | ||||
| 
 | ||||
| @ -87,6 +91,7 @@ bool TPrint_bilancio_cms_mask::on_field_event(TOperable_field& o, TField_event e | ||||
|     { | ||||
|       const TString8 lib = get_report_class(); | ||||
|       TFilename path = o.get(); | ||||
| 
 | ||||
|       if (select_custom_file(path, "rep", lib)) | ||||
|       { | ||||
|         path = path.name(); | ||||
| @ -109,6 +114,7 @@ bool TPrint_bilancio_cms_mask::on_field_event(TOperable_field& o, TField_event e | ||||
|       { | ||||
|         TEsercizi_contabili esc; | ||||
| 	      TDate datainiesc, datafinesc; | ||||
| 
 | ||||
| 	      esc.code2range(anno, datainiesc, datafinesc); | ||||
|         const TDate datafine = get(F_FINE_ES); | ||||
|         if (datafine < datainiesc || datafine > datafinesc) | ||||
| @ -210,10 +216,10 @@ protected: | ||||
| 	virtual bool get_usr_val(const TString& name, TVariant& var) const; | ||||
| 
 | ||||
| public: | ||||
| 	void set_filter(const TPrint_bilancio_cms_mask& msk, const TString& curr_fase); | ||||
| 	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); | ||||
|                           const bool show_fasi, const bool show_cdc, const bool show_cms_descr, const bool show_cms_date, | ||||
| 													const bool sintetica, const bool intestazione_minima); | ||||
| }; | ||||
| 
 | ||||
| bool TPrint_bilancio_cms_rep::get_usr_val(const TString& name, TVariant& var) const | ||||
| @ -227,21 +233,24 @@ bool TPrint_bilancio_cms_rep::set_recordset() | ||||
|   return TReport::set_recordset(rs); | ||||
| } | ||||
| 
 | ||||
| void TPrint_bilancio_cms_rep::set_filter(const TPrint_bilancio_cms_mask& msk, const TString& curr_fase_cdc) | ||||
| 
 | ||||
| void TPrint_bilancio_cms_rep::set_filter(const TPrint_bilancio_cms_mask& msk, const char * curr_fase, const char * curr_cdc) | ||||
| { | ||||
| 	TPrint_bilancio_cms_recordset* recset = new TPrint_bilancio_cms_recordset();  | ||||
| 
 | ||||
|   //la set_filter del recordset puo' essere chiamata per fase o per centro di costo; se curr_fase_cdc e' vuota..
 | ||||
|   //..e' nel caso della stampa principale dettagliata (ca3800a.rep)
 | ||||
|   recset->set_filter(msk, curr_fase_cdc); | ||||
|   recset->set_filter(msk, curr_fase, curr_cdc); | ||||
| 	TReport::set_recordset(recset); | ||||
| } | ||||
| 
 | ||||
| TPrint_bilancio_cms_rep::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) | ||||
| 												:TCRPA_report(rep_name, prefix, depth, show_fasi, show_cdc, show_cms_descr, show_cms_date) | ||||
|                                                  const bool show_cms_descr, const bool show_cms_date, const bool sintetica, | ||||
| 																								 const bool intestazione_minima) | ||||
| 												:TCRPA_report(rep_name, prefix, depth, show_fasi, show_cdc, show_cms_descr, show_cms_date, sintetica, intestazione_minima) | ||||
| { | ||||
| 
 | ||||
| } | ||||
| 
 | ||||
| ////////////////////////////////////////////////////////
 | ||||
| @ -252,7 +261,9 @@ class TPrint_bilancio_cms : public TSkeleton_application | ||||
|   TPrint_bilancio_cms_mask* _mask; | ||||
| 
 | ||||
| protected: | ||||
|   void print_or_preview(const bool stampa); | ||||
| 	void build_lista_fasi(TString_array & lista_fasi, const TString & fase); | ||||
| 	void build_lista_cdc(TString_array & lista_cdc, const TString &  cdc); | ||||
| 	void print_or_preview(const bool stampa); | ||||
|   virtual void print(); | ||||
|   virtual void preview(); | ||||
| 
 | ||||
| @ -269,6 +280,56 @@ void TPrint_bilancio_cms::preview() | ||||
|   print_or_preview(false); | ||||
| } | ||||
| 
 | ||||
| void TPrint_bilancio_cms::build_lista_fasi(TString_array & lista_fasi, const TString & fase) | ||||
| { | ||||
| 	TString query("USE FASI"); | ||||
| 	TString select = ca_create_user_select_clause(LF_FASI); | ||||
| 
 | ||||
| 	if (fase.full()) | ||||
| 		lista_fasi.add(fase); | ||||
| 	else | ||||
| 	{ | ||||
| 		if (select.full()) | ||||
| 			query << "\nSELECT " << select; | ||||
| 
 | ||||
| 		TISAM_recordset file_fasi(query); | ||||
| 
 | ||||
| 		for (TRecnotype j = 0; file_fasi.move_to(j); j++) | ||||
| 		{ | ||||
| 			const TString16 curr_fase = file_fasi.get(FASI_CODFASE).as_string(); | ||||
| 
 | ||||
| 			if (curr_fase.full() && lista_fasi.find(curr_fase) < 0) | ||||
| 				lista_fasi.add(curr_fase); | ||||
| 		} | ||||
| 		lista_fasi.sort(); | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
| void TPrint_bilancio_cms::build_lista_cdc(TString_array & lista_cdc, const TString & cdc) | ||||
| { | ||||
| 	TString query("USE CDC"); | ||||
| 	TString select = ca_create_user_select_clause(LF_CDC); | ||||
| 
 | ||||
| 	if (cdc.full()) | ||||
| 		lista_cdc.add(cdc); | ||||
| 	else | ||||
| 	{ | ||||
| 		if (select.full()) | ||||
| 			query << "\nSELECT " << select; | ||||
| 
 | ||||
| 		TISAM_recordset file_cdc(query); | ||||
| 
 | ||||
| 		for (TRecnotype j = 0; file_cdc.move_to(j); j++) | ||||
| 		{ | ||||
| 			const TString16 curr_cdc = file_cdc.get(CDC_CODCOSTO).as_string(); | ||||
| 
 | ||||
| 			if (curr_cdc.full() && lista_cdc.find(curr_cdc) < 0) | ||||
| 				lista_cdc.add(curr_cdc); | ||||
| 		} | ||||
| 		lista_cdc.sort(); | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
| void TPrint_bilancio_cms::print_or_preview(const bool stampa) | ||||
| { | ||||
| 	//report e book dei report
 | ||||
| @ -283,108 +344,152 @@ void TPrint_bilancio_cms::print_or_preview(const bool stampa) | ||||
| 
 | ||||
|   const int tipostampa = _mask->get_int(F_TIPOSTAMPA); | ||||
|   //fasi
 | ||||
|   const bool use_fasi = (tipostampa == 1) || (tipostampa == 3); | ||||
|   const bool dett_fasi = (tipostampa == 1) || (tipostampa == 3); | ||||
|   const TString& fase = _mask->get(F_FASE); | ||||
|   const bool group_fasi = tipostampa == 4; | ||||
|   const bool show_fasi = use_fasi && fase.empty(); | ||||
|   const bool show_fasi = dett_fasi && fase.empty(); | ||||
| 	const bool sintetica = _mask->get_bool(F_STAMPA_SINTETICA); | ||||
| 	const bool intestazione_minima = _mask->get_bool(F_INTESTAZIONE_MINIMA); | ||||
| 
 | ||||
|   //cdc
 | ||||
|   const bool use_cdc = (tipostampa == 2) || (tipostampa == 3); | ||||
|   const bool dett_cdc = (tipostampa == 2) || (tipostampa == 3); | ||||
|   const TString& cdc = _mask->get(F_CDC); | ||||
|   const bool group_cdc = tipostampa == 8; | ||||
|   const bool show_cdc = use_cdc && cdc.empty(); | ||||
|   const bool show_cdc = dett_cdc && cdc.empty(); | ||||
| 
 | ||||
| 
 | ||||
|   //descrizioni
 | ||||
|   const bool show_cms_descr = _mask->get_bool(F_SHOW_CMS_DESCR); | ||||
|   const bool show_cms_date = _mask->get_bool(F_SHOW_CMS_DATE); | ||||
| 
 | ||||
| 	if (path.empty()) | ||||
|   { | ||||
|     path = _mask->get_report_class(); | ||||
|   } | ||||
| 
 | ||||
|   //crea il report in base ai parametri (tipo report,struttura,profondita' di stampa)
 | ||||
|   TPrint_bilancio_cms_rep rep(path, prefix, depth, show_fasi, show_cdc, show_cms_descr, show_cms_date); | ||||
|   TPrint_bilancio_cms_rep rep(path, prefix, depth, show_fasi, show_cdc, show_cms_descr, show_cms_date, sintetica, intestazione_minima); | ||||
| 
 | ||||
|   //se e' una stampa di tipo fasi riassunte (crpa special edition) deve fare lo scanning di tutte le fasi..
 | ||||
|   //..singolarmente e stampare un report per ogni fase.Senno' stampa un solo report
 | ||||
|   if (group_fasi) | ||||
|   { | ||||
|     //stampa tutte le fasi distinte in modo riassuntivo (crpa dedicate)
 | ||||
|     TString_array lista_fasi; | ||||
|     //crea un TString_array con tutte le fasi distinte non ripetute
 | ||||
|     TString query; | ||||
|     query = "USE FASI"; | ||||
| 
 | ||||
|     const TString& select = ca_create_user_select_clause(LF_FASI); | ||||
|     if (select.full()) | ||||
|       query << "\nSELECT " << select;  | ||||
| 	if (dett_fasi && dett_cdc) | ||||
| 	{ | ||||
| 		TString_array lista_fasi; | ||||
| 		TString_array lista_cdc; | ||||
| 
 | ||||
|     TISAM_recordset file_fasi(query); | ||||
| 		if (fase.blank() && cdc.blank()) | ||||
| 		{ | ||||
| 			rep.set_filter(*_mask); | ||||
| 			book.add(rep); | ||||
| 			if (stampa) | ||||
| 				book.print(); | ||||
| 			else | ||||
| 				book.preview(); | ||||
| 		} | ||||
| 		else | ||||
| 		{ | ||||
| 			build_lista_fasi(lista_fasi, fase); | ||||
| 			build_lista_cdc(lista_cdc, cdc);		//se la stampa e' con tutte le fasi distinte riassunte (crpa dedicate) fa un rep per fase...
 | ||||
| 			if (!lista_fasi.empty() && !lista_cdc.empty()) | ||||
| 			{ | ||||
| 				//per ogni fase crea un report e lo aggiunge al book
 | ||||
| 				FOR_EACH_ARRAY_ROW(lista_fasi, i, row_fasi) | ||||
| 				{ | ||||
| 					TString16 fase = lista_fasi.row(i); | ||||
| 
 | ||||
|     for (TRecnotype j = 0; file_fasi.move_to(j); j++) | ||||
|     { | ||||
|       const TString16 curr_fase = file_fasi.get(FASI_CODFASE).as_string(); | ||||
| 					FOR_EACH_ARRAY_ROW(lista_cdc, j, row_cdc) | ||||
| 					{ | ||||
| 						const TString& cdc = lista_cdc.row(j); | ||||
| 
 | ||||
|       if (!curr_fase.empty() && lista_fasi.find(curr_fase) < 0) | ||||
|         lista_fasi.add(curr_fase); | ||||
|     } | ||||
|     lista_fasi.sort();  //ordina alfabeticamente l'arrayone
 | ||||
|     const long fasi_distinte = lista_fasi.items();  //numero di controllo
 | ||||
| 						rep.set_filter(*_mask, fase, cdc); | ||||
| 						book.add(rep); | ||||
| 						if (rep.page() > 0) | ||||
| 						{ | ||||
| 							if (intestazione_minima) | ||||
| 							{ | ||||
| 								rep.section('H', 0).hide(); | ||||
| 								rep.section('H', 1).hide(); | ||||
| 							} | ||||
| 						} | ||||
| 					} | ||||
| 				} | ||||
| 				if (stampa) | ||||
| 					book.print(); | ||||
| 				else | ||||
| 					book.preview(); | ||||
| 			} | ||||
| 		} | ||||
| 	} //if(group_fasi...
 | ||||
| 	else | ||||
| 		if (group_fasi || dett_fasi) | ||||
| 		{ | ||||
| 			TString_array lista_fasi; | ||||
| 
 | ||||
|     //se la stampa e' con tutte le fasi distinte riassunte (crpa dedicate) fa un rep per fase...
 | ||||
|     if (!lista_fasi.empty()) | ||||
|     {      | ||||
|       //per ogni fase crea un report e lo aggiunge al book
 | ||||
|       FOR_EACH_ARRAY_ROW(lista_fasi, i, row) | ||||
|       { | ||||
|         TString16 fase = lista_fasi.row(i); | ||||
|         rep.set_filter(*_mask, fase); | ||||
|         book.add(rep); | ||||
|       } | ||||
|       if (stampa) | ||||
|         book.print(); | ||||
|       else | ||||
|         book.preview(); | ||||
|     } | ||||
| 			build_lista_fasi(lista_fasi, fase); | ||||
| 			//se la stampa e' con tutte le fasi distinte riassunte (crpa dedicate) fa un rep per fase...
 | ||||
| 			if (!lista_fasi.empty()) | ||||
| 			{      | ||||
| 				//per ogni fase crea un report e lo aggiunge al book
 | ||||
| 				FOR_EACH_ARRAY_ROW(lista_fasi, i, row) | ||||
| 				{ | ||||
| 					TString16 fase = lista_fasi.row(i); | ||||
| 
 | ||||
|   } //if(group_fasi...
 | ||||
|   else if (group_cdc) | ||||
|   { | ||||
|     //stampa tutte le fasi distinte in modo riassuntivo (crpa dedicate)
 | ||||
|     TString_array lista_cdc; | ||||
|     //crea un TString_array con tutte le fasi distinte non ripetute
 | ||||
|     TString query; | ||||
|     query = "USE CDC"; | ||||
|     //filtra per utente se l'utente ha limitazioni sui CDC
 | ||||
|     const TString& select = ca_create_user_select_clause(LF_CDC); | ||||
|     if (select.full()) | ||||
|       query << "\nSELECT " << select;  | ||||
| 					rep.set_filter(*_mask, fase); | ||||
| 					book.add(rep); | ||||
| 					if (rep.page() > 0) | ||||
| 					{ | ||||
| 						if (intestazione_minima) | ||||
| 						{ | ||||
| 							rep.section('H', 0).hide(); | ||||
| 							rep.section('H', 1).hide(); | ||||
| 						} | ||||
| 					} | ||||
| 				} | ||||
| 				if (stampa) | ||||
| 					book.print(); | ||||
| 				else | ||||
| 					book.preview(); | ||||
| 
 | ||||
|     TISAM_recordset file_cdc(query); | ||||
| 			} | ||||
| 
 | ||||
|     for (TRecnotype j = 0; file_cdc.move_to(j); j++) | ||||
|     { | ||||
|       const TString& curr_cdc = file_cdc.get(CDC_CODCOSTO).as_string(); | ||||
|       rep.set_filter(*_mask, curr_cdc); | ||||
|       book.add(rep); | ||||
| 		} //if(group_fasi...
 | ||||
| 		else | ||||
| 			if (group_cdc || dett_cdc) | ||||
| 			{ | ||||
| 				TString_array lista_cdc; | ||||
| 
 | ||||
|     } | ||||
|     if (stampa) | ||||
|       book.print(); | ||||
|     else | ||||
|       book.preview(); | ||||
| 				build_lista_cdc(lista_cdc, cdc); | ||||
| 				if (!lista_cdc.empty()) | ||||
| 				{ | ||||
| 					FOR_EACH_ARRAY_ROW(lista_cdc, j, row_cdc) | ||||
| 					{ | ||||
| 						const TString& cdc = lista_cdc.row(j); | ||||
| 
 | ||||
|   } //if(group_cdc...
 | ||||
|   else  //...senno' stampa standard in un giro solo
 | ||||
|   {		   | ||||
| 	  rep.set_filter(*_mask, "");	 | ||||
| 	  book.add(rep); | ||||
|     if (stampa) | ||||
|       book.print(); | ||||
|     else | ||||
|       book.preview(); | ||||
|   } | ||||
| 						rep.set_filter(*_mask, fase, cdc); | ||||
| 						book.add(rep); | ||||
| 						if (rep.page() > 0) | ||||
| 						{ | ||||
| 							if (intestazione_minima) | ||||
| 							{ | ||||
| 								rep.section('H', 0).hide(); | ||||
| 								rep.section('H', 1).hide(); | ||||
| 							} | ||||
| 						} | ||||
| 					} | ||||
| 				} | ||||
| 				if (stampa) | ||||
| 					book.print(); | ||||
| 				else | ||||
| 					book.preview(); | ||||
| 		} //if(group_cdc...
 | ||||
| 		else  //...senno' stampa standard in un giro solo
 | ||||
| 		{		   | ||||
| 			rep.set_filter(*_mask);	 | ||||
| 			book.add(rep); | ||||
| 			if (stampa) | ||||
| 				book.print(); | ||||
| 			else | ||||
| 				book.preview(); | ||||
| 		} | ||||
|    | ||||
| } | ||||
| 
 | ||||
| @ -403,6 +508,13 @@ int ca3800(int argc, char* argv[]) | ||||
|   return 0; | ||||
| } | ||||
| 
 | ||||
| //  LEVEL
 | ||||
| //  _ 0 terminano nell'anno selezionato / iniziate nel passato														CTAP
 | ||||
| //  _ 1 terminano nell'anno selezionato / iniziate nell'anno selezionato									CTAC
 | ||||
| //  _ 2 terminano nel futuro / iniziate nel passato																				CCAP
 | ||||
| //  _ 3 terminano nel futuro / iniziate nell'anno selezionato															CCAC
 | ||||
| //  _ 4 di appoggio / terminano nell'anno selezionato / iniziate nell'anno selezionato		CTGG
 | ||||
| 
 | ||||
| //Istruzioni per i programmi ca3800 e ca3900
 | ||||
| //------------------------------------------
 | ||||
| // CA_3800
 | ||||
|  | ||||
| @ -85,6 +85,18 @@ BEGIN | ||||
| 	MESSAGE CLEAR,F_FASE|CLEAR,F_CDC | ||||
| END | ||||
| 
 | ||||
| BOOLEAN F_STAMPA_SINTETICA | ||||
| BEGIN | ||||
|   PROMPT 53 8 "Stampa Sintetica" | ||||
|   MESSAGE TRUE ENABLE,F_INTESTAZIONE_MINIMA | ||||
|   MESSAGE FALSE CLEAR,F_INTESTAZIONE_MINIMA | ||||
| END | ||||
| 
 | ||||
| BOOLEAN F_INTESTAZIONE_MINIMA | ||||
| BEGIN | ||||
|   PROMPT 53 9 "Intestazione minima" | ||||
| END | ||||
| 
 | ||||
| STRING F_FASE 10 | ||||
| BEGIN | ||||
|   PROMPT 2 9 "Fase  " | ||||
| @ -100,9 +112,9 @@ BEGIN | ||||
|   OUTPUT F_CDC CODCOSTO | ||||
| END | ||||
| 
 | ||||
| RADIOBUTTON F_TIPOSTIMA 1 30 | ||||
| LISTBOX F_TIPOSTIMA 1 30 | ||||
| BEGIN | ||||
|   PROMPT 45 9 "Tipo di stima   Costi\Ricavi" | ||||
|   PROMPT 1 11 "Tipo di stima   Costi\Ricavi" | ||||
|   ITEM "T|C prev.\R prev. (Tempo)" | ||||
|   MESSAGE SHOW,F_DETR_CONS|ENABLE,F_DETR_CONS|CLEAR,F_INCLUDE_DOCUMENTI | ||||
|   ITEM "C|C cons.\R prev." | ||||
| @ -113,7 +125,7 @@ END | ||||
| 
 | ||||
| BOOLEAN F_DETR_CONS | ||||
| BEGIN | ||||
|   PROMPT 1 11 "Utilizzare consuntivi per le detrazioni " | ||||
|   PROMPT 1 12 "Utilizzare consuntivi per le detrazioni " | ||||
| END | ||||
| 
 | ||||
| GROUPBOX F_PRE0 76 5 | ||||
|  | ||||
| @ -1,30 +1,30 @@ | ||||
| <?xml version="1.0" encoding="UTF-8" ?> | ||||
| <report libraries="ve1300" name="ca3800a" orientation="2" lpi="6"> | ||||
| <report libraries="ve1300" page_merge="" save_printer="" name="ca3800a" use_printer_font="" orientation="2" page_split="" lpi="6" command="" class="ca3800a"> | ||||
|  <description>Bilancio commessa CA</description> | ||||
|  <font face="Arial Narrow" size="7" /> | ||||
|  <section type="Head" pattern="1"> | ||||
|  <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" type="Stringa" width="50" pattern="1"> | ||||
|   <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="60" type="Testo" width="10" pattern="1" text="Data stampa"> | ||||
|   <field x="60" 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="70" type="Data" width="12" pattern="1"> | ||||
|   <field x="70" 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="120" type="Testo" width="4" pattern="1" text="Pag."> | ||||
|   <field x="120" 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="124" type="Numero" align="right" width="3" pattern="1"> | ||||
|    <source>#REPORT.PAGE</source> | ||||
|   <field x="124" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <source>#REPORT.BOOKPAGE</source> | ||||
|   </field> | ||||
|   <field border="1" x="1" y="3" type="Linea" width="195" height="0" pattern="1" /> | ||||
|   <field x="41" y="2" type="Testo" align="center" width="6" id="3" pattern="1" text="Inizio" /> | ||||
|   <field x="46.5" y="2" type="Testo" align="center" width="6" id="4" pattern="1" text="Fine" /> | ||||
|   <field x="51" y="2" type="Testo" align="center" width="6" id="5" pattern="1" text="Fase" /> | ||||
|   <field x="58.5" y="2" type="Testo" align="center" width="6" id="6" pattern="1" text="CdC" /> | ||||
|   <field x="64" y="2" type="Array" align="center" width="7" id="7" pattern="1"> | ||||
|   <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="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" /> | ||||
|   <field x="58.5" y="2" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="6" codval="" id="6" pattern="1" hide_zero="" text="CdC" /> | ||||
|   <field x="64" y="2" deactivated="" type="Array" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="7" codval="" id="7" pattern="1" hide_zero="" text=""> | ||||
|    <source>TIPOSTIMA</source> | ||||
|    <list> | ||||
|     <li Value="% Av." Code="T" /> | ||||
| @ -32,34 +32,34 @@ | ||||
|     <li Value="% Ric." Code="R" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="69" y="2" type="Testo" align="right" width="13" id="69" pattern="1" text="Testata" /> | ||||
|   <field x="1" y="2" type="Testo" width="15" id="121" pattern="1" text="Commessa" /> | ||||
|   <field x="83" y="1" type="Stringa" valign="bottom" align="right" width="13" height="2" id="169" pattern="1"> | ||||
|   <field x="69" 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="1" y="2" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="121" pattern="1" hide_zero="" text="Commessa" /> | ||||
|   <field x="83" y="1" deactivated="" type="Stringa" valign="bottom" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" height="2" id="169" pattern="1" hide_zero="" text=""> | ||||
|    <source>"MARGINE CONTRIBUZIONE"</source> | ||||
|   </field> | ||||
|  </section> | ||||
|  <section type="Head" level="1" pattern="1"> | ||||
|   <field border="1" radius="100" x="1" type="Testo" valign="center" align="center" shade_offset="25" width="195" height="2.5" pattern="2" text="BILANCIO DI COMMESSA PER ESERCIZIO"> | ||||
|  <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="195" codval="" height="2.5" id="" pattern="2" hide_zero="" text="BILANCIO DI COMMESSA PER ESERCIZIO"> | ||||
|    <font face="Courier New" bold="1" size="16" /> | ||||
|   </field> | ||||
|   <field x="2" y="3" type="Testo" width="35" pattern="1" text="Costi e ricavi di Commessa maturati nell'esercizio"> | ||||
|   <field x="2" y="3" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="35" codval="" id="" pattern="1" hide_zero="" text="Costi e ricavi di Commessa maturati nell'esercizio"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="37.5" y="3" type="Stringa" width="4" pattern="1"> | ||||
|   <field x="37.5" y="3" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>ANNO</source> | ||||
|   </field> | ||||
|   <field x="44.5" y="3" type="Testo" width="3" pattern="1" text="Dal"> | ||||
|   <field x="44.5" y="3" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text="Dal"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="48" y="3" type="Data" width="10" pattern="1"> | ||||
|   <field x="48" y="3" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>DAL</source> | ||||
|   </field> | ||||
|   <field x="69.5" y="3" type="Testo" width="15" pattern="1" text="Stima avanzamento "> | ||||
|   <field x="69.5" y="3" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Stima avanzamento "> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="85" y="3" type="Array" width="45" pattern="1"> | ||||
|   <field x="85" y="3" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="45" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>TIPOSTIMA</source> | ||||
|    <list> | ||||
| @ -68,10 +68,10 @@ | ||||
|     <li Value="COSTI Consuntivi \ RICAVI Consuntivi" Code="R" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="149" y="3" type="Testo" width="20" pattern="1" text="Detrazioni calcolate come"> | ||||
|   <field x="149" y="3" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Detrazioni calcolate come"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="168.5" y="3" type="Array" width="10" pattern="1"> | ||||
|   <field x="168.5" y="3" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>DETRCONS</source> | ||||
|    <list> | ||||
| @ -79,46 +79,46 @@ | ||||
|     <li Value="Consuntivi" Code="X" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="2" y="4.25" type="Testo" width="20" pattern="1" text="Include esercizi successivi"> | ||||
|   <field x="2" y="4.25" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Include esercizi successivi"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="20.5" y="4.25" type="Stringa" width="3" pattern="1"> | ||||
|   <field x="20.5" y="4.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>VITAINTERA</source> | ||||
|   </field> | ||||
|   <field x="26" y="4.25" type="Testo" width="12" pattern="1" text="Include inevasi"> | ||||
|   <field x="26" y="4.25" 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" /> | ||||
|   </field> | ||||
|   <field x="38.5" y="4.25" type="Stringa" width="3" pattern="1"> | ||||
|   <field x="38.5" y="4.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>INCLUDE_DOCUMENTI</source> | ||||
|   </field> | ||||
|   <field x="44.5" y="4.25" type="Testo" width="3" pattern="1" text="Al"> | ||||
|   <field x="44.5" y="4.25" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text="Al"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="48" y="4.25" type="Data" width="10" pattern="1"> | ||||
|   <field x="48" y="4.25" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>AL</source> | ||||
|    <alt_source>DATAFINE</alt_source> | ||||
|   </field> | ||||
|   <field x="69.5" y="4.25" type="Testo" width="15" pattern="1" text="Fase specificata"> | ||||
|   <field x="69.5" y="4.25" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Fase specificata"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="85" y="4.25" type="Stringa" width="10" pattern="1"> | ||||
|   <field x="85" y="4.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>FASESPEC</source> | ||||
|   </field> | ||||
|   <field x="104" y="4.25" type="Testo" width="15" pattern="1" text="CdC specificato"> | ||||
|   <field x="104" y="4.25" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="CdC specificato"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="118" y="4.25" type="Stringa" width="20" pattern="1"> | ||||
|   <field x="118" y="4.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>CDCSPEC</source> | ||||
|   </field> | ||||
|   <field x="149" y="4.25" type="Testo" width="25" pattern="1" text="Profondita' della struttura in esame"> | ||||
|   <field x="149" y="4.25" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="25" codval="" id="" pattern="1" hide_zero="" text="Profondita' della struttura in esame"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="175.5" y="4.25" type="Array" width="7" pattern="1"> | ||||
|   <field x="175.5" y="4.25" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="7" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>DEPTH</source> | ||||
|    <list> | ||||
| @ -126,12 +126,12 @@ | ||||
|     <li Value="Conto" Code="2" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field border="2" x="1" y="5.5" type="Linea" width="195" height="0" pattern="1" /> | ||||
|   <field border="2" x="1" y="5.5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="195" codval="" height="0" id="" pattern="1" hide_zero="" text="" /> | ||||
|  </section> | ||||
|  <section type="Head" level="2" height="1.5" page_break="1" pattern="1"> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="2" hidden="" height="1.5" page_break="1" can_break="" pattern="1"> | ||||
|   <groupby>(LEVELC;2)||(LEVEL=4)</groupby> | ||||
|   <font italic="1" face="Arial Narrow" bold="1" size="7" /> | ||||
|   <field x="1" type="Array" bg_color="#C0C0C0" width="25" pattern="2"> | ||||
|   <field x="1" deactivated="" type="Array" hidden="" link="" bg_color="#C0C0C0" dynamic_height="" shade_offset="" width="25" codval="" id="" pattern="2" hide_zero="" text=""> | ||||
|    <source>LEVEL</source> | ||||
|    <list> | ||||
|     <li Value="Commesse terminate nel" Code="0" /> | ||||
| @ -141,23 +141,23 @@ | ||||
|     <li Value="Commesse di supporto del" Code="4" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="26" type="Numero" align="right" bg_color="#C0C0C0" width="6" pattern="2"> | ||||
|   <field x="26" deactivated="" type="Numero" hidden="" align="right" link="" bg_color="#C0C0C0" dynamic_height="" shade_offset="" width="6" codval="" id="" pattern="2" hide_zero="" text=""> | ||||
|    <source>ANNO</source> | ||||
|   </field> | ||||
|   <field border="1" x="1" y="1.25" type="Linea" width="195" height="0" pattern="1" /> | ||||
|   <field type="Numero" hidden="1" align="right" width="1" id="101" pattern="1"> | ||||
|   <field border="1" x="1" y="1.25" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="195" codval="" height="0" id="" pattern="1" hide_zero="" text="" /> | ||||
|   <field deactivated="" type="Numero" hidden="1" align="right" link="" dynamic_height="" shade_offset="" width="1" codval="" id="101" pattern="1" hide_zero="" text=""> | ||||
|    <source>LEVEL</source> | ||||
|    <postscript description="H2.101 POSTSCRIPT">MESSAGE COPY,F2.101</postscript> | ||||
|   </field> | ||||
|   <field x="32" type="Numero" hidden="1" align="right" width="4" id="102" pattern="1"> | ||||
|   <field x="32" deactivated="" type="Numero" hidden="1" align="right" link="" dynamic_height="" shade_offset="" width="4" codval="" id="102" pattern="1" hide_zero="" text=""> | ||||
|    <source>ANNO</source> | ||||
|    <postscript description="H2.102 POSTSCRIPT">MESSAGE COPY,F2.102</postscript> | ||||
|   </field> | ||||
|  </section> | ||||
|  <section type="Head" level="3" height="1.5" pattern="1"> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="3" hidden="" height="1.5" page_break="" can_break="" pattern="1"> | ||||
|   <groupby>LEVEL</groupby> | ||||
|   <font italic="1" face="Arial Narrow" bold="1" size="7" /> | ||||
|   <field x="3" type="Array" bg_color="#C0C0C0" width="45" pattern="1"> | ||||
|   <field x="3" deactivated="" type="Array" hidden="" link="" bg_color="#C0C0C0" dynamic_height="" shade_offset="" width="45" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <source>LEVEL</source> | ||||
|    <list> | ||||
|     <li Value="Commesse avviate in esercizi precedenti" Code="0" /> | ||||
| @ -167,44 +167,44 @@ | ||||
|     <li Value="Commesse di supporto dell'esercizio selezionato" Code="4" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field border="1" x="1" y="1.25" type="Linea" width="195" height="0" pattern="1" /> | ||||
|   <field type="Numero" hidden="1" align="right" width="1" id="101" pattern="1"> | ||||
|   <field border="1" x="1" y="1.25" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="195" codval="" height="0" id="" pattern="1" hide_zero="" text="" /> | ||||
|   <field deactivated="" type="Numero" hidden="1" align="right" link="" dynamic_height="" shade_offset="" width="1" codval="" id="101" pattern="1" hide_zero="" text=""> | ||||
|    <source>LEVEL</source> | ||||
|    <postscript description="H3.101 POSTSCRIPT">MESSAGE COPY,F3.101</postscript> | ||||
|   </field> | ||||
|  </section> | ||||
|  <section type="Head" level="4" hidden="1" pattern="1"> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="4" hidden="1" page_break="" can_break="" pattern="1"> | ||||
|   <condition>(STAMPAFASI != "" )||(STAMPACDC != "")</condition> | ||||
|   <groupby>CODCMS</groupby> | ||||
|   <font italic="1" face="Arial Narrow" bold="1" size="7" /> | ||||
|   <postscript description="H4 POSTSCRIPT">MESSAGE RESET,B1.200</postscript> | ||||
|   <field type="Stringa" width="1" id="1" pattern="1"> | ||||
|   <field deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="1" codval="" id="1" pattern="1" hide_zero="" text=""> | ||||
|    <source>STAMPAFASI</source> | ||||
|   </field> | ||||
|   <field x="2" type="Stringa" bg_color="#C0C0C0" width="20" id="2" pattern="1"> | ||||
|   <field x="2" deactivated="" type="Stringa" hidden="" link="" bg_color="#C0C0C0" dynamic_height="" shade_offset="" width="20" codval="" id="2" pattern="1" hide_zero="" text=""> | ||||
|    <source>CODCMS</source> | ||||
|   </field> | ||||
|   <field x="23" type="Numero" align="right" width="2" id="3" pattern="1"> | ||||
|   <field x="23" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="2" codval="" id="3" pattern="1" hide_zero="" text=""> | ||||
|    <source>0</source> | ||||
|   </field> | ||||
|  </section> | ||||
|  <section type="Body" pattern="1" /> | ||||
|  <section type="Body" level="1" 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"> | ||||
|   <prescript description="B1 PRESCRIPT">1 #H4.3  \ incrementa il contatore per il numero di righe di fase | ||||
| +!</prescript> | ||||
|   <field x="1" type="Stringa" width="17" id="1" pattern="1"> | ||||
|   <field x="1" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="17" codval="" id="1" pattern="1" hide_zero="" text=""> | ||||
|    <source>CODCMS</source> | ||||
|   </field> | ||||
|   <field x="18" type="Stringa" width="25" id="2" pattern="1"> | ||||
|   <field x="18" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="25" codval="" id="2" pattern="1" hide_zero="" text=""> | ||||
|    <source>DESCRIZ</source> | ||||
|   </field> | ||||
|   <field x="43" type="Data" align="center" width="6" id="3" pattern="1"> | ||||
|   <field x="43" deactivated="" type="Data" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="6" codval="" id="3" pattern="1" hide_zero="" text=""> | ||||
|    <source>DATAINI</source> | ||||
|   </field> | ||||
|   <field x="49" type="Data" align="center" width="6" id="4" pattern="1"> | ||||
|   <field x="49" deactivated="" type="Data" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="6" codval="" id="4" pattern="1" hide_zero="" text=""> | ||||
|    <source>DATAFINE</source> | ||||
|   </field> | ||||
|   <field x="55" type="Stringa" width="9" id="5" pattern="1"> | ||||
|   <field x="55" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="9" codval="" id="5" pattern="1" hide_zero="" text=""> | ||||
|    <source>FASE</source> | ||||
|    <prescript description="B1.5 PRESCRIPT">#STAMPAFASI @ | ||||
| EMPTY= IF | ||||
| @ -214,7 +214,7 @@ ELSE | ||||
| THEN | ||||
| </prescript> | ||||
|   </field> | ||||
|   <field x="64" type="Stringa" width="5" id="6" pattern="1"> | ||||
|   <field x="64" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="5" codval="" id="6" pattern="1" hide_zero="" text=""> | ||||
|    <source>CDC</source> | ||||
|    <prescript description="B1.6 PRESCRIPT">#STAMPACDC @ | ||||
| EMPTY= IF | ||||
| @ -224,20 +224,20 @@ ELSE | ||||
| THEN | ||||
| </prescript> | ||||
|   </field> | ||||
|   <field x="69" type="Numero" align="right" width="3.5" id="7" pattern="1"> | ||||
|   <field x="69" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3.5" codval="" id="7" pattern="1" hide_zero="" text=""> | ||||
|    <font italic="1" face="Arial Narrow" size="7" /> | ||||
|    <source>ROUND(AVANZAMENTO;0)</source> | ||||
|   </field> | ||||
|   <field x="72.5" type="Valuta" align="right" width="13" id="69" pattern="1" text="###.###.###,@@"> | ||||
|   <field x="72.5" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="69" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <postscript description="B1.69 POSTSCRIPT">MESSAGE ADD,F4.69 | ||||
| MESSAGE ADD,F3.69</postscript> | ||||
|   </field> | ||||
|   <field x="86" type="Valuta" align="right" width="13" id="169" pattern="1" text="###.###.###,@@"> | ||||
|   <field x="86" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="169" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <source>#RICAVI-#COSTI</source> | ||||
|    <postscript description="B1.169 POSTSCRIPT">MESSAGE ADD,F4.169 | ||||
| MESSAGE ADD,F3.169</postscript> | ||||
|   </field> | ||||
|   <field x="99" type="Numero" align="right" width="4" id="170" pattern="1" text="####"> | ||||
|   <field x="99" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="4" codval="" id="170" pattern="1" hide_zero="" text="####"> | ||||
|    <font italic="1" face="Arial Narrow" size="7" /> | ||||
|    <prescript description="B1.170 PRESCRIPT">#RICAVI @ | ||||
| EMPTY= IF | ||||
| @ -259,32 +259,32 @@ ELSE | ||||
| THEN | ||||
| #THIS !</prescript> | ||||
|   </field> | ||||
|   <field x="102.5" type="Testo" align="center" width="2" id="171" pattern="1" text="%" /> | ||||
|   <field type="Numero" hidden="1" align="right" width="1" id="200" pattern="1"> | ||||
|   <field x="102.5" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="2" codval="" id="171" pattern="1" hide_zero="" text="%" /> | ||||
|   <field deactivated="" type="Numero" hidden="1" align="right" link="" dynamic_height="" shade_offset="" width="1" codval="" id="200" pattern="1" hide_zero="" text=""> | ||||
|    <prescript description="B1.200 PRESCRIPT">#THIS @ | ||||
| 1 | ||||
| + | ||||
| #THIS !</prescript> | ||||
|   </field> | ||||
|  </section> | ||||
|  <section type="Foot" pattern="1"> | ||||
|   <field border="1" x="1" y="0.25" type="Linea" width="195" height="0" pattern="1" /> | ||||
|   <field x="2" y="0.75" type="Testo" width="25" pattern="1" text="Bilancio di commessa per esercizio"> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="" hidden="" page_break="" can_break="" pattern="1"> | ||||
|   <field border="1" x="1" y="0.25" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="195" codval="" height="0" id="" pattern="1" hide_zero="" text="" /> | ||||
|   <field x="2" y="0.75" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="25" codval="" id="" pattern="1" hide_zero="" text="Bilancio di commessa per esercizio"> | ||||
|    <font italic="1" face="Arial Narrow" bold="1" size="7" /> | ||||
|   </field> | ||||
|   <field x="28.5" y="0.75" type="Stringa" width="5" pattern="1"> | ||||
|   <field x="28.5" y="0.75" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="5" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>ANNO</source> | ||||
|   </field> | ||||
|  </section> | ||||
|  <section type="Foot" level="1" height="3" pattern="1"> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="1" hidden="" height="3" page_break="" can_break="" pattern="1"> | ||||
|   <font italic="1" face="Arial Narrow" bold="1" size="7" /> | ||||
|   <field border="2" x="1" y="0.75" type="Linea" width="195" height="0" pattern="1" /> | ||||
|   <field x="1" y="1.5" type="Testo" fg_color="#FFFFFF" bg_color="#000000" width="36" pattern="2" text="TOTALI GENERALI " /> | ||||
|   <field x="60.5" y="1.5" type="Valuta" align="right" width="13" id="69" pattern="1" text="###.###.###,@@" /> | ||||
|   <field x="74" y="1.5" type="Valuta" align="right" width="13" id="169" pattern="1" text="###.###.###,@@" /> | ||||
|   <field border="2" x="1" y="0.75" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="195" codval="" height="0" id="" pattern="1" hide_zero="" text="" /> | ||||
|   <field x="1" y="1.5" deactivated="" type="Testo" hidden="" link="" fg_color="#FFFFFF" bg_color="#000000" dynamic_height="" shade_offset="" width="36" codval="" id="" pattern="2" hide_zero="" text="TOTALI GENERALI " /> | ||||
|   <field x="60.5" y="1.5" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="69" pattern="1" hide_zero="" text="###.###.###,@@" /> | ||||
|   <field x="74" y="1.5" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="169" pattern="1" hide_zero="" text="###.###.###,@@" /> | ||||
|  </section> | ||||
|  <section type="Foot" level="2" height="4.5" pattern="1"> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="2" hidden="" height="4.5" page_break="" can_break="" pattern="1"> | ||||
|   <font italic="1" face="Courier New" bold="1" size="7" /> | ||||
|   <prescript description="F2 PRESCRIPT">#LEVEL @ | ||||
| 4 = IF | ||||
| @ -292,8 +292,8 @@ THEN | ||||
| ELSE | ||||
|   "90@" DISABLE | ||||
| THEN</prescript> | ||||
|   <field border="1" x="1" y="0.5" type="Linea" width="195" height="0" pattern="1" /> | ||||
|   <field x="1" y="1" type="Array" bg_color="#C0C0C0" width="30" pattern="2"> | ||||
|   <field border="1" x="1" y="0.5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="195" codval="" height="0" id="" pattern="1" hide_zero="" text="" /> | ||||
|   <field x="1" y="1" deactivated="" type="Array" hidden="" link="" bg_color="#C0C0C0" dynamic_height="" shade_offset="" width="30" codval="" id="" pattern="2" hide_zero="" text=""> | ||||
|    <font italic="1" face="Arial Narrow" bold="1" size="7" /> | ||||
|    <source>H2.101</source> | ||||
|    <list> | ||||
| @ -304,42 +304,42 @@ THEN</prescript> | ||||
|     <li Value="TOTALI Commesse di supporto del" Code="4" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="31" y="1" type="Numero" align="right" bg_color="#C0C0C0" width="6" pattern="2"> | ||||
|   <field x="31" y="1" deactivated="" type="Numero" hidden="" align="right" link="" bg_color="#C0C0C0" dynamic_height="" shade_offset="" width="6" codval="" id="" pattern="2" hide_zero="" text=""> | ||||
|    <font italic="1" face="Arial Narrow" bold="1" size="7" /> | ||||
|    <source>H2.102</source> | ||||
|   </field> | ||||
|   <field border="1" x="1" y="3.25" deactivated="1" type="Linea" width="195" height="0" pattern="1"> | ||||
|   <field border="1" x="1" y="3.25" deactivated="1" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="195" codval="" height="0" id="" pattern="1" hide_zero="" text=""> | ||||
|    <groups>90</groups> | ||||
|   </field> | ||||
|   <field x="1" y="3.5" deactivated="1" type="Testo" fg_color="#FFFFFF" bg_color="#808080" width="30" pattern="2" text="TOTALI commesse normali relative al"> | ||||
|   <field x="1" y="3.5" deactivated="1" type="Testo" hidden="" link="" fg_color="#FFFFFF" bg_color="#808080" dynamic_height="" shade_offset="" width="30" codval="" id="" pattern="2" hide_zero="" text="TOTALI commesse normali relative al"> | ||||
|    <font italic="1" face="Arial Narrow" bold="1" size="7" /> | ||||
|    <groups>90</groups> | ||||
|   </field> | ||||
|   <field x="31" y="3.5" type="Numero" align="right" fg_color="#FFFFFF" bg_color="#808080" width="6" pattern="2"> | ||||
|   <field x="31" y="3.5" deactivated="" type="Numero" hidden="" align="right" link="" fg_color="#FFFFFF" bg_color="#808080" dynamic_height="" shade_offset="" width="6" codval="" id="" pattern="2" hide_zero="" text=""> | ||||
|    <font italic="1" face="Arial Narrow" bold="1" size="7" /> | ||||
|    <groups>90</groups> | ||||
|    <source>H2.102</source> | ||||
|   </field> | ||||
|   <field x="60.5" y="1" type="Valuta" align="right" width="13" id="69" pattern="1" text="###.###.###,@@"> | ||||
|   <field x="60.5" y="1" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="69" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <font italic="1" face="Arial Narrow" bold="1" size="7" /> | ||||
|    <postscript description="F2.69 POSTSCRIPT">MESSAGE ADD,F1.69 | ||||
| </postscript> | ||||
|   </field> | ||||
|   <field y="1" type="Numero" hidden="1" align="right" width="1" id="101" pattern="1" /> | ||||
|   <field x="37" y="1" type="Numero" hidden="1" align="right" width="4" id="102" pattern="1"> | ||||
|   <field y="1" deactivated="" type="Numero" hidden="1" align="right" link="" dynamic_height="" shade_offset="" width="1" codval="" id="101" pattern="1" hide_zero="" text="" /> | ||||
|   <field x="37" y="1" deactivated="" type="Numero" hidden="1" align="right" link="" dynamic_height="" shade_offset="" width="4" codval="" id="102" pattern="1" hide_zero="" text=""> | ||||
|    <postscript description="F2.102 POSTSCRIPT">MESSAGE COPY,F2.101</postscript> | ||||
|   </field> | ||||
|   <field x="74" y="1" type="Valuta" align="right" width="13" id="169" pattern="1" text="###.###.###,@@"> | ||||
|   <field x="74" y="1" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="169" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <font italic="1" face="Arial Narrow" bold="1" size="7" /> | ||||
|    <postscript description="F2.169 POSTSCRIPT">MESSAGE ADD,F1.169 | ||||
| MESSAGE RESET,169 | ||||
| </postscript> | ||||
|   </field> | ||||
|  </section> | ||||
|  <section type="Foot" level="3" height="2.5" pattern="1"> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="3" hidden="" height="2.5" page_break="" can_break="" pattern="1"> | ||||
|   <font italic="1" face="Arial Narrow" bold="1" size="7" /> | ||||
|   <field border="1" x="1" y="0.25" type="Linea" width="195" height="0" pattern="1" /> | ||||
|   <field x="1" y="0.5" type="Array" width="25" height="2" pattern="1"> | ||||
|   <field border="1" x="1" y="0.25" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="195" codval="" height="0" id="" pattern="1" hide_zero="" text="" /> | ||||
|   <field x="1" y="0.5" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="25" codval="" height="2" id="" pattern="1" hide_zero="" text=""> | ||||
|    <source>H3.101</source> | ||||
|    <list> | ||||
|     <li Value="TOTALI Commesse avviate in esercizi precedenti" Code="0" /> | ||||
| @ -349,26 +349,26 @@ MESSAGE RESET,169 | ||||
|     <li Value="TOTALI Commesse di supporto dell'esercizio selezionato" Code="4" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="60.5" y="0.5" type="Valuta" align="right" width="13" id="69" pattern="1" text="###.###.###,@@"> | ||||
|   <field x="60.5" y="0.5" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="69" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <postscript description="F3.69 POSTSCRIPT">MESSAGE ADD,F2.69 | ||||
| MESSAGE ADD,F2.269</postscript> | ||||
|   </field> | ||||
|   <field y="0.5" type="Numero" hidden="1" align="right" width="1" id="101" pattern="1" /> | ||||
|   <field x="74" y="0.5" type="Valuta" align="right" width="13" id="169" pattern="1" text="###.###.###,@@"> | ||||
|   <field y="0.5" deactivated="" type="Numero" hidden="1" align="right" link="" dynamic_height="" shade_offset="" width="1" codval="" id="101" pattern="1" hide_zero="" text="" /> | ||||
|   <field x="74" y="0.5" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="169" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <postscript description="F3.169 POSTSCRIPT">MESSAGE ADD,F2.169 | ||||
| MESSAGE ADD,F2.369 | ||||
| MESSAGE RESET,169</postscript> | ||||
|   </field> | ||||
|  </section> | ||||
|  <section type="Foot" level="4" height="1" pattern="1"> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="4" hidden="" height="1" page_break="" can_break="" pattern="1"> | ||||
|   <condition>(#B1.200E;1)((STAMPAFASI !="")||(STAMPACDC !=""))(#H4.3 E; 0)(TIPOSTIMA!='T')(FASESPEC=="")</condition> | ||||
|   <font italic="1" face="Arial Narrow" size="7" /> | ||||
|   <field x="22" type="Testo" width="15" pattern="1" text="Totali commessa" /> | ||||
|   <field x="2" type="Stringa" bg_color="#C0C0C0" width="20" id="2" pattern="1"> | ||||
|   <field x="22" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Totali commessa" /> | ||||
|   <field x="2" deactivated="" type="Stringa" hidden="" link="" bg_color="#C0C0C0" dynamic_height="" shade_offset="" width="20" codval="" id="2" pattern="1" hide_zero="" text=""> | ||||
|    <source>H4.2</source> | ||||
|   </field> | ||||
|   <field x="60.5" type="Valuta" align="right" width="13" id="69" pattern="1" text="###.###.###,@@" /> | ||||
|   <field x="74" type="Valuta" align="right" width="13" id="169" pattern="1" text="###.###.###,@@"> | ||||
|   <field x="60.5" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="69" pattern="1" hide_zero="" text="###.###.###,@@" /> | ||||
|   <field x="74" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="169" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <postscript description="F4.169 POSTSCRIPT">MESSAGE RESET,169</postscript> | ||||
|   </field> | ||||
|  </section> | ||||
|  | ||||
							
								
								
									
										214
									
								
								src/ca/ca3800as.rep
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										214
									
								
								src/ca/ca3800as.rep
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,214 @@ | ||||
| <?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="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"> | ||||
|   <font italic="1" face="Arial Narrow" bold="1" size="7" /> | ||||
|   <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" /> | ||||
|   <field x="62.5" y="1" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="6" codval="" id="6" pattern="1" hide_zero="" text="CdC" /> | ||||
|   <field x="68" y="1" deactivated="" type="Array" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="7" codval="" id="7" pattern="1" hide_zero="" text=""> | ||||
|    <source>TIPOSTIMA</source> | ||||
|    <list> | ||||
|     <li Value="% Av." Code="T" /> | ||||
|     <li Value="% Ric." Code="C" /> | ||||
|     <li Value="% Ric." Code="R" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="73" y="1" deactivated="" type="Testo" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" 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="7" /> | ||||
|   </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="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="5" y="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="121" pattern="1" hide_zero="" text="Commessa" /> | ||||
|   <field x="87" deactivated="" type="Stringa" valign="bottom" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" height="2" id="169" pattern="1" hide_zero="" text=""> | ||||
|    <source>"MARGINE CONTRIBUZIONE"</source> | ||||
|   </field> | ||||
|  </section> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="1" hidden="" height="5" page_break="" can_break="" pattern="1"> | ||||
|   <field x="1" 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"> | ||||
|    <font face="Courier New" size="12" /> | ||||
|   </field> | ||||
|   <field x="2" y="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="37" codval="" id="" pattern="1" hide_zero="" text="Costi e ricavi di Commessa maturati nell'esercizio"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="40" y="1" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="5" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial" bold="1" size="9" /> | ||||
|    <source>ANNO</source> | ||||
|   </field> | ||||
|   <field x="46.5" y="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text="Dal"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="50" y="1" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>DAL</source> | ||||
|   </field> | ||||
|   <field x="68.5" y="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Stima avanzamento "> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="85" y="1" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="45" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>TIPOSTIMA</source> | ||||
|    <list> | ||||
|     <li Value="COSTI Preventivi \ RICAVI Preventivi (TEMPO)" Code="T" /> | ||||
|     <li Value="COSTI Consuntivi \ RICAVI Preventivi" Code="C" /> | ||||
|     <li Value="COSTI Consuntivi \ RICAVI Consuntivi" Code="R" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="140.5" y="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Detrazioni calcolate come"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="160" y="1" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>DETRCONS</source> | ||||
|    <list> | ||||
|     <li Value="Preventivi" Code=" " /> | ||||
|     <li Value="Consuntivi" Code="X" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="2" y="2" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Include esercizi successivi"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="22.5" y="2" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>VITAINTERA</source> | ||||
|   </field> | ||||
|   <field x="27" y="2" 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" /> | ||||
|   </field> | ||||
|   <field x="39" y="2" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>INCLUDE_DOCUMENTI</source> | ||||
|   </field> | ||||
|   <field x="46.5" y="2" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text="Al"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="50" y="2" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>AL</source> | ||||
|    <alt_source>DATAFINE</alt_source> | ||||
|   </field> | ||||
|   <field x="136.5" y="2" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="25" codval="" id="" pattern="1" hide_zero="" text="Profondita' della struttura in esame"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="163" y="2" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="7" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>DEPTH</source> | ||||
|    <list> | ||||
|     <li Value="Gruppo" Code="1" /> | ||||
|     <li Value="Conto" Code="2" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="2" y="3" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="Legenda : "> | ||||
|    <font face="Arial Narrow" size="8" /> | ||||
|   </field> | ||||
|   <field x="11" y="3" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="65" codval="" id="" pattern="1" hide_zero="" text="CTAP - Commesse Terminate nell'esercizio e avviate in esercizi precedenti"> | ||||
|    <font face="Arial Narrow" size="8" /> | ||||
|   </field> | ||||
|   <field x="75.5" y="3" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="67" codval="" id="" pattern="1" hide_zero="" text="CCAP - Commesse che terminano oltre l'esercizio corrente e avviate in esecizi precedenti"> | ||||
|    <font face="Arial Narrow" size="8" /> | ||||
|   </field> | ||||
|   <field x="143" y="3" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="35" codval="" id="" pattern="1" hide_zero="" text="CTGG - Commesse di servizio"> | ||||
|    <font face="Arial Narrow" size="8" /> | ||||
|   </field> | ||||
|   <field x="11" y="4" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="65" codval="" id="" pattern="1" hide_zero="" text="CTAC - Commesse Terminano  oltre l'esercizio corrente e avviate in esecizi precedenti"> | ||||
|    <font face="Arial Narrow" size="8" /> | ||||
|   </field> | ||||
|   <field x="75.5" y="4" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="68" codval="" id="" pattern="1" hide_zero="" text="CCAC - Commesse che terminano oltre l'esercizio corrente e avviate nell'esercizio corrente"> | ||||
|    <font face="Arial Narrow" size="8" /> | ||||
|   </field> | ||||
|  </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="1" hidden="" page_break="" can_break="" pattern="1"> | ||||
|   <prescript description="B1 PRESCRIPT">1 #H4.3  \ incrementa il contatore per il numero di righe di fase | ||||
| +!</prescript> | ||||
|   <field x="5" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="17" codval="" id="1" pattern="1" hide_zero="" text=""> | ||||
|    <source>CODCMS</source> | ||||
|   </field> | ||||
|   <field x="22" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="25" codval="" id="2" pattern="1" hide_zero="" text=""> | ||||
|    <source>DESCRIZ</source> | ||||
|   </field> | ||||
|   <field x="47" deactivated="" type="Data" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="6" codval="" id="3" pattern="1" hide_zero="" text=""> | ||||
|    <source>DATAINI</source> | ||||
|   </field> | ||||
|   <field x="53" deactivated="" type="Data" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="6" codval="" id="4" pattern="1" hide_zero="" text=""> | ||||
|    <source>DATAFINE</source> | ||||
|   </field> | ||||
|   <field x="59" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="9" codval="" id="5" pattern="1" hide_zero="" text=""> | ||||
|    <source>FASE</source> | ||||
|    <prescript description="">#STAMPAFASI @ | ||||
| EMPTY= IF | ||||
|   #THIS HIDE | ||||
| ELSE | ||||
|   #THIS SHOW | ||||
| THEN | ||||
| </prescript> | ||||
|   </field> | ||||
|   <field x="68" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="5" codval="" id="6" pattern="1" hide_zero="" text=""> | ||||
|    <source>CDC</source> | ||||
|    <prescript description="B1.6 PRESCRIPT">#STAMPACDC @ | ||||
| EMPTY= IF | ||||
|   #THIS HIDE | ||||
| ELSE | ||||
|   #THIS SHOW | ||||
| THEN | ||||
| </prescript> | ||||
|   </field> | ||||
|   <field x="73" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3.5" codval="" id="7" pattern="1" hide_zero="" text=""> | ||||
|    <font italic="1" face="Arial Narrow" size="7" /> | ||||
|    <source>ROUND(AVANZAMENTO;0)</source> | ||||
|   </field> | ||||
|   <field x="1" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="10" pattern="1" hide_zero="" text=""> | ||||
|    <source>LEVEL</source> | ||||
|    <list> | ||||
|     <li Value="CTAP" Code="0" /> | ||||
|     <li Value="CTAC" Code="1" /> | ||||
|     <li Value="CCAP" Code="2" /> | ||||
|     <li Value="CCAC" Code="3" /> | ||||
|     <li Value="CTGG" Code="4" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="76.5" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="69" pattern="1" hide_zero="" text="###.###.###,@@" /> | ||||
|   <field x="89.5" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="169" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <source>#RICAVI-#COSTI</source> | ||||
|   </field> | ||||
|   <field x="103" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="4" codval="" id="170" pattern="1" hide_zero="" text="####"> | ||||
|    <font italic="1" face="Arial Narrow" size="7" /> | ||||
|    <prescript description="">#RICAVI @ | ||||
| EMPTY= IF | ||||
|   0 | ||||
| ELSE | ||||
|   1 | ||||
|   #COSTI @ | ||||
|   #RICAVI @ | ||||
|   F; | ||||
|   - | ||||
|   100 | ||||
|   * | ||||
|   0 | ||||
|   ROUND | ||||
|   DUP | ||||
|   -999 C; IF | ||||
|      DROP -999 | ||||
|   THEN | ||||
| THEN | ||||
| #THIS !</prescript> | ||||
|   </field> | ||||
|   <field x="106.5" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="2" codval="" id="171" pattern="1" hide_zero="" text="%" /> | ||||
|   <field deactivated="" type="Numero" hidden="1" align="right" link="" dynamic_height="" shade_offset="" width="1" codval="" id="200" pattern="1" hide_zero="" text=""> | ||||
|    <prescript description="B1.200 PRESCRIPT">#THIS @ | ||||
| 1 | ||||
| + | ||||
| #THIS !</prescript> | ||||
|   </field> | ||||
|  </section> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="" 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"> | ||||
|   <font italic="1" face="Arial Narrow" bold="1" size="7" /> | ||||
|  </section> | ||||
|  <sql>USE SALDANA</sql> | ||||
| </report> | ||||
| @ -1,53 +1,53 @@ | ||||
| <?xml version="1.0" encoding="UTF-8" ?> | ||||
| <report libraries="ve1300" name="ca3800b" orientation="2" lpi="6"> | ||||
| <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 type="Head" pattern="1"> | ||||
|  <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" type="Stringa" width="50" pattern="1"> | ||||
|   <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="60" type="Testo" width="10" pattern="1" text="Data stampa"> | ||||
|   <field x="60" 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="70" type="Data" width="12" pattern="1"> | ||||
|   <field x="70" 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="120" type="Testo" width="4" pattern="1" text="Pag."> | ||||
|   <field x="120" 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="124" type="Numero" align="right" width="3" pattern="1"> | ||||
|    <source>#REPORT.PAGE</source> | ||||
|   <field x="124" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <source>#REPORT.BOOKPAGE</source> | ||||
|   </field> | ||||
|   <field x="10" y="2" type="Stringa" width="12" pattern="1"> | ||||
|   <field x="10" y="2" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="12" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial" bold="1" size="10" /> | ||||
|    <source>FASESPEC</source> | ||||
|   </field> | ||||
|   <field border="1" x="1" y="3" type="Linea" width="169" height="0" pattern="1" /> | ||||
|   <field x="35" y="1" type="Testo" valign="bottom" align="right" width="13" height="2" id="69" pattern="1" text="Testata" /> | ||||
|   <field x="1" y="2" type="Testo" width="8" id="121" pattern="1" text="Fase" /> | ||||
|   <field x="50" y="1" type="Stringa" align="center" width="13" height="2" id="169" pattern="1"> | ||||
|   <field border="1" x="1" y="3" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="169" codval="" height="0" id="" pattern="1" hide_zero="" text="" /> | ||||
|   <field x="35" y="1" 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="1" y="2" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="8" codval="" id="121" pattern="1" hide_zero="" text="Fase" /> | ||||
|   <field x="50" y="1" deactivated="" type="Stringa" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="13" codval="" height="2" id="169" pattern="1" hide_zero="" text=""> | ||||
|    <source>"MARGINE CONTRIBUZIONE"</source> | ||||
|   </field> | ||||
|  </section> | ||||
|  <section type="Head" level="1" pattern="1"> | ||||
|   <field border="1" radius="100" x="2" type="Testo" valign="center" align="center" shade_offset="25" width="168" height="2.5" pattern="2" text="BILANCIO DI COMMESSA PER ESERCIZIO RAGGRUPPATO PER FASI"> | ||||
|  <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="2" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="25" width="168" codval="" height="2.5" id="" pattern="2" hide_zero="" text="BILANCIO DI COMMESSA PER ESERCIZIO RAGGRUPPATO PER FASI"> | ||||
|    <font face="Courier New" bold="1" size="16" /> | ||||
|   </field> | ||||
|   <field x="2" y="3" type="Testo" width="35" pattern="1" text="Costi e ricavi di Commessa maturati nell'esercizio"> | ||||
|   <field x="2" y="3" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="35" codval="" id="" pattern="1" hide_zero="" text="Costi e ricavi di Commessa maturati nell'esercizio"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="45" y="3" type="Testo" width="3" pattern="1" text="Dal"> | ||||
|   <field x="45" y="3" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text="Dal"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="48.5" y="3" type="Data" width="10" pattern="1"> | ||||
|   <field x="48.5" y="3" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>DAL</source> | ||||
|   </field> | ||||
|   <field x="65" y="3" type="Testo" width="15" pattern="1" text="Stima avanzamento "> | ||||
|   <field x="65" y="3" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Stima avanzamento "> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="80" y="3" type="Array" width="35" pattern="1"> | ||||
|   <field x="80" y="3" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="35" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>TIPOSTIMA</source> | ||||
|    <list> | ||||
| @ -56,10 +56,10 @@ | ||||
|     <li Value="COSTI Consuntivi \ RICAVI Consuntivi" Code="R" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="134" y="3" type="Testo" width="20" pattern="1" text="Detrazioni calcolate come"> | ||||
|   <field x="134" y="3" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Detrazioni calcolate come"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="159" y="3" type="Array" width="10" pattern="1"> | ||||
|   <field x="159" y="3" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>DETRCONS</source> | ||||
|    <list> | ||||
| @ -67,10 +67,10 @@ | ||||
|     <li Value="Consuntivi" Code="X" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="134" y="4" type="Testo" width="25" pattern="1" text="Profondita' della struttura in esame"> | ||||
|   <field x="134" y="4" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="25" codval="" id="" pattern="1" hide_zero="" text="Profondita' della struttura in esame"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="159" y="4" type="Array" width="7" pattern="1"> | ||||
|   <field x="159" y="4" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="7" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>DEPTH</source> | ||||
|    <list> | ||||
| @ -78,46 +78,46 @@ | ||||
|     <li Value="Conto" Code="2" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="2" y="4.25" type="Testo" width="20" pattern="1" text="Include esercizi successivi"> | ||||
|   <field x="2" y="4.25" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Include esercizi successivi"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="22" y="4.25" type="Stringa" width="3" pattern="1"> | ||||
|   <field x="22" y="4.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>VITAINTERA</source> | ||||
|   </field> | ||||
|   <field x="26.5" y="4.25" type="Testo" width="12" pattern="1" text="Include inevasi"> | ||||
|   <field x="26.5" y="4.25" 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" /> | ||||
|   </field> | ||||
|   <field x="39" y="4.25" type="Stringa" width="3" pattern="1"> | ||||
|   <field x="39" y="4.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>INCLUDE_DOCUMENTI</source> | ||||
|   </field> | ||||
|   <field x="45" y="4.25" type="Testo" width="3" pattern="1" text="Al"> | ||||
|   <field x="45" y="4.25" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text="Al"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="48.5" y="4.25" type="Data" width="10" pattern="1"> | ||||
|   <field x="48.5" y="4.25" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>AL</source> | ||||
|    <alt_source>DATAFINE</alt_source> | ||||
|   </field> | ||||
|   <field x="65" y="4.25" type="Testo" width="15" pattern="1" text="Fase"> | ||||
|   <field x="65" y="4.25" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Fase"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field border="2" x="1" y="5.5" type="Linea" width="169" height="0" pattern="1" /> | ||||
|   <field x="80" y="4.25" type="Stringa" width="10" id="1" pattern="1"> | ||||
|   <field border="2" x="1" y="5.5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="169" codval="" height="0" id="" pattern="1" hide_zero="" text="" /> | ||||
|   <field x="80" y="4.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="1" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>FASESPEC</source> | ||||
|    <postscript description="H1.1 POSTSCRIPT">MESSAGE COPY,F1.2</postscript> | ||||
|   </field> | ||||
|   <field x="37" y="3" type="Stringa" width="4" id="2" pattern="1"> | ||||
|   <field x="37" y="3" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="2" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>ANNO</source> | ||||
|   </field> | ||||
|  </section> | ||||
|  <section type="Head" level="2" height="1.5" pattern="1"> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="2" hidden="" height="1.5" page_break="" can_break="" pattern="1"> | ||||
|   <groupby>(LEVELC;2)||(LEVEL=4)</groupby> | ||||
|   <font italic="1" face="Arial Narrow" size="8" /> | ||||
|   <field x="1" type="Array" bg_color="#C0C0C0" width="25" pattern="2"> | ||||
|   <field x="1" deactivated="" type="Array" hidden="" link="" bg_color="#C0C0C0" dynamic_height="" shade_offset="" width="25" codval="" id="" pattern="2" hide_zero="" text=""> | ||||
|    <source>LEVEL</source> | ||||
|    <list> | ||||
|     <li Value="Commesse terminate nel" Code="0" /> | ||||
| @ -127,22 +127,22 @@ | ||||
|     <li Value="Commesse di supporto del" Code="4" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="23" type="Numero" align="right" bg_color="#C0C0C0" width="6" pattern="2"> | ||||
|   <field x="23" deactivated="" type="Numero" hidden="" align="right" link="" bg_color="#C0C0C0" dynamic_height="" shade_offset="" width="6" codval="" id="" pattern="2" hide_zero="" text=""> | ||||
|    <source>ANNO</source> | ||||
|   </field> | ||||
|   <field type="Numero" hidden="1" align="right" width="1" id="101" pattern="1"> | ||||
|   <field deactivated="" type="Numero" hidden="1" align="right" link="" dynamic_height="" shade_offset="" width="1" codval="" id="101" pattern="1" hide_zero="" text=""> | ||||
|    <source>LEVEL</source> | ||||
|    <postscript description="H2.101 POSTSCRIPT">MESSAGE COPY,F2.101</postscript> | ||||
|   </field> | ||||
|   <field x="29" type="Numero" hidden="1" align="right" width="4" id="102" pattern="1"> | ||||
|   <field x="29" deactivated="" type="Numero" hidden="1" align="right" link="" dynamic_height="" shade_offset="" width="4" codval="" id="102" pattern="1" hide_zero="" text=""> | ||||
|    <source>ANNO</source> | ||||
|    <postscript description="H2.102 POSTSCRIPT">MESSAGE COPY,F2.102</postscript> | ||||
|   </field> | ||||
|  </section> | ||||
|  <section type="Head" level="3" hidden="1" height="1.5" pattern="1"> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="3" hidden="1" height="1.5" page_break="" can_break="" pattern="1"> | ||||
|   <groupby>LEVEL</groupby> | ||||
|   <font italic="1" face="Arial Narrow" size="8" /> | ||||
|   <field x="3" type="Array" bg_color="#C0C0C0" width="45" pattern="1"> | ||||
|   <field x="3" deactivated="" type="Array" hidden="" link="" bg_color="#C0C0C0" dynamic_height="" shade_offset="" width="45" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <source>LEVEL</source> | ||||
|    <list> | ||||
|     <li Value="Commesse avviate in esercizi precedenti" Code="0" /> | ||||
| @ -152,28 +152,28 @@ | ||||
|     <li Value="Commesse di supporto dell'esercizio selezionato" Code="4" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field border="1" x="2" y="1.25" type="Linea" width="169" height="0" pattern="1" /> | ||||
|   <field type="Numero" hidden="1" align="right" width="1" id="101" pattern="1"> | ||||
|   <field border="1" x="2" y="1.25" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="169" codval="" height="0" id="" pattern="1" hide_zero="" text="" /> | ||||
|   <field deactivated="" type="Numero" hidden="1" align="right" link="" dynamic_height="" shade_offset="" width="1" codval="" id="101" pattern="1" hide_zero="" text=""> | ||||
|    <source>LEVEL</source> | ||||
|    <postscript description="H3.101 POSTSCRIPT">MESSAGE COPY,F3.101</postscript> | ||||
|   </field> | ||||
|  </section> | ||||
|  <section type="Body" pattern="1" /> | ||||
|  <section type="Body" level="1" hidden="1" 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="1" page_break="" can_break="" pattern="1"> | ||||
|   <prescript description="B1 PRESCRIPT">1 #H4.3  \ incrementa il contatore per il numero di righe di fase | ||||
| +!</prescript> | ||||
|   <field x="65.5" type="Testo" align="center" width="2" pattern="1" text="%" /> | ||||
|   <field x="1" type="Stringa" width="20" id="1" pattern="1"> | ||||
|   <field x="65.5" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="2" codval="" id="" pattern="1" hide_zero="" text="%" /> | ||||
|   <field x="1" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="20" codval="" id="1" pattern="1" hide_zero="" text=""> | ||||
|    <source>CODCMS</source> | ||||
|   </field> | ||||
|   <field x="35" type="Valuta" align="right" width="13" id="69" pattern="1" text="###.###.###,@@"> | ||||
|   <field x="35" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="69" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <postscript description="B1.69 POSTSCRIPT">MESSAGE ADD,F3.69</postscript> | ||||
|   </field> | ||||
|   <field x="48.5" type="Valuta" align="right" width="13" id="169" pattern="1" text="###.###.###,@@"> | ||||
|   <field x="48.5" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="169" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <source>#RICAVI-#COSTI</source> | ||||
|    <postscript description="B1.169 POSTSCRIPT">MESSAGE ADD,F3.169</postscript> | ||||
|   </field> | ||||
|   <field x="61.5" type="Numero" align="right" width="4" id="170" pattern="1" text="####"> | ||||
|   <field x="61.5" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="4" codval="" id="170" pattern="1" hide_zero="" text="####"> | ||||
|    <font italic="1" face="Arial Narrow" size="8" /> | ||||
|    <prescript description="B1.170 PRESCRIPT">#RICAVI @ | ||||
|        EMPTY= IF | ||||
| @ -196,31 +196,31 @@ | ||||
|        #THIS ! | ||||
|      </prescript> | ||||
|   </field> | ||||
|   <field x="65.5" type="Testo" align="center" width="2" id="171" pattern="1" text="%" /> | ||||
|   <field x="65.5" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="2" codval="" id="171" pattern="1" hide_zero="" text="%" /> | ||||
|  </section> | ||||
|  <section type="Foot" pattern="1"> | ||||
|   <field border="1" x="1" y="0.25" type="Linea" width="169" height="0" pattern="1" /> | ||||
|   <field x="2" y="0.75" type="Testo" width="25" pattern="1" text="Bilancio di commessa per esercizio"> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="" hidden="" page_break="" can_break="" pattern="1"> | ||||
|   <field border="1" x="1" y="0.25" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="169" codval="" height="0" id="" pattern="1" hide_zero="" text="" /> | ||||
|   <field x="2" y="0.75" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="25" codval="" id="" pattern="1" hide_zero="" text="Bilancio di commessa per esercizio"> | ||||
|    <font italic="1" face="Arial Narrow" bold="1" size="8" /> | ||||
|   </field> | ||||
|   <field x="28.5" y="0.75" type="Stringa" width="5" pattern="1"> | ||||
|   <field x="28.5" y="0.75" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="5" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>H1.2</source> | ||||
|   </field> | ||||
|  </section> | ||||
|  <section type="Foot" level="1" height="3" pattern="1"> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="1" hidden="" height="3" page_break="" can_break="" pattern="1"> | ||||
|   <font italic="1" face="Arial Narrow" bold="1" size="8" /> | ||||
|   <field border="2" x="1" y="0.5" type="Linea" width="169" height="0" pattern="1" /> | ||||
|   <field x="1" y="1" type="Testo" valign="center" fg_color="#FFFFFF" bg_color="#000000" width="20" id="1" pattern="2" text="TOTALI GENERALI " /> | ||||
|   <field x="21" y="1" type="Stringa" valign="center" fg_color="#FFFFFF" bg_color="#400040" width="15" id="2" pattern="2"> | ||||
|   <field border="2" x="1" y="0.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="1" deactivated="" type="Testo" valign="center" hidden="" link="" fg_color="#FFFFFF" bg_color="#000000" dynamic_height="" shade_offset="" width="20" codval="" id="1" pattern="2" hide_zero="" text="TOTALI GENERALI " /> | ||||
|   <field x="21" y="1" deactivated="" type="Stringa" valign="center" hidden="" link="" fg_color="#FFFFFF" bg_color="#400040" dynamic_height="" shade_offset="" width="15" codval="" id="2" pattern="2" hide_zero="" text=""> | ||||
|    <font italic="1" face="Arial" bold="1" size="8" /> | ||||
|   </field> | ||||
|   <field x="36" y="1" type="Valuta" align="right" width="13" id="69" pattern="1" text="###.###.###,@@" /> | ||||
|   <field x="49.5" y="1" type="Valuta" align="right" width="13" id="169" pattern="1" text="###.###.###,@@"> | ||||
|   <field x="36" y="1" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="69" pattern="1" hide_zero="" text="###.###.###,@@" /> | ||||
|   <field x="49.5" y="1" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="169" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <postscript description="F1.169 POSTSCRIPT">MESSAGE RESET,169</postscript> | ||||
|   </field> | ||||
|  </section> | ||||
|  <section type="Foot" level="2" height="4.5" pattern="1"> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="2" hidden="" height="4.5" page_break="" can_break="" pattern="1"> | ||||
|   <font italic="1" face="Courier New" size="8" /> | ||||
|   <prescript description="F2 PRESCRIPT">#LEVEL @ | ||||
| 	4 = IF | ||||
| @ -228,8 +228,8 @@ | ||||
| 	ELSE | ||||
| 	  "90@" DISABLE | ||||
|   THEN</prescript> | ||||
|   <field border="1" x="1" y="0.5" type="Linea" width="169" height="0" pattern="1" /> | ||||
|   <field x="1" y="1" type="Array" bg_color="#C0C0C0" width="30" pattern="2"> | ||||
|   <field border="1" x="1" y="0.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="1" deactivated="" type="Array" hidden="" link="" bg_color="#C0C0C0" dynamic_height="" shade_offset="" width="30" codval="" id="" pattern="2" hide_zero="" text=""> | ||||
|    <font italic="1" face="Arial Narrow" size="8" /> | ||||
|    <source>H2.101</source> | ||||
|    <list> | ||||
| @ -240,39 +240,39 @@ | ||||
|     <li Value="TOTALI Commesse di supporto del" Code="4" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="29" y="1" type="Numero" align="right" bg_color="#C0C0C0" width="6" pattern="2"> | ||||
|   <field x="29" y="1" deactivated="" type="Numero" hidden="" align="right" link="" bg_color="#C0C0C0" dynamic_height="" shade_offset="" width="6" codval="" id="" pattern="2" hide_zero="" text=""> | ||||
|    <font italic="1" face="Arial Narrow" size="8" /> | ||||
|    <source>H2.102</source> | ||||
|   </field> | ||||
|   <field border="1" x="1" y="3.25" deactivated="1" type="Linea" width="169" height="0" pattern="1"> | ||||
|   <field border="1" x="1" y="3.25" deactivated="1" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="169" codval="" height="0" id="" pattern="1" hide_zero="" text=""> | ||||
|    <groups>90</groups> | ||||
|   </field> | ||||
|   <field x="1" y="3.5" deactivated="1" type="Testo" fg_color="#FFFFFF" bg_color="#808080" width="30" pattern="2" text="TOTALI commesse normali relative al"> | ||||
|   <field x="1" y="3.5" deactivated="1" type="Testo" hidden="" link="" fg_color="#FFFFFF" bg_color="#808080" dynamic_height="" shade_offset="" width="30" codval="" id="" pattern="2" hide_zero="" text="TOTALI commesse normali relative al"> | ||||
|    <font italic="1" face="Arial Narrow" bold="1" size="8" /> | ||||
|    <groups>90</groups> | ||||
|   </field> | ||||
|   <field x="31" y="3.5" type="Numero" align="right" fg_color="#FFFFFF" bg_color="#808080" width="6" pattern="2"> | ||||
|   <field x="31" y="3.5" deactivated="" type="Numero" hidden="" align="right" link="" fg_color="#FFFFFF" bg_color="#808080" dynamic_height="" shade_offset="" width="6" codval="" id="" pattern="2" hide_zero="" text=""> | ||||
|    <font italic="1" face="Arial Narrow" bold="1" size="8" /> | ||||
|    <groups>90</groups> | ||||
|    <source>H2.102</source> | ||||
|   </field> | ||||
|   <field x="39" y="1" type="Valuta" align="right" width="13" id="69" pattern="1" text="###.###.###,@@"> | ||||
|   <field x="39" y="1" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="69" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <font italic="1" face="Arial Narrow" bold="1" size="8" /> | ||||
|    <postscript description="F2.69 POSTSCRIPT">MESSAGE ADD,F1.69</postscript> | ||||
|   </field> | ||||
|   <field y="1" type="Numero" hidden="1" align="right" width="1" id="101" pattern="1" /> | ||||
|   <field x="35" y="1" type="Numero" hidden="1" align="right" width="4" id="102" pattern="1"> | ||||
|   <field y="1" deactivated="" type="Numero" hidden="1" align="right" link="" dynamic_height="" shade_offset="" width="1" codval="" id="101" pattern="1" hide_zero="" text="" /> | ||||
|   <field x="35" y="1" deactivated="" type="Numero" hidden="1" align="right" link="" dynamic_height="" shade_offset="" width="4" codval="" id="102" pattern="1" hide_zero="" text=""> | ||||
|    <postscript description="F2.102 POSTSCRIPT">MESSAGE COPY,F2.101</postscript> | ||||
|   </field> | ||||
|   <field x="52.5" y="1" type="Valuta" align="right" width="13" id="169" pattern="1" text="###.###.###,@@"> | ||||
|   <field x="52.5" y="1" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="169" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <font italic="1" face="Arial Narrow" bold="1" size="8" /> | ||||
|    <postscript description="F2.169 POSTSCRIPT">MESSAGE ADD,F1.169 | ||||
| MESSAGE RESET,169</postscript> | ||||
|   </field> | ||||
|  </section> | ||||
|  <section type="Foot" level="3" height="2" pattern="1"> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="3" hidden="" height="2" page_break="" can_break="" pattern="1"> | ||||
|   <font italic="1" face="Arial Narrow" size="8" /> | ||||
|   <field x="2" y="0.5" type="Array" bg_color="#C0C0C0" width="40" pattern="1"> | ||||
|   <field x="2" y="0.5" deactivated="" type="Array" hidden="" link="" bg_color="#C0C0C0" dynamic_height="" shade_offset="" width="40" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <source>H3.101</source> | ||||
|    <list> | ||||
|     <li Value="Commesse avviate in esercizi precedenti" Code="0" /> | ||||
| @ -282,13 +282,13 @@ MESSAGE RESET,169</postscript> | ||||
|     <li Value="TOTALI Commesse di supporto dell'esercizio selezionato" Code="4" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="42" y="0.5" type="Valuta" align="right" width="13" id="69" pattern="1" text="###.###.###,@@"> | ||||
|   <field x="42" y="0.5" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="69" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <postscript description="F3.69 POSTSCRIPT">MESSAGE ADD,F2.69 | ||||
| MESSAGE ADD,F2.269 | ||||
| </postscript> | ||||
|   </field> | ||||
|   <field y="0.5" type="Numero" hidden="1" align="right" width="1" id="101" pattern="1" /> | ||||
|   <field x="55.5" y="0.5" type="Valuta" align="right" width="13" id="169" pattern="1" text="###.###.###,@@"> | ||||
|   <field y="0.5" deactivated="" type="Numero" hidden="1" align="right" link="" dynamic_height="" shade_offset="" width="1" codval="" id="101" pattern="1" hide_zero="" text="" /> | ||||
|   <field x="55.5" y="0.5" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="169" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <postscript description="F3.169 POSTSCRIPT">MESSAGE ADD,F2.169 | ||||
| MESSAGE ADD,F2.369 | ||||
| MESSAGE RESET,169 | ||||
| @ -296,4 +296,4 @@ MESSAGE RESET,169 | ||||
|   </field> | ||||
|  </section> | ||||
|  <sql>USE SALDANA</sql> | ||||
| </report> | ||||
| </report> | ||||
							
								
								
									
										178
									
								
								src/ca/ca3800bs.rep
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										178
									
								
								src/ca/ca3800bs.rep
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,178 @@ | ||||
| <?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="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"> | ||||
|   <font italic="1" face="Arial Narrow" bold="1" size="8" /> | ||||
|   <field x="17" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="12" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial" bold="1" size="10" /> | ||||
|    <source>FASESPEC</source> | ||||
|   </field> | ||||
|   <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" /> | ||||
|   <field x="54" deactivated="" type="Stringa" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="13" codval="" height="2" id="169" pattern="1" hide_zero="" text=""> | ||||
|    <source>"MARGINE CONTRIBUZIONE"</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"> | ||||
|    <font face="Courier New" size="12" /> | ||||
|   </field> | ||||
|   <field x="1" y="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="37" codval="" id="" pattern="1" hide_zero="" text="Costi e ricavi di Commessa maturati nell'esercizio"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="39" y="1" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="5" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial" bold="1" size="9" /> | ||||
|    <source>ANNO</source> | ||||
|   </field> | ||||
|   <field x="45.5" y="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text="Dal"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="49" y="1" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>DAL</source> | ||||
|   </field> | ||||
|   <field x="67.5" y="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Stima avanzamento "> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="84" y="1" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="45" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>TIPOSTIMA</source> | ||||
|    <list> | ||||
|     <li Value="COSTI Preventivi \ RICAVI Preventivi (TEMPO)" Code="T" /> | ||||
|     <li Value="COSTI Consuntivi \ RICAVI Preventivi" Code="C" /> | ||||
|     <li Value="COSTI Consuntivi \ RICAVI Consuntivi" Code="R" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="140.5" y="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Detrazioni calcolate come"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="160" y="1" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>DETRCONS</source> | ||||
|    <list> | ||||
|     <li Value="Preventivi" Code=" " /> | ||||
|     <li Value="Consuntivi" Code="X" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="1" y="2" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Include esercizi successivi"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="21.5" y="2" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>VITAINTERA</source> | ||||
|   </field> | ||||
|   <field x="26" y="2" 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" /> | ||||
|   </field> | ||||
|   <field x="38" y="2" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>INCLUDE_DOCUMENTI</source> | ||||
|   </field> | ||||
|   <field x="45.5" y="2" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text="Al"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="49" y="2" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>AL</source> | ||||
|    <alt_source>DATAFINE</alt_source> | ||||
|   </field> | ||||
|   <field x="67.5" y="2" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Fase"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="136.5" y="2" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="25" codval="" id="" pattern="1" hide_zero="" text="Profondita' della struttura in esame"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="163" y="2" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="7" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>DEPTH</source> | ||||
|    <list> | ||||
|     <li Value="Gruppo" Code="1" /> | ||||
|     <li Value="Conto" Code="2" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="1" y="3" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="Legenda : " /> | ||||
|   <field x="10" y="3" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="65" codval="" id="" pattern="1" hide_zero="" text="CTAP - Commesse Terminate nell'esercizio e avviate in esercizi precedenti" /> | ||||
|   <field x="74.5" y="3" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="67" codval="" id="" pattern="1" hide_zero="" text="CCAP - Commesse che terminano oltre l'esercizio corrente e avviate in esecizi precedenti" /> | ||||
|   <field x="142" y="3" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="35" codval="" id="" pattern="1" hide_zero="" text="CTGG - Commesse di servizio" /> | ||||
|   <field x="10" y="4" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="65" codval="" id="" pattern="1" hide_zero="" text="CTAC - Commesse Terminano  oltre l'esercizio corrente e avviate in esecizi precedenti" /> | ||||
|   <field x="74.5" y="4" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="68" codval="" id="" pattern="1" hide_zero="" text="CCAC - Commesse che terminano oltre l'esercizio corrente e avviate nell'esercizio corrente" /> | ||||
|   <field x="82.5" y="2" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="1" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>FASESPEC</source> | ||||
|    <postscript description="">MESSAGE COPY,F1.2</postscript> | ||||
|   </field> | ||||
|  </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="1" hidden="" page_break="" can_break="" pattern="1"> | ||||
|   <prescript description="B1 PRESCRIPT">1 #H4.3  \ incrementa il contatore per il numero di righe di fase | ||||
| +!</prescript> | ||||
|   <field x="69.5" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="2" codval="" id="" pattern="1" hide_zero="" text="%" /> | ||||
|   <field x="6" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="20" codval="" id="1" pattern="1" hide_zero="" text=""> | ||||
|    <source>CODCMS</source> | ||||
|   </field> | ||||
|   <field x="1" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="10" pattern="1" hide_zero="" text=""> | ||||
|    <source>LEVEL</source> | ||||
|    <list> | ||||
|     <li Value="CTAP" Code="0" /> | ||||
|     <li Value="CTAC" Code="1" /> | ||||
|     <li Value="CCAP" Code="2" /> | ||||
|     <li Value="CCAC" Code="3" /> | ||||
|     <li Value="CTGG" Code="4" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="39" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="69" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <postscript description="B1.69 POSTSCRIPT">MESSAGE ADD,F3.69</postscript> | ||||
|   </field> | ||||
|   <field x="52.5" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="169" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <source>#RICAVI-#COSTI</source> | ||||
|    <postscript description="B1.169 POSTSCRIPT">MESSAGE ADD,F3.169</postscript> | ||||
|   </field> | ||||
|   <field x="65.5" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="4" codval="" id="170" pattern="1" hide_zero="" text="####"> | ||||
|    <font italic="1" face="Arial Narrow" size="8" /> | ||||
|    <prescript description="B1.170 PRESCRIPT">#RICAVI @ | ||||
|        EMPTY= IF | ||||
|        0 | ||||
|        ELSE | ||||
|        1 | ||||
|        #COSTI @ | ||||
|        #RICAVI @ | ||||
|        F; | ||||
|        - | ||||
|        100 | ||||
|        * | ||||
|        0 | ||||
|        ROUND | ||||
|        DUP | ||||
|        -999 C; IF | ||||
|        DROP -999 | ||||
|        THEN | ||||
|        THEN | ||||
|        #THIS ! | ||||
|      </prescript> | ||||
|   </field> | ||||
|   <field x="69.5" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="2" codval="" id="171" pattern="1" hide_zero="" text="%" /> | ||||
|  </section> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="" hidden="" page_break="" can_break="" pattern="1"> | ||||
|   <field border="1" x="1" y="0.25" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="169" codval="" height="0" id="" pattern="1" hide_zero="" text="" /> | ||||
|   <field x="2" y="0.75" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="25" codval="" id="" pattern="1" hide_zero="" text="Bilancio di commessa per esercizio"> | ||||
|    <font italic="1" face="Arial Narrow" bold="1" size="8" /> | ||||
|   </field> | ||||
|   <field x="28.5" y="0.75" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="5" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>H1.2</source> | ||||
|   </field> | ||||
|  </section> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="1" hidden="" page_break="" can_break="" pattern="1"> | ||||
|   <font italic="1" face="Arial Narrow" bold="1" size="8" /> | ||||
|  </section> | ||||
|  <sql>USE SALDANA</sql> | ||||
| </report> | ||||
| @ -1,53 +1,53 @@ | ||||
| <?xml version="1.0" encoding="UTF-8" ?> | ||||
| <report libraries="ve1300" name="ca3800c" orientation="2" lpi="6"> | ||||
| <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 type="Head" pattern="1"> | ||||
|  <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" type="Stringa" width="50" pattern="1"> | ||||
|   <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="60" type="Testo" width="10" pattern="1" text="Data stampa"> | ||||
|   <field x="60" 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="70" type="Data" width="12" pattern="1"> | ||||
|   <field x="70" 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="120" type="Testo" width="4" pattern="1" text="Pag."> | ||||
|   <field x="120" 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="123" type="Numero" align="right" width="3" pattern="1"> | ||||
|    <source>#REPORT.PAGE</source> | ||||
|   <field x="123" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <source>#REPORT.BOOKPAGE</source> | ||||
|   </field> | ||||
|   <field x="17.5" y="2" type="Stringa" width="12" pattern="1"> | ||||
|   <field x="17.5" y="2" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="12" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial" bold="1" size="10" /> | ||||
|    <source>CDCSPEC</source> | ||||
|   </field> | ||||
|   <field border="1" x="1" y="3" type="Linea" width="169" height="0" pattern="1" /> | ||||
|   <field x="35" y="1" type="Testo" valign="bottom" align="right" width="13" height="2" id="69" pattern="1" text="Testata" /> | ||||
|   <field x="1" y="2" type="Testo" width="14" id="121" pattern="1" text="Centro di costo" /> | ||||
|   <field x="51" y="1" type="Stringa" valign="bottom" align="right" width="13" height="2" id="169" pattern="1"> | ||||
|   <field border="1" x="1" y="3" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="169" codval="" height="0" id="" pattern="1" hide_zero="" text="" /> | ||||
|   <field x="35" y="1" 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="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="1" deactivated="" type="Stringa" valign="bottom" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" height="2" id="169" pattern="1" hide_zero="" text=""> | ||||
|    <source>"MARGINE CONTRIBUZIONE"</source> | ||||
|   </field> | ||||
|  </section> | ||||
|  <section type="Head" level="1" pattern="1"> | ||||
|   <field border="1" radius="100" x="1" type="Testo" valign="center" align="center" shade_offset="25" width="169" height="2.5" pattern="2" text="BILANCIO DI COMMESSA PER ESERCIZIO RAGGRUPPATO PER CENTRI DI COSTO"> | ||||
|  <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"> | ||||
|    <font face="Courier New" bold="1" size="16" /> | ||||
|   </field> | ||||
|   <field x="2" y="3" type="Testo" width="35" pattern="1" text="Costi e ricavi di Commessa maturati nell'esercizio"> | ||||
|   <field x="2" y="3" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="35" codval="" id="" pattern="1" hide_zero="" text="Costi e ricavi di Commessa maturati nell'esercizio"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="45" y="3" type="Testo" width="3" pattern="1" text="Dal"> | ||||
|   <field x="45" y="3" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text="Dal"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="48.5" y="3" type="Data" width="10" pattern="1"> | ||||
|   <field x="48.5" y="3" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>DAL</source> | ||||
|   </field> | ||||
|   <field x="63.5" y="3" type="Testo" width="15" pattern="1" text="Stima avanzamento "> | ||||
|   <field x="63.5" y="3" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Stima avanzamento "> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="77" y="3" type="Array" width="45" pattern="1"> | ||||
|   <field x="77" y="3" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="45" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>TIPOSTIMA</source> | ||||
|    <list> | ||||
| @ -56,10 +56,10 @@ | ||||
|     <li Value="COSTI Consuntivi \ RICAVI Consuntivi" Code="R" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="134" y="3" type="Testo" width="20" pattern="1" text="Detrazioni calcolate come"> | ||||
|   <field x="134" y="3" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Detrazioni calcolate come"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="159" y="3" type="Array" width="10" pattern="1"> | ||||
|   <field x="159" y="3" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>DETRCONS</source> | ||||
|    <list> | ||||
| @ -67,10 +67,10 @@ | ||||
|     <li Value="Consuntivi" Code="X" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="134" y="4" type="Testo" width="25" pattern="1" text="Profondita' della struttura in esame"> | ||||
|   <field x="134" y="4" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="25" codval="" id="" pattern="1" hide_zero="" text="Profondita' della struttura in esame"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="159" y="4" type="Array" width="7" pattern="1"> | ||||
|   <field x="159" y="4" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="7" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>DEPTH</source> | ||||
|    <list> | ||||
| @ -78,46 +78,46 @@ | ||||
|     <li Value="Conto" Code="2" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="2" y="4.25" type="Testo" width="20" pattern="1" text="Include esercizi successivi"> | ||||
|   <field x="2" y="4.25" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Include esercizi successivi"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="22" y="4.25" type="Stringa" width="3" pattern="1"> | ||||
|   <field x="22" y="4.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>VITAINTERA</source> | ||||
|   </field> | ||||
|   <field x="26.5" y="4.25" type="Testo" width="12" pattern="1" text="Include inevasi"> | ||||
|   <field x="26.5" y="4.25" 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" /> | ||||
|   </field> | ||||
|   <field x="39" y="4.25" type="Stringa" width="3" pattern="1"> | ||||
|   <field x="39" y="4.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>INCLUDE_DOCUMENTI</source> | ||||
|   </field> | ||||
|   <field x="45" y="4.25" type="Testo" width="3" pattern="1" text="Al"> | ||||
|   <field x="45" y="4.25" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text="Al"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="48.5" y="4.25" type="Data" width="10" pattern="1"> | ||||
|   <field x="48.5" y="4.25" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>AL</source> | ||||
|    <alt_source>DATAFINE</alt_source> | ||||
|   </field> | ||||
|   <field x="63.5" y="4.25" type="Testo" width="15" pattern="1" text="Centro di Costo"> | ||||
|   <field x="63.5" y="4.25" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Centro di Costo"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field border="2" x="1" y="5.5" type="Linea" width="169" height="0" pattern="1" /> | ||||
|   <field x="83.5" y="4.25" type="Stringa" width="10" id="1" pattern="1"> | ||||
|   <field border="2" x="1" y="5.5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="169" codval="" height="0" id="" pattern="1" hide_zero="" text="" /> | ||||
|   <field x="83.5" y="4.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="1" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>CDCSPEC</source> | ||||
|    <postscript description="H1.1 POSTSCRIPT">MESSAGE COPY,F1.2</postscript> | ||||
|   </field> | ||||
|   <field x="37" y="3" type="Stringa" width="4" id="2" pattern="1"> | ||||
|   <field x="37" y="3" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="2" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>ANNO</source> | ||||
|   </field> | ||||
|  </section> | ||||
|  <section type="Head" level="2" height="1.5" pattern="1"> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="2" hidden="" height="1.5" page_break="" can_break="" pattern="1"> | ||||
|   <groupby>(LEVELC;2)||(LEVEL=4)</groupby> | ||||
|   <font italic="1" face="Arial Narrow" size="8" /> | ||||
|   <field x="1" type="Array" bg_color="#C0C0C0" width="25" pattern="2"> | ||||
|   <field x="1" deactivated="" type="Array" hidden="" link="" bg_color="#C0C0C0" dynamic_height="" shade_offset="" width="25" codval="" id="" pattern="2" hide_zero="" text=""> | ||||
|    <source>LEVEL</source> | ||||
|    <list> | ||||
|     <li Value="Commesse terminate nel" Code="0" /> | ||||
| @ -127,22 +127,22 @@ | ||||
|     <li Value="Commesse di supporto del" Code="4" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="23" type="Numero" align="right" bg_color="#C0C0C0" width="6" pattern="2"> | ||||
|   <field x="23" deactivated="" type="Numero" hidden="" align="right" link="" bg_color="#C0C0C0" dynamic_height="" shade_offset="" width="6" codval="" id="" pattern="2" hide_zero="" text=""> | ||||
|    <source>ANNO</source> | ||||
|   </field> | ||||
|   <field type="Numero" hidden="1" align="right" width="1" id="101" pattern="1"> | ||||
|   <field deactivated="" type="Numero" hidden="1" align="right" link="" dynamic_height="" shade_offset="" width="1" codval="" id="101" pattern="1" hide_zero="" text=""> | ||||
|    <source>LEVEL</source> | ||||
|    <postscript description="H2.101 POSTSCRIPT">MESSAGE COPY,F2.101</postscript> | ||||
|   </field> | ||||
|   <field x="29" type="Numero" hidden="1" align="right" width="4" id="102" pattern="1"> | ||||
|   <field x="29" deactivated="" type="Numero" hidden="1" align="right" link="" dynamic_height="" shade_offset="" width="4" codval="" id="102" pattern="1" hide_zero="" text=""> | ||||
|    <source>ANNO</source> | ||||
|    <postscript description="H2.102 POSTSCRIPT">MESSAGE COPY,F2.102</postscript> | ||||
|   </field> | ||||
|  </section> | ||||
|  <section type="Head" level="3" hidden="1" height="1.5" pattern="1"> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="3" hidden="1" height="1.5" page_break="" can_break="" pattern="1"> | ||||
|   <groupby>LEVEL</groupby> | ||||
|   <font italic="1" face="Arial Narrow" size="8" /> | ||||
|   <field x="3" type="Array" bg_color="#C0C0C0" width="45" pattern="1"> | ||||
|   <field x="3" deactivated="" type="Array" hidden="" link="" bg_color="#C0C0C0" dynamic_height="" shade_offset="" width="45" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <source>LEVEL</source> | ||||
|    <list> | ||||
|     <li Value="Commesse avviate in esercizi precedenti" Code="0" /> | ||||
| @ -152,28 +152,28 @@ | ||||
|     <li Value="Commesse di supporto dell'esercizio selezionato" Code="4" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field border="1" x="2" y="1.25" type="Linea" width="169" height="0" pattern="1" /> | ||||
|   <field type="Numero" hidden="1" align="right" width="1" id="101" pattern="1"> | ||||
|   <field border="1" x="2" y="1.25" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="169" codval="" height="0" id="" pattern="1" hide_zero="" text="" /> | ||||
|   <field deactivated="" type="Numero" hidden="1" align="right" link="" dynamic_height="" shade_offset="" width="1" codval="" id="101" pattern="1" hide_zero="" text=""> | ||||
|    <source>LEVEL</source> | ||||
|    <postscript description="H3.101 POSTSCRIPT">MESSAGE COPY,F3.101</postscript> | ||||
|   </field> | ||||
|  </section> | ||||
|  <section type="Body" pattern="1" /> | ||||
|  <section type="Body" level="1" hidden="1" 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="1" page_break="" can_break="" pattern="1"> | ||||
|   <prescript description="B1 PRESCRIPT">1 #H4.3  \ incrementa il contatore per il numero di righe di cdc | ||||
| +!</prescript> | ||||
|   <field x="65.5" type="Testo" align="center" width="2" pattern="1" text="%" /> | ||||
|   <field x="1" type="Stringa" width="20" id="1" pattern="1"> | ||||
|   <field x="65.5" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="2" codval="" id="" pattern="1" hide_zero="" text="%" /> | ||||
|   <field x="1" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="20" codval="" id="1" pattern="1" hide_zero="" text=""> | ||||
|    <source>CODCMS</source> | ||||
|   </field> | ||||
|   <field x="35" type="Valuta" align="right" width="13" id="69" pattern="1" text="###.###.###,@@"> | ||||
|   <field x="35" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="69" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <postscript description="B1.69 POSTSCRIPT">MESSAGE ADD,F3.69</postscript> | ||||
|   </field> | ||||
|   <field x="48.5" type="Valuta" align="right" width="13" id="169" pattern="1" text="###.###.###,@@"> | ||||
|   <field x="48.5" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="169" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <source>#RICAVI-#COSTI</source> | ||||
|    <postscript description="B1.169 POSTSCRIPT">MESSAGE ADD,F3.169</postscript> | ||||
|   </field> | ||||
|   <field x="61.5" type="Numero" align="right" width="4" id="170" pattern="1" text="####"> | ||||
|   <field x="61.5" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="4" codval="" id="170" pattern="1" hide_zero="" text="####"> | ||||
|    <font italic="1" face="Arial Narrow" size="8" /> | ||||
|    <prescript description="B1.170 PRESCRIPT">#RICAVI @ | ||||
|        EMPTY= IF | ||||
| @ -196,31 +196,31 @@ | ||||
|        #THIS ! | ||||
|      </prescript> | ||||
|   </field> | ||||
|   <field x="65.5" type="Testo" align="center" width="2" id="171" pattern="1" text="%" /> | ||||
|   <field x="65.5" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="2" codval="" id="171" pattern="1" hide_zero="" text="%" /> | ||||
|  </section> | ||||
|  <section type="Foot" pattern="1"> | ||||
|   <field border="1" x="1" y="0.25" type="Linea" width="169" height="0" pattern="1" /> | ||||
|   <field x="2" y="0.75" type="Testo" width="25" pattern="1" text="Bilancio di commessa per esercizio"> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="" hidden="" page_break="" can_break="" pattern="1"> | ||||
|   <field border="1" x="1" y="0.25" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="169" codval="" height="0" id="" pattern="1" hide_zero="" text="" /> | ||||
|   <field x="2" y="0.75" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="25" codval="" id="" pattern="1" hide_zero="" text="Bilancio di commessa per esercizio"> | ||||
|    <font italic="1" face="Arial Narrow" bold="1" size="8" /> | ||||
|   </field> | ||||
|   <field x="28.5" y="0.75" type="Stringa" width="5" pattern="1"> | ||||
|   <field x="28.5" y="0.75" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="5" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>H1.2</source> | ||||
|   </field> | ||||
|  </section> | ||||
|  <section type="Foot" level="1" height="3" pattern="1"> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="1" hidden="" height="3" page_break="" can_break="" pattern="1"> | ||||
|   <font italic="1" face="Arial Narrow" bold="1" size="8" /> | ||||
|   <field border="2" x="1" y="0.5" type="Linea" width="169" height="0" pattern="1" /> | ||||
|   <field x="1" y="1" type="Testo" valign="center" fg_color="#FFFFFF" bg_color="#000000" width="20" id="1" pattern="2" text="TOTALI GENERALI " /> | ||||
|   <field x="21" y="1" type="Stringa" valign="center" fg_color="#FFFFFF" bg_color="#400040" width="15" id="2" pattern="2"> | ||||
|   <field border="2" x="1" y="0.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="1" deactivated="" type="Testo" valign="center" hidden="" link="" fg_color="#FFFFFF" bg_color="#000000" dynamic_height="" shade_offset="" width="20" codval="" id="1" pattern="2" hide_zero="" text="TOTALI GENERALI " /> | ||||
|   <field x="21" y="1" deactivated="" type="Stringa" valign="center" hidden="" link="" fg_color="#FFFFFF" bg_color="#400040" dynamic_height="" shade_offset="" width="15" codval="" id="2" pattern="2" hide_zero="" text=""> | ||||
|    <font italic="1" face="Arial" bold="1" size="8" /> | ||||
|   </field> | ||||
|   <field x="46.5" y="1" type="Valuta" align="right" width="13" id="69" pattern="1" text="###.###.###,@@" /> | ||||
|   <field x="60" y="1" type="Valuta" align="right" width="13" id="169" pattern="1" text="###.###.###,@@"> | ||||
|   <field x="46.5" y="1" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="69" pattern="1" hide_zero="" text="###.###.###,@@" /> | ||||
|   <field x="60" y="1" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="169" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <postscript description="F1.169 POSTSCRIPT">MESSAGE RESET,169</postscript> | ||||
|   </field> | ||||
|  </section> | ||||
|  <section type="Foot" level="2" height="4.5" pattern="1"> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="2" hidden="" height="4.5" page_break="" can_break="" pattern="1"> | ||||
|   <font italic="1" face="Courier New" size="8" /> | ||||
|   <prescript description="F2 PRESCRIPT">#LEVEL @ | ||||
| 	4 = IF | ||||
| @ -228,8 +228,8 @@ | ||||
| 	ELSE | ||||
| 	  "90@" DISABLE | ||||
| THEN</prescript> | ||||
|   <field border="1" x="1" y="0.5" type="Linea" width="169" height="0" pattern="1" /> | ||||
|   <field x="1" y="1" type="Array" bg_color="#C0C0C0" width="30" pattern="2"> | ||||
|   <field border="1" x="1" y="0.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="1" deactivated="" type="Array" hidden="" link="" bg_color="#C0C0C0" dynamic_height="" shade_offset="" width="30" codval="" id="" pattern="2" hide_zero="" text=""> | ||||
|    <font italic="1" face="Arial Narrow" size="8" /> | ||||
|    <source>H2.101</source> | ||||
|    <list> | ||||
| @ -240,39 +240,39 @@ THEN</prescript> | ||||
|     <li Value="TOTALI Commesse di supporto del" Code="4" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="29" y="1" type="Numero" align="right" bg_color="#C0C0C0" width="6" pattern="2"> | ||||
|   <field x="29" y="1" deactivated="" type="Numero" hidden="" align="right" link="" bg_color="#C0C0C0" dynamic_height="" shade_offset="" width="6" codval="" id="" pattern="2" hide_zero="" text=""> | ||||
|    <font italic="1" face="Arial Narrow" size="8" /> | ||||
|    <source>H2.102</source> | ||||
|   </field> | ||||
|   <field border="1" x="1" y="3.25" deactivated="1" type="Linea" width="169" height="0" pattern="1"> | ||||
|   <field border="1" x="1" y="3.25" deactivated="1" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="169" codval="" height="0" id="" pattern="1" hide_zero="" text=""> | ||||
|    <groups>90</groups> | ||||
|   </field> | ||||
|   <field x="1" y="3.5" deactivated="1" type="Testo" fg_color="#FFFFFF" bg_color="#808080" width="30" pattern="2" text="TOTALI commesse normali relative al"> | ||||
|   <field x="1" y="3.5" deactivated="1" type="Testo" hidden="" link="" fg_color="#FFFFFF" bg_color="#808080" dynamic_height="" shade_offset="" width="30" codval="" id="" pattern="2" hide_zero="" text="TOTALI commesse normali relative al"> | ||||
|    <font italic="1" face="Arial Narrow" bold="1" size="8" /> | ||||
|    <groups>90</groups> | ||||
|   </field> | ||||
|   <field x="31" y="3.5" type="Numero" align="right" fg_color="#FFFFFF" bg_color="#808080" width="6" pattern="2"> | ||||
|   <field x="31" y="3.5" deactivated="" type="Numero" hidden="" align="right" link="" fg_color="#FFFFFF" bg_color="#808080" dynamic_height="" shade_offset="" width="6" codval="" id="" pattern="2" hide_zero="" text=""> | ||||
|    <font italic="1" face="Arial Narrow" bold="1" size="8" /> | ||||
|    <groups>90</groups> | ||||
|    <source>H2.102</source> | ||||
|   </field> | ||||
|   <field x="46.5" y="1" type="Valuta" align="right" width="13" id="69" pattern="1" text="###.###.###,@@"> | ||||
|   <field x="46.5" y="1" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="69" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <font italic="1" face="Arial Narrow" bold="1" size="8" /> | ||||
|    <postscript description="F2.69 POSTSCRIPT">MESSAGE ADD,F1.69</postscript> | ||||
|   </field> | ||||
|   <field y="1" type="Numero" hidden="1" align="right" width="1" id="101" pattern="1" /> | ||||
|   <field x="35" y="1" type="Numero" hidden="1" align="right" width="4" id="102" pattern="1"> | ||||
|   <field y="1" deactivated="" type="Numero" hidden="1" align="right" link="" dynamic_height="" shade_offset="" width="1" codval="" id="101" pattern="1" hide_zero="" text="" /> | ||||
|   <field x="35" y="1" deactivated="" type="Numero" hidden="1" align="right" link="" dynamic_height="" shade_offset="" width="4" codval="" id="102" pattern="1" hide_zero="" text=""> | ||||
|    <postscript description="F2.102 POSTSCRIPT">MESSAGE COPY,F2.101</postscript> | ||||
|   </field> | ||||
|   <field x="60" y="1" type="Valuta" align="right" width="13" id="169" pattern="1" text="###.###.###,@@"> | ||||
|   <field x="60" y="1" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="169" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <font italic="1" face="Arial Narrow" bold="1" size="8" /> | ||||
|    <postscript description="F2.169 POSTSCRIPT">MESSAGE ADD,F1.169 | ||||
| MESSAGE RESET,169</postscript> | ||||
|   </field> | ||||
|  </section> | ||||
|  <section type="Foot" level="3" height="2" pattern="1"> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="3" hidden="" height="2" page_break="" can_break="" pattern="1"> | ||||
|   <font italic="1" face="Arial Narrow" size="8" /> | ||||
|   <field x="2" y="0.5" type="Array" bg_color="#C0C0C0" width="40" pattern="1"> | ||||
|   <field x="2" y="0.5" deactivated="" type="Array" hidden="" link="" bg_color="#C0C0C0" dynamic_height="" shade_offset="" width="40" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <source>H3.101</source> | ||||
|    <list> | ||||
|     <li Value="Commesse avviate in esercizi precedenti" Code="0" /> | ||||
| @ -282,13 +282,13 @@ MESSAGE RESET,169</postscript> | ||||
|     <li Value="TOTALI Commesse di supporto dell'esercizio selezionato" Code="4" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="46.5" y="0.5" type="Valuta" align="right" width="13" id="69" pattern="1" text="###.###.###,@@"> | ||||
|   <field x="46.5" y="0.5" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="69" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <postscript description="F3.69 POSTSCRIPT">MESSAGE ADD,F2.69 | ||||
| MESSAGE ADD,F2.269 | ||||
| </postscript> | ||||
|   </field> | ||||
|   <field y="0.5" type="Numero" hidden="1" align="right" width="1" id="101" pattern="1" /> | ||||
|   <field x="60" y="0.5" type="Valuta" align="right" width="13" id="169" pattern="1" text="###.###.###,@@"> | ||||
|   <field y="0.5" deactivated="" type="Numero" hidden="1" align="right" link="" dynamic_height="" shade_offset="" width="1" codval="" id="101" pattern="1" hide_zero="" text="" /> | ||||
|   <field x="60" y="0.5" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="169" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <postscript description="F3.169 POSTSCRIPT">MESSAGE ADD,F2.169 | ||||
| MESSAGE ADD,F2.369 | ||||
| MESSAGE RESET,169 | ||||
|  | ||||
							
								
								
									
										178
									
								
								src/ca/ca3800cs.rep
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										178
									
								
								src/ca/ca3800cs.rep
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,178 @@ | ||||
| <?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="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"> | ||||
|   <font italic="1" face="Arial Narrow" bold="1" size="8" /> | ||||
|   <field x="22.5" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="12" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial" bold="1" size="10" /> | ||||
|    <source>CDCSPEC</source> | ||||
|   </field> | ||||
|   <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" deactivated="" type="Stringa" valign="bottom" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" height="2" id="169" pattern="1" hide_zero="" text=""> | ||||
|    <source>"MARGINE CONTRIBUZIONE"</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"> | ||||
|    <font face="Courier New" size="12" /> | ||||
|   </field> | ||||
|   <field x="1" y="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="37" codval="" id="" pattern="1" hide_zero="" text="Costi e ricavi di Commessa maturati nell'esercizio"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="39" y="1" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="5" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial" bold="1" size="9" /> | ||||
|    <source>ANNO</source> | ||||
|   </field> | ||||
|   <field x="45.5" y="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text="Dal"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="49" y="1" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>DAL</source> | ||||
|   </field> | ||||
|   <field x="67.5" y="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Stima avanzamento "> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="84" y="1" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="45" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>TIPOSTIMA</source> | ||||
|    <list> | ||||
|     <li Value="COSTI Preventivi \ RICAVI Preventivi (TEMPO)" Code="T" /> | ||||
|     <li Value="COSTI Consuntivi \ RICAVI Preventivi" Code="C" /> | ||||
|     <li Value="COSTI Consuntivi \ RICAVI Consuntivi" Code="R" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="140.5" y="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Detrazioni calcolate come"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="160" y="1" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>DETRCONS</source> | ||||
|    <list> | ||||
|     <li Value="Preventivi" Code=" " /> | ||||
|     <li Value="Consuntivi" Code="X" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="1" y="2" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Include esercizi successivi"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="21.5" y="2" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>VITAINTERA</source> | ||||
|   </field> | ||||
|   <field x="26" y="2" 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" /> | ||||
|   </field> | ||||
|   <field x="38" y="2" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>INCLUDE_DOCUMENTI</source> | ||||
|   </field> | ||||
|   <field x="45.5" y="2" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="1" hide_zero="" text="Al"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="49" y="2" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>AL</source> | ||||
|    <alt_source>DATAFINE</alt_source> | ||||
|   </field> | ||||
|   <field x="67.5" y="2" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Centro di Costo"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="136.5" y="2" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="25" codval="" id="" pattern="1" hide_zero="" text="Profondita' della struttura in esame"> | ||||
|    <font italic="1" face="Arial Narrow" size="9" /> | ||||
|   </field> | ||||
|   <field x="163" y="2" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="7" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>DEPTH</source> | ||||
|    <list> | ||||
|     <li Value="Gruppo" Code="1" /> | ||||
|     <li Value="Conto" Code="2" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="1" y="3" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="Legenda : " /> | ||||
|   <field x="10" y="3" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="65" codval="" id="" pattern="1" hide_zero="" text="CTAP - Commesse Terminate nell'esercizio e avviate in esercizi precedenti" /> | ||||
|   <field x="74.5" y="3" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="67" codval="" id="" pattern="1" hide_zero="" text="CCAP - Commesse che terminano oltre l'esercizio corrente e avviate in esecizi precedenti" /> | ||||
|   <field x="142" y="3" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="35" codval="" id="" pattern="1" hide_zero="" text="CTGG - Commesse di servizio" /> | ||||
|   <field x="10" y="4" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="65" codval="" id="" pattern="1" hide_zero="" text="CTAC - Commesse Terminano  oltre l'esercizio corrente e avviate in esecizi precedenti" /> | ||||
|   <field x="74.5" y="4" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="68" codval="" id="" pattern="1" hide_zero="" text="CCAC - Commesse che terminano oltre l'esercizio corrente e avviate nell'esercizio corrente" /> | ||||
|   <field x="87.5" y="2" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="1" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>CDCSPEC</source> | ||||
|    <postscript description="H1.1 POSTSCRIPT">MESSAGE COPY,F1.2</postscript> | ||||
|   </field> | ||||
|  </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="1" hidden="" page_break="" can_break="" pattern="1"> | ||||
|   <prescript description="B1 PRESCRIPT">1 #H4.3  \ incrementa il contatore per il numero di righe di cdc | ||||
| +!</prescript> | ||||
|   <field x="69.5" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="2" codval="" id="" pattern="1" hide_zero="" text="%" /> | ||||
|   <field x="6" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="20" codval="" id="1" pattern="1" hide_zero="" text=""> | ||||
|    <source>CODCMS</source> | ||||
|   </field> | ||||
|   <field x="1" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="10" pattern="1" hide_zero="" text=""> | ||||
|    <source>LEVEL</source> | ||||
|    <list> | ||||
|     <li Value="CTAP" Code="0" /> | ||||
|     <li Value="CTAC" Code="1" /> | ||||
|     <li Value="CCAP" Code="2" /> | ||||
|     <li Value="CCAC" Code="3" /> | ||||
|     <li Value="CTGG" Code="4" /> | ||||
|    </list> | ||||
|   </field> | ||||
|   <field x="39" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="69" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <postscript description="B1.69 POSTSCRIPT">MESSAGE ADD,F3.69</postscript> | ||||
|   </field> | ||||
|   <field x="52.5" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="13" codval="" id="169" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <source>#RICAVI-#COSTI</source> | ||||
|    <postscript description="B1.169 POSTSCRIPT">MESSAGE ADD,F3.169</postscript> | ||||
|   </field> | ||||
|   <field x="65.5" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="4" codval="" id="170" pattern="1" hide_zero="" text="####"> | ||||
|    <font italic="1" face="Arial Narrow" size="8" /> | ||||
|    <prescript description="B1.170 PRESCRIPT">#RICAVI @ | ||||
|        EMPTY= IF | ||||
|        0 | ||||
|        ELSE | ||||
|        1 | ||||
|        #COSTI @ | ||||
|        #RICAVI @ | ||||
|        F; | ||||
|        - | ||||
|        100 | ||||
|        * | ||||
|        0 | ||||
|        ROUND | ||||
|        DUP | ||||
|        -999 C; IF | ||||
|        DROP -999 | ||||
|        THEN | ||||
|        THEN | ||||
|        #THIS ! | ||||
|      </prescript> | ||||
|   </field> | ||||
|   <field x="69.5" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="2" codval="" id="171" pattern="1" hide_zero="" text="%" /> | ||||
|  </section> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="" hidden="" page_break="" can_break="" pattern="1"> | ||||
|   <field border="1" x="1" y="0.25" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="169" codval="" height="0" id="" pattern="1" hide_zero="" text="" /> | ||||
|   <field x="2" y="0.75" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="25" codval="" id="" pattern="1" hide_zero="" text="Bilancio di commessa per esercizio"> | ||||
|    <font italic="1" face="Arial Narrow" bold="1" size="8" /> | ||||
|   </field> | ||||
|   <field x="28.5" y="0.75" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="5" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <font face="Arial Narrow" bold="1" size="9" /> | ||||
|    <source>H1.2</source> | ||||
|   </field> | ||||
|  </section> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="1" hidden="" page_break="" can_break="" pattern="1"> | ||||
|   <font italic="1" face="Arial Narrow" bold="1" size="8" /> | ||||
|  </section> | ||||
|  <sql>USE SALDANA</sql> | ||||
| </report> | ||||
| @ -137,7 +137,7 @@ int TCRPA_report::show_hide_left_column(const bool show_fld, TReport_field* fld, | ||||
| //metodo per il riempimento e lo spostamento dei campi dinamici
 | ||||
| void TCRPA_report::offset_and_fill_columns(TReport_section& rep_sect, const TString_array& str_arr,  | ||||
|                                            const int model_id, const bool show_fasi, const bool show_cdc,  | ||||
|                                            const bool show_cms_descr, const bool show_cms_date) | ||||
|                                            const bool show_cms_descr, const bool show_cms_date, const bool sintetica) | ||||
| { | ||||
|   //solo nel caso sia richiesta la sparizione di un campo...
 | ||||
|   if (!show_fasi || !show_cdc || !show_cms_descr || !show_cms_date) | ||||
| @ -236,110 +236,86 @@ void TCRPA_report::offset_and_fill_columns(TReport_section& rep_sect, const TStr | ||||
| 		switch (sect_type) | ||||
| 		{ | ||||
| 		case 'H':	//gli header devono stampare l'intestazione
 | ||||
| 			{ | ||||
| 				new_field->set_picture(str_arr.row(i)); | ||||
| 			} | ||||
| 			break; | ||||
| 			new_field->set_picture(str_arr.row(i)); | ||||
| 		break; | ||||
| 		case 'B':	//i body devono stampare i valori e sommarli ai totali nei footer
 | ||||
| 		{ | ||||
| 			new_field->set_field(str_arr.row(i)); | ||||
| 			if (!sintetica) | ||||
| 			{ | ||||
| 				new_field->set_field(str_arr.row(i)); | ||||
| 				TString ps = "MESSAGE ADD,F3."; | ||||
| 				ps << new_field->id(); | ||||
| 
 | ||||
|         if (find_section('F', 4) != NULL) | ||||
|           ps << "|ADD,F4." << new_field->id(); | ||||
| 				 | ||||
|         new_field->set_postscript(ps); | ||||
| 				if (find_section('F', 4) != NULL) | ||||
| 					ps << "|ADD,F4." << new_field->id(); | ||||
| 
 | ||||
| 				new_field->set_postscript(ps); | ||||
| 			} | ||||
| 			break; | ||||
| 		} | ||||
| 		break; | ||||
| 		case 'F':	//i footer devono calcolarsi i totali; ma i footer di totale fasi (4) non devono..
 | ||||
|       //..fare assolutamente nulla!
 | ||||
| 			if (rep_sect.level() > 0 && rep_sect.level() < 4) | ||||
| 			//..fare assolutamente nulla!
 | ||||
| 			if (!sintetica && rep_sect.level() > 0 && rep_sect.level() < 4) | ||||
| 			{ | ||||
|         //crea il campo sul report con tanto di id,postscript ecc...
 | ||||
| 			  new_field->set_field(""); | ||||
| 				//crea il campo sul report con tanto di id,postscript ecc...
 | ||||
| 				new_field->set_field(""); | ||||
| 
 | ||||
|         switch (rep_sect.level()) | ||||
|         { | ||||
|         case 1: | ||||
|         { | ||||
|           //caso particolare del footer di report con i totali alla Adolf!
 | ||||
|           //Dalla matematica secondo Adolf:
 | ||||
|           //(a) TotGen = TotCmsNor + TotCmsSupp
 | ||||
|           //(b) DiffGen = TotCmsSupp - TotCmsNor
 | ||||
|           //->(c) DiffGen = TotGen - 2*TotCmsNor
 | ||||
| 				switch (rep_sect.level()) | ||||
| 				{ | ||||
| 					case 2: | ||||
| 						{ | ||||
| 							//ogni campo di footer F2 deve sommarsi a quello piu' esterno F1
 | ||||
| 							TString ps = "MESSAGE ADD,F"; | ||||
| 							ps << (rep_sect.level() - 1) << '.' << new_field->id(); | ||||
| 
 | ||||
|           //i campi del totale generale si sommano ai campi delle differenze di Adolf
 | ||||
|           /**CAZZONE** tentata per utilizzare la (c) ma non funziona:questi non servono a una ceppa di minchia
 | ||||
|           new_field->set_field(""); | ||||
|           TString ps = "MESSAGE ADD,F"; | ||||
| 	        ps << (rep_sect.level()) << '.' << (new_field->id() + 200); | ||||
|           new_field->set_prescript(ps);*/    | ||||
| 							//in caso di Commesse Supporto (LEVEL=4) il totale si deve sommare nelle differenze generali
 | ||||
| 							ps << "\n#101 @\n"; | ||||
| 							ps << "4 = IF\n"; | ||||
| 							ps << "  MESSAGE ADD,F1." << (new_field->id() + 200) << "\n"; | ||||
| 							ps << "THEN"; | ||||
| 
 | ||||
|           //sub_new_field e' il campo SOTTO il new_field che appare solo nei totali di sezione 1 (F1)
 | ||||
|           //e' il campo che va nella riga delle Differenze
 | ||||
|           /*TReport_field* sub_new_field = (TReport_field*)new_field->dup();
 | ||||
|  			    rep_sect.add(sub_new_field); | ||||
|           sub_new_field->offset(TPoint(0, 250)); | ||||
|           sub_new_field->set_id(new_field->id() + 200); | ||||
|           sub_new_field->set_groups("90"); | ||||
|           sub_new_field->set_prescript("");*/ | ||||
|         } | ||||
|           break; | ||||
| 							//setta il postscript al new_field
 | ||||
| 							new_field->set_postscript(ps); | ||||
| 
 | ||||
|         case 2: | ||||
|           { | ||||
|             //ogni campo di footer F2 deve sommarsi a quello piu' esterno F1
 | ||||
|             TString ps = "MESSAGE ADD,F"; | ||||
| 			      ps << (rep_sect.level() - 1) << '.' << new_field->id(); | ||||
| 							//SUB_new_field, ovvero gestione dei campi adolfici dei totali e delle differenze
 | ||||
| 							//Gestione totali delle commesse normali (Adolf!)
 | ||||
| 							//Alla fine di tutte le 4 sezioni di commesse normali ci va il totale delle medesime; questo..
 | ||||
| 							//..totale va stampato prima della sezione con le commesse di appoggio
 | ||||
| 
 | ||||
|             //in caso di Commesse Supporto (LEVEL=4) il totale si deve sommare nelle differenze generali
 | ||||
|             ps << "\n#101 @\n"; | ||||
|             ps << "4 = IF\n"; | ||||
|             ps << "  MESSAGE ADD,F1." << (new_field->id() + 200) << "\n"; | ||||
|             ps << "THEN"; | ||||
| 							//sub_new_field e' il campo SOTTO il new_field che appare solo nei totali di sezione 2 (F2)
 | ||||
| 							//e' il campo con il totale delle commesse normali
 | ||||
| 							TReport_field* sub_new_field = (TReport_field*)new_field->dup(); | ||||
| 							rep_sect.add(sub_new_field); | ||||
| 							sub_new_field->offset(TReport_size(0, 250)); | ||||
| 							sub_new_field->set_id(new_field->id() + 200); | ||||
| 							sub_new_field->set_groups("90"); | ||||
| 							sub_new_field->set_postscript(""); | ||||
| 
 | ||||
|             //setta il postscript al new_field
 | ||||
|             new_field->set_postscript(ps); | ||||
| 
 | ||||
|             //SUB_new_field, ovvero gestione dei campi adolfici dei totali e delle differenze
 | ||||
|             //Gestione totali delle commesse normali (Adolf!)
 | ||||
|             //Alla fine di tutte le 4 sezioni di commesse normali ci va il totale delle medesime; questo..
 | ||||
|             //..totale va stampato prima della sezione con le commesse di appoggio
 | ||||
| 
 | ||||
|             //sub_new_field e' il campo SOTTO il new_field che appare solo nei totali di sezione 2 (F2)
 | ||||
|             //e' il campo con il totale delle commesse normali
 | ||||
|             TReport_field* sub_new_field = (TReport_field*)new_field->dup(); | ||||
|    			    rep_sect.add(sub_new_field); | ||||
|             sub_new_field->offset(TReport_size(0, 250)); | ||||
|             sub_new_field->set_id(new_field->id() + 200); | ||||
|             sub_new_field->set_groups("90"); | ||||
|             sub_new_field->set_postscript(""); | ||||
| 
 | ||||
|             //il totale delle commesse normali si sottrae nelle differenze generali
 | ||||
|             TString ps_diff; | ||||
|             //ps_diff << "#THIS @\n2\n*\n!\n";  **CAZZONE** tentata per applicare la (c);non funzia
 | ||||
|             ps_diff << "MESSAGE SUB,F1." << sub_new_field->id(); | ||||
|             sub_new_field->set_postscript(ps_diff); | ||||
|           } | ||||
|           break; | ||||
| 
 | ||||
|         case 3: | ||||
|           { | ||||
|             //ogni campo di footer F3 deve sommarsi a quello piu' esterno F2
 | ||||
|             TString ps = "MESSAGE ADD,F"; | ||||
| 			      ps << (rep_sect.level() - 1) << '.' << new_field->id(); | ||||
|             //deve anche sommarsi al totale delle Commesse Normali (che viene stampato al passaggio tra..
 | ||||
|             //..LEVEL=3 e LEVEL=4)
 | ||||
|             ps << "\nMESSAGE ADD,F2." << (new_field->id() + 200); | ||||
|             //setta il postscript al new_field
 | ||||
|             new_field->set_postscript(ps); | ||||
|           } | ||||
|           break; | ||||
|         default: | ||||
|           break; | ||||
|         } //switch(rep_sect.level())
 | ||||
|       } | ||||
| 							//il totale delle commesse normali si sottrae nelle differenze generali
 | ||||
| 							TString ps_diff; | ||||
| 							//ps_diff << "#THIS @\n2\n*\n!\n";  **CAZZONE** tentata per applicare la (c);non funzia
 | ||||
| 							ps_diff << "MESSAGE SUB,F1." << sub_new_field->id(); | ||||
| 							sub_new_field->set_postscript(ps_diff); | ||||
| 						} | ||||
| 						break; | ||||
| 					case 3: | ||||
| 						if (!sintetica) | ||||
| 						{ | ||||
| 							//ogni campo di footer F3 deve sommarsi a quello piu' esterno F2
 | ||||
| 							TString ps = "MESSAGE ADD,F"; | ||||
| 							ps << (rep_sect.level() - 1) << '.' << new_field->id(); | ||||
| 							//deve anche sommarsi al totale delle Commesse Normali (che viene stampato al passaggio tra..
 | ||||
| 							//..LEVEL=3 e LEVEL=4)
 | ||||
| 							ps << "\nMESSAGE ADD,F2." << (new_field->id() + 200); | ||||
| 							//setta il postscript al new_field
 | ||||
| 							new_field->set_postscript(ps); | ||||
| 						} | ||||
| 						break; | ||||
| 					case 1: | ||||
| 					default: | ||||
| 						break; | ||||
| 				} //switch(rep_sect.level())
 | ||||
| 			} | ||||
| 			break; | ||||
| 		default: | ||||
| 			break; | ||||
| @ -374,7 +350,7 @@ void TCRPA_report::offset_and_fill_columns(TReport_section& rep_sect, const TStr | ||||
| 
 | ||||
| bool TCRPA_report::generate_columns (TString_array& codici, TString_array& testate, const int model_id,  | ||||
|                                      const bool show_fasi, const bool show_cdc, const bool show_cms_descr,  | ||||
|                                      const bool show_cms_date) | ||||
|                                      const bool show_cms_date, const bool sintetica) | ||||
| { | ||||
| 	//sezioni del report da modificare
 | ||||
| 	TReport_section& b1 = section('B', 1); | ||||
| @ -383,7 +359,7 @@ bool TCRPA_report::generate_columns (TString_array& codici, TString_array& testa | ||||
| 	TReport_field* b1_model = b1.find_field(model_id); | ||||
| 	if (b1_model == NULL) | ||||
| 		return false; | ||||
| 	offset_and_fill_columns(b1, codici, model_id, show_fasi, show_cdc, show_cms_descr, show_cms_date); | ||||
| 	offset_and_fill_columns(b1, codici, model_id, show_fasi, show_cdc, show_cms_descr, show_cms_date, sintetica); | ||||
| 
 | ||||
| 	//testate
 | ||||
| 	//la testata di pagina deve invece riempire le intestazioni delle colonne generate
 | ||||
| @ -393,64 +369,73 @@ bool TCRPA_report::generate_columns (TString_array& codici, TString_array& testa | ||||
| 	if (h0_model == NULL) | ||||
| 		warning_box(TR("Manca l'intestazione della colonna modello (H0.%d)"),model_id); | ||||
| 	else | ||||
| 		offset_and_fill_columns(h0, testate, model_id, show_fasi, show_cdc, show_cms_descr, show_cms_date); | ||||
| 		offset_and_fill_columns(h0, testate, model_id, show_fasi, show_cdc, show_cms_descr, show_cms_date, sintetica); | ||||
| 
 | ||||
| 	//le testate di sezione devono resettare i campi totale dei corrispondenti footers
 | ||||
| 	for (int j = 4; j > 0; j--) | ||||
| 	if (!sintetica) | ||||
| 	{ | ||||
| 		TReport_section& head = section('H', j); | ||||
| 		if (head.items() > 0) | ||||
| 		for (int j = 4; j > 0; j--) | ||||
| 		{ | ||||
| 			TString ps(256); | ||||
|       ps = "MESSAGE "; | ||||
| 			//i campi dei totali da resettare sono tanti quante le colonne generate
 | ||||
| 			//k=0 per includere la colonna 69!!! usata nel caso i ricavi siano solo di livello 1 (depth=1)
 | ||||
| 			for (int k = 0; k <= codici.items(); k++) | ||||
| 			{		 | ||||
| 				if (k > 0) | ||||
| 					ps << '|'; | ||||
|         ps << "RESET,F" << head.level() << '.' << (k+model_id); | ||||
| 			TReport_section& head = section('H', j); | ||||
| 			if (head.items() > 0) | ||||
| 			{ | ||||
| 				TString ps(256); | ||||
| 				ps = "MESSAGE "; | ||||
| 				//i campi dei totali da resettare sono tanti quante le colonne generate
 | ||||
| 				//k=0 per includere la colonna 69!!! usata nel caso i ricavi siano solo di livello 1 (depth=1)
 | ||||
| 				for (int k = 0; k <= codici.items(); k++) | ||||
| 				{ | ||||
| 					if (k > 0) | ||||
| 						ps << '|'; | ||||
| 					ps << "RESET,F" << head.level() << '.' << (k + model_id); | ||||
| 				} | ||||
| 				head.set_prescript(ps); | ||||
| 			} | ||||
| 			head.set_prescript(ps); | ||||
| 		} | ||||
| 
 | ||||
| 		//footers
 | ||||
| 		for (int i = find_max_level('F') - 1; i > 0; i--) | ||||
| 		{ | ||||
| 			TReport_section& foot = section('F', i); | ||||
| 
 | ||||
| 			TReport_field* foot_model = foot.find_field(model_id); | ||||
| 			if (foot_model == NULL) | ||||
| 				warning_box(TR("Manca la colonna modello (F%d.%d)"), i, model_id); | ||||
| 			else | ||||
| 				offset_and_fill_columns(foot, codici, model_id, show_fasi, show_cdc, show_cms_descr, show_cms_date, sintetica); | ||||
| 		} | ||||
| 
 | ||||
| 		//gestione della sezione con i totali di commessa (solo se esiste, visto che non c'e' in tutti i report)
 | ||||
| 		TReport_section* f4 = find_section('F', 4); | ||||
| 		if (f4 != NULL) | ||||
| 			offset_and_fill_sectionf4(*f4, model_id); | ||||
| 	} | ||||
| 
 | ||||
| 	//footers
 | ||||
| 	for (int i = find_max_level('F') - 1; i > 0; i--) | ||||
| 	{ | ||||
| 	  TReport_section& foot = section('F', i); | ||||
| 
 | ||||
| 	  TReport_field* foot_model = foot.find_field(model_id); | ||||
| 	  if (foot_model == NULL) | ||||
| 		  warning_box(TR("Manca la colonna modello (F%d.%d)"), i, model_id); | ||||
| 		else | ||||
| 			offset_and_fill_columns(foot, codici, model_id, show_fasi, show_cdc, show_cms_descr, show_cms_date); | ||||
| 	} | ||||
| 
 | ||||
|   //gestione della sezione con i totali di commessa (solo se esiste, visto che non c'e' in tutti i report)
 | ||||
|   TReport_section* f4 = find_section('F', 4);  | ||||
|   if (f4 != NULL) | ||||
|     offset_and_fill_sectionf4(*f4, model_id); | ||||
| 
 | ||||
| #ifdef DBG | ||||
|   save("cazzone.rep"); | ||||
| #endif | ||||
| 	#ifdef DBG | ||||
| 		save("cazzone.rep"); | ||||
| 	#endif | ||||
| 	return true; | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| TCRPA_report::TCRPA_report (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) | ||||
|                             const bool show_cms_descr, const bool show_cms_date, const bool sintetica, | ||||
| 														const bool intestazione_minima) | ||||
| { | ||||
| 	//che report usare?
 | ||||
| 	load (rep_name); | ||||
| 	//array contenenti i conti analitici e le loro descrizioni di testata che diventeranno..
 | ||||
| 	//.colonne del report dopo lungo e periglioso travaglio
 | ||||
| 	//.colonne del report dopo lungo e periglioso travagliohide
 | ||||
| 	TString_array codici, testate; | ||||
| 	//per prima cosa si deve analizzare la struttura del piano conti..
 | ||||
| 	//..da stampare fino al livello richiesto!
 | ||||
| 	analize_pconana_structure (prefix, depth, codici, testate); | ||||
| 	//poi vanno generate le colonne del report corrispondenti alla struttura analizzata
 | ||||
| 	generate_columns (codici, testate, 69, show_fasi, show_cdc, show_cms_descr, show_cms_date); | ||||
| 	generate_columns (codici, testate, 69, show_fasi, show_cdc, show_cms_descr, show_cms_date, sintetica); | ||||
| 	if (intestazione_minima) | ||||
| 	{ | ||||
| 		section('H', 0).find_field(100)->hide(); | ||||
| 		section('H', 0).find_field(101)->hide(); | ||||
| 	} | ||||
| 
 | ||||
| } | ||||
|  | ||||
| @ -692,6 +692,9 @@ void TPrint_saldana_recordset::parse_saldana(TAssoc_array* cms, const TDate& dat | ||||
|       //..le sezioni in cui compariranno le commesse nella stampa
 | ||||
|     	const TString80 codcms = saldana.get(SALDANA_COMMESSA); | ||||
|       const TRectype& rec_commesse = cache().get(LF_COMMESSE, codcms); | ||||
| 			//ci sono filtri o raggruppamenti per fase o centro di costo?
 | ||||
| 			const TString80 fase = saldana.get(SALDANA_FASE); | ||||
| 			const TString80 cdc = saldana.get(SALDANA_COSTO); | ||||
|       //indice: indica la sezione di report in cui apparariranno i valori!
 | ||||
|       const int indice = ricava_sezione_di_stampa(rec_commesse, datainiesc, datafinesc); | ||||
|       //anno sul record di saldana;serve un pò dappertutto sotto
 | ||||
| @ -702,9 +705,6 @@ void TPrint_saldana_recordset::parse_saldana(TAssoc_array* cms, const TDate& dat | ||||
|       //..negativo sopravvivono!
 | ||||
| 			if (indice >= 0) | ||||
| 			{ | ||||
|         //ci sono filtri o raggruppamenti per fase o centro di costo?
 | ||||
|         const TString80 fase = saldana.get(SALDANA_FASE); | ||||
|         const TString80 cdc = saldana.get(SALDANA_COSTO); | ||||
|         //ricava la chiave completa per l'assoc_array comprendendo eventuali fasi e/o cdc
 | ||||
|         TString80 chiave; | ||||
|         ricava_chiave_cdc_fase(codcms, fase, cdc, chiave); | ||||
| @ -727,10 +727,6 @@ void TPrint_saldana_recordset::parse_saldana(TAssoc_array* cms, const TDate& dat | ||||
|           //aggiorna totali della commessa (importi per codcms senza tener conto di fase o cdc)
 | ||||
|           TAssoc_array& riga_tot = get_row(_totali[indice], codcms, indice, codcms, EMPTY_STRING, EMPTY_STRING, | ||||
| 																					 gruppo); | ||||
| #ifdef DBG | ||||
|           if (codcms == "FP10VB22388OP" && indbil == 4) | ||||
|             int cazzone = 1; | ||||
| #endif | ||||
| 				  aggiorna_importo(riga_tot, gruppo, indbil, saldana, false, true); | ||||
|         } | ||||
|         //stima ricavi ca3900 (_tipo=9)
 | ||||
| @ -765,11 +761,11 @@ void TPrint_saldana_recordset::parse_saldana(TAssoc_array* cms, const TDate& dat | ||||
| 				//..selezionato sulla maschera (CRPA request)
 | ||||
| 				if (anno_saldo < _anno) | ||||
| 				{ | ||||
| 					TString16 cazzo_cod; cazzo_cod.format("detr_al_%04d", _anno - 1);   | ||||
| 					TString16 cazzo_cod; cazzo_cod.format("DETR_AL_%04d", _anno - 1);   | ||||
| 					TString cazzo_descr = "DETRAZIONE PER COMPETENZA FINO AL "; | ||||
| 					cazzo_descr << (_anno - 1); | ||||
|           TAssoc_array& riga_array = get_row(cms[indice], CMS_DEL_CAZZO, indice, cazzo_cod,  | ||||
| 																						 EMPTY_STRING, EMPTY_STRING, cazzo_descr); | ||||
| 																						 fase, cdc, cazzo_descr); | ||||
|           if (_tipo == 8) | ||||
|           { | ||||
|             //calcolo delle detrazioni (is_detrazione = true)
 | ||||
| @ -1636,9 +1632,8 @@ const TVariant& TPrint_saldana_recordset::get(const char* column_name) const | ||||
|   return NULL_VARIANT; | ||||
| } | ||||
| 
 | ||||
| void TPrint_saldana_recordset::set_filter(const TMask& msk, const TString& curr_sublevel) | ||||
| void TPrint_saldana_recordset::set_filter(const TMask& msk, const char * curr_fase, const char * curr_cdc) | ||||
| { | ||||
|   _fase = _cdc = ""; | ||||
|   _forza_maturato = false; | ||||
| 
 | ||||
| 	//tira su un po' di parametri dalla maschera...
 | ||||
| @ -1646,6 +1641,7 @@ void TPrint_saldana_recordset::set_filter(const TMask& msk, const TString& curr_ | ||||
|   _datacalcolo = msk.get_date(F_FINE_ES); | ||||
| 	//prende anche il prefix
 | ||||
| 	TString80 prefix; | ||||
| 
 | ||||
| 	for (short id = F_PRE1; id <= F_PRE3 && msk.id2pos(id) > 0; id++) | ||||
| 		prefix << msk.get(id); | ||||
| 	_indicatori.set_prefix(prefix); | ||||
| @ -1662,8 +1658,10 @@ void TPrint_saldana_recordset::set_filter(const TMask& msk, const TString& curr_ | ||||
|     _tipostampa = msk.get_int(F_TIPOSTAMPA); | ||||
|     _detrazioni_consuntive = msk.get_bool(F_DETR_CONS); | ||||
| 
 | ||||
|     //in base al tipo di stampa selezionata setta un po' di parametri
 | ||||
|     switch (_tipostampa) | ||||
| 		_fase = curr_fase; | ||||
| 		_cdc = curr_cdc; | ||||
| 		//in base al tipo di stampa selezionata setta un po' di parametri ?? un po folle eliminato
 | ||||
| /*    switch (_tipostampa)
 | ||||
|     { | ||||
|     case 1: | ||||
|       _fase = msk.get(F_FASE); | ||||
| @ -1678,14 +1676,14 @@ void TPrint_saldana_recordset::set_filter(const TMask& msk, const TString& curr_ | ||||
|       _cdc = msk.get(F_CDC); | ||||
|       break; | ||||
|     case 4: | ||||
|       _fase = curr_sublevel; | ||||
| 			_fase = curr_fase; | ||||
|       break; | ||||
|     case 8: | ||||
|       _cdc = curr_sublevel; | ||||
|       _cdc = curr_cdc; | ||||
|       break; | ||||
|     default: | ||||
|       break; | ||||
|     } | ||||
|     }*/ | ||||
|   } //if(tipo==8..
 | ||||
|   else | ||||
|   if (_tipo == 9) | ||||
| @ -1694,8 +1692,8 @@ void TPrint_saldana_recordset::set_filter(const TMask& msk, const TString& curr_ | ||||
|       _include_documenti = msk.get_bool(F_INCLUDE_DOCUMENTI); | ||||
|       _tipostampa = msk.get_int(F_TIPOSTAMPA); | ||||
| 
 | ||||
|       //in base al tipo di stampa selezionata setta un po' di parametri
 | ||||
|       switch (_tipostampa) | ||||
|       //in base al tipo di stampa selezionata setta un po' di parametri  un po folle eliminato
 | ||||
| /*      switch (_tipostampa)
 | ||||
|       { | ||||
|       case 1: | ||||
|         _fase = msk.get(F_FASE); | ||||
| @ -1711,6 +1709,6 @@ void TPrint_saldana_recordset::set_filter(const TMask& msk, const TString& curr_ | ||||
|         break; | ||||
|       default: | ||||
|         break; | ||||
|       } | ||||
|       } */ | ||||
|   } | ||||
| } | ||||
|  | ||||
| @ -42,16 +42,17 @@ protected: | ||||
| 	void analize_pconana_structure (const TString& prefix, const int depth,  | ||||
| 																	TString_array& codici, TString_array& testate) const; | ||||
| 	bool generate_columns (TString_array& codici, TString_array& testate, const int model_id,  | ||||
|                          const bool show_fasi, const bool show_cdc, const bool show_cms_descr, const bool show_cms_date); | ||||
|                          const bool show_fasi, const bool show_cdc, const bool show_cms_descr, const bool show_cms_date, const bool sintetica); | ||||
| 	void offset_and_fill_columns(TReport_section& rep_sect, const TString_array& str_arr,  | ||||
| 															 const int model_id, const bool show_fasi, const bool show_cdc,  | ||||
|                                const bool show_cms_descr, const bool show_cms_date); | ||||
|                                const bool show_cms_descr, const bool show_cms_date, const bool sintetica); | ||||
|   void offset_and_fill_sectionf4(TReport_section& rep_sect, const int model_id); | ||||
|   int show_hide_left_column(const bool show_fld, TReport_field* fld, int x0); | ||||
| 
 | ||||
| public: | ||||
| 	TCRPA_report (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); | ||||
|                 const bool show_fasi, const bool show_cdc, const bool show_cms_descr, const bool show_cms_date, const bool sintetica, | ||||
| 								const bool intestazione_minima); | ||||
| }; | ||||
| 
 | ||||
| ///////////////////////////////////////////////////////////////
 | ||||
| @ -138,7 +139,7 @@ protected: | ||||
| 												const TDate& proroga = NULLDATE) const; | ||||
| 
 | ||||
| public: | ||||
|   virtual void set_filter(const TMask& msk, const TString& curr_sublevel); | ||||
|   virtual void set_filter(const TMask& msk, const char * curr_fase = "", const char * curr_cdc =""); | ||||
|   TPrint_saldana_recordset(int tipo) : _tipo(tipo) { } | ||||
| }; | ||||
| 
 | ||||
|  | ||||
| @ -20,6 +20,8 @@ | ||||
| #define F_INCLUDE_DOCUMENTI 116 | ||||
| #define F_SHOW_CMS_DESCR  117 | ||||
| #define F_SHOW_CMS_DATE   118 | ||||
| #define F_STAMPA_SINTETICA 119 | ||||
| #define F_INTESTAZIONE_MINIMA 120 | ||||
| 
 | ||||
| /* campi per la generazione automatica
 | ||||
| #define F_FASE1         112 | ||||
|  | ||||
| @ -184,7 +184,7 @@ void TPrint_stima_ricavi_rep::set_filter(const TPrint_stima_ricavi_mask& msk) | ||||
| { | ||||
| 	TPrint_stima_ricavi_recordset* recset = new TPrint_stima_ricavi_recordset();  | ||||
| 
 | ||||
|   recset->set_filter(msk, ""); | ||||
|   recset->set_filter(msk); | ||||
| 	TAnal_report::set_recordset(recset); | ||||
| } | ||||
| 
 | ||||
|  | ||||
| @ -171,13 +171,13 @@ bool TCausale::datareg_prec() const | ||||
| bool TCausale::reverse_charge() const | ||||
| { | ||||
|   const int rsi = regime_speciale(); | ||||
|   return rsi >= 13 || rsi <= 18 || rsi == 50 || rsi == 51;   // Reverse charge!
 | ||||
|   return (rsi >= 13 && rsi <= 18) || rsi == 50 || rsi == 51;   // Reverse charge!
 | ||||
| } | ||||
| 
 | ||||
| bool TCausale::reverse_charge_pubb() const | ||||
| { | ||||
| 	const int rsi = regime_speciale(); | ||||
| 	return rsi >= 13 || rsi <= 19 || rsi == 50 || rsi == 51;   // Reverse charge!
 | ||||
| 	return (rsi >= 13 && rsi <= 19) || rsi == 50 || rsi == 51;   // Reverse charge!
 | ||||
| } | ||||
| 
 | ||||
| bool TCausale::esclusione_allegati() const | ||||
|  | ||||
| @ -2467,17 +2467,11 @@ void TLiquidazione_app::set_grand_2000(_DescrItem& d, int &rw) | ||||
|   }                                       | ||||
|   else | ||||
|   { | ||||
| 		if (_month = 12) | ||||
| 		{ | ||||
| 			const real i = -iva; | ||||
| 			set_row(rw++, FR("@23gIMPORTO A CREDITO@75g%r"), &i); | ||||
| 		} | ||||
| 		if (_isannual) | ||||
|     {                                          | ||||
|       const real& credito = d._r20; | ||||
|       if (credito > ZERO) | ||||
|         set_row(rw++,FR("@11gCREDITO RIPORTATO NELL'ANNO SUCCESSIVO@58g%r"), &credito); | ||||
|     } | ||||
| 		if (_month == 12) | ||||
| 			print_importo(rw++, TR("IMPORTO A CREDITO"), iva); | ||||
| 		else | ||||
| 		if (_isannual && d._r20 > ZERO) | ||||
|        print_importo(rw++, TR("CREDITO RIPORTATO NELL'ANNO SUCCESSIVO"), -d._r20); | ||||
|     if (_is_visliq) | ||||
|       rw++; | ||||
|   } | ||||
|  | ||||
| @ -3473,9 +3473,10 @@ bool TReport::archive(bool signature) | ||||
| } | ||||
| 
 | ||||
| TReport::TReport()  | ||||
|        : _cpi(0), _lpi(6), _include(15, ','), _recordset(NULL), _curr_field(NULL), | ||||
|        : _cpi(0), _lpi(6), _include(15, ','), _recordset(nullptr), _curr_field(nullptr), | ||||
|          _use_printer_font(false), _save_last_printer(false), _orientation(0),  | ||||
|          _page_split(false), _page_merge(false), _rep_copy(1), _rep_copies(1) | ||||
|          _page_split(false), _page_merge(false), _rep_copy(1), _rep_copies(1), | ||||
| 				 _rep_page(0), _book_page(0) | ||||
| {  | ||||
|   _expressions.set_report(this);   | ||||
|   _prescript.set_description("PRESCRIPT"); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user