Patch level : 10.1032
Files correlati : sv1.exe Ricompilazione Demo : [ ] Commento : Bug 0001881; Aggiungere ordinamento per ragione sociale nelle statistiche per clien Aggiungere ordinamento per ragione sociale nelle statistiche per cliente git-svn-id: svn://10.65.10.50/branches/R_10_00@22294 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
84493faa74
commit
e012ca37e9
@ -62,10 +62,10 @@
|
|||||||
|
|
||||||
#define LARG_COLCODICE 49
|
#define LARG_COLCODICE 49
|
||||||
#define POS_PRIMACOL 51
|
#define POS_PRIMACOL 51
|
||||||
#define PICTURE_VALORI "###.###.###.##@"
|
#define PICTURE_VALORI "#.###.###.##@"
|
||||||
#define LARG_COLVAL 16
|
#define LARG_COLVAL 13
|
||||||
#define PICTURE_QUANTITA "###.###.##@,@##"
|
#define PICTURE_QUANTITA "#.###.##@,@##"
|
||||||
#define LARG_COLQTA 16
|
#define LARG_COLQTA 13
|
||||||
#define PICTURE_PERCENT "###@,@"
|
#define PICTURE_PERCENT "###@,@"
|
||||||
#define LARG_COLPERC 8
|
#define LARG_COLPERC 8
|
||||||
|
|
||||||
@ -2163,17 +2163,14 @@ const TString& TStampa_stat::get_part(TString & lev_code, TSVriep_record &riepre
|
|||||||
case CHR_ARTFIELD: // campo dell' anagrafica articolo
|
case CHR_ARTFIELD: // campo dell' anagrafica articolo
|
||||||
{
|
{
|
||||||
const char t = rieprec.get_char(SVR_TIPOART);
|
const char t = rieprec.get_char(SVR_TIPOART);
|
||||||
TFieldref f;
|
const TRectype anamag(LF_ANAMAG);
|
||||||
|
int l = anamag.length(fld);
|
||||||
|
|
||||||
f = fld;
|
|
||||||
const TRectype anamag(LF_ANAMAG);
|
|
||||||
int l = f.len(anamag);
|
|
||||||
if (l > 40)
|
if (l > 40)
|
||||||
l = 40;
|
l = 40;
|
||||||
if (t == RIGA_MERCE || t == RIGA_OMAGGI)
|
if (t == RIGA_MERCE || t == RIGA_OMAGGI)
|
||||||
{
|
{
|
||||||
const TRectype & rec = cache().get(LF_ANAMAG, rieprec.get(SVR_CODART));
|
park = cache().get(LF_ANAMAG, rieprec.get(SVR_CODART), fld);
|
||||||
park = f.read(rec);
|
|
||||||
park.rpad(l);
|
park.rpad(l);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -2201,8 +2198,11 @@ const TString& TStampa_stat::get_part(TString & lev_code, TSVriep_record &riepre
|
|||||||
|
|
||||||
key.format("%c|%ld", rieprec.get_char(SVR_TIPOCF),rieprec.get_long(SVR_CODCF));
|
key.format("%c|%ld", rieprec.get_char(SVR_TIPOCF),rieprec.get_long(SVR_CODCF));
|
||||||
park = cache().get(LF_CLIFO, key, fld);
|
park = cache().get(LF_CLIFO, key, fld);
|
||||||
if (park.len() > 40)
|
const TRectype clifo(LF_CLIFO);
|
||||||
park.rtrim(40);
|
|
||||||
|
int l = clifo.length(fld);
|
||||||
|
if (l > 40)
|
||||||
|
park.rpad(40);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case CHR_AGENTE: // agente
|
case CHR_AGENTE: // agente
|
||||||
|
Loading…
x
Reference in New Issue
Block a user