Patch level : 12.0 344

Files correlati     : 
Commento            : Invertito totale con imponibile, non chiedetemi perchè...

git-svn-id: svn://10.65.10.50/branches/R_10_00@23612 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
mtollari 2017-02-13 11:05:57 +00:00
parent 41771708fa
commit 30b7d1a29e

View File

@ -744,13 +744,15 @@ bool TTrasferimentoCU::append_record_h(const TRectype& qla, int modulo, TLog_rep
rec.np_put("AU001002", qla.get_long("ANNO")); // Potrebbe essere anche l'anno precedente
// rec.np_put("AU001003", "");
rec.np_put("AU001004", qla.get_real("TOTALE"));
//rec.np_put("AU001004", qla.get_real("TOTALE"));
rec.np_put("AU001004", qla.get_real("IMPONIBILE")); // <-- Perchč?
if (perc.estero())
rec.np_put("AU001005", qla.get_real("SOMREGCONV"));
real altre_somme = qla.get_real("SOMME");
real imponibile = qla.get_real("IMPONIBILE");
//real imponibile = qla.get_real("IMPONIBILE");
real imponibile = qla.get_real("TOTALE"); // <-- Perchč?
const TString4 codcaus = qla.get("CODCAUS");
long codice = atol(cache().get("%CA7", codcaus, "I1")); // 1, 2, 5, 6