- cambios global

This commit is contained in:
2020-01-03 16:53:17 -07:00
parent b06e146ce8
commit 06fc712958
3 changed files with 10 additions and 9 deletions

View File

@@ -332,7 +332,7 @@ Partial Class Inventarios_InventarioFisicoDetalle
#Region " ELIMINAR "
Protected Sub gvInventarioFisicoDetalle_RowDeleting(sender As Object, e As GridViewDeleteEventArgs) Handles GvIFD.RowDeleting
If ddlUsuario.SelectedValue = UsuarioActual.CveUsuario.ToString Then
If ddlUsuario.SelectedValue = UsuarioActual.CveUsuario.ToString OrElse UsuarioActual.TienePermisoProceso(283) Then
Dim Inventarios As New ClsInventarios
Dim Retorno As Boolean = Inventarios.RemoveInventarioFisicoDetalles(GvIFD.DataKeys(e.RowIndex).Value.ToString.ToEntero())