Verificar error al consultar en el kardex

This commit is contained in:
2019-08-30 09:54:04 -07:00
parent 2f2b9d81d7
commit 8c05e2ba53

View File

@@ -152,10 +152,14 @@ Partial Class Inventarios_KardexAlmacen
dt = Nothing dt = Nothing
Return dt Return dt
Exit Function Exit Function
End If End If
End If Else
ObjMovimientos.Dispose()
ObjMovimientos.Dispose() Alert("Ocurrió un error al consultar el Kardex.", TipoMensaje.MsgError)
Exit Function
End If
GvDatos.DataBind() GvDatos.DataBind()
For index = 3 To GvDatos.Rows(0).Cells.Count - 1 For index = 3 To GvDatos.Rows(0).Cells.Count - 1