Patch level : 12.01 1302

Files correlati     : f90.exe
Commento            :

L'exsportazione di Dinamica
This commit is contained in:
Alessandro Bonazzi 2023-11-10 11:39:13 +01:00
parent 3838875d9a
commit d4d82799fc
2 changed files with 3 additions and 2 deletions

View File

@ -960,7 +960,7 @@ bool TEstrazione::pura_iva(const TRectype& mov)
void TEstrazione::write_errorsql_log(const TString& query)
{
_log->log(2, query);
_log->log(2, ((TString &)query).strip("\n"));
_log->log(2, fp_db().sq_get_string_error());
_log->log(2, fp_db().sq_get_text_error());
_log->line();
@ -1409,10 +1409,10 @@ bool TEstrazione::estrazione_iva(bool escluso)
FOR_EACH_ARRAY_ITEM(_movs, r, obj)
{
TMovimento_estr & mov_i = (TMovimento_estr &)*obj;
const TRectype mov = cache().get(LF_MOV, mov_i.numreg());
if (bar.add_status() && mov_i.estratto())
{
const TRectype& mov = cache().get(LF_MOV, mov_i.numreg());
TToken_string key = mov.get(MOV_TIPO);
key.add(mov.get(MOV_CODCF));

View File

@ -322,6 +322,7 @@ bool TIva_insert_prepared_stat::get(TString& query)
if (_query.empty())
write();
query.cut(0) << _query;
_ok = _query.full();
return _ok;
}