Patch level : 10.0
Files correlati : ps0713 Ricompilazione Demo : [ ] Commento : Correzioni sull'analitica - Riportate su questi programmi quelle fatte sul ps0713300 git-svn-id: svn://10.65.10.50/trunk@20521 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
291d82d6bc
commit
82acb7bf4a
@ -124,6 +124,8 @@ void TImporta_spese_app::genera_movana(const long numreg, TAssoc_array& righean)
|
||||
key.add(1);
|
||||
key.add(1);
|
||||
const TRectype& causale = cache().get(LF_RCAUSALI, key);
|
||||
key.add(2, 1);
|
||||
const TRectype& causale1 = cache().get(LF_RCAUSALI, key);
|
||||
|
||||
//instanzio il movimento di analitica
|
||||
TAnal_mov anmo(0);
|
||||
@ -155,7 +157,7 @@ void TImporta_spese_app::genera_movana(const long numreg, TAssoc_array& righean)
|
||||
|
||||
TRectype& ranmo = anmo.new_row();
|
||||
ranmo.put(RMOVANA_ANNOES, anno);
|
||||
ranmo.put(RMOVANA_SEZIONE, causale.get("SEZIONE"));
|
||||
ranmo.put(RMOVANA_SEZIONE, causale1.get("SEZIONE"));
|
||||
ranmo.put(RMOVANA_CODCONTO, codconto);
|
||||
ranmo.put(RMOVANA_CODCMS, idlav);
|
||||
ranmo.put(RMOVANA_IMPORTO, importo.valore().string());
|
||||
|
@ -219,6 +219,8 @@ void TImporta_fat_for_app::genera_analitica(TAssoc_array& righean, TCommessa_str
|
||||
key.add(1);
|
||||
const TRectype& causale = cache().get(LF_RCAUSALI, key);
|
||||
const int anno = _msk->get_date(F_DATADOC).year();
|
||||
key.add(2, 1);
|
||||
const TRectype& causale1 = cache().get(LF_RCAUSALI, key);
|
||||
|
||||
//instanzio il movimento di analitica
|
||||
TAnal_mov anmo(0);
|
||||
@ -276,7 +278,7 @@ void TImporta_fat_for_app::genera_analitica(TAssoc_array& righean, TCommessa_str
|
||||
{
|
||||
TRectype& ranmo = anmo.new_row();
|
||||
ranmo.put(RMOVANA_ANNOES, anno);
|
||||
ranmo.put(RMOVANA_SEZIONE, causale.get("SEZIONE"));
|
||||
ranmo.put(RMOVANA_SEZIONE, causale1.get("SEZIONE"));
|
||||
ranmo.put(RMOVANA_CODCONTO, codconto);
|
||||
ranmo.put(RMOVANA_CODCMS, idlav);
|
||||
ranmo.put(RMOVANA_IMPORTO, imp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user