Patch level :10.0 1044

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :
sistemati i profili che nella patch precedente facevano riferimento a cg7 e non a fe0 per la gestione degli invii contabili

aggiunto nell'handler di commessa il gestore di contsep


git-svn-id: svn://10.65.10.50/branches/R_10_00@22351 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2011-06-29 14:38:38 +00:00
parent 19b37e0c4c
commit 6dc89c8347
2 changed files with 12 additions and 3 deletions

View File

@ -254,12 +254,12 @@ MSKID=F_CONTR122
PROMPT="Contratto Legge 122 "
FLAG=U
FIELDNAME=CONTRATTO
USE=&CGCON
USE=&FECON
INPUT=CODTAB[1,1] F_TIPOCF SE~CODTAB[2,7] F_CODCF SE~CODTAB[8,25] F_CONTR122
DISPLAY="Contratto" CODTAB[8,]~"Descrizione@50" S0
OUTPUT=F_CONTR122 CODTAB[8,]
HELP=Inserire un codice contratto di importo non inferiore a 3000 Euro
SPECIAL=ADD RUN cg7 -2 &CON~MO FE
SPECIAL=ADD RUN fe0 -1 &CON~MO FE
[MODPAG]
MSKID=F_MODPAG

View File

@ -2763,6 +2763,7 @@ bool codcms_handler(TMask_field& f, KEY key)
}
}
}
if (main_app().has_module(CUAUT) && (key == K_TAB && f.focusdirty()))
{
TToken_string key;
@ -2824,7 +2825,15 @@ bool codcms_handler(TMask_field& f, KEY key)
mask.set(mask.field(F_CODCABA).active() ? F_CODCABA : F_CODCABA1, cfban.get(CFBAN_CAB), 3);
mask.set(F_IBAN, cfban.get(CFBAN_IBAN));
}
}
} //if (main_app().has_module(CUAUT) && (...
//aggiornamento automatico del campo codice contabilita' separata nel caso di commessa che ce lo abbia
if (main_app().has_module(NPAUT) && (key == K_TAB && f.focusdirty()))
{
const TString& contsep = cache().get(LF_COMMESSE, codcms, COMMESSE_CONTSEP);
mask.set(F_CONTSEP, contsep);
}
}
else
if (key == K_TAB && !mask.is_running())