que sugiera el mes siguiente despues de agregar

This commit is contained in:
Rene Molina
2019-08-23 16:10:09 -07:00
parent 0c42113eb6
commit 40b328ff5d
2 changed files with 5 additions and 3 deletions

View File

@@ -97,8 +97,9 @@ Partial Class Acumuladores_CatFoliosGarantia
If DdlMarca.SelectedValue <> -1 Then DdlMarcaM.SelectedValueExist(DdlMarca.SelectedValue.ToEntero)
If DdlTipoUso.SelectedValue <> -1 Then DdlTipoUsoM.SelectedValueExist(DdlTipoUso.SelectedValue.ToEntero)
TxtMes.Text = ""
TxtMes.Text = TxtMes.Text.ToEntero + 1
TxtValor.Text = ""
TxtMes.Focus()
Actualizar = False
UpGral.Update()
@@ -129,8 +130,9 @@ Partial Class Acumuladores_CatFoliosGarantia
If Not Actualizar Then
If ObjAcum.GarantiasMesesAdd(DdlMarcaM.SelectedValue.ToEntero, DdlTipoUsoM.SelectedValue.ToEntero, TxtMes.Text.ToEntero, TxtValor.Text.ToDecimal, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa) Then
TxtMes.Text = ""
TxtMes.Text = TxtMes.Text.ToEntero + 1
TxtValor.Text = ""
TxtMes.Focus()
CargadatosGvFolioGarantia()

View File

@@ -1144,7 +1144,7 @@ Partial Class Compras_Proveedores
'VA POR EL CATALOGO DE CUENTAS
If Ddl.Attributes("onclick") <> "" Then
CargaCuentasContables(If(UsuarioActual.Empresa.Funcionalidad(CveFuncionalidad).ToEntero > 0, UsuarioActual.Empresa.Funcionalidad(CveFuncionalidad).ToEntero, -1))
CargaCuentasContables(If(UsuarioActual.Empresa.Funcionalidad(CveFuncionalidad).ToEntero > 0, UsuarioActual.Empresa.Funcionalidad(CveFuncionalidad).ToEntero, 1))
End If
'RECARGA EL DDL