From 8ec55f66a3b0d034718df0bf7786f2b62fc3f071 Mon Sep 17 00:00:00 2001 From: bonazzi Date: Sat, 1 Apr 2017 15:10:02 +0000 Subject: [PATCH] Patch level : 12.0 370 Files correlati : tc3.exe tcmenu.men tc3100a.uml tc3800a.uml tctbrca.uml tctbrco.uml tctbriv.uml tctbrpg.uml tctbrre.uml tctbrvl.uml POrgramma di ricezione da Ericsoft versione 1 git-svn-id: svn://10.65.10.50/branches/R_10_00@23721 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- src/tc/tc3100.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/tc/tc3100.cpp b/src/tc/tc3100.cpp index 70c748ccc..e0a1d6895 100644 --- a/src/tc/tc3100.cpp +++ b/src/tc/tc3100.cpp @@ -598,9 +598,10 @@ void TImportaEricsoft::upload_cli(const TFilename& file, TLog_report& log) */ clifo.put(CLI_COFI, cofi); //cod. fisc. } + + const TString & ricalt = clifo.get(CLI_RICALT); - if (!clifo.get(CLI_RICALT).starts_with("E")) - clifo.put(CLI_RICALT, key); //ragsoc + clifo.put(CLI_RICALT, key); //ragsoc TString str; str << "Il Cliente codice (" << clifo.get(CLI_CODCF) <<") " << ragsoc << " "; @@ -850,7 +851,7 @@ void TImportaEricsoft::upload_mov(const TFilename& file, TLog_report& log) clifo.setkey(6); clifo.zero(); - clifo.put(CLI_TIPOCF, "C"); + clifo.put(CLI_TIPOCF, tipocf); clifo.put(CLI_RICALT, key); if (clifo.read() == NOERR) codcf = clifo.get_long(CLI_CODCF); @@ -1014,7 +1015,7 @@ void TImportaEricsoft::upload_mov(const TFilename& file, TLog_report& log) ini->set(MOV_CAMBIO, cambio.string()); } } - else +/* else if (nriga == 0 && tipocf.full()) { ini->set_paragraph(format("%d,%d",LF_RMOV, ++nriga)); @@ -1029,7 +1030,7 @@ void TImportaEricsoft::upload_mov(const TFilename& file, TLog_report& log) ini->set(RMV_CONTO, conto); ini->set(RMV_SOTTOCONTO, sottoconto); ini->set(RMV_ROWTYPE, "T"); - } + } */ } if (numreg > 0L) {