- cambios global
This commit is contained in:
@@ -1532,12 +1532,13 @@ Partial Class Compras_Proveedores
|
|||||||
ObjProveedores.Commit()
|
ObjProveedores.Commit()
|
||||||
If ObjContaAC IsNot Nothing Then ObjContaAC.Commit()
|
If ObjContaAC IsNot Nothing Then ObjContaAC.Commit()
|
||||||
|
|
||||||
'ACTUALIZAR GLOBAL
|
''ACTUALIZAR GLOBAL
|
||||||
If ObjProveedores.GetProveedores(ClsCompProveedores.TipoConsulta.ParaGlobalDT, -1, "-1", "-1", "-1", "-1", "-1", "-1", "-1", -1, UsuarioActual.CveEmpresa) Then
|
GlobalDTCompProveedores(UsuarioActual.CveEmpresa) = Nothing
|
||||||
GlobalDTCompProveedores(UsuarioActual.CveEmpresa) = ObjProveedores.DtResultados
|
'If ObjProveedores.GetProveedores(ClsCompProveedores.TipoConsulta.ParaGlobalDT, -1, "-1", "-1", "-1", "-1", "-1", "-1", "-1", -1, UsuarioActual.CveEmpresa) Then
|
||||||
Else
|
' GlobalDTCompProveedores(UsuarioActual.CveEmpresa) = ObjProveedores.DtResultados
|
||||||
ErrorBancos = True
|
'Else
|
||||||
End If
|
' ErrorBancos = True
|
||||||
|
'End If
|
||||||
Alert("El Proveedor se guardó correctamente. " & "<br />" & MsgCuentaContable, TipoMensaje.MsgInformacion, If(Request("CveFactura") Is Nothing, "document.location.href=""/Compras/CatProveedores.aspx""", "window.opener.location.href = window.opener.location.href; window.close();"))
|
Alert("El Proveedor se guardó correctamente. " & "<br />" & MsgCuentaContable, TipoMensaje.MsgInformacion, If(Request("CveFactura") Is Nothing, "document.location.href=""/Compras/CatProveedores.aspx""", "window.opener.location.href = window.opener.location.href; window.close();"))
|
||||||
RecargaGlobalCuentasBancarias()
|
RecargaGlobalCuentasBancarias()
|
||||||
End If
|
End If
|
||||||
|
|||||||
@@ -332,7 +332,7 @@ Partial Class Inventarios_InventarioFisicoDetalle
|
|||||||
|
|
||||||
#Region " ELIMINAR "
|
#Region " ELIMINAR "
|
||||||
Protected Sub gvInventarioFisicoDetalle_RowDeleting(sender As Object, e As GridViewDeleteEventArgs) Handles GvIFD.RowDeleting
|
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 Inventarios As New ClsInventarios
|
||||||
Dim Retorno As Boolean = Inventarios.RemoveInventarioFisicoDetalles(GvIFD.DataKeys(e.RowIndex).Value.ToString.ToEntero())
|
Dim Retorno As Boolean = Inventarios.RemoveInventarioFisicoDetalles(GvIFD.DataKeys(e.RowIndex).Value.ToString.ToEntero())
|
||||||
|
|
||||||
|
|||||||
@@ -256,9 +256,9 @@
|
|||||||
</asp:UpdatePanel>
|
</asp:UpdatePanel>
|
||||||
|
|
||||||
<asp:UpdatePanel runat="server" ID="UpPorcentajeMarcas" RenderMode="Inline" UpdateMode="Conditional">
|
<asp:UpdatePanel runat="server" ID="UpPorcentajeMarcas" RenderMode="Inline" UpdateMode="Conditional">
|
||||||
<ContentTemplate>
|
<ContentTemplate
|
||||||
<li>
|
<li>
|
||||||
<asp:LinkButton ID="LnkPorcentajeMarcas" Visible="False" data-toggle="tooltip" data-placement="left" title="Condiciones Comerciales" runat="server" Text="<i class='fa fa-pencil'></i> Modificar Precio por Marca"></asp:LinkButton>
|
<asp:LinkButton ID="LnkPorcentajeMarcas" Visible="False" data-toggle="tooltip" data-placement="left" title="Condiciones Comerciales" runat="server" Text="<i class='fa fa-pencil'></i>Condiciones Comerciales"></asp:LinkButton>
|
||||||
</li>
|
</li>
|
||||||
</ContentTemplate>
|
</ContentTemplate>
|
||||||
</asp:UpdatePanel>
|
</asp:UpdatePanel>
|
||||||
|
|||||||
Reference in New Issue
Block a user