From ee73967709e95315e06832286087fe1db897a8d6 Mon Sep 17 00:00:00 2001 From: rajitgill Date: Mon, 15 Sep 2008 14:26:31 +0000 Subject: [PATCH] Patch level :10.0 Files correlati :lv0.exe lv0400a.msk Ricompilazione Demo : [ ] Commento : 0000903: Richiamo PLANNIG DA CONTRATTI Il pulsante non funziona ancora ! Se inserisco una riga planning e quindo premo registra ho l'errore: i"mpossibile leggere dati errore: 204" git-svn-id: svn://10.65.10.50/trunk@17247 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- lv/lv0400.cpp | 2 +- lv/lv0400a.uml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lv/lv0400.cpp b/lv/lv0400.cpp index 59f4c651e..5f90b5a20 100755 --- a/lv/lv0400.cpp +++ b/lv/lv0400.cpp @@ -133,7 +133,7 @@ bool TContratti_msk:: on_field_event(TOperable_field& o,TField_event e,long joll switch(o.dlg()) { case DLG_PLANNING: - if (e==fe_button && !field(F_CODCONT).empty()) + if (e==fe_button && edit_mode()) { TRelation_application& app=(TRelation_application&) main_app(); app.get_relation()->read(_isequal,_unlock); diff --git a/lv/lv0400a.uml b/lv/lv0400a.uml index f75b9a1ef..480d5ca0b 100755 --- a/lv/lv0400a.uml +++ b/lv/lv0400a.uml @@ -45,7 +45,7 @@ BEGIN PROMPT 2 2 "Contratto N. " USE LF_LVCONDV JOIN LF_CLIFO INTO TIPOCF="C" CODCF=CODCF - INPUT CODCF F_CODCF + INPUT CODCF F_CODCF SELECT INPUT CODCONT F_CODCONT DISPLAY "Cliente" CODCF DISPLAY "Contratto" CODCONT