Patch level : 10.0
Files correlati : Ricompilazione Demo : [ ] Commento : Ho provato ad associare il 30/7 il 31/7 1/8 e 2/8 senza che mi associasse niente (opzione solo il giorno) Ho dato il 31/7 con opzione fino alla data e mi si è chiuso in errore il lv2.exe (mail Paolo 12/08) git-svn-id: svn://10.65.10.50/trunk@19205 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
2adc2deaf3
commit
847fe54258
@ -197,7 +197,7 @@ bool TGenera_documenti_app::crea_documento(const TISAM_recordset& plan, TLog_rep
|
||||
|
||||
FOR_EACH_ASSOC_OBJECT(_quantita,h,codart,obj)
|
||||
{
|
||||
crea_riga(codart, modpas, tplis, false, prinbo ,doc, rep);
|
||||
crea_riga(codart, modpas, tplis, false, prinbo, doc, rep);
|
||||
|
||||
/*const TDate dadata = rcont.get(LVRCONDV_INDTTMP).as_date();
|
||||
const TDate adata = rcont.get(LVRCONDV_FIDTTMP).as_date();
|
||||
@ -833,7 +833,8 @@ bool TGenera_documenti_app::transfer()
|
||||
query << "(CODAUT=" << codaut << ')';
|
||||
}
|
||||
}
|
||||
query << "\n";
|
||||
query << "\n";
|
||||
|
||||
if(_msk->get_int(F_TPGEN) == 1)
|
||||
query << "FROM DTCONS=" << adatacons << "\n";
|
||||
else
|
||||
@ -842,7 +843,9 @@ bool TGenera_documenti_app::transfer()
|
||||
|
||||
TISAM_recordset plan(query);
|
||||
|
||||
if (plan.move_to(1))
|
||||
int indice = _msk->get_int(F_TPGEN) == 1 ? 0 : 1;
|
||||
|
||||
if (plan.move_to(indice))
|
||||
{
|
||||
_quantita.destroy();
|
||||
_quantita_ritirata.destroy();
|
||||
|
Loading…
x
Reference in New Issue
Block a user