Patch level : 10.1050
Files correlati : mg1.exe Ricompilazione Demo : [ ] Commento : NOn venira aggiornato l'ultimo costo nella ricostruzione saldi git-svn-id: svn://10.65.10.50/branches/R_10_00@22369 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
		
							parent
							
								
									03cf81559c
								
							
						
					
					
						commit
						27e6e0897e
					
				@ -70,6 +70,8 @@ protected:
 | 
			
		||||
public:
 | 
			
		||||
  //***********************
 | 
			
		||||
  // struttura
 | 
			
		||||
 | 
			
		||||
  void set_nuovo(bool nuovo) { _nuovo = nuovo; }
 | 
			
		||||
  // @cmember restituisce il record di testata
 | 
			
		||||
  const TAuto_variable_rectype& head() const { return *this; } // Ritorna la testata del documento
 | 
			
		||||
  // @cmember restituisce il record di testata
 | 
			
		||||
 | 
			
		||||
@ -608,9 +608,12 @@ bool TMov_mag::update_balances(bool lock)
 | 
			
		||||
 | 
			
		||||
  for (int i = b.last_row(); i > 0; i = b.pred_row(i))
 | 
			
		||||
    if (causale(i).update_ultcos())
 | 
			
		||||
    {        
 | 
			
		||||
    { 
 | 
			
		||||
 | 
			
		||||
			const TRectype & rec = b[i];
 | 
			
		||||
			TArticolo & art = articolo(i);
 | 
			
		||||
 | 
			
		||||
      art.set_nuovo(false);
 | 
			
		||||
			if (art.lock_and_prompt(lock ? _testandlock : _nolock))
 | 
			
		||||
			{
 | 
			
		||||
				const real prezzo = art.convert_to_um(rec.get_real(RMOVMAG_PREZZO), NULL, rec.get(RMOVMAG_UM), false);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user