Patch level : 4.0 870
Files correlati : ef0.exe Ricompilazione Demo : [ ] Commento : Corretta la gestione dell'indetraibilita' dei documenti git-svn-id: svn://10.65.10.50/trunk@16055 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
e9ba5e7179
commit
a1a814d980
@ -993,7 +993,7 @@ void TRiga_documento::autosave(TSheet_field& f)
|
||||
fldref->write(fld.get(), *this);
|
||||
}
|
||||
|
||||
if (m.field(FR_TIPODET).shown()) //solo se attivo il campo di indetraibilita'...
|
||||
if (m.field(FR_TIPODET).active()) //solo se attivo il campo di indetraibilita'...
|
||||
{
|
||||
const int tipodet = row.get_int( f.cid2index(FR_TIPODET));
|
||||
put( RDOC_TIPODET, tipodet );
|
||||
|
@ -442,6 +442,13 @@ void TDocumento_mask::configura_sheet(TSheet_field& sheet)
|
||||
|
||||
if (field_id != FR_LORDO)
|
||||
colonne.add(field_id);
|
||||
if (field_id == FR_CODIVA && tdoc.is_costo())
|
||||
{
|
||||
const int col = sheet.cid2index(FR_TIPODET);
|
||||
|
||||
to_delete.reset(col);
|
||||
colonne.add(col);
|
||||
}
|
||||
}
|
||||
|
||||
to_delete.set(0L);
|
||||
|
Loading…
x
Reference in New Issue
Block a user