Patch level : 12.0

Files correlati     : m77

Commento:
Modificata la logica di esecuzione in caso di operazione di annullamento in modo che esporti solo i record di tipo D.
Precedentemente venivano esportati sia i tipi record D che H.
This commit is contained in:
smen 2023-03-17 14:47:31 +01:00
parent 6669883881
commit 907d50e59e
2 changed files with 5 additions and 2 deletions

View File

@ -1293,8 +1293,9 @@ void TCU_app::main_loop()
for (bool ok = perc.move_first(); ok; ok = perc.move_next())
{
t.append_record_d(rec, log);
t.append_record_h(rec, modulo, log);
t.append_record_d(rec, log);
if (t.get_operazione() != 'A')
t.append_record_h(rec, modulo, log);
pp.add_status();
}
}

View File

@ -74,6 +74,8 @@ public:
void set_inter(const TString& interm, const TDate& dtimp, int year) { _codfis_int = interm; _data_imp = dtimp; _anno = year; }
void set_operazione(char t, const TString& iden);
const char get_operazione() { return _tipo_operazione; }
bool append_record_b();
bool append_record_d(const TRectype& rec, TLog_report& log);
bool append_record_h(const TRectype& rec, int modulo, TLog_report& log);