Patch level : 10.0 802
Files correlati : tc0.exe Ricompilazione Demo : [ ] Commento : Modificata la codifica dei conti clienti e fornitori sui movimenti non IVA git-svn-id: svn://10.65.10.50/branches/R_10_00@20689 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
		
							parent
							
								
									795e6fb19d
								
							
						
					
					
						commit
						a945be2e37
					
				@ -724,7 +724,7 @@ void TTS_sender::add_diversi(const TRecordset& mov, const bool moviva)
 | 
			
		||||
		const long so = rmov.get(RMV_SOTTOCONTO).as_int();
 | 
			
		||||
		char t = rmov.get(RMV_TIPOC).as_string()[0];
 | 
			
		||||
		bool one_clifor =(dont_send_clifo && t > ' ');
 | 
			
		||||
		const long contoricl = bill2ricl(t, gr, co, so); //, one_clifor);
 | 
			
		||||
		const long contoricl = bill2ricl(t, gr, co, so, !moviva); //, one_clifor);
 | 
			
		||||
//		bool add_rec = (j >= 80) || (dont_send_clifo && t > ' ');
 | 
			
		||||
		bool add_rec = (j >= 80) || t > ' ';
 | 
			
		||||
		if (moviva)
 | 
			
		||||
@ -892,7 +892,7 @@ void TTS_sender::add_conti_ricavo_costo(const TRecordset& mov)
 | 
			
		||||
		const long so = riva.get(RMI_SOTTOCONTO).as_int();
 | 
			
		||||
		char t = riva.get(RMI_TIPOC).as_string()[0];
 | 
			
		||||
		const long hcli = mov.get(MOV_CODCF).as_int();
 | 
			
		||||
		const long contoricl = bill2ricl(t, gr, co, so); // , hcli == so);
 | 
			
		||||
		const long contoricl = bill2ricl(t, gr, co, so); // , hcli == so); // ok
 | 
			
		||||
  	
 | 
			
		||||
		real imponibile = riva.get(RMI_IMPONIBILE).as_real() * fattore;
 | 
			
		||||
	
 | 
			
		||||
@ -1237,7 +1237,7 @@ void TTS_sender::add_clifor(char tipocf, long codcf)
 | 
			
		||||
			const int so = cli.get(CLI_SOTTOCRIC).as_int();
 | 
			
		||||
			
 | 
			
		||||
			char t = ' ';
 | 
			
		||||
			const long contoricl = bill2ricl(t, gr, co, so);
 | 
			
		||||
			const long contoricl = bill2ricl(t, gr, co, so); //ok
 | 
			
		||||
			
 | 
			
		||||
			set("TRF-CFCONTO", contoricl);
 | 
			
		||||
		}
 | 
			
		||||
@ -1449,7 +1449,7 @@ void TTS_sender::set_parameters()
 | 
			
		||||
		long so = configtc.get_long("TSSIVA", NULL, i);
 | 
			
		||||
		char t = ' ';
 | 
			
		||||
 | 
			
		||||
		long contoricl = bill2ricl(t, gr, co, so);
 | 
			
		||||
		long contoricl = bill2ricl(t, gr, co, so); // ok
 | 
			
		||||
		TString16 key; key.format("%08ld", contoricl);
 | 
			
		||||
		_contiiva.add(key, NULL);
 | 
			
		||||
	}
 | 
			
		||||
@ -1459,7 +1459,7 @@ void TTS_sender::set_parameters()
 | 
			
		||||
		long so = configtc.get_long("TSSRIT", NULL, i);
 | 
			
		||||
		char t = ' ';
 | 
			
		||||
 | 
			
		||||
		long contoricl = bill2ricl(t, gr, co, so);
 | 
			
		||||
		long contoricl = bill2ricl(t, gr, co, so); // ok
 | 
			
		||||
		TString16 key; key.format("%08ld", contoricl);
 | 
			
		||||
		_contirit.add(key, NULL);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user