From 6f88b579915e07f49ffae3641674a18ed890557e Mon Sep 17 00:00:00 2001 From: cris Date: Thu, 3 Jun 2004 10:00:49 +0000 Subject: [PATCH] Patch level : OMASA Files correlati : cgp4.exe Ricompilazione Demo : [ ] Commento : lettura del campo INDBIL dal conto e non dal sottoconto, per decidere se mettere o meno la commessa git-svn-id: svn://10.65.10.50/trunk@12135 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- cg/cgp4100.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cg/cgp4100.cpp b/cg/cgp4100.cpp index f676c7102..9f80368c2 100755 --- a/cg/cgp4100.cpp +++ b/cg/cgp4100.cpp @@ -412,7 +412,9 @@ bool TOmasa::transfer() movpn->set("SEZIONE", "A"); importos.strip("-"); movpn->set("IMPORTO", importos); - const char indbil = cache().get(LF_PCON, conto, PCN_INDBIL)[0]; + TString16 contoindbil; + contoindbil.format("%s|%s", conto.get(0), conto.get(1)); + const char indbil = cache().get(LF_PCON, contoindbil, PCN_INDBIL)[0]; if ((indbil != '1') && (indbil != '2')) movpn->set("CODCMS", _configfile->get(codcms, "COMMESSE")); movpn->set("GRUPPO", conto.get(0));