Patch level :

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :


git-svn-id: svn://10.65.10.50/branches/R_10_00@21188 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2010-11-24 13:52:09 +00:00
parent f1a956c591
commit ae34c4b525
2 changed files with 19 additions and 2 deletions

View File

@ -869,6 +869,23 @@ bool THardy_clienti::trasferisci_clienti()
rec.zero();
rec.put(CLI_TIPOCF, "C");
rec.put(CLI_CODCF, codcf);
// banca
TString8 codabi = get_str("IdBanca");
codabi.lpad(5,'0');
TString8 codcab = get_str("IdAgenzia");
codcab.lpad(5,'0');
TString16 codtab = codabi;
codtab << codcab;
const TRectype& ban = cache().get("%BAN", codtab);
if (ban.empty())
{
codabi = "";
codcab = "";
}
rec.put(CLI_CODABI, codabi);
rec.put(CLI_CODCAB, codcab);
// ricerca comune
const TString8 cap = get_str("IdCap"); //cap
TString80 loc = get_str("Localita"); //località

View File

@ -226,7 +226,7 @@ STATO =
CODVAL =
CODLIN =
FIDO =
CODPAG =
CODPAG = IdPagamento
RICALT = IdConto
OGGETTI =
SOSPESO =
@ -267,7 +267,7 @@ STATO =
CODVAL =
CODLIN =
FIDO =
CODPAG =
CODPAG = IdPagamento
RICALT = IdConto
OGGETTI =
SOSPESO =