Patch level : 10.0 patch ???
Files correlati : lv2 Ricompilazione Demo : [ ] Commento : Corretti i messaggi del log git-svn-id: svn://10.65.10.50/branches/R_10_00@21908 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
9867be8513
commit
b61df20b4e
@ -2320,8 +2320,8 @@ void TFatturazione_lav_app::main_loop()
|
|||||||
if (doc_updated)
|
if (doc_updated)
|
||||||
{
|
{
|
||||||
TString msg("Bolla n.ro ");
|
TString msg("Bolla n.ro ");
|
||||||
msg << docrec.get(DOC_NDOC) << " del " << docrec.get(DOC_DATADOC) << " Cliente " << clifo << " " << clirec.get(CLI_RAGSOC) << " aggirnata la testata ";
|
msg << docrec.get(DOC_NDOC) << " del " << docrec.get(DOC_DATADOC) << " Cliente " << clifo << " " << clirec.get(CLI_RAGSOC) << " aggiornata la testata ";
|
||||||
_log->log(2, msg);
|
_log->log(0, msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (int r = 1; !_solototali && r <= doc->physical_rows(); r++)
|
for (int r = 1; !_solototali && r <= doc->physical_rows(); r++)
|
||||||
@ -2335,23 +2335,27 @@ void TFatturazione_lav_app::main_loop()
|
|||||||
//estraggo il record corrispondente su LF_CLIFOGIAC
|
//estraggo il record corrispondente su LF_CLIFOGIAC
|
||||||
const TRecmag_lavanderie& rec = art.find_rec(annoes);
|
const TRecmag_lavanderie& rec = art.find_rec(annoes);
|
||||||
|
|
||||||
|
TString str;
|
||||||
|
str << "Bolla " << docrec.get(DOC_CODNUM) << '|' << docrec.get(DOC_TIPODOC) << " n.ro " << docrec.get(DOC_NDOC) << " del " << docrec.get(DOC_DATADOC)
|
||||||
|
<< " Cliente " << clifo << ' ' << clirec.get(CLI_RAGSOC) << " articolo " << codart << " - ";
|
||||||
|
|
||||||
if (rec.get_real("DOTOD") < ZERO)
|
if (rec.get_real("DOTOD") < ZERO)
|
||||||
{
|
{
|
||||||
TString msg("Bolla n.ro ");
|
TString msg;
|
||||||
msg << docrec.get(DOC_NDOC) << " del " << docrec.get(DOC_DATADOC) << " Cliente " << clifo << " " << clirec.get(CLI_RAGSOC) << " articolo " << codart << " dotazione odierna negativa";
|
msg << str << " Dotazione odierna negativa";
|
||||||
_log->log(2, msg);
|
_log->log(0, msg);
|
||||||
}
|
}
|
||||||
if (rec.get_real("DOTIN") < ZERO)
|
if (rec.get_real("DOTIN") < ZERO)
|
||||||
{
|
{
|
||||||
TString msg("Bolla n.ro ");
|
TString msg;
|
||||||
msg << docrec.get(DOC_NDOC) << " del " << docrec.get(DOC_DATADOC) << " Cliente " << clifo << " " << clirec.get(CLI_RAGSOC) << " articolo " << codart << " dotazione iniziale negativa";
|
msg << str << " Dotazione iniziale negativa";
|
||||||
_log->log(2, msg);
|
_log->log(0, msg);
|
||||||
}
|
}
|
||||||
if (prezzo_da_contratto && rcont.get_real(LVRCONDV_PREZZO) == ZERO)
|
if (prezzo_da_contratto && rcont.get_real(LVRCONDV_PREZZO) == ZERO)
|
||||||
{
|
{
|
||||||
TString msg("Bolla n.ro ");
|
TString msg;
|
||||||
msg << docrec.get(DOC_NDOC) << " del " << docrec.get(DOC_DATADOC) << " Cliente " << clifo << " " << clirec.get(CLI_RAGSOC) << " articolo " << codart << " prezzo da contratto zero";
|
msg << str << " Prezzo da contratto zero";
|
||||||
_log->log(2, msg);
|
_log->log(0, msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user