From 30b7d1a29efe4ac61a5cc20f8a8c959e5a92b6bc Mon Sep 17 00:00:00 2001 From: mtollari Date: Mon, 13 Feb 2017 11:05:57 +0000 Subject: [PATCH] =?UTF-8?q?Patch=20level=20=20=20=20=20=20=20=20=20:=2012.?= =?UTF-8?q?0=20344=20Files=20correlati=20=20=20=20=20:=20Commento=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20:=20Invertito=20totale=20con=20impon?= =?UTF-8?q?ibile,=20non=20chiedetemi=20perch=C3=A8...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://10.65.10.50/branches/R_10_00@23612 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- src/m770/777200.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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