Patch level : 2.1 112

Files correlati     : ab0.exe
Ricompilazione Demo : [ ]
Bug 0000230
 Abilitare la selezione per commessa anche sulla riclassificazione per analisi


git-svn-id: svn://10.65.10.50/trunk@12313 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 2004-09-14 15:11:04 +00:00
parent fe18e44f31
commit 9233353811

View File

@ -535,8 +535,19 @@ void TRicl_saldi::get_code(const TRectype &rec, bool cee, bool reverse, TString
code.trim();
}
}
else
else
{
code = rec.get(PCN_CODCBL);
if (code.empty())
{
TToken_string key(rec.get(PCN_GRUPPO));
key.add(rec.get(PCN_CONTO));
key.add("");
const TRectype & conto = cache().get(LF_PCON, key);
code = conto.get(PCN_CODCBL);
}
}
}
void TRicl_saldi::map(int gruppo, int conto, long sottoconto, bool reverse, TString & code)