--transacción ajustemovto,
This commit is contained in:
@@ -6457,10 +6457,14 @@ Partial Class Bancos_IE
|
|||||||
Private Sub BtnAjustarMovimiento_Click(sender As Object, e As EventArgs) Handles BtnAjustarMovimiento.Click
|
Private Sub BtnAjustarMovimiento_Click(sender As Object, e As EventArgs) Handles BtnAjustarMovimiento.Click
|
||||||
|
|
||||||
Dim ObjBanco As New ClsBancos
|
Dim ObjBanco As New ClsBancos
|
||||||
|
ObjBanco.IniciaTransacSQL()
|
||||||
|
|
||||||
If ObjBanco.UpdateAjustarMovimiento(CveIE, TxtAjustarMovimiento.Text.ToDecimal, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa) Then
|
If ObjBanco.UpdateAjustarMovimiento(CveIE, TxtAjustarMovimiento.Text.ToDecimal, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa) Then
|
||||||
|
ObjBanco.Commit()
|
||||||
RegistraScript("$('#ModalAjustarMovimiento').modal('hide');", "ALTR")
|
RegistraScript("$('#ModalAjustarMovimiento').modal('hide');", "ALTR")
|
||||||
Alert("El ajuste se realizo correctamente.", TipoMensaje.MsgInformacion, $" document.location.href = ""./IE.aspx?CveIE={CveIE}"";")
|
Alert("El ajuste se realizo correctamente.", TipoMensaje.MsgInformacion, $" document.location.href = ""./IE.aspx?CveIE={CveIE}"";")
|
||||||
|
Else
|
||||||
|
ObjBanco.RollBack()
|
||||||
End If
|
End If
|
||||||
|
|
||||||
ObjBanco.Dispose()
|
ObjBanco.Dispose()
|
||||||
|
|||||||
Reference in New Issue
Block a user