Patch level : 4.0 no patch

Files correlati     : crpa0.exe
Ricompilazione Demo : [ ]
Commento            : perc_indetraibilita() ancora non c'e'


git-svn-id: svn://10.65.10.50/trunk@16218 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
cris 2008-02-26 12:02:07 +00:00
parent 6955ed227e
commit 568c67a689

View File

@ -161,7 +161,9 @@ void TIni2Sql::leggidadoc(const TString& elabfield, TString& tmpstr)
TString80 codcms = _rigadoc->codice_commessa();
bool lordo = cache().get("CMS", codcms, "S7") == "NR";
const TTipo_riga_documento tiporig = _rigadoc->tipo();
real perc_ind = tiporig.perc_indetraibilita();
//real perc_ind = tiporig.perc_indetraibilita();
const TRectype& tri = cache().get("%TRI", tiporig.codice());
real perc_ind = tri.get_real("R0");
if (lordo)
perc_ind = 100.0;
if (perc_ind != ZERO)