Patch level : 2.2
Files correlati : Ricompilazione Demo : [ ] Commento : riportate correzioni dalla 2.1 sulla dirty fields git-svn-id: svn://10.65.10.50/trunk@13766 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
29f763621a
commit
01374ac01b
@ -794,13 +794,16 @@ void TDocumento::dirty_fields()
|
||||
f != NULL; f = (TDocumento_variable_field *) succ_variable_field())
|
||||
f->set_dirty();
|
||||
dirty_tabella_iva();
|
||||
TRecord_array& righe = body(LF_RIGHEDOC);
|
||||
for (int i = righe.last_row(); i > 0; i = righe.pred_row(i))
|
||||
{
|
||||
TRiga_documento & r = (TRiga_documento &) row(i);
|
||||
r.dirty_fields(false);
|
||||
|
||||
}
|
||||
if (loaded_rows(LF_RIGHEDOC)) // Se ho gia' caricato delle righe in memoria
|
||||
{
|
||||
TRecord_array& righe = body(LF_RIGHEDOC);
|
||||
for (int i = righe.last_row(); i > 0; i = righe.pred_row(i))
|
||||
{
|
||||
TRiga_documento & r = (TRiga_documento &) righe[i];
|
||||
r.dirty_fields(FALSE);
|
||||
}
|
||||
}
|
||||
_dirty_deny = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user