Filtro su buttons x creare lotti e stampare: se COD ART non corretto NON permesso procedere
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user