Patch level : 2.0 552

Files correlati     : ce0.exe ce2.exe ce3.exe ce2100a.msk ce3200a.msk ce3300a.msk cetbclm.msk
Ricompilazione Demo : [ ]
Commento            :

OB00001
ce0.exe -0 %clm:
I campi R2 e R3 della maschera cetbclm.msk
sono da spostare di 1 campo + a dx.

OB00002
ce0.exe -3 p:
La scheda: Collegamento contabilità deve essere attività solo se si vuole
attivare il collegamento da CESPITI a COGE, occorre pertanto prevedere 1
flag nella scheda PARAMETRI DITTA per l'attivazione del collegamento
da CESPITI a COGE.

OB00003
ba4.exe -3 /ic:\windows\temp\admin\msg6:
Non si riesce a memorizzare nessun record.

OB00004
ce0.exe -4
Non viene riportato il codice Specie presente nei parametri ditta.

OB00005
ce0.exe -4
Se si clicca sui nuovi bottoni di avanzamento record, compare il messaggio:
E' necessario specificare la categoria del nuovo cespite.

OB00006
ce0.exe -4
Se si elimina un cespite compare il messaggio: 1 elementi non sono stati
cancellati in quanto protetti, quando si elimina dalla griglia di eliminazione multipla,
Errore di cancellazione 0 quando si elimina quando si è in modifica del record.

OB00007
ce2.exe -0:
Tasto Elabora ALT + E non funziona.

OB00008
ce3.exe -7:
Tasto Stampa ALT + S non funziona

OB00009
ce3.exe -1:
Perché in questa stampa c'è anche il tasto annulla??

OB00010
ce3.exe -2:
Perché in questa stampa c'è anche il tasto annulla??

OB00011
ce3.exe -0:
In anteprima si accavallano i campi relativi alla data di acquisto cespiti,


git-svn-id: svn://10.65.10.50/trunk@11381 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2003-08-07 14:09:09 +00:00
parent b731b9e9fe
commit 2264b06901
6 changed files with 30 additions and 33 deletions

View File

@ -184,7 +184,7 @@ bool TQuery_mask::on_field_event(TOperable_field& o, TField_event e, long jolly)
const bool bollati = stato_attivita() == 3;
enable(DLG_NEWREC, !bollati && !o.empty() && !field(F_SPECIE).empty());
}
if (e == fe_close && o.empty() && !cespite_ok())
if (e == fe_close && o.empty() && !field(F_IDCESPITE).empty() && !cespite_ok())
return error_box(TR("È necessario specificare la categoria del nuovo cespite"));
}
}
@ -397,7 +397,7 @@ bool TEdit_mask::on_field_event(TOperable_field& o, TField_event e, long jolly)
}
break;
case F_ELEMENTI:
if ((e == fe_modify || e == fe_close) && o.empty())
if ((e == fe_modify || e == fe_close) && o.empty())
{
const TDate dtcomp = field(F_DTCOMP).get();
const TDate dtiniz = field(F_INIZIO_ES).get();
@ -405,7 +405,7 @@ bool TEdit_mask::on_field_event(TOperable_field& o, TField_event e, long jolly)
return error_box(TR("E' necessario specificare il numero di elementi per cespiti acquisiti negli esercizi precedenti"));
const short fields[] = { F_COSTO, F_VNONAMM, F_RIV75, F_RIV83, F_RIV90, F_RIV91, F_RIVGF, F_RIVGC, 0 };
if (one_compiled(fields))
return error_box(TR("E' necessario inserire il nunero degli elementi"));
return error_box(TR("E' necessario inserire il numero degli elementi"));
}
break;
case F_RIV90:
@ -909,21 +909,23 @@ bool TAnacespi::kill_cespite(const TString& idcespite, int lfile, int key)
TRectype& filter = rel.curr();
filter.put("IDCESPITE", idcespite);
TCursor cur(&rel, "", key, &filter, &filter);
const long items = cur.items();
cur.freeze();
const TRectype& curr = rel.curr();
for (cur = 0L; cur.pos() < items; ++cur)
const TRecnotype items = cur.items();
if (items > 0)
{
int err = curr.remove(rel.lfile());
if (err != NOERR)
return error_box(FR("Errore %d di cancellazione sul file %d"), err, lfile);
cur.freeze();
const TRectype& curr = rel.curr();
for (cur = 0L; cur.pos() < items; ++cur)
{
int err = curr.remove(rel.lfile());
if (err != NOERR)
return error_box(FR("Errore %d di cancellazione sul file %d"), err, lfile);
}
}
return TRUE;
}
bool TAnacespi::remove()
{
const int staat = _qmask->stato_attivita();
bool yes = FALSE;
if (staat == 3)
@ -935,14 +937,19 @@ bool TAnacespi::remove()
if (yes)
{
const TString16 idcespite = get_relation()->curr().get(CESPI_IDCESPITE);
TRelation* rel = get_relation();
const TString16 idcespite = rel->curr().get(CESPI_IDCESPITE);
if (kill_cespite(idcespite, LF_SALCE) && kill_cespite(idcespite, LF_MOVCE, 2) &&
kill_cespite(idcespite, LF_MOVAM) && kill_cespite(idcespite, LF_AMMMV) &&
kill_cespite(idcespite, LF_AMMCE))
return TRelation_application::remove();
{
rel->write_enable(0, FALSE); // Disabilito la cancellazione dei saldi (gia' cancellati prima)
yes = TRelation_application::remove();
rel->write_enable(0, TRUE);
}
}
return TRUE;
return yes;
}
bool TAnacespi::user_create()

View File

@ -4,7 +4,7 @@ TOOLBAR "Toolbar" 0 -3 0 3
BUTTON DLG_OK 10 2
BEGIN
PROMPT -12 -11 ""
PROMPT -12 -11 "~Elabora"
PICTURE BMP_ELABORA
END

View File

@ -198,17 +198,12 @@ END
BUTTON DLG_PRINT 10 2
BEGIN
PROMPT -13 -1 ""
END
BUTTON DLG_CANCEL 10 2
BEGIN
PROMPT -23 -1 ""
PROMPT -12 -1 ""
END
BUTTON DLG_QUIT 10 2
BEGIN
PROMPT -33 -1 ""
PROMPT -22 -1 ""
END
ENDPAGE

View File

@ -126,17 +126,12 @@ END
BUTTON DLG_PRINT 10 2
BEGIN
PROMPT -13 -1 ""
END
BUTTON DLG_CANCEL 10 2
BEGIN
PROMPT -23 -1 ""
PROMPT -12 -1 ""
END
BUTTON DLG_QUIT 10 2
BEGIN
PROMPT -33 -1 ""
PROMPT -22 -1 ""
END
ENDPAGE

View File

@ -120,7 +120,7 @@ void TDitta_cespiti::init_mask(TMask& m)
TBit_array found;
bool started = FALSE;
bool finished = FALSE;
for (int i = 0; !finished && i < 18 && i < m.fields(); i++)
for (int i = 0; !finished && i < 20 && i < m.fields(); i++)
{
TMask_field& f = m.fld(i);
if (started)

View File

@ -72,14 +72,14 @@ END
CURRENCY F_MOTO 15
BEGIN
PROMPT 2 8 "Limite motocicli "
PROMPT 2 8 "Limite motocicli "
FIELD R2
END
CURRENCY F_CICLO 15
BEGIN
PROMPT 2 9 "Limite ciclomotori "
PROMPT 2 9 "Limite ciclomotori "
FIELD R3
END
ENDPAGE
ENDMASK
ENDMASK