Patch level : 12.0
Files correlati : tp0100.cpp tp0102.cpp Commento: Aggiunto log di errori per le query di trasferimento pack. Errore segnalato da VillaBrianBox
This commit is contained in:
parent
e54b7f3d9c
commit
e156175c99
@ -198,7 +198,10 @@ long TPack_transfer::odbc_exec(const char* cmd)
|
||||
TParagraph_string msg(cmd, 100);
|
||||
FOR_EACH_TOKEN(msg, str)
|
||||
log(str, 0); // Riporto tutta la query
|
||||
log_error(TR("ERRORE in esecuzione della query."));
|
||||
|
||||
msg.cut(0);
|
||||
msg << TR("Errore n: ") << abs(err) << TR(" in esecuzione della query.");
|
||||
log_error(msg);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -249,7 +249,7 @@ TObject* TCache_art::key2obj(const char* key)
|
||||
conart.put(CONART_CATEGORIA, sotcat.left(2));
|
||||
conart.put(CONART_SOTTOCAT, sotcat.mid(2));
|
||||
conart.put(CONART_PESO, get_real_str("WeightETUnit"));
|
||||
conart.write_rewrite(true);
|
||||
conart.write_rewrite();
|
||||
}
|
||||
const long gruconto = get_long("AccountCode");
|
||||
const long sottoconto = get_long("AccountSubCode");
|
||||
|
Loading…
x
Reference in New Issue
Block a user