Correcion en validacion de series, al realizar un traspaso

This commit is contained in:
2022-01-24 17:33:45 -07:00
parent 71ba982d25
commit 6e7ddeb7ee

View File

@@ -511,7 +511,7 @@ Partial Class Inventarios_TraspasoAlmacen
If CveProducto > 0 Then
If TxtnSerie.Visible Then
Cantidad = 1
If TxtnSerie.Text = "" Then
If String.IsNullOrEmpty(TxtnSerie.Text.Trim()) OrElse String.IsNullOrWhiteSpace(TxtnSerie.Text.Trim()) Then
Alert("Serie es necesario", TipoMensaje.MsgAdvertencia)
RegistraScript("playsonidito(''142608__autistic-lucario__error.wav'')")
Exit Sub