Filtro su buttons x creare lotti e stampare: se COD ART non corretto NON permesso procedere

This commit is contained in:
Samuele E. Locatelli
2020-03-17 17:45:01 +01:00
parent 8cb501d1e8
commit 82e2d7f786
4 changed files with 30 additions and 9 deletions
+18 -1
View File
@@ -76,7 +76,7 @@ namespace MP_MAG
{
get
{
return memLayer.ML.CRS("redProdKey");
return memLayer.ML.redHash(memLayer.ML.CRS("redProdKey"));
}
}
/// <summary>
@@ -225,6 +225,23 @@ namespace MP_MAG
}
}
/// <summary>
/// Verifica se il cod articolo passato (tipicamente Eval DataGrid) sia OK con articolo corrente
/// </summary>
/// <param name="_codArt"></param>
/// <returns></returns>
public bool codArtOk(object _codArt)
{
bool answ = false;
if (_codArt != null)
{
if (!string.IsNullOrEmpty(_codArt.ToString()))
{
answ = _codArt.ToString() == CurrCodArt;
}
}
return answ;
}
/// <summary>
/// Descr Articolo corrente x post
/// </summary>
public string CurrArtDesc