Patch level : 12.00 1375
Files correlati : sc Commento : patch
This commit is contained in:
parent
a5a4510488
commit
47624290b7
1
cd/test/sc1375.txt
Normal file
1
cd/test/sc1375.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
sc2.exe
|
20
cd/test/sc1375a.ini
Normal file
20
cd/test/sc1375a.ini
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
[Main]
|
||||||
|
Demo=0
|
||||||
|
[sc2]
|
||||||
|
File(27) = sc2.exe|X
|
||||||
|
Patch = 1375
|
||||||
|
Versione = 21511200
|
||||||
|
|
||||||
|
[sc]
|
||||||
|
Data = 28-11-2024
|
||||||
|
Descrizione = Saldaconto
|
||||||
|
Dischi = 1
|
||||||
|
Moduli = ba,cg
|
||||||
|
OEM =
|
||||||
|
Patch = 1375
|
||||||
|
PostProcess =
|
||||||
|
PreProcess =
|
||||||
|
Prezzo(1) =
|
||||||
|
Prezzo(2) =
|
||||||
|
Versione = 21511200
|
||||||
|
|
BIN
cd/test/sc1375a1.zip
Normal file
BIN
cd/test/sc1375a1.zip
Normal file
Binary file not shown.
@ -349,10 +349,11 @@ public:
|
|||||||
virtual TRelation* relation() const
|
virtual TRelation* relation() const
|
||||||
{ return _relation; }
|
{ return _relation; }
|
||||||
// @cmember Ritorna la <c TCursor> corrente
|
// @cmember Ritorna la <c TCursor> corrente
|
||||||
virtual TCursor* cursor() const
|
virtual TCursor* cursor() const { return _cursor; }
|
||||||
{ return _cursor; }
|
|
||||||
// @cmember Ritorna la <c TCursor> corrente
|
// @cmember Ritorna la <c TCursor> corrente
|
||||||
virtual TSorted_cursor* sorted_cursor() const { return _sorted_cursor ? (TSorted_cursor *) _cursor : NULL; }
|
virtual TCursor* set_cursor(TCursor * c) { safe_delete(_cursor); _cursor = c; return _cursor; }
|
||||||
|
// @cmember Ritorna la <c TCursor> corrente
|
||||||
|
virtual TSorted_cursor* sorted_cursor() const { return _sorted_cursor ? (TSorted_cursor *) _cursor : nullptr; }
|
||||||
// @cmember Ritorna la <c TRelation_description> corrente
|
// @cmember Ritorna la <c TRelation_description> corrente
|
||||||
TRelation_description& rel_desc() const;
|
TRelation_description& rel_desc() const;
|
||||||
// @cmember Effettua operazioni personalizzate dall'applicazione sul <c TForm_item>
|
// @cmember Effettua operazioni personalizzate dall'applicazione sul <c TForm_item>
|
||||||
|
@ -590,11 +590,14 @@ int TEC_mask::print_one(const char * tipo, const long codice)
|
|||||||
_form->azzera_totali(); // Azzera totali di fine pagina
|
_form->azzera_totali(); // Azzera totali di fine pagina
|
||||||
|
|
||||||
// Filtra solo le partite del cliente selezionato
|
// Filtra solo le partite del cliente selezionato
|
||||||
TRectype & fcrec = _form->cursor()->curr();
|
TCursor * c = _form->cursor();
|
||||||
|
TRectype & fcrec = c->curr();
|
||||||
TRelation rel(LF_PARTITE);
|
TRelation rel(LF_PARTITE);
|
||||||
TRectype filter(rel.curr());
|
TRectype filter(rel.curr());
|
||||||
|
long savepos = c->pos();
|
||||||
|
long savekey = c->key();
|
||||||
|
|
||||||
|
c->setkey(1);
|
||||||
fcrec.zero();
|
fcrec.zero();
|
||||||
fcrec.put(CLI_TIPOCF, who());
|
fcrec.put(CLI_TIPOCF, who());
|
||||||
fcrec.put(CLI_CODCF, codice);
|
fcrec.put(CLI_CODCF, codice);
|
||||||
@ -703,6 +706,8 @@ int TEC_mask::print_one(const char * tipo, const long codice)
|
|||||||
// f.recordset().new_rec();
|
// f.recordset().new_rec();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*c = savepos;
|
||||||
|
c->setkey(savekey);
|
||||||
}
|
}
|
||||||
xvtil_statbar_set(nullptr);
|
xvtil_statbar_set(nullptr);
|
||||||
return printed;
|
return printed;
|
||||||
|
@ -230,7 +230,7 @@ bool TSol_mask::some_to_print(const char * tipo, const long codice)
|
|||||||
|
|
||||||
int TSol_mask::print_one(const char * tipo, const long codice)
|
int TSol_mask::print_one(const char * tipo, const long codice)
|
||||||
{
|
{
|
||||||
TSol_form& f = (TSol_form&)form();
|
TSol_form & f = (TSol_form&)form();
|
||||||
|
|
||||||
// preparazione variabili per controllo lingua
|
// preparazione variabili per controllo lingua
|
||||||
;
|
;
|
||||||
@ -253,6 +253,17 @@ int TSol_mask::print_one(const char * tipo, const long codice)
|
|||||||
partite.put(PART_TIPOCF, tipo);
|
partite.put(PART_TIPOCF, tipo);
|
||||||
partite.put(PART_SOTTOCONTO, codice);
|
partite.put(PART_SOTTOCONTO, codice);
|
||||||
|
|
||||||
|
TCursor * cur = f.cursor();
|
||||||
|
TRectype & fcrec = cur->curr();
|
||||||
|
long savepos = cur->pos();
|
||||||
|
long savekey = cur->key();
|
||||||
|
|
||||||
|
fcrec.zero();
|
||||||
|
fcrec.put(CLI_TIPOCF, who());
|
||||||
|
fcrec.put(CLI_CODCF, codice);
|
||||||
|
cur->setkey(1);
|
||||||
|
cur->read();
|
||||||
|
|
||||||
const TRectype& parkur = partite.curr();
|
const TRectype& parkur = partite.curr();
|
||||||
const TRectype filter(parkur);
|
const TRectype filter(parkur);
|
||||||
bool one_printed = false; // booleano di controllo di riuscita della stampa
|
bool one_printed = false; // booleano di controllo di riuscita della stampa
|
||||||
@ -360,6 +371,8 @@ int TSol_mask::print_one(const char * tipo, const long codice)
|
|||||||
printer().formfeed();
|
printer().formfeed();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*cur = savepos;
|
||||||
|
cur->setkey(savekey);
|
||||||
return one_printed ? 1 : 0;
|
return one_printed ? 1 : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user