diff --git a/MP-LAND/MP-LAND.csproj b/MP-LAND/MP-LAND.csproj index a2d0d2d6..0d1cba0b 100644 --- a/MP-LAND/MP-LAND.csproj +++ b/MP-LAND/MP-LAND.csproj @@ -318,7 +318,6 @@ - Always @@ -441,8 +440,6 @@ - - diff --git a/MP-LAND/libzstd.dll b/MP-LAND/libzstd.dll deleted file mode 100644 index e669123c..00000000 Binary files a/MP-LAND/libzstd.dll and /dev/null differ diff --git a/MP-LAND/snappy32.dll b/MP-LAND/snappy32.dll deleted file mode 100644 index afc82ca4..00000000 Binary files a/MP-LAND/snappy32.dll and /dev/null differ diff --git a/MP-LAND/snappy64.dll b/MP-LAND/snappy64.dll deleted file mode 100644 index 36cd5fe7..00000000 Binary files a/MP-LAND/snappy64.dll and /dev/null differ diff --git a/MP-TAB/WebUserControls/mod_dettaglioProd.ascx.cs b/MP-TAB/WebUserControls/mod_dettaglioProd.ascx.cs index 228b9ec8..2acc2d21 100644 --- a/MP-TAB/WebUserControls/mod_dettaglioProd.ascx.cs +++ b/MP-TAB/WebUserControls/mod_dettaglioProd.ascx.cs @@ -13,11 +13,19 @@ namespace MoonProTablet.WebUserControls // controlla se abilitato check LOTTI MAG if (enableMagLotti) { - // controlla se ci sia lotto x ODL - if (DataLayerObj.taMagELotti.getByODL(idxOdl).Rows.Count == 0) + if (idxOdl > 0) { - // se non c'è chiama stored x rigenerare - DataLayerObj.taMagELotti.UpsertByOdl(idxOdl, true); + // controlla se ci sia lotto x ODL + if (DataLayerObj.taMagELotti.getByODL(idxOdl).Rows.Count == 0) + { + try + { + // se non c'è chiama stored x rigenerare + DataLayerObj.taMagELotti.UpsertByOdl(idxOdl, true); + } + catch + { } + } } } }