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
Return dt
Exit Function
End If
End If
ObjMovimientos.Dispose()
End If
Else
ObjMovimientos.Dispose()
Alert("Ocurrió un error al consultar el Kardex.", TipoMensaje.MsgError)
Exit Function
End If
GvDatos.DataBind()
For index = 3 To GvDatos.Rows(0).Cells.Count - 1