Patch level :10.0
Files correlati : Ricompilazione Demo : [ ] Commento : programma statistiche di vendita aggiornato con as400 recordset git-svn-id: svn://10.65.10.50/branches/R_10_00@21803 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
4301cd3d90
commit
6079cc1987
346
ve/ve3800.cpp
346
ve/ve3800.cpp
@ -76,10 +76,10 @@ public:
|
||||
};
|
||||
|
||||
/////////////////////////////////////////////////////////////
|
||||
// CSV RECORDSET
|
||||
// RECORDSET
|
||||
/////////////////////////////////////////////////////////////
|
||||
|
||||
class TStatistiche_ve_csv_recordset : public TCSV_recordset
|
||||
class TStatistiche_ve_recordset : public TAS400_recordset
|
||||
{
|
||||
real _tot[13]; //array con i totali per mese (e anno)
|
||||
|
||||
@ -87,78 +87,51 @@ protected:
|
||||
long trova_riga(const TToken_string& key, const char tipo_stat, const char tipo_dettaglio);
|
||||
|
||||
public:
|
||||
TStatistiche_ve_csv_recordset(const TMask& mask);
|
||||
|
||||
//virtual const TVariant& get(const char* column_name) const;
|
||||
//virtual const TVariant& get(unsigned int column) const { return TCSV_recordset::get(column); }
|
||||
TStatistiche_ve_recordset();
|
||||
|
||||
void aggiungi_ai_totali(const TRiga_documento& riga, const char tipo_dati);
|
||||
bool aggiungi_riga(TDocument_recordset& righe, const char tipo_dati, const char tipo_stat, const char tipo_dettaglio); //const TRiga_documento& riga, const char tipo_dati);
|
||||
void compila_intestazione();
|
||||
void calcola_percentuali();
|
||||
};
|
||||
|
||||
TStatistiche_ve_csv_recordset::TStatistiche_ve_csv_recordset(const TMask& mask)
|
||||
: TCSV_recordset("CSV(\"\t\")") //tab separated
|
||||
TStatistiche_ve_recordset::TStatistiche_ve_recordset()
|
||||
: TAS400_recordset("AS400(512)")
|
||||
{
|
||||
FOR_EACH_MASK_FIELD(mask, i, field)
|
||||
{
|
||||
const TFieldref* f = field->field();
|
||||
if (f != NULL)
|
||||
{
|
||||
const TString& name = f->name();
|
||||
set_var(name, field->get(), true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*const TVariant& TStatistiche_ve_csv_recordset::get(const char* field_name) const
|
||||
{
|
||||
if (*field_name == '#')
|
||||
return get_var(field_name);
|
||||
|
||||
return TRecordset::get(field_name);
|
||||
}*/
|
||||
|
||||
void TStatistiche_ve_csv_recordset::compila_intestazione()
|
||||
{
|
||||
insert_rec(0);
|
||||
//riempie i campi del primo record del csv in modo da avere l'intestazione (0=A...29=AD in excel)
|
||||
set(0, "CODART");
|
||||
set(1, "DESCRIZIONE");
|
||||
set(2, "GENNAIO");
|
||||
set(3, "%GEN");
|
||||
set(4, "FEBBRAIO");
|
||||
set(5, "%FEB");
|
||||
set(6, "MARZO");
|
||||
set(7, "%MAR");
|
||||
set(8, "APRILE");
|
||||
set(9, "%APR");
|
||||
set(10, "MAGGIO");
|
||||
set(11, "%MAG");
|
||||
set(12, "GIUGNO");
|
||||
set(13, "%GIU");
|
||||
set(14, "LUGLIO");
|
||||
set(15, "%LUG");
|
||||
set(16, "AGOSTO");
|
||||
set(17, "%AGO");
|
||||
set(18, "SETTEMBRE");
|
||||
set(19, "%SET");
|
||||
set(20, "OTTOBRE");
|
||||
set(21, "%OTT");
|
||||
set(22, "NOVEMBRE");
|
||||
set(23, "%NOV");
|
||||
set(24, "DICEMBRE");
|
||||
set(25, "%DIC");
|
||||
set(26, "ANNO");
|
||||
set(27, "%ANNO");
|
||||
set(28, "GRMERC");
|
||||
set(29, "CODCLI");
|
||||
create_field("CODART", -1, 20, _alfafld);
|
||||
create_field("DESCRIZIONE", -1, 50, _alfafld);
|
||||
create_field("GENNAIO", -1, 10, _realfld);
|
||||
create_field("PGEN", -1, 9, _realfld);
|
||||
create_field("FEBBRAIO", -1, 10, _realfld);
|
||||
create_field("PFEB", -1, 9, _realfld);
|
||||
create_field("MARZO", -1, 10, _realfld);
|
||||
create_field("PMAR", -1, 9, _realfld);
|
||||
create_field("APRILE", -1, 10, _realfld);
|
||||
create_field("PAPR", -1, 9, _realfld);
|
||||
create_field("MAGGIO", -1, 10, _realfld);
|
||||
create_field("PMAG", -1, 9, _realfld);
|
||||
create_field("GIUGNO", -1, 10, _realfld);
|
||||
create_field("PGIU", -1, 9, _realfld);
|
||||
create_field("LUGLIO", -1, 10, _realfld);
|
||||
create_field("PLUG", -1, 9, _realfld);
|
||||
create_field("AGOSTO", -1, 10, _realfld);
|
||||
create_field("PAGO", -1, 9, _realfld);
|
||||
create_field("SETTEMBRE", -1, 10, _realfld);
|
||||
create_field("PSET", -1, 9, _realfld);
|
||||
create_field("OTTOBRE", -1, 10, _realfld);
|
||||
create_field("POTT", -1, 9, _realfld);
|
||||
create_field("NOVEMBRE", -1, 10, _realfld);
|
||||
create_field("PNOV", -1, 9, _realfld);
|
||||
create_field("DICEMBRE", -1, 10, _realfld);
|
||||
create_field("PDIC", -1, 9, _realfld);
|
||||
create_field("ANNO", -1, 11, _realfld);
|
||||
create_field("PANNO", -1, 9, _realfld);
|
||||
create_field("GRMERC", -1, 5, _alfafld);
|
||||
create_field("CODCLI", -1, 6, _intfld);
|
||||
}
|
||||
|
||||
|
||||
//metodo plutonico di ricerca dicotomica su una colonna di csv_recordset
|
||||
long TStatistiche_ve_csv_recordset::trova_riga(const TToken_string& key, const char tipo_stat, const char tipo_dettaglio)
|
||||
long TStatistiche_ve_recordset::trova_riga(const TToken_string& key, const char tipo_stat, const char tipo_dettaglio)
|
||||
{
|
||||
long first = 0;
|
||||
long last = items() - 1;
|
||||
@ -176,41 +149,41 @@ long TStatistiche_ve_csv_recordset::trova_riga(const TToken_string& key, const c
|
||||
switch (tipo_stat)
|
||||
{
|
||||
case 'A': //articolo
|
||||
guess_key.add(get(0).as_string());
|
||||
guess_key.add(get("CODART").as_string());
|
||||
break;
|
||||
|
||||
case 'C': //cliente-codart codart-cliente
|
||||
{
|
||||
switch (tipo_dettaglio)
|
||||
switch (tipo_dettaglio)
|
||||
{
|
||||
case 'A':
|
||||
{
|
||||
guess_key.add(get(0).as_string()); //colonna 0=A codart
|
||||
TString8 codcf = get(29).as_string();
|
||||
guess_key.add(get("CODART").as_string()); //colonna 0=A codart
|
||||
TString8 codcf = get("CODCLI").as_string();
|
||||
codcf.right_just(6);
|
||||
guess_key.add(codcf); //colonna 29=AD codcf
|
||||
}
|
||||
break;
|
||||
case 'C':
|
||||
guess_key = get(29).as_string(); //colonna 29=AD codcf
|
||||
guess_key = get("CODCLI").as_string(); //colonna 29=AD codcf
|
||||
guess_key.right_just(6);
|
||||
guess_key.add(get(0).as_string()); //colonna 0=A codart
|
||||
guess_key.add(get("CODART").as_string()); //colonna 0=A codart
|
||||
break;
|
||||
case 'G':
|
||||
guess_key = get(29).as_string(); //colonna 29=AD codcf
|
||||
guess_key = get("CODCLI").as_string(); //colonna 29=AD codcf
|
||||
guess_key.right_just(6);
|
||||
guess_key.add(get(28).as_string()); //colonna 28=AC grmerc
|
||||
guess_key.add(get("GRMERC").as_string()); //colonna 28=AC grmerc
|
||||
break;
|
||||
case 'M':
|
||||
{
|
||||
guess_key.add(get(28).as_string()); //colonna 28=AC grmerc
|
||||
TString8 codcf = get(29).as_string();
|
||||
guess_key.add(get("GRMERC").as_string()); //colonna 28=AC grmerc
|
||||
TString8 codcf = get("CODCLI").as_string();
|
||||
codcf.right_just(6);
|
||||
guess_key.add(codcf); //colonna 29=AD codcf
|
||||
}
|
||||
break;
|
||||
default:
|
||||
guess_key = get(29).as_string(); //colonna 29=AD codcf
|
||||
guess_key = get("CODCLI").as_string(); //colonna 29=AD codcf
|
||||
guess_key.right_just(6);
|
||||
break;
|
||||
} //switch(tipo_dettaglio...
|
||||
@ -218,8 +191,8 @@ long TStatistiche_ve_csv_recordset::trova_riga(const TToken_string& key, const c
|
||||
break;
|
||||
|
||||
case 'G': //grmerc-codart
|
||||
guess_key.add(get(28).as_string()); //colonna 28=AC grmerc
|
||||
guess_key.add(get(0).as_string());
|
||||
guess_key.add(get("GRMERC").as_string()); //colonna 28=AC grmerc
|
||||
guess_key.add(get("CODART").as_string());
|
||||
break;
|
||||
|
||||
default:
|
||||
@ -250,140 +223,32 @@ long TStatistiche_ve_csv_recordset::trova_riga(const TToken_string& key, const c
|
||||
// METODI DI COMPARE
|
||||
///////////////////////////////////////////////
|
||||
|
||||
static TStatistiche_ve_recordset* _curr_recset = NULL;
|
||||
static TToken_string _curr_order;
|
||||
|
||||
//funzione di ordinamento per il campo codart (campo 0 sul csv)
|
||||
//è una stringa semplice
|
||||
static int compare_csv_rows_codart(const TObject** o1, const TObject** o2)
|
||||
static int compare_recset_rows(const TObject** o1, const TObject** o2)
|
||||
{
|
||||
TToken_string& s1 = *(TToken_string*)*o1;
|
||||
TToken_string& s2 = *(TToken_string*)*o2;
|
||||
|
||||
const TString80 c1 = s1.get(0);
|
||||
const TString80 c2 = s2.get(0);
|
||||
int cmp = c1.compare(c2);
|
||||
int cmp = 0;
|
||||
FOR_EACH_TOKEN(_curr_order, fld)
|
||||
{
|
||||
const TRecordset_column_info& ci = _curr_recset->column_info(fld);
|
||||
const TString& f1 = s1.mid(ci._pos, ci._width);
|
||||
const TString& f2 = s2.mid(ci._pos, ci._width);
|
||||
cmp = f1.compare(f2);
|
||||
if (cmp != 0)
|
||||
break;
|
||||
}
|
||||
|
||||
return cmp;
|
||||
}
|
||||
|
||||
//funzione di ordinamento per il campo coscf (campo 29 sul csv)
|
||||
//è un long
|
||||
static int compare_csv_rows_codcf(const TObject** o1, const TObject** o2)
|
||||
{
|
||||
TToken_string& s1 = *(TToken_string*)*o1;
|
||||
TToken_string& s2 = *(TToken_string*)*o2;
|
||||
|
||||
long c1 = s1.get_long(29);
|
||||
long c2 = s2.get_long(29);
|
||||
int cmp = c1 - c2;
|
||||
|
||||
return cmp;
|
||||
}
|
||||
|
||||
//funzione di ordinamento per il campo grmerc/codart (campi 28/0 sul csv)
|
||||
//sono 2 stringhe
|
||||
static int compare_csv_rows_grmerc_codart(const TObject** o1, const TObject** o2)
|
||||
{
|
||||
TToken_string& s1 = *(TToken_string*)*o1;
|
||||
TToken_string& s2 = *(TToken_string*)*o2;
|
||||
|
||||
TToken_string c1;
|
||||
c1.add(s1.get(28));
|
||||
c1.add(s1.get(0));
|
||||
|
||||
TToken_string c2;
|
||||
c2.add(s2.get(28));
|
||||
c2.add(s2.get(0));
|
||||
|
||||
int cmp = c1.compare(c2);
|
||||
|
||||
return cmp;
|
||||
}
|
||||
|
||||
//funzione di ordinamento per il campo codcf/codart (campi 29/0 sul csv)
|
||||
//è un long + una stringa
|
||||
static int compare_csv_rows_codcf_codart(const TObject** o1, const TObject** o2)
|
||||
{
|
||||
TToken_string& s1 = *(TToken_string*)*o1;
|
||||
TToken_string& s2 = *(TToken_string*)*o2;
|
||||
|
||||
long c1 = s1.get_long(29);
|
||||
long c2 = s2.get_long(29);
|
||||
int cmp = c1 - c2;
|
||||
if (cmp == 0)
|
||||
{
|
||||
const TString80 a1 = s1.get(0);
|
||||
const TString80 a2 = s2.get(0);
|
||||
cmp = a1.compare(a2);
|
||||
}
|
||||
|
||||
return cmp;
|
||||
}
|
||||
|
||||
//funzione di ordinamento per il campo codcf/grmerc (campi 29/28 sul csv)
|
||||
//è un long + una stringa
|
||||
static int compare_csv_rows_codcf_grmerc(const TObject** o1, const TObject** o2)
|
||||
{
|
||||
TToken_string& s1 = *(TToken_string*)*o1;
|
||||
TToken_string& s2 = *(TToken_string*)*o2;
|
||||
|
||||
const long c1 = s1.get_long(29);
|
||||
const long c2 = s2.get_long(29);
|
||||
int cmp = c1 - c2;
|
||||
if (cmp == 0)
|
||||
{
|
||||
const TString80 g1 = s1.get(28);
|
||||
const TString80 g2 = s2.get(28);
|
||||
cmp = g1.compare(g2);
|
||||
}
|
||||
|
||||
return cmp;
|
||||
}
|
||||
|
||||
//funzione di ordinamento per il campo codart/codcf (campi 0/29 sul csv)
|
||||
//sono una stringa ed un long
|
||||
static int compare_csv_rows_codart_codcf(const TObject** o1, const TObject** o2)
|
||||
{
|
||||
TToken_string& s1 = *(TToken_string*)*o1;
|
||||
TToken_string& s2 = *(TToken_string*)*o2;
|
||||
|
||||
const TString80 a1 = s1.get(0);
|
||||
const TString80 a2 = s2.get(0);
|
||||
int cmp = a1.compare(a2);
|
||||
|
||||
if (cmp == 0)
|
||||
{
|
||||
const long c1 = s1.get_long(29);
|
||||
const long c2 = s2.get_long(29);
|
||||
cmp = c1 - c2;
|
||||
}
|
||||
|
||||
return cmp;
|
||||
}
|
||||
|
||||
//funzione di ordinamento per il campo grmerc/codcf (campo 28/29 sul csv)
|
||||
//sono una stringa ed un long
|
||||
static int compare_csv_rows_grmerc_codcf(const TObject** o1, const TObject** o2)
|
||||
{
|
||||
TToken_string& s1 = *(TToken_string*)*o1;
|
||||
TToken_string& s2 = *(TToken_string*)*o2;
|
||||
|
||||
//deve ordinare sul campo codart ed eventualmente codcf
|
||||
const TString80 g1 = s1.get(28);
|
||||
const TString80 g2 = s2.get(28);
|
||||
int cmp = g1.compare(g2);
|
||||
|
||||
if (cmp == 0)
|
||||
{
|
||||
const long c1 = s1.get_long(29);
|
||||
const long c2 = s2.get_long(29);
|
||||
cmp = c1 - c2;
|
||||
}
|
||||
|
||||
return cmp;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void TStatistiche_ve_csv_recordset::aggiungi_ai_totali(const TRiga_documento& riga, const char tipo_dati)
|
||||
void TStatistiche_ve_recordset::aggiungi_ai_totali(const TRiga_documento& riga, const char tipo_dati)
|
||||
{
|
||||
//datadoc (serve a stabilire in quale colonna andrà a sommarsi l'importo della riga corrente
|
||||
const TDate datadoc = riga.doc().get_date(DOC_DATADOC);
|
||||
@ -403,7 +268,7 @@ void TStatistiche_ve_csv_recordset::aggiungi_ai_totali(const TRiga_documento& ri
|
||||
}
|
||||
|
||||
//metodo per la scrittura del csv
|
||||
bool TStatistiche_ve_csv_recordset::aggiungi_riga(TDocument_recordset& righe,
|
||||
bool TStatistiche_ve_recordset::aggiungi_riga(TDocument_recordset& righe,
|
||||
const char tipo_dati, const char tipo_stat, const char tipo_dettaglio)
|
||||
{
|
||||
const TDocumento& doc = righe.doc(righe.cursor()->curr());
|
||||
@ -422,10 +287,14 @@ bool TStatistiche_ve_csv_recordset::aggiungi_riga(TDocument_recordset& righe,
|
||||
|
||||
//creazione di un nuovo record da esportare
|
||||
//esiste già questo codart?
|
||||
const TString80 codart = riga.get(RDOC_CODART);
|
||||
TString8 codcf = righe.get("DOC.CODCF").as_string();
|
||||
TString80 codart = riga.get(RDOC_CODART);
|
||||
codart.left_just(20);
|
||||
|
||||
TString8 codcf = righe.get("DOC.CODCF").as_string();
|
||||
codcf.right_just(6);
|
||||
const TString8 grmerc = righe.get("ANAMAG.GRMERC").as_string();
|
||||
|
||||
TString8 grmerc = righe.get("ANAMAG.GRMERC").as_string();
|
||||
grmerc.left_just(5);
|
||||
|
||||
//attenzione ai vari casi di composizione chiave!
|
||||
//A=articolo G=GrMerc+Articolo C=Cliente+Articolo o Articolo+Cliente in base al tipo di stampa scelta
|
||||
@ -479,39 +348,41 @@ bool TStatistiche_ve_csv_recordset::aggiungi_riga(TDocument_recordset& righe,
|
||||
{
|
||||
//codart
|
||||
new_rec("");
|
||||
set(0, TVariant(codart));
|
||||
set("CODART", codart);
|
||||
//descrart
|
||||
const TString& descrart = cache().get(LF_ANAMAG, codart, ANAMAG_DESCR);
|
||||
set(1, TVariant(descrart));
|
||||
set("DESCRIZIONE", descrart);
|
||||
|
||||
set(28, TVariant(grmerc));
|
||||
set(29, TVariant(codcf));
|
||||
set("GRMERC", grmerc);
|
||||
set("CODCLI", TVariant(codcf));
|
||||
|
||||
//re-sorting per codart (serve perchè solo il recordset ordinato è scannerizzabile con il plutonico metodo dicotomico)
|
||||
switch (tipo_stat)
|
||||
{
|
||||
case 'A': sort(compare_csv_rows_codart); break;
|
||||
case 'A': _curr_order = "CODART"; break;
|
||||
|
||||
case 'C':
|
||||
{
|
||||
switch (tipo_dettaglio)
|
||||
{
|
||||
case 'A': sort(compare_csv_rows_codart_codcf); break;
|
||||
case 'C': sort(compare_csv_rows_codcf_codart); break;
|
||||
case 'G': sort(compare_csv_rows_codcf_grmerc); break;
|
||||
case 'M': sort(compare_csv_rows_grmerc_codcf); break;
|
||||
default: sort(compare_csv_rows_codcf); break; //ordinamento quando non è richiesto il dettaglio
|
||||
case 'A': _curr_order = "CODART|CODCLI"; break;
|
||||
case 'C': _curr_order = "CODCLI|CODART"; break;
|
||||
case 'G': _curr_order = "CODCLI|GRMERC"; break;
|
||||
case 'M': _curr_order = "GRMERC|CODCLI"; break;
|
||||
default: _curr_order = "CODCLI"; break; //ordinamento quando non è richiesto il dettaglio
|
||||
} //switch(tipo_dettaglio...
|
||||
break;
|
||||
} //case 'C'
|
||||
|
||||
case 'G': sort(compare_csv_rows_grmerc_codart); break;
|
||||
case 'G': _curr_order = "GRMERC|CODART"; break;
|
||||
|
||||
default: break;
|
||||
}
|
||||
|
||||
//chiave.add(codart);
|
||||
|
||||
_curr_recset = this;
|
||||
sort(compare_recset_rows);
|
||||
_curr_recset = NULL;
|
||||
|
||||
numriga = trova_riga(key, tipo_stat, tipo_dettaglio);
|
||||
|
||||
CHECKS(numriga >= 0, "Articolo bastardo ", (const char*)codart);
|
||||
@ -522,41 +393,47 @@ bool TStatistiche_ve_csv_recordset::aggiungi_riga(TDocument_recordset& righe,
|
||||
//datadoc (serve a stabilire in quale colonna andrà a sommarsi l'importo della riga corrente
|
||||
const TDate datadoc = riga.doc().get_date(DOC_DATADOC);
|
||||
const int mese = datadoc.month();
|
||||
const int column = mese * 2; //le colonne dei mesi sono gennaio=2,febbraio=4,marzo=6...
|
||||
|
||||
TString16 str_mese = itom(mese);
|
||||
str_mese.upper();
|
||||
|
||||
//parte comune ai due casi
|
||||
real datone = get(column).as_real(); //valora totale della colonna mese corrispondente nel csv
|
||||
real datone = get(str_mese).as_real(); //valora totale della colonna mese corrispondente nel csv
|
||||
datone += dato; //aggiunge il valore riga al valore totale articolo del mese nel csv
|
||||
set(column, datone); //riscrive il valore totale aggiornato nella sua colonna(in formato stringa, cioè con la "," e non il ".")
|
||||
set(str_mese, datone); //riscrive il valore totale aggiornato nella sua colonna(in formato stringa, cioè con la "," e non il ".")
|
||||
|
||||
|
||||
//aggiunge anche grmerc, utilizzando codartmag per risalire al grmerc (se usasse codart potrebbe non esistere in anagrafica!)
|
||||
set(28, grmerc);
|
||||
set("GRMERC", grmerc);
|
||||
//aggiunge pure il cliente
|
||||
set(29, codcf);
|
||||
set("CODCLI", codcf);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void TStatistiche_ve_csv_recordset::calcola_percentuali()
|
||||
void TStatistiche_ve_recordset::calcola_percentuali()
|
||||
{
|
||||
//%incidenza articolo sul mese = imp_articolo mese / imp tot mese
|
||||
for (bool ok = move_first(); ok; ok = move_next())
|
||||
{
|
||||
real totale_anno;
|
||||
for (int i = 2; i <= 24; i += 2)
|
||||
TString16 str_mese;
|
||||
for (int i = 1; i <= 12; i++)
|
||||
{
|
||||
const real imp_art_mese = get(i).as_real();
|
||||
str_mese = itom(i);
|
||||
str_mese.upper();
|
||||
const real imp_art_mese = get(str_mese).as_real();
|
||||
//ricordando che l'array parte da 0
|
||||
real perc = imp_art_mese * CENTO / _tot[i/2 - 1]; //calcola la % incidenza articolo sul totale per quel mese
|
||||
real perc = imp_art_mese * CENTO / _tot[i - 1]; //calcola la % incidenza articolo sul totale per quel mese
|
||||
perc.round(5);
|
||||
set(i + 1, perc);
|
||||
str_mese.cut(3);
|
||||
str_mese.insert("P");
|
||||
set(str_mese, perc);
|
||||
totale_anno += imp_art_mese;
|
||||
}
|
||||
set(26, totale_anno);
|
||||
const real perc_anno = totale_anno * CENTO / _tot[12]; //calcola la % incidenza articolo sul totale annuale
|
||||
set(27, perc_anno);
|
||||
set("ANNO", totale_anno);
|
||||
real perc_anno = totale_anno * CENTO / _tot[12]; //calcola la % incidenza articolo sul totale annuale
|
||||
perc_anno.round(5);
|
||||
set("PANNO", perc_anno);
|
||||
}
|
||||
}
|
||||
|
||||
@ -607,7 +484,7 @@ void TStatistiche_ve::elabora(const TMask& mask) const
|
||||
}
|
||||
|
||||
//creazione del csv recordset che verra' riempito dai record del recordset righe
|
||||
TStatistiche_ve_csv_recordset* csv = new TStatistiche_ve_csv_recordset(mask);
|
||||
TStatistiche_ve_recordset* csv = new TStatistiche_ve_recordset();
|
||||
|
||||
//CALCOLO DEI TOTALI
|
||||
//------------------
|
||||
@ -746,8 +623,6 @@ void TStatistiche_ve::elabora(const TMask& mask) const
|
||||
//se richiesto il file in formato excel...
|
||||
if (mask.get_bool(F_EXCEL))
|
||||
{
|
||||
//crea la riga con le intestazioni dei campi e la mette all'inizio
|
||||
csv->compila_intestazione();
|
||||
//salva il file come richiesto; il nome del file viene deciso in base al tipo di statistica richiesta; il file alla fine..
|
||||
//..della storia è sempre lo stesso ma ordinato in modo diverso
|
||||
TString path = mask.get(F_PATH);
|
||||
@ -761,9 +636,6 @@ void TStatistiche_ve::elabora(const TMask& mask) const
|
||||
default: break;
|
||||
}
|
||||
csv->save_as(path, fmt_html);
|
||||
|
||||
//accoppa la riga con le intestazioni dei campi
|
||||
csv->destroy(0);
|
||||
|
||||
#ifdef DBG
|
||||
xvt_sys_goto_url(path, "open");
|
||||
@ -805,6 +677,8 @@ void TStatistiche_ve::elabora(const TMask& mask) const
|
||||
|
||||
//setta il recordset...
|
||||
rep.set_recordset(csv);
|
||||
//setta le variabili della maschera sul report
|
||||
rep.mask2report(mask);
|
||||
|
||||
if (stampa)
|
||||
{
|
||||
|
@ -2,7 +2,7 @@
|
||||
<report name="ve3800a" orientation="2" lpi="6">
|
||||
<description>Statistiche per Articolo</description>
|
||||
<font face="Arial Narrow" size="7" />
|
||||
<section type="Head">
|
||||
<section type="Head" pattern="1">
|
||||
<font face="Arial Narrow" bold="1" size="8" />
|
||||
<field x="1" type="Testo" width="10" pattern="1" text="Articolo" />
|
||||
<field border="1" x="30.5" type="Linea" pattern="1" />
|
||||
@ -22,9 +22,9 @@
|
||||
<field x="165" type="Testo" align="center" width="12" pattern="1" text="ANNUALE" />
|
||||
<field border="1" y="1" type="Linea" width="180" height="0" pattern="1" />
|
||||
</section>
|
||||
<section type="Head" level="1">
|
||||
<section type="Head" level="1" pattern="1">
|
||||
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1</prescript>
|
||||
<field border="2" radius="100" x="55.5" y="0.5" type="Rettangolo" shade_offset="50" width="60" height="3" />
|
||||
<field border="2" radius="100" x="55.5" y="0.5" type="Rettangolo" shade_offset="50" width="60" height="3" pattern="2" />
|
||||
<field x="55.5" y="1" type="Testo" valign="center" align="center" width="60" height="2" pattern="1" text="STATISTICHE PER ARTICOLO">
|
||||
<font face="Arial" bold="1" size="14" />
|
||||
</field>
|
||||
@ -54,124 +54,124 @@
|
||||
<source>#ANNO</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Body" />
|
||||
<section type="Body" level="1">
|
||||
<section type="Body" pattern="1" />
|
||||
<section type="Body" level="1" pattern="1">
|
||||
<field type="Stringa" width="6" pattern="1">
|
||||
<source>A</source>
|
||||
<source>CODART</source>
|
||||
</field>
|
||||
<field x="6" type="Stringa" width="24" pattern="1">
|
||||
<source>B</source>
|
||||
<source>DESCRIZIONE</source>
|
||||
</field>
|
||||
<field border="1" x="30.5" type="Linea" pattern="1" />
|
||||
<field x="31" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>C</source>
|
||||
<source>GENNAIO</source>
|
||||
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.101</postscript>
|
||||
</field>
|
||||
<field x="38" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>D</source>
|
||||
<source>PGEN</source>
|
||||
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.102</postscript>
|
||||
</field>
|
||||
<field x="42" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>E</source>
|
||||
<source>FEBBRAIO</source>
|
||||
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.103</postscript>
|
||||
</field>
|
||||
<field x="49" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>F</source>
|
||||
<source>PFEB</source>
|
||||
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.104</postscript>
|
||||
</field>
|
||||
<field x="53" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>G</source>
|
||||
<source>MARZO</source>
|
||||
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.105</postscript>
|
||||
</field>
|
||||
<field x="60" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>H</source>
|
||||
<source>PMAR</source>
|
||||
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.106</postscript>
|
||||
</field>
|
||||
<field x="64" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>I</source>
|
||||
<source>APRILE</source>
|
||||
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.107</postscript>
|
||||
</field>
|
||||
<field x="71" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>J</source>
|
||||
<source>PAPR</source>
|
||||
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.108</postscript>
|
||||
</field>
|
||||
<field x="75" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>K</source>
|
||||
<source>MAGGIO</source>
|
||||
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.109</postscript>
|
||||
</field>
|
||||
<field x="82" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>L</source>
|
||||
<source>PMAG</source>
|
||||
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.110</postscript>
|
||||
</field>
|
||||
<field x="86" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>M</source>
|
||||
<source>GIUGNO</source>
|
||||
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.111</postscript>
|
||||
</field>
|
||||
<field x="93" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>N</source>
|
||||
<source>PGIU</source>
|
||||
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.112</postscript>
|
||||
</field>
|
||||
<field x="97" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>O</source>
|
||||
<source>LUGLIO</source>
|
||||
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.113</postscript>
|
||||
</field>
|
||||
<field x="104" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>P</source>
|
||||
<source>PLUG</source>
|
||||
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.114</postscript>
|
||||
</field>
|
||||
<field x="108" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>Q</source>
|
||||
<source>AGOSTO</source>
|
||||
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.115</postscript>
|
||||
</field>
|
||||
<field x="115" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>R</source>
|
||||
<source>PAGO</source>
|
||||
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.116</postscript>
|
||||
</field>
|
||||
<field x="119" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>S</source>
|
||||
<source>SETTEMBRE</source>
|
||||
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.117</postscript>
|
||||
</field>
|
||||
<field x="126" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>T</source>
|
||||
<source>PSET</source>
|
||||
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.118</postscript>
|
||||
</field>
|
||||
<field x="130" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>U</source>
|
||||
<source>OTTOBRE</source>
|
||||
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.119</postscript>
|
||||
</field>
|
||||
<field x="137" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>V</source>
|
||||
<source>POTT</source>
|
||||
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.120</postscript>
|
||||
</field>
|
||||
<field x="141" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>W</source>
|
||||
<source>NOVEMBRE</source>
|
||||
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.121</postscript>
|
||||
</field>
|
||||
<field x="148" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>X</source>
|
||||
<source>PNOV</source>
|
||||
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.122</postscript>
|
||||
</field>
|
||||
<field x="152" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>Y</source>
|
||||
<source>DICEMBRE</source>
|
||||
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.123</postscript>
|
||||
</field>
|
||||
<field x="159" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>Z</source>
|
||||
<source>PDIC</source>
|
||||
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.124</postscript>
|
||||
</field>
|
||||
<field border="1" x="164" type="Linea" pattern="1" />
|
||||
<field x="165" type="Valuta" align="right" width="8" pattern="1" text="#########,@@">
|
||||
<font italic="1" face="Arial Narrow" size="7" />
|
||||
<source>AA</source>
|
||||
<source>ANNO</source>
|
||||
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.125</postscript>
|
||||
</field>
|
||||
<field x="173.5" type="Numero" align="right" width="5" pattern="1" text="###,@@">
|
||||
<font italic="1" face="Arial Narrow" size="7" />
|
||||
<source>AB</source>
|
||||
<source>PANNO</source>
|
||||
<postscript description="B1.0 POSTSCRIPT">MESSAGE ADD,F1.126</postscript>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot">
|
||||
<section type="Foot" pattern="1">
|
||||
<font face="Arial Narrow" bold="1" size="8" />
|
||||
<field border="1" type="Linea" width="180" height="0" pattern="1" />
|
||||
<field x="162" type="Testo" valign="center" width="5" pattern="1" text="Pag." />
|
||||
@ -179,7 +179,7 @@
|
||||
<source>#REPORT.PAGE</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot" level="1">
|
||||
<section type="Foot" level="1" pattern="1">
|
||||
<font face="Arial Narrow" bold="1" size="7" />
|
||||
<field border="1" type="Linea" width="180" height="0" pattern="1" />
|
||||
<field border="1" x="30.5" type="Linea" height="1.5" pattern="1" />
|
||||
|
@ -2,7 +2,7 @@
|
||||
<report name="ve3800b" orientation="2" lpi="6">
|
||||
<description>Statistiche per GrMerc</description>
|
||||
<font face="Arial Narrow" size="7" />
|
||||
<section type="Head">
|
||||
<section type="Head" pattern="1">
|
||||
<font face="Arial Narrow" bold="1" size="8" />
|
||||
<field x="1" type="Testo" width="10" pattern="1" text="Gr. Merc." />
|
||||
<field border="1" x="30.5" type="Linea" pattern="1" />
|
||||
@ -22,9 +22,9 @@
|
||||
<field x="165" type="Testo" align="center" width="12" pattern="1" text="ANNUALE" />
|
||||
<field border="1" y="1" type="Linea" width="180" height="0" pattern="1" />
|
||||
</section>
|
||||
<section type="Head" level="1">
|
||||
<section type="Head" level="1" pattern="1">
|
||||
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1</prescript>
|
||||
<field border="2" radius="100" x="44" y="0.5" type="Rettangolo" shade_offset="50" width="80" height="3" />
|
||||
<field border="2" radius="100" x="44" y="0.5" type="Rettangolo" shade_offset="50" width="80" height="3" pattern="2" />
|
||||
<field x="44" y="1" type="Testo" valign="center" align="center" width="80" height="2" pattern="1" text="STATISTICHE PER GRUPPO MERCEOLOGICO">
|
||||
<font face="Arial" bold="1" size="14" />
|
||||
</field>
|
||||
@ -54,158 +54,157 @@
|
||||
<source>#ANNO</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Head" level="2" hidden="1">
|
||||
<groupby>AC</groupby>
|
||||
<section type="Head" level="2" hidden="1" pattern="1">
|
||||
<groupby>GRMERC</groupby>
|
||||
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2</prescript>
|
||||
<field x="1" type="Stringa" width="3" id="99" pattern="1">
|
||||
<source>AC</source>
|
||||
<prescript description="H2.99 PRESCRIPT">MESSAGE COPY,F2.99</prescript>
|
||||
<field x="1" type="Stringa" width="5" id="99" pattern="1">
|
||||
<source>GRMERC</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Body" />
|
||||
<section type="Body" level="1" hidden="1">
|
||||
<section type="Body" pattern="1" />
|
||||
<section type="Body" level="1" hidden="1" pattern="1">
|
||||
<field type="Stringa" width="6" pattern="1">
|
||||
<source>A</source>
|
||||
<source>CODART</source>
|
||||
</field>
|
||||
<field x="6" type="Stringa" width="24" pattern="1">
|
||||
<source>B</source>
|
||||
<source>DESCRIZIONE</source>
|
||||
</field>
|
||||
<field border="1" x="30.5" type="Linea" pattern="1" />
|
||||
<field x="31" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>C</source>
|
||||
<source>GENNAIO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.101
|
||||
MESSAGE ADD,F2.101</prescript>
|
||||
</field>
|
||||
<field x="38" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>D</source>
|
||||
<source>PGEN</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.102
|
||||
MESSAGE ADD,F2.102</prescript>
|
||||
</field>
|
||||
<field x="42" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>E</source>
|
||||
<source>FEBBRAIO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.103
|
||||
MESSAGE ADD,F2.103</prescript>
|
||||
</field>
|
||||
<field x="49" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>F</source>
|
||||
<source>PFEB</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.104
|
||||
MESSAGE ADD,F2.104</prescript>
|
||||
</field>
|
||||
<field x="53" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>G</source>
|
||||
<source>MARZO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.105
|
||||
MESSAGE ADD,F2.105</prescript>
|
||||
</field>
|
||||
<field x="60" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>H</source>
|
||||
<source>PMAR</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.106
|
||||
MESSAGE ADD,F2.106</prescript>
|
||||
</field>
|
||||
<field x="64" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>I</source>
|
||||
<source>APRILE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.107
|
||||
MESSAGE ADD,F2.107</prescript>
|
||||
</field>
|
||||
<field x="71" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>J</source>
|
||||
<source>PAPR</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.108
|
||||
MESSAGE ADD,F2.108</prescript>
|
||||
</field>
|
||||
<field x="75" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>K</source>
|
||||
<source>MAGGIO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.109
|
||||
MESSAGE ADD,F2.109</prescript>
|
||||
</field>
|
||||
<field x="82" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>L</source>
|
||||
<source>PMAG</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.110
|
||||
MESSAGE ADD,F2.110</prescript>
|
||||
</field>
|
||||
<field x="86" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>M</source>
|
||||
<source>GIUGNO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.111
|
||||
MESSAGE ADD,F2.111</prescript>
|
||||
</field>
|
||||
<field x="93" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>N</source>
|
||||
<source>PGIU</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.112
|
||||
MESSAGE ADD,F2.112</prescript>
|
||||
</field>
|
||||
<field x="97" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>O</source>
|
||||
<source>LUGLIO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.113
|
||||
MESSAGE ADD,F2.113</prescript>
|
||||
</field>
|
||||
<field x="104" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>P</source>
|
||||
<source>PLUG</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.114
|
||||
MESSAGE ADD,F2.114</prescript>
|
||||
</field>
|
||||
<field x="108" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>Q</source>
|
||||
<source>AGOSTO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.115
|
||||
MESSAGE ADD,F2.115</prescript>
|
||||
</field>
|
||||
<field x="115" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>R</source>
|
||||
<source>PAGO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.116
|
||||
MESSAGE ADD,F2.116</prescript>
|
||||
</field>
|
||||
<field x="119" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>S</source>
|
||||
<source>SETTEMBRE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.117
|
||||
MESSAGE ADD,F2.117</prescript>
|
||||
</field>
|
||||
<field x="126" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>T</source>
|
||||
<source>PSET</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.118
|
||||
MESSAGE ADD,F2.118</prescript>
|
||||
</field>
|
||||
<field x="130" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>U</source>
|
||||
<source>OTTOBRE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.119
|
||||
MESSAGE ADD,F2.119</prescript>
|
||||
</field>
|
||||
<field x="137" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>V</source>
|
||||
<source>POTT</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.120
|
||||
MESSAGE ADD,F2.120</prescript>
|
||||
</field>
|
||||
<field x="141" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>W</source>
|
||||
<source>NOVEMBRE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.121
|
||||
MESSAGE ADD,F2.121</prescript>
|
||||
</field>
|
||||
<field x="148" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>X</source>
|
||||
<source>PNOV</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.122
|
||||
MESSAGE ADD,F2.122</prescript>
|
||||
</field>
|
||||
<field x="152" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>Y</source>
|
||||
<source>DICEMBRE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.123
|
||||
MESSAGE ADD,F2.123</prescript>
|
||||
</field>
|
||||
<field x="159" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>Z</source>
|
||||
<source>PDIC</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.124
|
||||
MESSAGE ADD,F2.124</prescript>
|
||||
</field>
|
||||
<field border="1" x="164" type="Linea" pattern="1" />
|
||||
<field x="165" type="Valuta" align="right" width="8" pattern="1" text="#########,@@">
|
||||
<font italic="1" face="Arial Narrow" size="7" />
|
||||
<source>AA</source>
|
||||
<source>ANNO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.125
|
||||
MESSAGE ADD,F2.125</prescript>
|
||||
</field>
|
||||
<field x="173.5" type="Numero" align="right" width="5" pattern="1" text="###,@@">
|
||||
<font italic="1" face="Arial Narrow" size="7" />
|
||||
<source>AB</source>
|
||||
<source>PANNO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.126
|
||||
MESSAGE ADD,F2.126</prescript>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot">
|
||||
<section type="Foot" pattern="1">
|
||||
<font face="Arial Narrow" bold="1" size="8" />
|
||||
<field border="1" type="Linea" width="180" height="0" pattern="1" />
|
||||
<field x="162" type="Testo" valign="center" width="5" pattern="1" text="Pag." />
|
||||
@ -213,7 +212,7 @@ MESSAGE ADD,F2.126</prescript>
|
||||
<source>#REPORT.PAGE</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot" level="1">
|
||||
<section type="Foot" level="1" pattern="1">
|
||||
<font face="Arial Narrow" bold="1" size="7" />
|
||||
<field border="1" type="Linea" width="180" height="0" pattern="1" />
|
||||
<field border="1" x="30.5" type="Linea" height="1.5" pattern="1" />
|
||||
@ -276,10 +275,12 @@ MESSAGE ADD,F2.126</prescript>
|
||||
<source>ROUND(#THIS,2)</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot" level="2">
|
||||
<section type="Foot" level="2" pattern="1">
|
||||
<field border="1" x="30.5" type="Linea" pattern="1" />
|
||||
<field border="1" x="164" type="Linea" pattern="1" />
|
||||
<field x="1" type="Stringa" width="3.5" id="99" pattern="1" />
|
||||
<field x="1" type="Stringa" width="4" id="99" pattern="1">
|
||||
<source>#H2.99</source>
|
||||
</field>
|
||||
<field x="5" type="Stringa" width="25" id="100" pattern="1">
|
||||
<prescript description="F2.100 PRESCRIPT">MESSAGE TABLEREAD,GMC,#99,S0</prescript>
|
||||
</field>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<report name="ve3800c" orientation="2" lpi="6">
|
||||
<description>Statistiche per Cliente</description>
|
||||
<font face="Arial Narrow" size="7" />
|
||||
<section type="Head">
|
||||
<section type="Head" pattern="1">
|
||||
<font face="Arial Narrow" bold="1" size="8" />
|
||||
<field x="1" type="Testo" width="10" pattern="1" text="Cliente" />
|
||||
<field border="1" x="30.5" type="Linea" pattern="1" />
|
||||
@ -22,9 +22,9 @@
|
||||
<field x="165" type="Testo" align="center" width="12" pattern="1" text="ANNUALE" />
|
||||
<field border="1" y="1" type="Linea" width="180" height="0" pattern="1" />
|
||||
</section>
|
||||
<section type="Head" level="1">
|
||||
<section type="Head" level="1" pattern="1">
|
||||
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1</prescript>
|
||||
<field border="2" radius="100" x="50" y="0.5" type="Rettangolo" shade_offset="50" width="80" height="3" />
|
||||
<field border="2" radius="100" x="50" y="0.5" type="Rettangolo" shade_offset="50" width="80" height="3" pattern="2" />
|
||||
<field x="50" y="1" type="Testo" valign="center" align="center" width="80" height="2" pattern="1" text="STATISTICHE PER CLIENTE">
|
||||
<font face="Arial" bold="1" size="14" />
|
||||
</field>
|
||||
@ -54,158 +54,157 @@
|
||||
<source>#ANNO</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Head" level="2" hidden="1">
|
||||
<groupby>AD</groupby>
|
||||
<section type="Head" level="2" hidden="1" pattern="1">
|
||||
<groupby>CODCLI</groupby>
|
||||
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2</prescript>
|
||||
<field x="1" type="Stringa" width="3" id="99" pattern="1">
|
||||
<source>AD</source>
|
||||
<prescript description="H2.99 PRESCRIPT">MESSAGE COPY,F2.99</prescript>
|
||||
<field x="1" type="Numero" align="right" width="6" id="99" pattern="1">
|
||||
<source>CODCLI</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Body" />
|
||||
<section type="Body" level="1" hidden="1">
|
||||
<section type="Body" pattern="1" />
|
||||
<section type="Body" level="1" hidden="1" pattern="1">
|
||||
<field type="Stringa" width="6" pattern="1">
|
||||
<source>A</source>
|
||||
<source>CODART</source>
|
||||
</field>
|
||||
<field x="6" type="Stringa" width="24" pattern="1">
|
||||
<source>B</source>
|
||||
<source>DESCRIZIONE</source>
|
||||
</field>
|
||||
<field border="1" x="30.5" type="Linea" pattern="1" />
|
||||
<field x="31" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>C</source>
|
||||
<source>GENNAIO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.101
|
||||
MESSAGE ADD,F2.101</prescript>
|
||||
</field>
|
||||
<field x="38" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>D</source>
|
||||
<source>PGEN</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.102
|
||||
MESSAGE ADD,F2.102</prescript>
|
||||
</field>
|
||||
<field x="42" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>E</source>
|
||||
<source>FEBBRAIO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.103
|
||||
MESSAGE ADD,F2.103</prescript>
|
||||
</field>
|
||||
<field x="49" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>F</source>
|
||||
<source>PFEB</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.104
|
||||
MESSAGE ADD,F2.104</prescript>
|
||||
</field>
|
||||
<field x="53" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>G</source>
|
||||
<source>MARZO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.105
|
||||
MESSAGE ADD,F2.105</prescript>
|
||||
</field>
|
||||
<field x="60" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>H</source>
|
||||
<source>PMAR</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.106
|
||||
MESSAGE ADD,F2.106</prescript>
|
||||
</field>
|
||||
<field x="64" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>I</source>
|
||||
<source>APRILE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.107
|
||||
MESSAGE ADD,F2.107</prescript>
|
||||
</field>
|
||||
<field x="71" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>J</source>
|
||||
<source>PAPR</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.108
|
||||
MESSAGE ADD,F2.108</prescript>
|
||||
</field>
|
||||
<field x="75" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>K</source>
|
||||
<source>MAGGIO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.109
|
||||
MESSAGE ADD,F2.109</prescript>
|
||||
</field>
|
||||
<field x="82" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>L</source>
|
||||
<source>PMAG</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.110
|
||||
MESSAGE ADD,F2.110</prescript>
|
||||
</field>
|
||||
<field x="86" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>M</source>
|
||||
<source>GIUGNO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.111
|
||||
MESSAGE ADD,F2.111</prescript>
|
||||
</field>
|
||||
<field x="93" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>N</source>
|
||||
<source>PGIU</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.112
|
||||
MESSAGE ADD,F2.112</prescript>
|
||||
</field>
|
||||
<field x="97" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>O</source>
|
||||
<source>LUGLIO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.113
|
||||
MESSAGE ADD,F2.113</prescript>
|
||||
</field>
|
||||
<field x="104" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>P</source>
|
||||
<source>PLUG</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.114
|
||||
MESSAGE ADD,F2.114</prescript>
|
||||
</field>
|
||||
<field x="108" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>Q</source>
|
||||
<source>AGOSTO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.115
|
||||
MESSAGE ADD,F2.115</prescript>
|
||||
</field>
|
||||
<field x="115" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>R</source>
|
||||
<source>PAGO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.116
|
||||
MESSAGE ADD,F2.116</prescript>
|
||||
</field>
|
||||
<field x="119" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>S</source>
|
||||
<source>SETTEMBRE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.117
|
||||
MESSAGE ADD,F2.117</prescript>
|
||||
</field>
|
||||
<field x="126" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>T</source>
|
||||
<source>PSET</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.118
|
||||
MESSAGE ADD,F2.118</prescript>
|
||||
</field>
|
||||
<field x="130" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>U</source>
|
||||
<source>OTTOBRE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.119
|
||||
MESSAGE ADD,F2.119</prescript>
|
||||
</field>
|
||||
<field x="137" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>V</source>
|
||||
<source>POTT</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.120
|
||||
MESSAGE ADD,F2.120</prescript>
|
||||
</field>
|
||||
<field x="141" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>W</source>
|
||||
<source>NOVEMBRE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.121
|
||||
MESSAGE ADD,F2.121</prescript>
|
||||
</field>
|
||||
<field x="148" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>X</source>
|
||||
<source>PNOV</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.122
|
||||
MESSAGE ADD,F2.122</prescript>
|
||||
</field>
|
||||
<field x="152" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>Y</source>
|
||||
<source>DICEMBRE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.123
|
||||
MESSAGE ADD,F2.123</prescript>
|
||||
</field>
|
||||
<field x="159" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>Z</source>
|
||||
<source>PDIC</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.124
|
||||
MESSAGE ADD,F2.124</prescript>
|
||||
</field>
|
||||
<field border="1" x="164" type="Linea" pattern="1" />
|
||||
<field x="165" type="Valuta" align="right" width="8" pattern="1" text="#########,@@">
|
||||
<font italic="1" face="Arial Narrow" size="7" />
|
||||
<source>AA</source>
|
||||
<source>ANNO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.125
|
||||
MESSAGE ADD,F2.125</prescript>
|
||||
</field>
|
||||
<field x="173.5" type="Numero" align="right" width="5" pattern="1" text="###,@@">
|
||||
<font italic="1" face="Arial Narrow" size="7" />
|
||||
<source>AB</source>
|
||||
<source>PANNO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.126
|
||||
MESSAGE ADD,F2.126</prescript>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot">
|
||||
<section type="Foot" pattern="1">
|
||||
<font face="Arial Narrow" bold="1" size="8" />
|
||||
<field border="1" type="Linea" width="180" height="0" pattern="1" />
|
||||
<field x="162" type="Testo" valign="center" width="5" pattern="1" text="Pag." />
|
||||
@ -213,7 +212,7 @@ MESSAGE ADD,F2.126</prescript>
|
||||
<source>#REPORT.PAGE</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot" level="1">
|
||||
<section type="Foot" level="1" pattern="1">
|
||||
<font face="Arial Narrow" bold="1" size="7" />
|
||||
<field border="1" type="Linea" width="180" height="0" pattern="1" />
|
||||
<field border="1" x="30.5" type="Linea" height="1.5" pattern="1" />
|
||||
@ -276,10 +275,12 @@ MESSAGE ADD,F2.126</prescript>
|
||||
<source>ROUND(#THIS,2)</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot" level="2">
|
||||
<section type="Foot" level="2" pattern="1">
|
||||
<field border="1" x="30.5" type="Linea" pattern="1" />
|
||||
<field border="1" x="164" type="Linea" pattern="1" />
|
||||
<field x="1" type="Stringa" width="4" id="99" pattern="1" />
|
||||
<field type="Numero" align="right" width="5" id="99" pattern="1">
|
||||
<source>#H2.99</source>
|
||||
</field>
|
||||
<field x="5.5" type="Stringa" width="25" id="100" pattern="1">
|
||||
<prescript description="F2.100 PRESCRIPT">MESSAGE ISAMREAD,20,TIPOCF='C'!CODCF=#99,RAGSOC</prescript>
|
||||
</field>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<report name="ve3800d" orientation="2" lpi="6">
|
||||
<description>Statistiche Raggr. Cliente - Dett. Articolo</description>
|
||||
<font face="Arial Narrow" size="7" />
|
||||
<section type="Head">
|
||||
<section type="Head" pattern="1">
|
||||
<font face="Arial Narrow" bold="1" size="8" />
|
||||
<field x="1" type="Testo" width="10" pattern="1" text="Cliente">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
@ -25,9 +25,9 @@
|
||||
<field x="168" y="1" type="Testo" align="center" width="12" pattern="1" text="ANNUALE" />
|
||||
<field border="1" y="2" type="Linea" width="180" height="0" pattern="1" />
|
||||
</section>
|
||||
<section type="Head" level="1">
|
||||
<section type="Head" level="1" pattern="1">
|
||||
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1</prescript>
|
||||
<field border="2" radius="100" x="30" y="0.5" type="Rettangolo" shade_offset="50" width="128" height="3" />
|
||||
<field border="2" radius="100" x="29" y="0.5" type="Rettangolo" shade_offset="50" width="130" height="3" pattern="2" />
|
||||
<field x="30" y="1" type="Testo" valign="center" align="center" width="128" height="2" pattern="1" text="STATISTICHE RAGGRUPPATE PER CLIENTE DETTAGLIATE PER ARTICOLO">
|
||||
<font face="Arial" bold="1" size="14" />
|
||||
</field>
|
||||
@ -57,12 +57,12 @@
|
||||
<source>#ANNO</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Head" level="2">
|
||||
<groupby>AD</groupby>
|
||||
<section type="Head" level="2" pattern="1">
|
||||
<groupby>CODCLI</groupby>
|
||||
<font face="Arial" bold="1" size="7" />
|
||||
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2</prescript>
|
||||
<field x="1" y="0.5" type="Stringa" width="6" id="99" pattern="1">
|
||||
<source>AD</source>
|
||||
<source>CODCLI</source>
|
||||
<prescript description="H2.99 PRESCRIPT">MESSAGE COPY,F2.99</prescript>
|
||||
</field>
|
||||
<field x="8" y="0.5" type="Stringa" width="50" id="100" pattern="1">
|
||||
@ -70,150 +70,150 @@
|
||||
MESSAGE COPY,F2.100</prescript>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Body" />
|
||||
<section type="Body" level="1">
|
||||
<field x="3" type="Stringa" width="6" pattern="1">
|
||||
<source>A</source>
|
||||
<section type="Body" pattern="1" />
|
||||
<section type="Body" level="1" pattern="1">
|
||||
<field x="1.5" type="Stringa" width="10" pattern="1">
|
||||
<source>CODART</source>
|
||||
</field>
|
||||
<field x="9" type="Stringa" width="24" pattern="1">
|
||||
<source>B</source>
|
||||
<field x="12" type="Stringa" width="21" pattern="1">
|
||||
<source>DESCRIZIONE</source>
|
||||
</field>
|
||||
<field border="1" x="33.5" type="Linea" pattern="1" />
|
||||
<field x="34" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>C</source>
|
||||
<source>GENNAIO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.101
|
||||
MESSAGE ADD,F2.101</prescript>
|
||||
</field>
|
||||
<field x="41" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>D</source>
|
||||
<source>PGEN</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.102
|
||||
MESSAGE ADD,F2.102</prescript>
|
||||
</field>
|
||||
<field x="45" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>E</source>
|
||||
<source>FEBBRAIO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.103
|
||||
MESSAGE ADD,F2.103</prescript>
|
||||
</field>
|
||||
<field x="52" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>F</source>
|
||||
<source>PFEB</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.104
|
||||
MESSAGE ADD,F2.104</prescript>
|
||||
</field>
|
||||
<field x="56" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>G</source>
|
||||
<source>MARZO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.105
|
||||
MESSAGE ADD,F2.105</prescript>
|
||||
</field>
|
||||
<field x="63" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>H</source>
|
||||
<source>PMAR</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.106
|
||||
MESSAGE ADD,F2.106</prescript>
|
||||
</field>
|
||||
<field x="67" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>I</source>
|
||||
<source>APRILE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.107
|
||||
MESSAGE ADD,F2.107</prescript>
|
||||
</field>
|
||||
<field x="74" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>J</source>
|
||||
<source>PAPR</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.108
|
||||
MESSAGE ADD,F2.108</prescript>
|
||||
</field>
|
||||
<field x="78" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>K</source>
|
||||
<source>MAGGIO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.109
|
||||
MESSAGE ADD,F2.109</prescript>
|
||||
</field>
|
||||
<field x="85" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>L</source>
|
||||
<source>PMAG</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.110
|
||||
MESSAGE ADD,F2.110</prescript>
|
||||
</field>
|
||||
<field x="89" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>M</source>
|
||||
<source>GIUGNO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.111
|
||||
MESSAGE ADD,F2.111</prescript>
|
||||
</field>
|
||||
<field x="96" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>N</source>
|
||||
<source>PGIU</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.112
|
||||
MESSAGE ADD,F2.112</prescript>
|
||||
</field>
|
||||
<field x="100" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>O</source>
|
||||
<source>LUGLIO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.113
|
||||
MESSAGE ADD,F2.113</prescript>
|
||||
</field>
|
||||
<field x="107" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>P</source>
|
||||
<source>PLUG</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.114
|
||||
MESSAGE ADD,F2.114</prescript>
|
||||
</field>
|
||||
<field x="111" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>Q</source>
|
||||
<source>AGOSTO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.115
|
||||
MESSAGE ADD,F2.115</prescript>
|
||||
</field>
|
||||
<field x="118" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>R</source>
|
||||
<source>PAGO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.116
|
||||
MESSAGE ADD,F2.116</prescript>
|
||||
</field>
|
||||
<field x="122" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>S</source>
|
||||
<source>SETTEMBRE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.117
|
||||
MESSAGE ADD,F2.117</prescript>
|
||||
</field>
|
||||
<field x="129" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>T</source>
|
||||
<source>PSET</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.118
|
||||
MESSAGE ADD,F2.118</prescript>
|
||||
</field>
|
||||
<field x="133" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>U</source>
|
||||
<source>OTTOBRE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.119
|
||||
MESSAGE ADD,F2.119</prescript>
|
||||
</field>
|
||||
<field x="140" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>V</source>
|
||||
<source>POTT</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.120
|
||||
MESSAGE ADD,F2.120</prescript>
|
||||
</field>
|
||||
<field x="144" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>W</source>
|
||||
<source>NOVEMBRE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.121
|
||||
MESSAGE ADD,F2.121</prescript>
|
||||
</field>
|
||||
<field x="151" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>X</source>
|
||||
<source>PNOV</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.122
|
||||
MESSAGE ADD,F2.122</prescript>
|
||||
</field>
|
||||
<field x="155" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>Y</source>
|
||||
<source>DICEMBRE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.123
|
||||
MESSAGE ADD,F2.123</prescript>
|
||||
</field>
|
||||
<field x="162" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>Z</source>
|
||||
<source>PDIC</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.124
|
||||
MESSAGE ADD,F2.124</prescript>
|
||||
</field>
|
||||
<field border="1" x="167" type="Linea" pattern="1" />
|
||||
<field x="168" type="Valuta" align="right" width="8" pattern="1" text="#########,@@">
|
||||
<font italic="1" face="Arial Narrow" size="7" />
|
||||
<source>AA</source>
|
||||
<source>ANNO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.125
|
||||
MESSAGE ADD,F2.125</prescript>
|
||||
</field>
|
||||
<field x="176.5" type="Numero" align="right" width="5" pattern="1" text="###,@@">
|
||||
<font italic="1" face="Arial Narrow" size="7" />
|
||||
<source>AB</source>
|
||||
<source>PANNO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.126
|
||||
MESSAGE ADD,F2.126</prescript>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot">
|
||||
<section type="Foot" pattern="1">
|
||||
<font face="Arial Narrow" bold="1" size="8" />
|
||||
<field border="1" type="Linea" width="180" height="0" pattern="1" />
|
||||
<field x="162" type="Testo" valign="center" width="5" pattern="1" text="Pag." />
|
||||
@ -221,7 +221,7 @@ MESSAGE ADD,F2.126</prescript>
|
||||
<source>#REPORT.PAGE</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot" level="1">
|
||||
<section type="Foot" level="1" pattern="1">
|
||||
<font italic="1" face="Arial Narrow" bold="1" size="7" />
|
||||
<field border="1" type="Linea" width="180" height="0" pattern="1" />
|
||||
<field border="1" x="33.5" type="Linea" height="1.5" pattern="1" />
|
||||
@ -282,7 +282,7 @@ MESSAGE ADD,F2.126</prescript>
|
||||
<source>ROUND(#THIS,2)</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot" level="2">
|
||||
<section type="Foot" level="2" pattern="1">
|
||||
<font face="Arial Narrow" bold="1" size="7" />
|
||||
<field border="1" x="2" type="Linea" width="178" height="0" pattern="1" />
|
||||
<field border="1" x="33.5" type="Linea" height="2" pattern="1" />
|
||||
|
@ -2,7 +2,7 @@
|
||||
<report name="ve3800e" orientation="2" lpi="6">
|
||||
<description>Statistiche Raggr. Articolo - Dett. Cliente</description>
|
||||
<font face="Arial Narrow" size="7" />
|
||||
<section type="Head">
|
||||
<section type="Head" pattern="1">
|
||||
<font face="Arial Narrow" bold="1" size="8" />
|
||||
<prescript description="H0 PRESCRIPT">#DACODCLI @ #ACODCLI @ = \ se clienti coincidono
|
||||
#DACODCLI @ EMPTY= NEGATE AND \ e se non sono vuoti
|
||||
@ -12,7 +12,9 @@ ELSE
|
||||
99 SHOW
|
||||
THEN
|
||||
</prescript>
|
||||
<field x="1" type="Testo" width="10" pattern="1" text="Articolo" />
|
||||
<field x="1" type="Testo" width="10" pattern="1" text="Articolo">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
</field>
|
||||
<field border="1" x="33.5" type="Linea" height="2" pattern="1" />
|
||||
<field border="1" x="167" type="Linea" height="2" pattern="1" />
|
||||
<field x="34" y="1" type="Testo" align="center" width="11" pattern="1" text="Gennaio" />
|
||||
@ -29,11 +31,9 @@ THEN
|
||||
<field x="155" y="1" type="Testo" align="center" width="11" pattern="1" text="Dicembre" />
|
||||
<field x="168" y="1" type="Testo" align="center" width="12" pattern="1" text="ANNUALE" />
|
||||
<field border="1" y="2" type="Linea" width="180" height="0" pattern="1" />
|
||||
<field x="3" y="1" type="Testo" width="10" id="99" pattern="1" text="Cliente">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
</field>
|
||||
<field x="3" y="1" type="Testo" width="10" id="99" pattern="1" text="Cliente" />
|
||||
</section>
|
||||
<section type="Head" level="1">
|
||||
<section type="Head" level="1" pattern="1">
|
||||
<prescript description="H1 PRESCRIPT">#DACODCLI @ #ACODCLI @ = \ se clienti coincidono
|
||||
#DACODCLI @ EMPTY= NEGATE AND \ e se non sono vuoti
|
||||
IF
|
||||
@ -47,7 +47,7 @@ ELSE
|
||||
THEN
|
||||
</prescript>
|
||||
<postscript description="H1 POSTSCRIPT">MESSAGE RESET,F1</postscript>
|
||||
<field border="2" radius="100" x="30" y="0.5" type="Rettangolo" shade_offset="50" width="128" height="3" />
|
||||
<field border="2" radius="100" x="29" y="0.5" type="Rettangolo" shade_offset="50" width="130" height="3" pattern="2" />
|
||||
<field x="30" y="1" type="Testo" valign="center" align="center" width="128" height="2" pattern="1" text="STATISTICHE RAGGRUPPATE PER ARTICOLO DETTAGLIATE PER CLIENTE">
|
||||
<font face="Arial" bold="1" size="14" />
|
||||
</field>
|
||||
@ -88,164 +88,164 @@ THEN
|
||||
<prescript description="H1.99 PRESCRIPT">MESSAGE ISAMREAD,20,TIPOCF='C'!CODCF=#98,RAGSOC</prescript>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Head" level="2">
|
||||
<groupby>A</groupby>
|
||||
<section type="Head" level="2" pattern="1">
|
||||
<groupby>CODART</groupby>
|
||||
<font face="Arial" bold="1" size="7" />
|
||||
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2</prescript>
|
||||
<field x="1" y="0.5" type="Stringa" width="12" id="99" pattern="1">
|
||||
<source>A</source>
|
||||
<source>CODART</source>
|
||||
<prescript description="H2.99 PRESCRIPT">MESSAGE COPY,F2.99</prescript>
|
||||
</field>
|
||||
<field x="14" y="0.5" type="Stringa" width="50" id="100" pattern="1">
|
||||
<source>B</source>
|
||||
<source>DESCRIZIONE</source>
|
||||
<prescript description="H2.100 PRESCRIPT">MESSAGE ISAMREAD,47,CODART=#99,DESCR
|
||||
MESSAGE COPY,F2.100</prescript>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Body" />
|
||||
<section type="Body" level="1">
|
||||
<section type="Body" pattern="1" />
|
||||
<section type="Body" level="1" pattern="1">
|
||||
<field border="1" x="33.5" type="Linea" pattern="1" />
|
||||
<field x="34" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>C</source>
|
||||
<source>GENNAIO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.101
|
||||
MESSAGE ADD,F2.101</prescript>
|
||||
</field>
|
||||
<field x="41" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>D</source>
|
||||
<source>PGEN</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.102
|
||||
MESSAGE ADD,F2.102</prescript>
|
||||
</field>
|
||||
<field x="45" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>E</source>
|
||||
<source>FEBBRAIO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.103
|
||||
MESSAGE ADD,F2.103</prescript>
|
||||
</field>
|
||||
<field x="52" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>F</source>
|
||||
<source>PFEB</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.104
|
||||
MESSAGE ADD,F2.104</prescript>
|
||||
</field>
|
||||
<field x="56" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>G</source>
|
||||
<source>MARZO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.105
|
||||
MESSAGE ADD,F2.105</prescript>
|
||||
</field>
|
||||
<field x="63" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>H</source>
|
||||
<source>PMAR</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.106
|
||||
MESSAGE ADD,F2.106</prescript>
|
||||
</field>
|
||||
<field x="67" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>I</source>
|
||||
<source>APRILE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.107
|
||||
MESSAGE ADD,F2.107</prescript>
|
||||
</field>
|
||||
<field x="74" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>J</source>
|
||||
<source>PAPR</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.108
|
||||
MESSAGE ADD,F2.108</prescript>
|
||||
</field>
|
||||
<field x="78" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>K</source>
|
||||
<source>MAGGIO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.109
|
||||
MESSAGE ADD,F2.109</prescript>
|
||||
</field>
|
||||
<field x="85" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>L</source>
|
||||
<source>PMAG</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.110
|
||||
MESSAGE ADD,F2.110</prescript>
|
||||
</field>
|
||||
<field x="89" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>M</source>
|
||||
<source>GIUGNO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.111
|
||||
MESSAGE ADD,F2.111</prescript>
|
||||
</field>
|
||||
<field x="96" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>N</source>
|
||||
<source>PGIU</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.112
|
||||
MESSAGE ADD,F2.112</prescript>
|
||||
</field>
|
||||
<field x="100" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>O</source>
|
||||
<source>LUGLIO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.113
|
||||
MESSAGE ADD,F2.113</prescript>
|
||||
</field>
|
||||
<field x="107" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>P</source>
|
||||
<source>PLUG</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.114
|
||||
MESSAGE ADD,F2.114</prescript>
|
||||
</field>
|
||||
<field x="111" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>Q</source>
|
||||
<source>AGOSTO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.115
|
||||
MESSAGE ADD,F2.115</prescript>
|
||||
</field>
|
||||
<field x="118" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>R</source>
|
||||
<source>PAGO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.116
|
||||
MESSAGE ADD,F2.116</prescript>
|
||||
</field>
|
||||
<field x="122" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>S</source>
|
||||
<source>SETTEMBRE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.117
|
||||
MESSAGE ADD,F2.117</prescript>
|
||||
</field>
|
||||
<field x="129" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>T</source>
|
||||
<source>PSET</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.118
|
||||
MESSAGE ADD,F2.118</prescript>
|
||||
</field>
|
||||
<field x="133" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>U</source>
|
||||
<source>OTTOBRE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.119
|
||||
MESSAGE ADD,F2.119</prescript>
|
||||
</field>
|
||||
<field x="140" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>V</source>
|
||||
<source>POTT</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.120
|
||||
MESSAGE ADD,F2.120</prescript>
|
||||
</field>
|
||||
<field x="144" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>W</source>
|
||||
<source>NOVEMBRE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.121
|
||||
MESSAGE ADD,F2.121</prescript>
|
||||
</field>
|
||||
<field x="151" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>X</source>
|
||||
<source>PNOV</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.122
|
||||
MESSAGE ADD,F2.122</prescript>
|
||||
</field>
|
||||
<field x="155" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>Y</source>
|
||||
<source>DICEMBRE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.123
|
||||
MESSAGE ADD,F2.123</prescript>
|
||||
</field>
|
||||
<field x="162" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>Z</source>
|
||||
<source>PDIC</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.124
|
||||
MESSAGE ADD,F2.124</prescript>
|
||||
</field>
|
||||
<field border="1" x="167" type="Linea" pattern="1" />
|
||||
<field x="168" type="Valuta" align="right" width="8" pattern="1" text="#########,@@">
|
||||
<font italic="1" face="Arial Narrow" size="7" />
|
||||
<source>AA</source>
|
||||
<source>ANNO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.125
|
||||
MESSAGE ADD,F2.125</prescript>
|
||||
</field>
|
||||
<field x="176.5" type="Numero" align="right" width="5" pattern="1" text="###,@@">
|
||||
<font italic="1" face="Arial Narrow" size="7" />
|
||||
<source>AB</source>
|
||||
<source>PANNO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.126
|
||||
MESSAGE ADD,F2.126</prescript>
|
||||
</field>
|
||||
<field x="3" type="Stringa" width="6" id="99" pattern="1">
|
||||
<source>AD</source>
|
||||
<source>CODCLI</source>
|
||||
</field>
|
||||
<field x="9" type="Stringa" width="24" id="100" pattern="1">
|
||||
<prescript description="B1.100 PRESCRIPT">MESSAGE ISAMREAD,20,TIPOCF='C'!CODCF=#99,RAGSOC</prescript>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot">
|
||||
<section type="Foot" pattern="1">
|
||||
<font face="Arial Narrow" bold="1" size="8" />
|
||||
<field border="1" type="Linea" width="180" height="0" pattern="1" />
|
||||
<field x="162" type="Testo" valign="center" width="5" pattern="1" text="Pag." />
|
||||
@ -253,7 +253,7 @@ MESSAGE ADD,F2.126</prescript>
|
||||
<source>#REPORT.PAGE</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot" level="1">
|
||||
<section type="Foot" level="1" pattern="1">
|
||||
<font italic="1" face="Arial Narrow" bold="1" size="7" />
|
||||
<field border="1" type="Linea" width="180" height="0" pattern="1" />
|
||||
<field border="1" x="33.5" type="Linea" height="1.5" pattern="1" />
|
||||
@ -314,7 +314,7 @@ MESSAGE ADD,F2.126</prescript>
|
||||
<source>ROUND(#THIS,2)</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot" level="2">
|
||||
<section type="Foot" level="2" pattern="1">
|
||||
<font face="Arial Narrow" bold="1" size="7" />
|
||||
<prescript description="F2 PRESCRIPT">#DACODCLI @ #ACODCLI @ = \ se clienti coincidono
|
||||
#DACODCLI @ EMPTY= NEGATE AND \ e se non sono vuoti
|
||||
|
@ -2,7 +2,7 @@
|
||||
<report name="ve3800f" orientation="2" lpi="6">
|
||||
<description>Statistiche Raggr. Cliente - Dett. Gr.Merc.</description>
|
||||
<font face="Arial Narrow" size="7" />
|
||||
<section type="Head">
|
||||
<section type="Head" pattern="1">
|
||||
<font face="Arial Narrow" bold="1" size="8" />
|
||||
<field x="1" type="Testo" width="10" pattern="1" text="Cliente">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
@ -25,9 +25,9 @@
|
||||
<field x="168" y="1" type="Testo" align="center" width="12" pattern="1" text="ANNUALE" />
|
||||
<field border="1" y="2" type="Linea" width="180" height="0" pattern="1" />
|
||||
</section>
|
||||
<section type="Head" level="1">
|
||||
<section type="Head" level="1" pattern="1">
|
||||
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1</prescript>
|
||||
<field border="2" radius="100" x="30" y="0.5" type="Rettangolo" shade_offset="50" width="128" height="3" />
|
||||
<field border="2" radius="100" x="30" y="0.5" type="Rettangolo" shade_offset="50" width="128" height="3" pattern="2" />
|
||||
<field x="30" y="1" type="Testo" valign="center" align="center" width="128" height="2" pattern="1" text="STATISTICHE RAGGRUPPATE PER CLIENTE DETTAGLIATE PER GR.MERC.">
|
||||
<font face="Arial" bold="1" size="14" />
|
||||
</field>
|
||||
@ -57,12 +57,12 @@
|
||||
<source>#ANNO</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Head" level="2">
|
||||
<groupby>AD</groupby>
|
||||
<section type="Head" level="2" pattern="1">
|
||||
<groupby>CODCLI</groupby>
|
||||
<font face="Arial" bold="1" size="7" />
|
||||
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2</prescript>
|
||||
<field x="1" y="0.5" type="Stringa" width="6" id="99" pattern="1">
|
||||
<source>AD</source>
|
||||
<source>CODCLI</source>
|
||||
<prescript description="H2.99 PRESCRIPT">MESSAGE COPY,F2.99</prescript>
|
||||
</field>
|
||||
<field x="8" y="0.5" type="Stringa" width="50" id="100" pattern="1">
|
||||
@ -70,164 +70,164 @@
|
||||
MESSAGE COPY,F2.100</prescript>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Head" level="3" hidden="1">
|
||||
<groupby>AC</groupby>
|
||||
<section type="Head" level="3" hidden="1" pattern="1">
|
||||
<groupby>GRMERC</groupby>
|
||||
<font italic="1" face="Arial Narrow" bold="1" size="7" />
|
||||
<prescript description="H3 PRESCRIPT">MESSAGE RESET,F3</prescript>
|
||||
<field x="3" type="Stringa" width="5" id="99" pattern="1">
|
||||
<source>AC</source>
|
||||
<source>GRMERC</source>
|
||||
<prescript description="H3.99 PRESCRIPT">MESSAGE COPY,F3.99</prescript>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Body" />
|
||||
<section type="Body" level="1" hidden="1" bg_color="#FF0080">
|
||||
<section type="Body" pattern="1" />
|
||||
<section type="Body" level="1" hidden="1" bg_color="#FF0080" pattern="1">
|
||||
<field x="3" type="Stringa" width="6" pattern="1">
|
||||
<source>A</source>
|
||||
<source>CODART</source>
|
||||
</field>
|
||||
<field x="9" type="Stringa" width="24" pattern="1">
|
||||
<source>B</source>
|
||||
<source>DESCRIZIONE</source>
|
||||
</field>
|
||||
<field border="1" x="33.5" type="Linea" pattern="1" />
|
||||
<field x="34" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>C</source>
|
||||
<source>GENNAIO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.101
|
||||
MESSAGE ADD,F2.101
|
||||
MESSAGE ADD,F3.101</prescript>
|
||||
</field>
|
||||
<field x="41" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>D</source>
|
||||
<source>PGEN</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.102
|
||||
MESSAGE ADD,F2.102
|
||||
MESSAGE ADD,F3.102</prescript>
|
||||
</field>
|
||||
<field x="45" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>E</source>
|
||||
<source>FEBBRAIO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.103
|
||||
MESSAGE ADD,F2.103
|
||||
MESSAGE ADD,F3.103</prescript>
|
||||
</field>
|
||||
<field x="52" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>F</source>
|
||||
<source>PFEB</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.104
|
||||
MESSAGE ADD,F2.104
|
||||
MESSAGE ADD,F3.104</prescript>
|
||||
</field>
|
||||
<field x="56" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>G</source>
|
||||
<source>MARZO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.105
|
||||
MESSAGE ADD,F2.105
|
||||
MESSAGE ADD,F3.105</prescript>
|
||||
</field>
|
||||
<field x="63" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>H</source>
|
||||
<source>PMAR</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.106
|
||||
MESSAGE ADD,F2.106
|
||||
MESSAGE ADD,F3.106</prescript>
|
||||
</field>
|
||||
<field x="67" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>I</source>
|
||||
<source>APRILE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.107
|
||||
MESSAGE ADD,F2.107
|
||||
MESSAGE ADD,F3.107</prescript>
|
||||
</field>
|
||||
<field x="74" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>J</source>
|
||||
<source>PAPR</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.108
|
||||
MESSAGE ADD,F2.108
|
||||
MESSAGE ADD,F3.108</prescript>
|
||||
</field>
|
||||
<field x="78" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>K</source>
|
||||
<source>MAGGIO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.109
|
||||
MESSAGE ADD,F2.109
|
||||
MESSAGE ADD,F3.109</prescript>
|
||||
</field>
|
||||
<field x="85" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>L</source>
|
||||
<source>PMAG</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.110
|
||||
MESSAGE ADD,F2.110
|
||||
MESSAGE ADD,F3.110</prescript>
|
||||
</field>
|
||||
<field x="89" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>M</source>
|
||||
<source>GIUGNO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.111
|
||||
MESSAGE ADD,F2.111
|
||||
MESSAGE ADD,F3.111</prescript>
|
||||
</field>
|
||||
<field x="96" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>N</source>
|
||||
<source>PGIU</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.112
|
||||
MESSAGE ADD,F2.112
|
||||
MESSAGE ADD,F3.112</prescript>
|
||||
</field>
|
||||
<field x="100" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>O</source>
|
||||
<source>LUGLIO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.113
|
||||
MESSAGE ADD,F2.113
|
||||
MESSAGE ADD,F3.113</prescript>
|
||||
</field>
|
||||
<field x="107" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>P</source>
|
||||
<source>PLUG</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.114
|
||||
MESSAGE ADD,F2.114
|
||||
MESSAGE ADD,F3.114</prescript>
|
||||
</field>
|
||||
<field x="111" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>Q</source>
|
||||
<source>AGOSTO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.115
|
||||
MESSAGE ADD,F2.115
|
||||
MESSAGE ADD,F3.115</prescript>
|
||||
</field>
|
||||
<field x="118" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>R</source>
|
||||
<source>PAGO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.116
|
||||
MESSAGE ADD,F2.116
|
||||
MESSAGE ADD,F3.116</prescript>
|
||||
</field>
|
||||
<field x="122" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>S</source>
|
||||
<source>SETTEMBRE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.117
|
||||
MESSAGE ADD,F2.117
|
||||
MESSAGE ADD,F3.117</prescript>
|
||||
</field>
|
||||
<field x="129" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>T</source>
|
||||
<source>PSET</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.118
|
||||
MESSAGE ADD,F2.118
|
||||
MESSAGE ADD,F3.118</prescript>
|
||||
</field>
|
||||
<field x="133" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>U</source>
|
||||
<source>OTTOBRE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.119
|
||||
MESSAGE ADD,F2.119
|
||||
MESSAGE ADD,F3.119</prescript>
|
||||
</field>
|
||||
<field x="140" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>V</source>
|
||||
<source>POTT</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.120
|
||||
MESSAGE ADD,F2.120
|
||||
MESSAGE ADD,F3.120</prescript>
|
||||
</field>
|
||||
<field x="144" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>W</source>
|
||||
<source>NOVEMBRE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.121
|
||||
MESSAGE ADD,F2.121
|
||||
MESSAGE ADD,F3.121</prescript>
|
||||
</field>
|
||||
<field x="151" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>X</source>
|
||||
<source>PNOV</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.122
|
||||
MESSAGE ADD,F2.122
|
||||
MESSAGE ADD,F3.122</prescript>
|
||||
</field>
|
||||
<field x="155" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>Y</source>
|
||||
<source>DICEMBRE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.123
|
||||
MESSAGE ADD,F2.123
|
||||
MESSAGE ADD,F3.123</prescript>
|
||||
</field>
|
||||
<field x="162" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>Z</source>
|
||||
<source>PDIC</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.124
|
||||
MESSAGE ADD,F2.124
|
||||
MESSAGE ADD,F3.124</prescript>
|
||||
@ -235,20 +235,20 @@ MESSAGE ADD,F3.124</prescript>
|
||||
<field border="1" x="167" type="Linea" pattern="1" />
|
||||
<field x="168" type="Valuta" align="right" width="8" pattern="1" text="#########,@@">
|
||||
<font italic="1" face="Arial Narrow" size="7" />
|
||||
<source>AA</source>
|
||||
<source>ANNO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.125
|
||||
MESSAGE ADD,F2.125
|
||||
MESSAGE ADD,F3.125</prescript>
|
||||
</field>
|
||||
<field x="176.5" type="Numero" align="right" width="5" pattern="1" text="###,@@">
|
||||
<font italic="1" face="Arial Narrow" size="7" />
|
||||
<source>AB</source>
|
||||
<source>PANNO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.126
|
||||
MESSAGE ADD,F2.126
|
||||
MESSAGE ADD,F3.126</prescript>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot">
|
||||
<section type="Foot" pattern="1">
|
||||
<font face="Arial Narrow" bold="1" size="8" />
|
||||
<field border="1" type="Linea" width="180" height="0" pattern="1" />
|
||||
<field x="162" type="Testo" valign="center" width="5" pattern="1" text="Pag." />
|
||||
@ -256,7 +256,7 @@ MESSAGE ADD,F3.126</prescript>
|
||||
<source>#REPORT.PAGE</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot" level="1">
|
||||
<section type="Foot" level="1" pattern="1">
|
||||
<font italic="1" face="Arial Narrow" bold="1" size="7" />
|
||||
<field border="1" type="Linea" width="180" height="0" pattern="1" />
|
||||
<field border="1" x="33.5" type="Linea" height="1.5" pattern="1" />
|
||||
@ -317,7 +317,7 @@ MESSAGE ADD,F3.126</prescript>
|
||||
<source>ROUND(#THIS,2)</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot" level="2" bg_color="#0080FF">
|
||||
<section type="Foot" level="2" bg_color="#0080FF" pattern="1">
|
||||
<font face="Arial Narrow" bold="1" size="7" />
|
||||
<field border="1" x="2" type="Linea" width="178" height="0" pattern="1" />
|
||||
<field border="1" x="33.5" type="Linea" height="2" pattern="1" />
|
||||
@ -383,7 +383,7 @@ MESSAGE ADD,F3.126</prescript>
|
||||
<source>ROUND(#THIS,2)</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot" level="3" bg_color="#FFFF00">
|
||||
<section type="Foot" level="3" bg_color="#FFFF00" pattern="1">
|
||||
<field border="1" x="33.5" type="Linea" pattern="1" />
|
||||
<field border="1" x="167" type="Linea" pattern="1" />
|
||||
<field x="2.5" type="Stringa" width="5" id="99" pattern="1" />
|
||||
|
@ -2,7 +2,7 @@
|
||||
<report name="ve3800g" orientation="2" lpi="6">
|
||||
<description>Statistiche Raggr. Gr.Merc. - Dett. Cliente</description>
|
||||
<font face="Arial Narrow" size="7" />
|
||||
<section type="Head">
|
||||
<section type="Head" pattern="1">
|
||||
<font face="Arial Narrow" bold="1" size="8" />
|
||||
<prescript description="H0 PRESCRIPT">#DACODCLI @ #ACODCLI @ = \ se clienti coincidono
|
||||
#DACODCLI @ EMPTY= NEGATE AND \ e se non sono vuoti
|
||||
@ -12,7 +12,9 @@ ELSE
|
||||
99 SHOW
|
||||
THEN
|
||||
</prescript>
|
||||
<field x="1" type="Testo" width="20" pattern="1" text="Gruppo Merceologico" />
|
||||
<field x="1" type="Testo" width="22" pattern="1" text="Gruppo Merceologico">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
</field>
|
||||
<field border="1" x="33.5" type="Linea" height="2" pattern="1" />
|
||||
<field border="1" x="167" type="Linea" height="2" pattern="1" />
|
||||
<field x="34" y="1" type="Testo" align="center" width="11" pattern="1" text="Gennaio" />
|
||||
@ -29,11 +31,9 @@ THEN
|
||||
<field x="155" y="1" type="Testo" align="center" width="11" pattern="1" text="Dicembre" />
|
||||
<field x="168" y="1" type="Testo" align="center" width="12" pattern="1" text="ANNUALE" />
|
||||
<field border="1" y="2" type="Linea" width="180" height="0" pattern="1" />
|
||||
<field x="3" y="1" type="Testo" width="10" id="99" pattern="1" text="Cliente">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
</field>
|
||||
<field x="3" y="1" type="Testo" width="10" id="99" pattern="1" text="Cliente" />
|
||||
</section>
|
||||
<section type="Head" level="1">
|
||||
<section type="Head" level="1" pattern="1">
|
||||
<prescript description="H1 PRESCRIPT">#DACODCLI @ #ACODCLI @ = \ se clienti coincidono
|
||||
#DACODCLI @ EMPTY= NEGATE AND \ e se non sono vuoti
|
||||
IF
|
||||
@ -47,7 +47,7 @@ ELSE
|
||||
THEN
|
||||
</prescript>
|
||||
<postscript description="H1 POSTSCRIPT">MESSAGE RESET,F1</postscript>
|
||||
<field border="2" radius="100" x="30" y="0.5" type="Rettangolo" shade_offset="50" width="128" height="3" />
|
||||
<field border="2" radius="100" x="29" y="0.5" type="Rettangolo" shade_offset="50" width="130" height="3" pattern="2" />
|
||||
<field x="30" y="1" type="Testo" valign="center" align="center" width="128" height="2" pattern="1" text="STATISTICHE RAGGRUPPATE PER GR. MERC. DETTAGLIATE PER CLIENTE">
|
||||
<font face="Arial" bold="1" size="14" />
|
||||
</field>
|
||||
@ -88,12 +88,12 @@ THEN
|
||||
<prescript description="H1.99 PRESCRIPT">MESSAGE ISAMREAD,20,TIPOCF='C'!CODCF=#98,RAGSOC</prescript>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Head" level="2">
|
||||
<groupby>AC</groupby>
|
||||
<section type="Head" level="2" pattern="1">
|
||||
<groupby>GRMERC</groupby>
|
||||
<font face="Arial" bold="1" size="7" />
|
||||
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2</prescript>
|
||||
<field x="1" y="0.5" type="Stringa" width="5" id="99" pattern="1">
|
||||
<source>AC</source>
|
||||
<source>GRMERC</source>
|
||||
<prescript description="H2.99 PRESCRIPT">MESSAGE COPY,F2.99</prescript>
|
||||
</field>
|
||||
<field x="7" y="0.5" type="Stringa" width="25" id="100" pattern="1">
|
||||
@ -101,162 +101,162 @@ THEN
|
||||
MESSAGE COPY,F2.100</prescript>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Head" level="3" hidden="1">
|
||||
<groupby>A</groupby>
|
||||
<section type="Head" level="3" hidden="1" pattern="1">
|
||||
<groupby>CODART</groupby>
|
||||
<prescript description="H3 PRESCRIPT">MESSAGE RESET,F3</prescript>
|
||||
<field x="2" type="Stringa" width="12" id="99" pattern="1">
|
||||
<source>A</source>
|
||||
<source>CODART</source>
|
||||
<prescript description="H3.99 PRESCRIPT">MESSAGE COPY,F3.99</prescript>
|
||||
</field>
|
||||
<field x="15" type="Stringa" width="50" id="100" pattern="1">
|
||||
<source>B</source>
|
||||
<source>DESCRIZIONE</source>
|
||||
<prescript description="H3.100 PRESCRIPT">MESSAGE ISAMREAD,47,CODART=#99,DESCR
|
||||
MESSAGE COPY,F3.100</prescript>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Body" />
|
||||
<section type="Body" level="1">
|
||||
<section type="Body" pattern="1" />
|
||||
<section type="Body" level="1" pattern="1">
|
||||
<field border="1" x="33.5" type="Linea" pattern="1" />
|
||||
<field x="34" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>C</source>
|
||||
<source>GENNAIO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.101
|
||||
MESSAGE ADD,F2.101
|
||||
MESSAGE ADD,F3.101</prescript>
|
||||
</field>
|
||||
<field x="41" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>D</source>
|
||||
<source>PGEN</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.102
|
||||
MESSAGE ADD,F2.102
|
||||
MESSAGE ADD,F3.102</prescript>
|
||||
</field>
|
||||
<field x="45" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>E</source>
|
||||
<source>FEBBRAIO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.103
|
||||
MESSAGE ADD,F2.103
|
||||
MESSAGE ADD,F3.103</prescript>
|
||||
</field>
|
||||
<field x="52" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>F</source>
|
||||
<source>PFEB</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.104
|
||||
MESSAGE ADD,F2.104
|
||||
MESSAGE ADD,F3.104</prescript>
|
||||
</field>
|
||||
<field x="56" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>G</source>
|
||||
<source>MARZO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.105
|
||||
MESSAGE ADD,F2.105
|
||||
MESSAGE ADD,F3.105</prescript>
|
||||
</field>
|
||||
<field x="63" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>H</source>
|
||||
<source>PMAR</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.106
|
||||
MESSAGE ADD,F2.106
|
||||
MESSAGE ADD,F3.106</prescript>
|
||||
</field>
|
||||
<field x="67" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>I</source>
|
||||
<source>APRILE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.107
|
||||
MESSAGE ADD,F2.107
|
||||
MESSAGE ADD,F3.107</prescript>
|
||||
</field>
|
||||
<field x="74" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>J</source>
|
||||
<source>PAPR</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.108
|
||||
MESSAGE ADD,F2.108
|
||||
MESSAGE ADD,F3.108</prescript>
|
||||
</field>
|
||||
<field x="78" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>K</source>
|
||||
<source>MAGGIO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.109
|
||||
MESSAGE ADD,F2.109
|
||||
MESSAGE ADD,F3.109</prescript>
|
||||
</field>
|
||||
<field x="85" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>L</source>
|
||||
<source>PMAG</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.110
|
||||
MESSAGE ADD,F2.110
|
||||
MESSAGE ADD,F3.110</prescript>
|
||||
</field>
|
||||
<field x="89" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>M</source>
|
||||
<source>GIUGNO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.111
|
||||
MESSAGE ADD,F2.111
|
||||
MESSAGE ADD,F3.111</prescript>
|
||||
</field>
|
||||
<field x="96" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>N</source>
|
||||
<source>PGIU</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.112
|
||||
MESSAGE ADD,F2.112
|
||||
MESSAGE ADD,F3.112</prescript>
|
||||
</field>
|
||||
<field x="100" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>O</source>
|
||||
<source>LUGLIO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.113
|
||||
MESSAGE ADD,F2.113
|
||||
MESSAGE ADD,F3.113</prescript>
|
||||
</field>
|
||||
<field x="107" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>P</source>
|
||||
<source>PLUG</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.114
|
||||
MESSAGE ADD,F2.114
|
||||
MESSAGE ADD,F3.114</prescript>
|
||||
</field>
|
||||
<field x="111" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>Q</source>
|
||||
<source>AGOSTO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.115
|
||||
MESSAGE ADD,F2.115
|
||||
MESSAGE ADD,F3.115</prescript>
|
||||
</field>
|
||||
<field x="118" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>R</source>
|
||||
<source>PAGO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.116
|
||||
MESSAGE ADD,F2.116
|
||||
MESSAGE ADD,F3.116</prescript>
|
||||
</field>
|
||||
<field x="122" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>S</source>
|
||||
<source>SETTEMBRE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.117
|
||||
MESSAGE ADD,F2.117
|
||||
MESSAGE ADD,F3.117</prescript>
|
||||
</field>
|
||||
<field x="129" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>T</source>
|
||||
<source>PSET</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.118
|
||||
MESSAGE ADD,F2.118
|
||||
MESSAGE ADD,F3.118</prescript>
|
||||
</field>
|
||||
<field x="133" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>U</source>
|
||||
<source>OTTOBRE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.119
|
||||
MESSAGE ADD,F2.119
|
||||
MESSAGE ADD,F3.119</prescript>
|
||||
</field>
|
||||
<field x="140" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>V</source>
|
||||
<source>POTT</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.120
|
||||
MESSAGE ADD,F2.120
|
||||
MESSAGE ADD,F3.120</prescript>
|
||||
</field>
|
||||
<field x="144" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>W</source>
|
||||
<source>NOVEMBRE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.121
|
||||
MESSAGE ADD,F2.121
|
||||
MESSAGE ADD,F3.121</prescript>
|
||||
</field>
|
||||
<field x="151" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>X</source>
|
||||
<source>PNOV</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.122
|
||||
MESSAGE ADD,F2.122
|
||||
MESSAGE ADD,F3.122</prescript>
|
||||
</field>
|
||||
<field x="155" type="Valuta" align="right" width="7" pattern="1" text="#########,@@">
|
||||
<source>Y</source>
|
||||
<source>DICEMBRE</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.123
|
||||
MESSAGE ADD,F2.123
|
||||
MESSAGE ADD,F3.123</prescript>
|
||||
</field>
|
||||
<field x="162" type="Numero" align="right" width="4" pattern="1" text="###,@@">
|
||||
<source>Z</source>
|
||||
<source>PDIC</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.124
|
||||
MESSAGE ADD,F2.124
|
||||
MESSAGE ADD,F3.124</prescript>
|
||||
@ -264,26 +264,26 @@ MESSAGE ADD,F3.124</prescript>
|
||||
<field border="1" x="167" type="Linea" pattern="1" />
|
||||
<field x="168" type="Valuta" align="right" width="8" pattern="1" text="#########,@@">
|
||||
<font italic="1" face="Arial Narrow" size="7" />
|
||||
<source>AA</source>
|
||||
<source>ANNO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.125
|
||||
MESSAGE ADD,F2.125
|
||||
MESSAGE ADD,F3.125</prescript>
|
||||
</field>
|
||||
<field x="176.5" type="Numero" align="right" width="5" pattern="1" text="###,@@">
|
||||
<font italic="1" face="Arial Narrow" size="7" />
|
||||
<source>AB</source>
|
||||
<source>PANNO</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F1.126
|
||||
MESSAGE ADD,F2.126
|
||||
MESSAGE ADD,F3.126</prescript>
|
||||
</field>
|
||||
<field x="3" type="Stringa" width="6" id="99" pattern="1">
|
||||
<source>AD</source>
|
||||
<source>CODCLI</source>
|
||||
</field>
|
||||
<field x="9" type="Stringa" width="24" id="100" pattern="1">
|
||||
<prescript description="B1.100 PRESCRIPT">MESSAGE ISAMREAD,20,TIPOCF='C'!CODCF=#99,RAGSOC</prescript>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot">
|
||||
<section type="Foot" pattern="1">
|
||||
<font face="Arial Narrow" bold="1" size="8" />
|
||||
<field border="1" type="Linea" width="180" height="0" pattern="1" />
|
||||
<field x="162" type="Testo" valign="center" width="5" pattern="1" text="Pag." />
|
||||
@ -291,7 +291,7 @@ MESSAGE ADD,F3.126</prescript>
|
||||
<source>#REPORT.PAGE</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot" level="1">
|
||||
<section type="Foot" level="1" pattern="1">
|
||||
<font italic="1" face="Arial Narrow" bold="1" size="7" />
|
||||
<field border="1" type="Linea" width="180" height="0" pattern="1" />
|
||||
<field border="1" x="33.5" type="Linea" height="1.5" pattern="1" />
|
||||
@ -352,7 +352,7 @@ MESSAGE ADD,F3.126</prescript>
|
||||
<source>ROUND(#THIS,2)</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot" level="2">
|
||||
<section type="Foot" level="2" pattern="1">
|
||||
<font face="Arial Narrow" bold="1" size="7" />
|
||||
<prescript description="F2 PRESCRIPT">#DACODCLI @ #ACODCLI @ = \ se clienti coincidono
|
||||
#DACODCLI @ EMPTY= NEGATE AND \ e se non sono vuoti
|
||||
@ -424,7 +424,7 @@ THEN
|
||||
<source>ROUND(#THIS,2)</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot" level="3" hidden="1">
|
||||
<section type="Foot" level="3" hidden="1" pattern="1">
|
||||
<field type="Stringa" width="3" id="98" pattern="1" text="Tot" />
|
||||
<field x="3" type="Stringa" width="10" id="99" pattern="1" />
|
||||
<field x="13" type="Stringa" width="20" id="100" pattern="1" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user