ancora update (non compelto) x scaricamento UDC
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user