Patch level :10.0

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :sistemati filtri sulla maschera in modo da accettare intervalli di tipo da conto a conto (senza sottoconto)


git-svn-id: svn://10.65.10.50/trunk@19767 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2009-12-14 14:48:21 +00:00
parent 3046eb0169
commit b7537b29c6
4 changed files with 15 additions and 5 deletions

View File

@ -295,8 +295,14 @@ TPrint_contixcms_recordset* TPrint_contixcms::elabora() const
recset.set_var("#DACODCONTO", contone);
gruppo = _mask->get_int(F_GRUPPOFIN);
if (gruppo == 0)
gruppo = 999;
conto = _mask->get_int(F_CONTOFIN);
if (conto == 0)
conto = 999;
sottoconto = _mask->get_long(F_SOTTOCFIN);
if (sottoconto == 0)
sottoconto = 999999L;
contone.format("%03d%03d%06ld", gruppo, conto, sottoconto);
recset.set_var("#ACODCONTO", contone);

View File

@ -248,6 +248,7 @@ BEGIN
DISPLAY "Tipo" TMCF
OUTPUT F_GRUPPOINI GRUPPO
OUTPUT F_CONTOINI CONTO
OUTPUT F_DESCRINI DESCR
CHECKTYPE NORMAL
WARNING "Conto inesistente o mancante"
VALIDATE REQIF_FUNC 1 F_SOTTOCINI
@ -269,21 +270,21 @@ BEGIN
OUTPUT F_SOTTOCINI SOTTOCONTO
OUTPUT F_DESCRINI DESCR
CHECKTYPE SEARCH
ADD RUN cg0 -0
//ADD RUN cg0 -0
END
STRING F_DESCRINI 50
BEGIN
PROMPT 2 17 "Descrizione "
USE LF_PCON KEY 2
CHECKTYPE NORMAL
INPUT DESCR F_DESCRINI
DISPLAY "Descrizione@50" DESCR
DISPLAY "Gruppo" GRUPPO
DISPLAY "Conto" CONTO
DISPLAY "Sottoconto" SOTTOCONTO
COPY OUTPUT F_SOTTOCINI
ADD RUN cg0 -0
CHECKTYPE NORMAL
//ADD RUN cg0 -0
END
NUMBER F_GRUPPOFIN 3
@ -303,6 +304,7 @@ BEGIN
DISPLAY "Tipo" TMCF
OUTPUT F_GRUPPOFIN GRUPPO
OUTPUT F_CONTOFIN CONTO
OUTPUT F_DESCRFIN DESCR
CHECKTYPE NORMAL
VALIDATE REQIF_FUNC 1 F_SOTTOCFIN
WARNING "Conto inesistente o mancante"
@ -325,7 +327,7 @@ BEGIN
OUTPUT F_DESCRFIN DESCR
CHECKTYPE SEARCH
WARNING "Sottoconto inesistente o mancante"
ADD RUN cg0 -0
//ADD RUN cg0 -0
END
STRING F_DESCRFIN 50
@ -339,7 +341,7 @@ BEGIN
DISPLAY "Conto" CONTO
DISPLAY "Sottoconto" SOTTOCONTO
COPY OUTPUT F_SOTTOCFIN
ADD RUN cg0 -0
//ADD RUN cg0 -0
END
BOOLEAN F_HIDESOTT

View File

@ -29,6 +29,7 @@ Flags = ""
Item_01 = "Movimenti", "ca3 -0", "F"
Item_02 = "Mastrini", "ca3 -1", "F"
Item_03 = "Bilancio", "ca3 -2", "F"
Item_04 = "Conti per commessa", "ca1 -7", "F"
[CMMENU_050]
Caption = "Servizi"

View File

@ -71,6 +71,7 @@ Item_04 = "Pagato", "ca3 -5", "F"
Item_05 = "Rendiconto", "ca3 -6", "F"
Item_06 = "Bilancio di commessa", "ca3 -7", "F"
Item_07 = "Stima ricavi di competenza", "ca3 -8", "F"
Item_08 = "Conti per commessa", "ca1 -7", "F"
[CAMENU_050]
Caption = "Servizi"