Patch level : 10.0 880

Files correlati     : ve0.exe
Ricompilazione Demo : [ ]
Commento            :

Modificato il filtro per commessa sui campi cup e cig e la lunghezza del campo cig


git-svn-id: svn://10.65.10.50/branches/R_10_00@21396 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 2011-01-05 12:40:28 +00:00
parent df65bcc048
commit d46e00e5dd
2 changed files with 7 additions and 3 deletions

View File

@ -1866,10 +1866,10 @@ PROMPT="Cod.Ident.Gara "
FIELDNAME=CIG FIELDNAME=CIG
USE=%CIG USE=%CIG
INPUT=CODTAB F_CIG INPUT=CODTAB F_CIG
DISPLAY="Codice@15" CODTAB~"Descrizione@50" S0 DISPLAY="Codice@10" CODTAB~"Descrizione@50" S0
OUTPUT=F_CIG CODTAB~F_DESCRCIG S0 OUTPUT=F_CIG CODTAB~F_DESCRCIG S0
WARNING=Codice Identificativo Gara non trovato WARNING=Codice Identificativo Gara non trovato
SIZE=15 SIZE=10
FLAG=U FLAG=U
HELP=Inserisci il Codice Identificativo Gara HELP=Inserisci il Codice Identificativo Gara
SPECIAL=CH NORMAL SPECIAL=CH NORMAL
@ -1883,7 +1883,7 @@ TYPE=T_STRINGA
PROMPT="" PROMPT=""
USE=%CIG KEY 2 USE=%CIG KEY 2
INPUT=S0 F_DESCRCIG INPUT=S0 F_DESCRCIG
DISPLAY="Descrizione@50" S0~"Codice@15" CODTAB DISPLAY="Descrizione@50" S0~"Codice@10" CODTAB
COPY=OU F_CIG COPY=OU F_CIG
SIZE=50 40 SIZE=50 40

View File

@ -299,6 +299,7 @@ TDocumento_mask::TDocumento_mask(const char* td)
rp->add("%CUP", "CODTAB==" CFCMS_CUP); rp->add("%CUP", "CODTAB==" CFCMS_CUP);
rp->add(LF_CLIFO, "TIPOCF==TIPOCF|CODCF==CODCF"); rp->add(LF_CLIFO, "TIPOCF==TIPOCF|CODCF==CODCF");
bp->set_cursor(new TCursor(rp, "", 2)); bp->set_cursor(new TCursor(rp, "", 2));
bp->set_filter("TIPOCF==\"C\"");
bp->remove_input_field(); bp->remove_input_field();
bp->add_input_field(TOSTRING(F_CMSH), CFCMS_COMMESSA, -1, true); bp->add_input_field(TOSTRING(F_CMSH), CFCMS_COMMESSA, -1, true);
bp->add_input_field(TOSTRING(F_CUP), CFCMS_CUP); bp->add_input_field(TOSTRING(F_CUP), CFCMS_CUP);
@ -315,6 +316,7 @@ TDocumento_mask::TDocumento_mask(const char* td)
TBrowse * bpd = efield(F_DESCRCUP).browse(); TBrowse * bpd = efield(F_DESCRCUP).browse();
bpd->set_cursor(new TSorted_cursor(rp, CFCMS_COMMESSA "|%CUP->S0")); bpd->set_cursor(new TSorted_cursor(rp, CFCMS_COMMESSA "|%CUP->S0"));
bpd->set_filter("TIPOCF==\"C\"");
bpd->remove_input_field(); bpd->remove_input_field();
bpd->add_input_field(TOSTRING(F_CMSH), CFCMS_COMMESSA, -1, true); bpd->add_input_field(TOSTRING(F_CMSH), CFCMS_COMMESSA, -1, true);
bpd->add_input_field(TOSTRING(F_DESCRCUP), "%CUP->S0"); bpd->add_input_field(TOSTRING(F_DESCRCUP), "%CUP->S0");
@ -331,6 +333,7 @@ TDocumento_mask::TDocumento_mask(const char* td)
rg->add("%CIG", "CODTAB==" CFCMS_CIG); rg->add("%CIG", "CODTAB==" CFCMS_CIG);
rg->add(LF_CLIFO, "TIPOCF==TIPOCF|CODCF==CODCF"); rg->add(LF_CLIFO, "TIPOCF==TIPOCF|CODCF==CODCF");
bg->set_cursor(new TCursor(rg, "", 3)); bg->set_cursor(new TCursor(rg, "", 3));
bg->set_filter("TIPOCF==\"C\"");
bg->remove_input_field(); bg->remove_input_field();
bg->add_input_field(TOSTRING(F_CMSH), CFCMS_COMMESSA, -1, true); bg->add_input_field(TOSTRING(F_CMSH), CFCMS_COMMESSA, -1, true);
bg->add_input_field(TOSTRING(F_CIG), CFCMS_CIG); bg->add_input_field(TOSTRING(F_CIG), CFCMS_CIG);
@ -347,6 +350,7 @@ TDocumento_mask::TDocumento_mask(const char* td)
TBrowse * bgd = efield(F_DESCRCIG).browse(); TBrowse * bgd = efield(F_DESCRCIG).browse();
bgd->set_cursor(new TSorted_cursor(rg, CFCMS_COMMESSA "|%CIG->S0")); bgd->set_cursor(new TSorted_cursor(rg, CFCMS_COMMESSA "|%CIG->S0"));
bgd->set_filter("TIPOCF==\"C\"");
bgd->remove_input_field(); bgd->remove_input_field();
bgd->add_input_field(TOSTRING(F_CMSH), CFCMS_COMMESSA, -1, true); bgd->add_input_field(TOSTRING(F_CMSH), CFCMS_COMMESSA, -1, true);
bgd->add_input_field(TOSTRING(F_DESCRCIG), "%CIG->S0"); bgd->add_input_field(TOSTRING(F_DESCRCIG), "%CIG->S0");