diff --git a/ps/ps0713300.cpp b/ps/ps0713300.cpp index c7ec2b67e..928c8816d 100755 --- a/ps/ps0713300.cpp +++ b/ps/ps0713300.cpp @@ -87,8 +87,9 @@ bool TImporta_fatacq_app::get_doc(const TFilename& file, const TMask & m) doc.put(DOC_TIPOCF, "F"); doc.put(DOC_CODCF, m.get(F_CODCF)); doc.put(DOC_DATADOC, datadoc); + doc.cli2doc(); - int nriga = 1; + int nriga = 1; TSpesa_prest p("GENPR", 'P'); for (bool ok = s.move_first(); ok; ok = s.move_next()) @@ -121,9 +122,9 @@ bool TImporta_fatacq_app::get_doc(const TFilename& file, const TMask & m) row.put(RDOC_DESCR, descr); row.put(RDOC_CODCMS, codcom); - row.put(RDOC_QTAGG1, ankey.gruppo()); - row.put(RDOC_QTAGG2, ankey.conto()); - row.put(RDOC_QTAGG3, ankey.sotco()); + row.put(RDOC_QTAGG1, s.get(2).as_int()); + row.put(RDOC_QTAGG2, s.get(3).as_int()); + row.put(RDOC_QTAGG3, s.get(4).as_int()); } TString16 codsp = m.get(F_CODSP1); real perc = m.get(F_PERCSP1);