From c6b45b57b8844254d0851558c2bba43d8f52637b Mon Sep 17 00:00:00 2001 From: luca83 Date: Wed, 9 Jun 2010 07:12:45 +0000 Subject: [PATCH] Patch level : 10.0 Files correlati :ps0713 Ricompilazione Demo : [ ] Commento : Aggiunto il conto sulle righe contabili git-svn-id: svn://10.65.10.50/trunk@20554 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- ps/ps0713600.cpp | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/ps/ps0713600.cpp b/ps/ps0713600.cpp index 3cd4eb69e..7e47f78cb 100755 --- a/ps/ps0713600.cpp +++ b/ps/ps0713600.cpp @@ -487,11 +487,17 @@ void TImporta_fat_for_app::importa_fat_ric(TAssoc_array& righecg, TCommessa_stri TImporto importo(causale2.get("SEZIONE")[0], imp); - const real rimposta = imp * iva / CENTO; + const real rimposta = imp * iva / CENTO; - configfile->set(RMV_ANNOES, anno); - configfile->set(RMV_SEZIONE, causale2.get("SEZIONE")); - configfile->set(RMV_IMPORTO, importo.valore().string()); + const TCommessa cms(idlav); + TCommessa_string cmsstr = cms.cmsstr(); + + configfile->set(RMV_ANNOES, anno); + configfile->set(RMV_SEZIONE, causale2.get("SEZIONE")); + configfile->set(RMV_IMPORTO, importo.valore().string()); + configfile->set(RMV_GRUPPO, cmsstr.gruppo()); + configfile->set(RMV_CONTO, cmsstr.conto()); + configfile->set(RMV_SOTTOCONTO, cmsstr.sotco()); } } @@ -508,6 +514,9 @@ void TImporta_fat_for_app::importa_fat_ric(TAssoc_array& righecg, TCommessa_stri configfile->set(RMV_ANNOES, anno); configfile->set(RMV_SEZIONE, causale2.get("SEZIONE")); configfile->set(RMV_IMPORTO, importo.valore().string()); + configfile->set(RMV_GRUPPO, kmax.gruppo()); + configfile->set(RMV_CONTO, kmax.conto()); + configfile->set(RMV_SOTTOCONTO, kmax.sotco()); } paragraph.format("%d,%d", LF_RMOVIVA, ++nrigaco);