fix gestione codImballo finiti (NON aggiornava...)

This commit is contained in:
Samuele E. Locatelli
2017-05-02 16:40:13 +02:00
parent add51b8475
commit d3dec7456a
9 changed files with 251 additions and 167 deletions
+5 -8
View File
@@ -1,8 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SteamWare;
using SteamWare;
using System;
namespace GMW_data
{
@@ -519,7 +516,7 @@ namespace GMW_data
return answ;
}
/// <summary>
/// calcola il codice imballo da ultimo oppure da webconfig
/// calcola il codice imballo da ultimo oppure da DB/webconfig
/// </summary>
/// <param name="confBaseVal"></param>
/// <returns></returns>
@@ -533,7 +530,7 @@ namespace GMW_data
}
else
{
answ = memLayer.ML.CRS(confBaseVal);
answ = memLayer.ML.cdv(confBaseVal);
}
return answ;
}
@@ -1056,7 +1053,7 @@ namespace GMW_data
try
{
// aggiorno note e posizione da temp a definitivo x UDC...
MagClass.magazzino.updateNotePosizioneDataUDC(currUDC, noteCompl, IdxPosizioneOut, DateTime.Now);
MagClass.magazzino.updateNotePosizioneDataImballoUDC(currUDC, noteCompl, IdxPosizioneOut, DateTime.Now, codImballo);
if (OpAuth.isAuth)
{
// salvo attributo dell'OpAuth...