diff --git a/GMW/WebUserControls/mod_PostLiq_DT.ascx.cs b/GMW/WebUserControls/mod_PostLiq_DT.ascx.cs index 9700dc75..7a2c84af 100644 --- a/GMW/WebUserControls/mod_PostLiq_DT.ascx.cs +++ b/GMW/WebUserControls/mod_PostLiq_DT.ascx.cs @@ -33,6 +33,10 @@ namespace GMW.WebUserControls /// protected string flussoAnc = "TT"; /// + /// flusso associato (hard coded) a temporaneo TL (Trattati/Liquidi) + /// + protected string flussoTemp = "TL"; + /// /// stato associato (hard coded) a UDC in OUT: Finito /// protected string statoUdcOut = "Fin"; @@ -461,8 +465,10 @@ namespace GMW.WebUserControls } if (NewUDC == "") { + // scambio UDC e prendo quello TT + OldUDC = OldUDC.Replace(flussoTemp, flussoAnc); // oppure lo creo... - NewUDC = MagClass.magazzino.creaUdc(flusso, "", particolare, "", "", "", "", "", 0, memLayer.ML.confReadString("CodImballoFiniti"), "U", MagClass.magazzino.CodSoggCurrUser, 0, 0, 0, adesso, 0, statoUdcOut, memLayer.ML.confReadInt("IdxPosizioneFinTemp"), "IdxPosizioneFinTemp", codEventoUdcOut, "", "", adesso.Year, Request.UserHostName); + NewUDC = MagClass.magazzino.creaUdc(flusso, "", particolare, "", "", "", "", OldUDC, 0, memLayer.ML.confReadString("CodImballoFiniti"), "U", MagClass.magazzino.CodSoggCurrUser, 0, 0, 0, adesso, 0, statoUdcOut, memLayer.ML.confReadInt("IdxPosizioneFinTemp"), "IdxPosizioneFinTemp", codEventoUdcOut, "", "", adesso.Year, Request.UserHostName); // lo associo all'AL! MagClass.magazzino.taAL2UDC.Insert(destAL, NewUDC, adesso, MagClass.magazzino.CodSoggCurrUser); } @@ -529,7 +535,7 @@ namespace GMW.WebUserControls } else { - Postazione.messaggiText =""; + Postazione.messaggiText = ""; Postazione.warningText = traduci("ERR-DTX-002"); Postazione.CssClass = "stileComandoKo"; } diff --git a/GMW/bin/GMW.dll b/GMW/bin/GMW.dll index 040fa763..cbabb306 100644 Binary files a/GMW/bin/GMW.dll and b/GMW/bin/GMW.dll differ diff --git a/GMW/bin/GMW_data.dll b/GMW/bin/GMW_data.dll index 6affda9c..dd1aa7cd 100644 Binary files a/GMW/bin/GMW_data.dll and b/GMW/bin/GMW_data.dll differ diff --git a/GMW/bin/SteamWare.dll b/GMW/bin/SteamWare.dll index f948bf35..97b18b6a 100644 Binary files a/GMW/bin/SteamWare.dll and b/GMW/bin/SteamWare.dll differ