From 85094049cc550ea29b35a38ebdd31a89e0265b66 Mon Sep 17 00:00:00 2001 From: luca83 Date: Fri, 27 Nov 2009 08:45:41 +0000 Subject: [PATCH] Patch level : 10.0 patch 529 Files correlati : lv2 Ricompilazione Demo : [ ] Commento : Corretto il numero di documenti generati (era sempre 0) git-svn-id: svn://10.65.10.50/trunk@19673 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- lv/lv2400.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lv/lv2400.cpp b/lv/lv2400.cpp index 65447a900..bb2e1555b 100755 --- a/lv/lv2400.cpp +++ b/lv/lv2400.cpp @@ -51,8 +51,8 @@ class TGenera_documenti_app : public TSkeleton_application private: //Metodi per la generazione dei documenti - bool crea_documento(const TISAM_recordset& plan, TLog_report& rep, int numdocgen); - void crea_riga(const TString& codart, const char modpas, const int tplis, const bool tmp, const bool prinbo,TDocumento& doc, TLog_report& rep); + bool crea_documento(const TISAM_recordset& plan, TLog_report& rep, int& numdocgen); + void crea_riga(const TString& codart, const char modpas, const int tplis, const bool tmp, const bool prinbo, TDocumento& doc, TLog_report& rep); //Metodi per il recupero di codnum, tpdoc, stato bool numerazione_ddt(TString& codnum, TString& tpdoc, TString& statoi, TString& statof) const; bool numerazione_drit(const int cod, TString& codnum, TString& tpdoc, TString& statoi, TString& statof) const; @@ -116,7 +116,7 @@ bool TGenera_documenti_app::destroy() /////////////////////////////////////////////////////// //CREA_DOCUMENTO: metodo che crea un nuovo documento di trasporto dai dati salvati -bool TGenera_documenti_app::crea_documento(const TISAM_recordset& plan, TLog_report& rep, int numdocgen) +bool TGenera_documenti_app::crea_documento(const TISAM_recordset& plan, TLog_report& rep, int& numdocgen) { //recupero i dati di interesse dalla maschera const TDate datagen(TODAY);