Patch level :10.0

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :controllo su query estarzione fornitore. senza i movimenti il fornitore deve essere blank


git-svn-id: svn://10.65.10.50/trunk@20270 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
lvietri 2010-03-24 10:43:56 +00:00
parent 2f2a899dd9
commit d7e72d7125

View File

@ -349,13 +349,17 @@ void TCarrelli_app::elabora(const TMask& mask)const
}
}*/
//RECUPERO FORNITORE
descr_conto=descr_null;//S
TISAM_recordset fornitore(get_query(5,false,commessa));
for(bool ok3 = fornitore.move_last();ok3;ok3=fornitore.move_next())
{
descr_conto = fornitore.get("CLIFO.RAGSOC").as_string();
if(fornitore.get("MOVANA.NUMREGCG").as_int() == 0 ||
fornitore.get("MOVANA.NUMREGCG").as_string().empty() ){
}else{
descr_conto = fornitore.get("CLIFO.RAGSOC").as_string();
}
break;
}
/*if(fornitore.move_next()){