From 550efff7ce7d3115d4a1a2b69fc1f496015251a7 Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 8 Sep 2010 16:07:37 +0000 Subject: [PATCH] Patch level : 10.0 nopatch Files correlati : ps0713.exe Ricompilazione Demo : [ ] Commento Importazione fatture ATS git-svn-id: svn://10.65.10.50/branches/R_10_00@20835 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- ps/ps0713300.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ps/ps0713300.cpp b/ps/ps0713300.cpp index ef55d6378..edfe4a1c5 100755 --- a/ps/ps0713300.cpp +++ b/ps/ps0713300.cpp @@ -105,7 +105,7 @@ bool TImporta_fatacq_app::get_doc(const TFilename& file, const TMask & m) real imp(tmp); imp.round(doc.decimals()); if (imp != ZERO) { - TRiga_documento & row = doc.new_row("06"); + TRiga_documento & row = doc.new_row("A6"); row.put(RDOC_CODART, p.codice()); row.put(RDOC_CHECKED, "X"); @@ -124,9 +124,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, s.get(2).as_int()); - row.put(RDOC_QTAGG2, s.get(3).as_int()); - row.put(RDOC_QTAGG3, s.get(4).as_int()); + row.put(RDOC_QTAGG1, ankey.gruppo()); + row.put(RDOC_QTAGG2, ankey.conto()); + row.put(RDOC_QTAGG3, ankey.sotco()); } } TString16 codsp = m.get(F_CODSP1);