ancora update (non compelto) x scaricamento UDC

This commit is contained in:
Samuele E. Locatelli
2018-07-04 12:26:02 +02:00
parent 064cd68e2c
commit 9ebd07de58
@@ -296,6 +296,11 @@ namespace GMW.WebUserControls
{
if (isAttivo)
{
// recupero elenco UDC
DS_magazzino.AL2UDCDataTable tabUDC = MagClass.magazzino.taAL2UDC.getByAL(currAL_KA);
if (tabUDC.Rows.Count > 0)
{
// ciclo su tutti gli UDC...
#if false
// controllo se UDC non sia già consumato...
if (MagClass.magazzino.udcMpIsConsumabile(currUdcFrom))
@@ -355,6 +360,15 @@ namespace GMW.WebUserControls
pnlAll.CssClass = "stileComandoKo";
}
#endif
}
else
{
// indico AL senza UDC!
lblMessaggi.Text = string.Format("Errore: AL KIT Anime SENZA UDC associati: {0}", currAL_KA);
pnlAll.CssClass = "stileComandoKo";
}
// disattivo AL
MagClass.magazzino.taEA.DisattivaAL(currAL_KA);
}
else
{