diff --git a/src/tc/tc3100.cpp b/src/tc/tc3100.cpp index 219b13f1b..495bb3e19 100644 --- a/src/tc/tc3100.cpp +++ b/src/tc/tc3100.cpp @@ -843,8 +843,6 @@ void TImportaEricsoft::upload_mov(const TFilename& file, TLog_report& log) default: break; } - if (tipocf.full()) - sottoconto = codcf; if (codcf != 0L) { TString16 key; key.format("E%ld", codcf); @@ -858,6 +856,8 @@ void TImportaEricsoft::upload_mov(const TFilename& file, TLog_report& log) else log.log(3, format(FR("Codice cliente Ericsoft %ld assente"), codcf)); } + if (tipocf.full()) + sottoconto = codcf; const TDate datacomp = s.get(6).as_date(); const int tiporeg = s.get(7).as_int();