Patch level : 4.0
Files correlati : Ricompilazione Demo : [ ] Commento : Aggiunti commenti e tolte funzioni vuote! git-svn-id: svn://10.65.10.50/trunk@15202 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
c745684200
commit
70f41188ea
@ -52,10 +52,6 @@ bool TConfig_mask::on_field_event(TOperable_field& f, TField_event e, long jolly
|
|||||||
else
|
else
|
||||||
return error_box(TR("Non ci sono campi personalizzati"));
|
return error_box(TR("Non ci sono campi personalizzati"));
|
||||||
|
|
||||||
}
|
|
||||||
if (e == fe_init || e == fe_modify)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default: break;
|
default: break;
|
||||||
|
@ -1790,7 +1790,7 @@ void TCespite::agg_spe_man(bool is_valid)
|
|||||||
if (vspmanu > ZERO)
|
if (vspmanu > ZERO)
|
||||||
{
|
{
|
||||||
TDitta_cespiti& cce = ditta_cespiti();
|
TDitta_cespiti& cce = ditta_cespiti();
|
||||||
TString16 field; // Nome del campo da incrementare
|
const char* field = NULL; // Nome del campo da incrementare
|
||||||
|
|
||||||
const int tpspeman = get_int(CESPI_TPSPEMAN);
|
const int tpspeman = get_int(CESPI_TPSPEMAN);
|
||||||
if (tpspeman == 2 || (tpspeman == 4 && !cce.esente_art14()))
|
if (tpspeman == 2 || (tpspeman == 4 && !cce.esente_art14()))
|
||||||
@ -1798,7 +1798,7 @@ void TCespite::agg_spe_man(bool is_valid)
|
|||||||
if (tpspeman == 3)
|
if (tpspeman == 3)
|
||||||
field = "R3";
|
field = "R3";
|
||||||
|
|
||||||
if (field.not_empty())
|
if (field != NULL)
|
||||||
{
|
{
|
||||||
int es;
|
int es;
|
||||||
TString4 gr, sp;
|
TString4 gr, sp;
|
||||||
@ -1806,7 +1806,7 @@ void TCespite::agg_spe_man(bool is_valid)
|
|||||||
TString16 key;
|
TString16 key;
|
||||||
key.format("%04d%s%s", es, (const char*)gr, (const char*)sp);
|
key.format("%04d%s%s", es, (const char*)gr, (const char*)sp);
|
||||||
|
|
||||||
TTable ccb("CCB");
|
TTable ccb("CCB"); // Uso TTable e non cache perche' devo anche aggiornare
|
||||||
ccb.put("CODTAB", key);
|
ccb.put("CODTAB", key);
|
||||||
const int err = ccb.read();
|
const int err = ccb.read();
|
||||||
if (err != NOERR)
|
if (err != NOERR)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user