Patch level : 2.1.070
Files correlati : db1.exe Ricompilazione Demo : [ ] Commento : Alcuni articoli non vengono implosi per niente. Vedi art. 01.50.00.2912 Ditta Gianni Ferrari git-svn-id: svn://10.65.10.50/trunk@12196 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
		
							parent
							
								
									9e3610c8e3
								
							
						
					
					
						commit
						1640e6374f
					
				@ -60,6 +60,8 @@ bool TXmas_tree::add_head(const TCodice_articolo& art)
 | 
			
		||||
    if (rec.empty())
 | 
			
		||||
      rec.put("CODDIST", art);
 | 
			
		||||
    const int err = rec.write(*_dist);
 | 
			
		||||
 | 
			
		||||
		_cache_dist->discard(art);
 | 
			
		||||
    added = err == NOERR;
 | 
			
		||||
  }
 | 
			
		||||
  return added;
 | 
			
		||||
@ -113,6 +115,12 @@ void TXmas_tree::add_branch(TDistinta_tree& dt)
 | 
			
		||||
      curr.put("UM", um);
 | 
			
		||||
      curr.put("EXPR", qta);
 | 
			
		||||
      int err = curr.write(*_rdist);
 | 
			
		||||
 | 
			
		||||
			TString k;
 | 
			
		||||
 | 
			
		||||
			k.format("%s|%d", (const char *) art, c);
 | 
			
		||||
			_cache_rdist->discard(k);
 | 
			
		||||
			
 | 
			
		||||
      CHECKD(err == NOERR, "Rdist write error ", err);
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user