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@20828 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 2010-09-08 10:00:22 +00:00
parent 220332e850
commit 3f11c4443a

View File

@ -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);