Patch level : 12.0 430

Files correlati     : tf
Commento            : 
- Sistemata maschera danneggiata
- Corretto salvataggio movimenti prima nota
- Sistemato aggiornamento righe dopo aver disabilitato un movimento

git-svn-id: svn://10.65.10.50/branches/R_10_00@24033 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
mtollari 2017-08-22 07:56:40 +00:00
parent b8560f3117
commit 0cd1f396df
3 changed files with 8 additions and 4 deletions

View File

@ -738,8 +738,7 @@ bool TTrFa_app::copySSA()
files.destroy();
if (list_files(SPESOMETROBASE "/*.ssa", files) != 1)
{
warning_box(FR("Nella cartella %s deve essere presente esattamente un file .ssa"), SPESOMETROBASE);
return false;
warning_box(FR("Nella cartella %s deve essere presente un file .ssa, ModuliSirio non è abilitato."), SPESOMETROBASE);
}
TFilename home;
@ -1073,7 +1072,7 @@ bool TTrFa_app::tff0400(TSheet_field& sheet)
TVariant vtipocf = strarr->get(_tipocf), vcodcf = strarr->get(_codcf), voccas = strarr->get(_occas);
#ifdef DBG
if(vtipocf.as_string() == "C" && vcodcf.as_string() == "316")
if(vtipocf.as_string() == "F" && vcodcf.as_string() == "1288")
bool tolla = true;
#endif

View File

@ -181,6 +181,8 @@ BEGIN
ITEM "Rev.\nCharge@4"
ITEM "Auto\nfatt.@3"
ITEM "Spedita@5"
ITEM "Inviare@5"
ITEM "Forzata@10"
ITEM "N.\nRegistraz.@10"
ITEM "Codici Errori@10"
DEFAULT "*" // Impedisce il salvataggio su profilo .ini
@ -411,7 +413,7 @@ END
STRING A_CODERR 10
BEGIN
PROMPT 0 13 "Codici errori"
FLAGS "D"
//FLAGS "D"
END
ENDPAGE

View File

@ -398,6 +398,7 @@ bool TTrFa_mask::saveAll()
else if(strcmp(strarr->get(_invio), "X") != 0)
{
TRectype rmov = cache().get(LF_MOV, strarr->get(_numero));
rmov.put("TFINVIO", strarr->get(_invio));
mov.rewrite(rmov);
}
}
@ -589,6 +590,8 @@ void TTrFa_mask::changeInvio(TString tipocf, TString codcf, TString numdoc, TStr
if(tipocf == rtipo && codcf == rcod && rnum == numdoc)
{
strarr->add(invio, _invio);
// Aggiorno la riga
sheet.force_update(r);
}
}
}