diff --git a/src/m770/777200.cpp b/src/m770/777200.cpp index a159e9059..8efe1d67b 100755 --- a/src/m770/777200.cpp +++ b/src/m770/777200.cpp @@ -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