From d5e26f429ec2ba4c70affe9909c3cd52d074f726 Mon Sep 17 00:00:00 2001 From: rrene Date: Fri, 16 Jun 2023 14:27:04 -0700 Subject: [PATCH 01/13] -- pub general 5000 --- Planeacion/CatSubProyectos.aspx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Planeacion/CatSubProyectos.aspx b/Planeacion/CatSubProyectos.aspx index fb428da68..90295d72b 100644 --- a/Planeacion/CatSubProyectos.aspx +++ b/Planeacion/CatSubProyectos.aspx @@ -224,7 +224,7 @@
- +
From 4d63280ac467b7d29565a8eac401fe0288d302ce Mon Sep 17 00:00:00 2001 From: rrene Date: Fri, 16 Jun 2023 14:28:28 -0700 Subject: [PATCH 02/13] -- otros ingresos con moneda diferente --- Ventas/ClientesAbonar.aspx.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ventas/ClientesAbonar.aspx.vb b/Ventas/ClientesAbonar.aspx.vb index ec9df92c6..2286cfb44 100644 --- a/Ventas/ClientesAbonar.aspx.vb +++ b/Ventas/ClientesAbonar.aspx.vb @@ -1010,7 +1010,7 @@ Partial Class Ventas_ClientesAbonar End If tipoCambioPago = Pago.TCPago - If gvr.FCTextBox("TxtComision").Text.ToDecimal <> 0 Then Pago.OtroGastoIngreso = gvr.FCTextBox("TxtComision").Text.ToDecimal + If gvr.FCTextBox("TxtComision").Text.ToDecimal <> 0 Then Pago.OtroGastoIngreso = gvr.FCTextBox("TxtComision").Text.ToDecimal * Pago.TCPago 'If gvr.DataKey("TipoDocto") = "Ant" AndAlso UsuarioActual.CveEmpresa.Contiene(1, 119, 158) Then ' EsAnticipoEspecial = True From b873136dbd0b8f7d0b6ae6b1b1ae62a5dd0c5008 Mon Sep 17 00:00:00 2001 From: rrene Date: Sat, 17 Jun 2023 12:41:56 -0700 Subject: [PATCH 03/13] =?UTF-8?q?--=20se=20quit=C3=B3=20llamado=20a=20cont?= =?UTF-8?q?paq,=20en=20guarda=20=20importaci=C3=B3n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Inventarios/RecepcionAlmacen.aspx.vb | 33 +++++++++++----------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/Inventarios/RecepcionAlmacen.aspx.vb b/Inventarios/RecepcionAlmacen.aspx.vb index 3ce600fa2..ee356f67d 100644 --- a/Inventarios/RecepcionAlmacen.aspx.vb +++ b/Inventarios/RecepcionAlmacen.aspx.vb @@ -3926,7 +3926,6 @@ Partial Class Inventarios_RecepcionAlmacen Dim ObjCompras As New ClsCompras(ObjInventario.IniciaTransacSQL()) Dim ObjConta As New ClsContabilidad(ObjInventario.IniciaTransacSQL()) Dim ObjOC As New ClsOC(ObjInventario.IniciaTransacSQL()) - Dim ObjContaAC As ClsContPAQi = Nothing 'ENTRADA ALMACÉN CveMovimiento = ObjInventario.AddMovimiento(DdlAlmacen.SelectedValue.ToEntero, 2, 1, FechaMovto, -1, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa, CveImportacionCompra, -1, -1, -1, Observaciones:=TxtObservaciones.Text.Trim, TipoCambio:=-1, Remision:=TxtRemision.Text, Modulo:="RA/G6") @@ -4075,9 +4074,6 @@ Partial Class Inventarios_RecepcionAlmacen ImporteAbono = SubTotalPartida ImporteAbonoME = (SubTotalPartida * dr("TipoCambio").ToString.ToDecimal) - SubTotalPartida End If - - - If ObjConta.AddPrePolizasDetalle(CvePrePoliza, True, ImporteAbono, ConceptoPartida, CveConceptoCostoIndirecto, ConceptoPartida, FechaMovto, IdCtaContableCostoInd, -1, CveCompra:=CveComp, CveProveedor:=dr("CveProveedor").ToString.ToEntero, CveMovimientoAlmacen:=CveMovimiento, ImporteMX:=ImporteAbono, CveSubProyecto:=CveSubProyecto) Then ' si tiene valor es que hay complementaria If ImporteAbonoME > 0 Then @@ -4092,7 +4088,6 @@ Partial Class Inventarios_RecepcionAlmacen End If End If - 'DOCUMENTOS RELACIONADOS AL MOVIMIENTO If Not ErrorMovInv AndAlso UsuarioActual.Empresa.Funcionalidad(594) = "1" AndAlso Not UsuarioActual.TienePermisoProceso(314) Then If Not ErrorMovInv AndAlso Not GuardaDocumentoBitacora(ObjBitacora, CveMovimiento) Then @@ -4100,8 +4095,6 @@ Partial Class Inventarios_RecepcionAlmacen Alert("Ocurrió un error al guardar los datos adjuntos de la bitácora", TipoMensaje.MsgError) End If End If - - Else ErrorMovInv = True End If @@ -4114,16 +4107,16 @@ Partial Class Inventarios_RecepcionAlmacen End If End If - If Not ErrorMovInv AndAlso UsuarioActual.Empresa.Funcionalidad(200) = "1" Then - ObjContaAC = New ClsContPAQi(UsuarioActual.Empresa) - ObjContaAC.IniciaTransacSQL() - If ObjConta.ContabilizarPrePoliza(CvePrePoliza, UsuarioActual.CveUsuario, UsuarioActual.Empresa, ObjConta:=ObjContaAC) Then - MensajeError = $"
Movimiento contabilizado en el folio: {ObjConta.ContaFolio}
" - Else - ErrorMovInv = True - MensajeError = "Error al contabilizar los conceptos contables" - End If - End If + 'If Not ErrorMovInv AndAlso UsuarioActual.Empresa.Funcionalidad(200) = "1" Then + ' ObjContaAC = New ClsContPAQi(UsuarioActual.Empresa) + ' ObjContaAC.IniciaTransacSQL() + ' If ObjConta.ContabilizarPrePoliza(CvePrePoliza, UsuarioActual.CveUsuario, UsuarioActual.Empresa, ObjConta:=ObjContaAC) Then + ' MensajeError = $"
Movimiento contabilizado en el folio: {ObjConta.ContaFolio}
" + ' Else + ' ErrorMovInv = True + ' MensajeError = "Error al contabilizar los conceptos contables" + ' End If + 'End If If Not ErrorMovInv AndAlso CveImportacionSeleccionada > 0 Then @@ -4145,7 +4138,7 @@ Partial Class Inventarios_RecepcionAlmacen 'FINAL If Not ErrorMovInv Then ObjInventario.Commit() ' aplica los movimientos insertados - If ObjContaAC IsNot Nothing Then ObjContaAC.Commit() + ' If ObjContaAC IsNot Nothing Then ObjContaAC.Commit() RegistraScript("playsonidito('beep-07.wav')") Dim Msg As New StringBuilder @@ -4158,14 +4151,14 @@ Partial Class Inventarios_RecepcionAlmacen Limpia() Else ObjInventario.RollBack() - If ObjContaAC IsNot Nothing Then ObjContaAC.RollBack() + ' If ObjContaAC IsNot Nothing Then ObjContaAC.RollBack() RegistraScript("playsonidito('142608__autistic-lucario__error.wav')") GuardaLog(MensajeError) Alert("Error al guardar el movimiento de almacen. Por favor vuelva a intentar.", TipoMensaje.MsgError) End If ObjInventario.Dispose() - If ObjContaAC IsNot Nothing Then ObjContaAC.Dispose() + ' If ObjContaAC IsNot Nothing Then ObjContaAC.Dispose() End Sub Private Sub Limpia() CveCompraSurtir = -1 From c35883fdc882b8bdf5ba3704cc93e3a14cde5dbe Mon Sep 17 00:00:00 2001 From: rrene Date: Mon, 19 Jun 2023 10:09:34 -0700 Subject: [PATCH 04/13] =?UTF-8?q?--=20cambios=20-=20ocultar=20columna=20de?= =?UTF-8?q?=20amortizac=C3=B3n=20-=20columna=20de=20descuentos,=20sale=20s?= =?UTF-8?q?olo=20si=20tiene=20datos=20-=20columna=20de=20ieps,=20se=20visu?= =?UTF-8?q?aliza=20si=20la=20empresa=20la=20deduce=20--=20repventasetalle,?= =?UTF-8?q?=20reacomodo=20a=20modal=20de=20perosnalizar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ventas/RepVentaDetalle.aspx | 36 ++++------- Ventas/RepVentaDetalle.aspx.vb | 16 ++--- Ventas/RepVentas.aspx | 4 +- Ventas/RepVentas.aspx.vb | 106 ++++++++------------------------- 4 files changed, 44 insertions(+), 118 deletions(-) diff --git a/Ventas/RepVentaDetalle.aspx b/Ventas/RepVentaDetalle.aspx index 670edb5c3..91ec23517 100644 --- a/Ventas/RepVentaDetalle.aspx +++ b/Ventas/RepVentaDetalle.aspx @@ -379,7 +379,7 @@ - + @@ -580,8 +580,7 @@ - - + @@ -592,8 +591,7 @@ - - + @@ -605,8 +603,7 @@ - - + @@ -618,8 +615,7 @@ - - + @@ -630,8 +626,7 @@ - - + @@ -642,8 +637,7 @@ - - + @@ -654,8 +648,7 @@ - - + @@ -665,23 +658,16 @@ - - - + + - - + - - - - -