fix chiamata update lotti da ODL x TAB
This commit is contained in:
@@ -318,7 +318,6 @@
|
||||
<Content Include="fonts\fontawesome-webfont.svg" />
|
||||
<Content Include="images\LogoMapoFull.png" />
|
||||
<Content Include="images\LogoSteamware.png" />
|
||||
<Content Include="libzstd.dll" />
|
||||
<Content Include="logs\PlaceHolder.file">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
@@ -441,8 +440,6 @@
|
||||
<Content Include="Scripts\umd\popper-utils.min.js" />
|
||||
<Content Include="Scripts\umd\popper.js" />
|
||||
<Content Include="Scripts\umd\popper.min.js" />
|
||||
<Content Include="snappy32.dll" />
|
||||
<Content Include="snappy64.dll" />
|
||||
<Content Include="steamware.ico" />
|
||||
<Content Include="Global.asax" />
|
||||
<None Include="compilerconfig.json" />
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -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
|
||||
{ }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user