From ee69db4a496e3f6f068bc70a5ea98ccd91d02df5 Mon Sep 17 00:00:00 2001 From: luca83 Date: Wed, 14 Oct 2009 10:49:40 +0000 Subject: [PATCH] =?UTF-8?q?Patch=20level=20=20=20=20=20=20=20=20=20:=2010.?= =?UTF-8?q?0=20patch=20471=20Files=20correlati=20=20=20=20=20:=20lv0=20Ric?= =?UTF-8?q?ompilazione=20Demo=20:=20[=20]=20Commento=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20:=200001449:=20campo=20"uguale=20al=20ritirato"?= =?UTF-8?q?=20sul=20contratto=20Descrizione=20=20Se=20sul=20file=20lvrcond?= =?UTF-8?q?v=20il=20campo=20=C3=A8=20impostato=20a=201=20"conguaglio=20all?= =?UTF-8?q?a=20confezione"=20ma=20sull'articolo=20non=20c'=C3=A8=20la=20qu?= =?UTF-8?q?antit=C3=A0=20per=20confezione=20apro=20la=20riga=20del=20contr?= =?UTF-8?q?atto=20mi=20fa=20vedere=20il=20campo=20"uguale=20al=20ritirato"?= =?UTF-8?q?=20salvo=20ma=20sul=20file=20lascia=20impostato=20a=201=20il=20?= =?UTF-8?q?campo=20anziche=20a=200?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://10.65.10.50/trunk@19442 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- lv/lv0400.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lv/lv0400.cpp b/lv/lv0400.cpp index 50617dea2..07ad48cb4 100755 --- a/lv/lv0400.cpp +++ b/lv/lv0400.cpp @@ -160,6 +160,7 @@ bool TContratti_msk::on_art_select() { set(F_CALCCONS, "0"); disable(F_CALCCONS); + rowmask.set(S_CALCCONS, "0"); rowmask.field(S_CALCCONS).disable(); rowmask.field(S_CONG).disable(); } @@ -250,6 +251,7 @@ bool TContratti_msk::on_field_event(TOperable_field& o,TField_event e,long jolly { set(F_CALCCONS, "0"); disable(F_CALCCONS); + rowmask.set(S_CALCCONS, "0"); rowmask.field(S_CALCCONS).disable(); rowmask.field(S_CONG).disable(); } @@ -718,7 +720,7 @@ void TContratti_app::save_rows(const TMask& m) //recuperando i dati di interesse dalla maschera TString TContratti_app:: build_query(const TMask& m) const { - TString query=""; + TString query = ""; query << "USE LVRCONDV\n" << "FROM CODCF=" << m.get(F_CODCF) << " CODCONT=" << m.get(F_CODCONT) << "\n" << "TO CODCF=" << m.get(F_CODCF) << " CODCONT=" << m.get(F_CODCONT);