Patch level : 10.0 756

Files correlati     : tc1.exe
Ricompilazione Demo : [ ]
Commento

Corretta la trascodifica tabelle Zucchetti


git-svn-id: svn://10.65.10.50/trunk@20549 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 2010-06-08 14:32:43 +00:00
parent 7f846653e7
commit c3e1c6665b

View File

@ -356,7 +356,17 @@ void TInvio_file::validate(TCursor& cur,TRecord_text &rec, TToken_string &s, TSt
valore = app().get_descrdettaglio();
}
else if (code == "_OPZIONI")
valore = ini_get_string(CONFIG_DITTA, "tc", s.get());
{
const TString80 code = s.get();
if (code == "ZUNUMEROINVIO")
{
const int inv = ini_get_int(CONFIG_DITTA, "tc", code) + 1;
valore.format("%d", inv);
}
else
valore = ini_get_string(CONFIG_DITTA, "tc", code);
}
else if (code == "_OGGI")
{
TDate data(TODAY);