Messaggio interno:
patch con log errore esteso
This commit is contained in:
parent
4ddd2b7786
commit
6be7e2d4f0
@ -26,6 +26,10 @@
|
|||||||
#include <scadenze.h>
|
#include <scadenze.h>
|
||||||
#include <utility.h>
|
#include <utility.h>
|
||||||
|
|
||||||
|
|
||||||
|
#include <iostream>
|
||||||
|
#include <fstream>
|
||||||
|
|
||||||
bool set_connection(SSimple_query& s)
|
bool set_connection(SSimple_query& s)
|
||||||
{
|
{
|
||||||
bool ok = true;
|
bool ok = true;
|
||||||
@ -1164,8 +1168,15 @@ bool TDoc_fp::insert(TPaf_record& p, bool force)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
ok = p.insert(force);
|
ok = p.insert(force);
|
||||||
|
|
||||||
if (!ok)
|
if (!ok)
|
||||||
{
|
{
|
||||||
|
//LOG PROVVISORIO PER RISOLVERE PROBLEMA TOSTO
|
||||||
|
ofstream myfile;
|
||||||
|
myfile.open("logFP_simo.txt");
|
||||||
|
myfile << p.insert_string();
|
||||||
|
myfile.close();
|
||||||
|
//
|
||||||
_log.log(2, fp_db().sq_get_token_text_error(1));
|
_log.log(2, fp_db().sq_get_token_text_error(1));
|
||||||
_log.log(2, p.insert_string());
|
_log.log(2, p.insert_string());
|
||||||
}
|
}
|
||||||
@ -2889,7 +2900,7 @@ bool TDoc_fp::doc_to_paf(TDocumentoEsteso& doc)
|
|||||||
paf2500f.set("PO_GESTIONE", stato_paf());
|
paf2500f.set("PO_GESTIONE", stato_paf());
|
||||||
ok &= insert(paf2500f);
|
ok &= insert(paf2500f);
|
||||||
}
|
}
|
||||||
// </DatiPagamento>
|
// </DatiPagamento> ><
|
||||||
if (_gestioneallegati)
|
if (_gestioneallegati)
|
||||||
{
|
{
|
||||||
TPaf_record& paf2600f = _paf_container.get_paf("PAF2600F");
|
TPaf_record& paf2600f = _paf_container.get_paf("PAF2600F");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user