Patch level : 12.0 550
Files correlati : bs Commento : C/F: - Disguido sulla banca, va sempre messa in riga 1 git-svn-id: svn://10.65.10.50/branches/R_10_00@24446 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
db9335219c
commit
937a1230ec
@ -906,28 +906,11 @@ void TSknet_sync::load_clifo(const char tipocf)
|
||||
|
||||
cfv.put(CFV_RAGGDOC, !odbc.get("RaggDoc").as_string().blank());
|
||||
|
||||
int riga = 1;
|
||||
// Cerco l'ultima riga
|
||||
{
|
||||
TLocalisamfile app(LF_CFBAN);
|
||||
TRectype rapp(LF_CFBAN);
|
||||
rapp.put("TIPOCF", tipocf);
|
||||
rapp.put("CODCF", codcf);
|
||||
rapp.put("", "V");
|
||||
if (rapp.read(app, _isgteq) == NOERR)
|
||||
{
|
||||
while (rapp.get("TIPOCF") == tipocf && rapp.get("CODCF") == codcf && rapp.get("TIPOBAN") == "V")
|
||||
{
|
||||
riga++;
|
||||
rapp.next(app);
|
||||
}
|
||||
}
|
||||
}
|
||||
TLocalisamfile cfb(LF_CFBAN);
|
||||
cfb.put("TIPOCF", tipocf);
|
||||
cfb.put("CODCF", codcf);
|
||||
cfb.put("TIPOBAN", "V");
|
||||
cfb.put("NRIGA", riga);
|
||||
cfb.put("NRIGA", 1);
|
||||
TString cin, abi, cab, contcor, iban;
|
||||
if (tipocf == 'C')
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user