Patch level :2.2 174
Files correlati :stampa rendiconto Ricompilazione Demo : [ ] Commento : Stampa rendiconto: sistemato problema dei docs con righe a commessa multipla. Aggiunto al menu il ricalcolo saldi. Allineato il campo N.Reg. nel rep git-svn-id: svn://10.65.10.50/trunk@13336 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
		
							parent
							
								
									0ffb4993aa
								
							
						
					
					
						commit
						52f895e24a
					
				@ -614,13 +614,13 @@ F=IMF*/
 | 
				
			|||||||
			tmpcurr.put("DOCORIG", riferimento);
 | 
								tmpcurr.put("DOCORIG", riferimento);
 | 
				
			||||||
		} //if(newdoc != NULL)
 | 
							} //if(newdoc != NULL)
 | 
				
			||||||
		else	//movimenti puri di analitica (no documento di origine!)
 | 
							else	//movimenti puri di analitica (no documento di origine!)
 | 
				
			||||||
		{			//****ULTIMA MODIFICA****
 | 
							{
 | 
				
			||||||
			selettore = FATTURATO;
 | 
								selettore = FATTURATO;
 | 
				
			||||||
			selettore |= MATURATO;
 | 
								selettore |= MATURATO;
 | 
				
			||||||
			selettore |= IMPEGNATO;
 | 
								selettore |= IMPEGNATO;
 | 
				
			||||||
		}	//if(newdoc != NULL)
 | 
							}	//if(newdoc != NULL)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//****modificare il metodo per accelerare
 | 
							//riempie i record del file temporaneo nel caso di rmovana con documento di origine
 | 
				
			||||||
		const char sezione = rmovana.get_char(RMOVANA_SEZIONE);
 | 
							const char sezione = rmovana.get_char(RMOVANA_SEZIONE);
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		TImporto imp(sezione, rmovana.get_real(RMOVANA_IMPORTO));
 | 
							TImporto imp(sezione, rmovana.get_real(RMOVANA_IMPORTO));
 | 
				
			||||||
@ -885,7 +885,17 @@ void TPrint_rendiconto_ca_recordset::crea_righe_da_rdoc(const TPrint_rendiconto_
 | 
				
			|||||||
				cont_anal.elabora(doc, 0, NULL, false, mov);
 | 
									cont_anal.elabora(doc, 0, NULL, false, mov);
 | 
				
			||||||
				for (int j = 1; j <= mov.rows(); j++)
 | 
									for (int j = 1; j <= mov.rows(); j++)
 | 
				
			||||||
				{
 | 
									{
 | 
				
			||||||
					scrive_riga(mov.body()[j], mov, &doc);
 | 
										//controlla che la riga in esame abbia realmente la cms/cdc/fas indicata nel filtro;
 | 
				
			||||||
 | 
										//procedimento necessario per evitare la stampa di righe appartenenti a docs elaborati
 | 
				
			||||||
 | 
										//perchè contenenti 1 riga con cms corretta ed altre righe con cms sbagliate
 | 
				
			||||||
 | 
										const TRectype& rmov = mov.body()[j];
 | 
				
			||||||
 | 
										if (_codcms.not_empty() && rmov.get(RMOVANA_CODCMS) != _codcms)
 | 
				
			||||||
 | 
											continue;
 | 
				
			||||||
 | 
										if (_codcosto.not_empty() && rmov.get(RMOVANA_CODCCOSTO) != _codcosto)
 | 
				
			||||||
 | 
											continue;
 | 
				
			||||||
 | 
										if (_codfas.not_empty() && rmov.get(RMOVANA_CODFASE) != _codfas)
 | 
				
			||||||
 | 
											continue;
 | 
				
			||||||
 | 
										scrive_riga(rmov, mov, &doc);
 | 
				
			||||||
				}	//for int j...
 | 
									}	//for int j...
 | 
				
			||||||
			}	//if numregca
 | 
								}	//if numregca
 | 
				
			||||||
		}	//for cur_rdoc..
 | 
							}	//for cur_rdoc..
 | 
				
			||||||
 | 
				
			|||||||
@ -18,7 +18,7 @@
 | 
				
			|||||||
  <field x="39" y="2.5" type="Testo" width="23" pattern="1" text="Doc. clienteF;fornitore" />
 | 
					  <field x="39" y="2.5" type="Testo" width="23" pattern="1" text="Doc. clienteF;fornitore" />
 | 
				
			||||||
  <field x="117" y="2.5" type="Testo" align="center" width="12" pattern="1" text="Riferimento" />
 | 
					  <field x="117" y="2.5" type="Testo" align="center" width="12" pattern="1" text="Riferimento" />
 | 
				
			||||||
  <field x="141" y="2.5" type="Testo" width="25" pattern="1" text="Avanzamento costiF;ricavi" />
 | 
					  <field x="141" y="2.5" type="Testo" width="25" pattern="1" text="Avanzamento costiF;ricavi" />
 | 
				
			||||||
  <field x="18.5" y="3.5" type="Testo" width="7" pattern="1" text="N. Reg." />
 | 
					  <field x="19" y="3.5" type="Testo" width="7" pattern="1" text="N. Reg." />
 | 
				
			||||||
  <field x="27" y="3.5" type="Testo" align="center" width="11" pattern="1" text="Data" />
 | 
					  <field x="27" y="3.5" type="Testo" align="center" width="11" pattern="1" text="Data" />
 | 
				
			||||||
  <field x="38" y="3.5" type="Testo" align="center" width="6" pattern="1" text="Numero" />
 | 
					  <field x="38" y="3.5" type="Testo" align="center" width="6" pattern="1" text="Numero" />
 | 
				
			||||||
  <field x="47" y="3.5" type="Testo" align="center" width="10" pattern="1" text="Data" />
 | 
					  <field x="47" y="3.5" type="Testo" align="center" width="10" pattern="1" text="Data" />
 | 
				
			||||||
@ -175,7 +175,7 @@ MESSAGE RESET,F2.103</prescript>
 | 
				
			|||||||
 </section>
 | 
					 </section>
 | 
				
			||||||
 <section type="Body" />
 | 
					 <section type="Body" />
 | 
				
			||||||
 <section type="Body" level="1">
 | 
					 <section type="Body" level="1">
 | 
				
			||||||
  <field x="19" type="Stringa" width="7" pattern="1">
 | 
					  <field x="19" type="Numero" align="right" width="7" pattern="1" hide_zero="1">
 | 
				
			||||||
   <source>NUMREG</source>
 | 
					   <source>NUMREG</source>
 | 
				
			||||||
  </field>
 | 
					  </field>
 | 
				
			||||||
  <field x="28" type="Data" width="10" pattern="1">
 | 
					  <field x="28" type="Data" width="10" pattern="1">
 | 
				
			||||||
 | 
				
			|||||||
@ -69,4 +69,5 @@ Caption = "Servizi"
 | 
				
			|||||||
Picture = <ba04>
 | 
					Picture = <ba04>
 | 
				
			||||||
Module  = 22
 | 
					Module  = 22
 | 
				
			||||||
Flags   = ""
 | 
					Flags   = ""
 | 
				
			||||||
Item_01 = "Trasferimento dati a Contabilita' Analitica", "cacnv -0", "F"
 | 
					Item_01 = "Trasferimento dati da Contabilità Generale", "cacnv -0", "F"
 | 
				
			||||||
 | 
					Item_02 = "Ricalcolo saldi", "ca2 -2", "F"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user