Patch level : 10.0 patch 404
Files correlati : lv2 Ricompilazione Demo : [ ] Commento : Corretta posizione delle destroy degli array delle quanta' git-svn-id: svn://10.65.10.50/trunk@19177 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
c1db794940
commit
98bca7f973
@ -154,7 +154,7 @@ bool TGenera_documenti_app::crea_documento(const TISAM_recordset& plan)
|
||||
if (!numerazione_ddt(codnum, tpdoc, statoi, statof))
|
||||
return NOERR;
|
||||
|
||||
_quantita.destroy();
|
||||
|
||||
//creo il documento corretto riempiendo i campi che già conosco
|
||||
TDocumento doc('D',anno,codnum,0);
|
||||
doc.put(DOC_TIPODOC, tpdoc);
|
||||
@ -773,7 +773,11 @@ bool TGenera_documenti_app::transfer()
|
||||
rep->log(0, str);
|
||||
}
|
||||
else
|
||||
{
|
||||
_quantita.destroy();
|
||||
_quantita_ritirata.destroy();
|
||||
crea_documento(plan);
|
||||
}
|
||||
}
|
||||
|
||||
TReport_book buc;
|
||||
|
Loading…
x
Reference in New Issue
Block a user