From 71e2f44cf996ae60fd75e6c8253cca676eb1dd33 Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 26 Feb 2009 23:54:05 +0000 Subject: [PATCH] Patch level : 10.0 250 Files correlati : ve0.exe Ricompilazione Demo : [ ] Commento : MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In inserimento se non specificato il campo ricerca alternativa viene riempita con i primi 20 caratteri della ragione sociale Bug 0001048 (come per gli articoli) anche per i clienti le etichette dovrebbero avere un nome che ne identifichi l'utilità git-svn-id: svn://10.65.10.50/trunk@18370 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- cg/cg0200.cpp | 5 +++++ cg/cg0200a.uml | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/cg/cg0200.cpp b/cg/cg0200.cpp index 3a2ae0ba5..71c215652 100755 --- a/cg/cg0200.cpp +++ b/cg/cg0200.cpp @@ -866,6 +866,11 @@ void TClifo_application::get_pnae(const TMask& m, TToken_string& nonacceff, TTok void TClifo_application::common_f(const TMask& m) { + TString alter = m.get(F_RICALT); + + if (alter.blank() && m.mode() == MODE_INS) + ((TMask &)m).set(F_RICALT, m.get(F_RAGSOC).left(m.field(F_RICALT).size())); + TToken_string nonacceff(30, ';'), nonscadeff(30, ';'); get_pnae(m, nonacceff, nonscadeff); TRectype& cfven = get_relation()->curr(LF_CFVEN); diff --git a/cg/cg0200a.uml b/cg/cg0200a.uml index a0a6c1e2a..e4ce2f506 100755 --- a/cg/cg0200a.uml +++ b/cg/cg0200a.uml @@ -14,7 +14,7 @@ END ENDPAGE -PAGE "Pag.1" -1 -1 78 19 +PAGE "Dati Anagrafici" -1 -1 78 19 GROUPBOX DLG_NULL 76 4 BEGIN @@ -382,7 +382,7 @@ END ENDPAGE -PAGE "Pag.2" -1 -1 78 19 +PAGE "Contatti/Percipiente" -1 -1 78 19 GROUPBOX DLG_NULL 76 4 BEGIN @@ -623,7 +623,7 @@ END ENDPAGE -PAGE "Pag.3" -1 -1 78 19 +PAGE "Banche/Condizioni" -1 -1 78 19 GROUPBOX DLG_NULL 76 4 BEGIN @@ -985,7 +985,7 @@ END ENDPAGE -PAGE "Pag.4" -1 -1 78 19 +PAGE "Banche/Effetti" -1 -1 78 19 GROUPBOX DLG_NULL 76 4 BEGIN @@ -1134,7 +1134,7 @@ END ENDPAGE -PAGE "Pag.5" -1 -1 78 19 +PAGE "Indirizzi" -1 -1 78 19 GROUPBOX DLG_NULL 76 4 BEGIN @@ -1224,7 +1224,7 @@ END ENDPAGE -PAGE "Pag.6" -1 -1 78 19 +PAGE "Dati vendita 1" -1 -1 78 19 GROUPBOX DLG_NULL 76 4 BEGIN @@ -1438,7 +1438,7 @@ END ENDPAGE -PAGE "Pag.7" -1 -1 78 19 +PAGE "Dati Vendita 2" -1 -1 78 19 GROUPBOX DLG_NULL 76 4 BEGIN @@ -1699,7 +1699,7 @@ END ENDPAGE -PAGE "Pag.8" -1 -1 78 19 +PAGE "Dati Vendita 3" -1 -1 78 19 GROUPBOX DLG_NULL 76 4 BEGIN