Patch level : 10.0 patch 266

Files correlati     : lv0.exe, lv0300a.msk
Ricompilazione Demo : [ ]
Commento            :
0001218: Contratto: aggiornamento dotazione
Descrizione: Mettere un flag nei dati societari di lavanderie per proteggere i campi di dotazione a livello di contratto (non và sempre bene che siano modificabili)


git-svn-id: svn://10.65.10.50/trunk@18592 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca83 2009-03-23 15:23:57 +00:00
parent 81534d006f
commit ef0e3dcb92
3 changed files with 29 additions and 13 deletions

View File

@ -50,18 +50,19 @@
#define F_PATH_LAVA 233
#define F_UNICONT 234
#define F_AUTGIRI 235
#define F_ORDGIRI 236
#define F_DATAFISSA 237
#define F_AGGCONG 238
#define F_PERARR 239
#define F_RIFOR 240
#define F_ARTCANFIS 241
#define F_GESTSACA 242
#define F_ALMANAC 243
#define F_USEINDSP 244
#define F_CODARTFIX 245
#define F_TIPOPR 246
#define F_QTAFISSE 235
#define F_AUTGIRI 236
#define F_ORDGIRI 237
#define F_DATAFISSA 238
#define F_AGGCONG 239
#define F_PERARR 240
#define F_RIFOR 241
#define F_ARTCANFIS 242
#define F_GESTSACA 243
#define F_ALMANAC 244
#define F_USEINDSP 245
#define F_CODARTFIX 246
#define F_TIPOPR 247
#define S_CODNUM_RIT 101
#define S_TIPODOC_RIT 102

View File

@ -528,6 +528,12 @@ BEGIN
FIELD UniCont
END
BOOLEAN F_QTAFISSE
BEGIN
PROMPT 35 11 "Quantità dotazioni non modificabili"
FIELD Qtafisse
END
GROUPBOX DLG_NULL 78 3
BEGIN
PROMPT 1 13 "@bOpzioni Giri"

View File

@ -89,6 +89,14 @@ bool TContratti_msk::on_art_select()
//recupero la maschera di riga
TMask& rowmask = ss.sheet_mask();
if (ini_get_string(CONFIG_DITTA, "lv", "Qtafisse") == "X")
{
field(F_DOTTMP).disable();
rowmask.field(S_DOTIN).disable();
rowmask.field(S_DOTOD).disable();
rowmask.field(S_DOTTMP).disable();
}
//se esiste il record su LF_CLIFOGIAC, recupero l'unità di misura dalla riga dello sheet selezionata
//e setto i campi delle dotazioni e dei consegnati ai valori corretti riportati alla giusta unità di misura
if (index > 0)
@ -523,6 +531,7 @@ bool TContratti_app:: user_create()
_msk= new TContratti_msk;
TSheet_field& ss = _msk->sfield(F_RIGHE);
ss.set_auto_append();
ss.set_append(false);