Patch level : 12.0 968
Files correlati : f90.exe d181.des f181.dir f181.trr f9ProspIntegr.rep all-masks build f90104.sql Commento : Corretta creazione prospetto: numero reg acq errato
This commit is contained in:
parent
6c6d640642
commit
4767ae1e0a
@ -146,9 +146,9 @@ int TEstrai_mask::estrai()
|
|||||||
query << "SELECT * FROM MOV WHERE DATAREG>=" << dataini.date2ansi() << " AND DATAREG<=" << dataend.date2ansi() << ";";
|
query << "SELECT * FROM MOV WHERE DATAREG>=" << dataini.date2ansi() << " AND DATAREG<=" << dataend.date2ansi() << ";";
|
||||||
TSQL_recordset mov(query);
|
TSQL_recordset mov(query);
|
||||||
|
|
||||||
TProgress_monitor* progr = new TProgress_monitor(mov.items(), "Acquisizione movimenti", false);
|
TProgress_monitor* progr = new TProgress_monitor(mov.items(), "Acquisizione movimenti", false);
|
||||||
TLocalisamfile clifo(LF_CLIFO);
|
TLocalisamfile clifo(LF_CLIFO);
|
||||||
const TipoIVA tipo = tipodoc == 'A' ? iva_acquisti : iva_vendite;
|
const TipoIVA tipo = tipodoc == 'A' ? iva_acquisti : iva_vendite;
|
||||||
int count = 0;
|
int count = 0;
|
||||||
// Prendo tutti i movimenti a partire da una data e li carico tutti fino alla data finale
|
// Prendo tutti i movimenti a partire da una data e li carico tutti fino alla data finale
|
||||||
for (bool ok = mov.move_first(); ok; ok = mov.move_next())
|
for (bool ok = mov.move_first(); ok; ok = mov.move_next())
|
||||||
|
@ -314,7 +314,8 @@ bool TEstrazione::make_prosp_int_revc(const int numreg, TCategorie_doc::annesso&
|
|||||||
if(rev_vend.full() || is_integr_rev(numreg, rev_vend))
|
if(rev_vend.full() || is_integr_rev(numreg, rev_vend))
|
||||||
{
|
{
|
||||||
TF9Prospetto_integr prosp;
|
TF9Prospetto_integr prosp;
|
||||||
if (prosp(TString(numreg), rev_vend))
|
TString acq; acq << numreg;
|
||||||
|
if (prosp(acq, rev_vend))
|
||||||
{
|
{
|
||||||
// [ NUMREG][ CAT.ANN.].pdf
|
// [ NUMREG][ CAT.ANN.].pdf
|
||||||
// [0000000][AAAAAAAAAA].pdf
|
// [0000000][AAAAAAAAAA].pdf
|
||||||
@ -565,7 +566,7 @@ const char* TEstrazione::diagnostica_mov()
|
|||||||
|
|
||||||
movimento_t& mov_i = *it;
|
movimento_t& mov_i = *it;
|
||||||
#ifdef DBG
|
#ifdef DBG
|
||||||
if (mov_i.numreg == 96953)
|
if (mov_i.numreg == 9552)
|
||||||
bool simo = true;
|
bool simo = true;
|
||||||
#endif
|
#endif
|
||||||
// Se escluso passo avanti
|
// Se escluso passo avanti
|
||||||
|
Loading…
x
Reference in New Issue
Block a user