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
This commit is contained in:
luca83 2010-06-09 07:12:45 +00:00
parent 39021725fa
commit c6b45b57b8

View File

@ -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);