From e2635a1901f04105bbbc74a9e5e45e8277d04de0 Mon Sep 17 00:00:00 2001 From: rrene Date: Fri, 3 Mar 2023 11:37:48 -0700 Subject: [PATCH 01/12] =?UTF-8?q?--ACTIVACI=C3=93N=20DE=20grupo=20proyecto?= =?UTF-8?q?/subproyecto?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ventas/RepProductosServicios.aspx.vb | 52 +++++++++++++++------------- 1 file changed, 27 insertions(+), 25 deletions(-) diff --git a/Ventas/RepProductosServicios.aspx.vb b/Ventas/RepProductosServicios.aspx.vb index 6225d3e6e..ed6a05dc5 100644 --- a/Ventas/RepProductosServicios.aspx.vb +++ b/Ventas/RepProductosServicios.aspx.vb @@ -61,29 +61,31 @@ Partial Class Ventas_RepProductosServicios #Region " CARGA DATOS INICIALES " - Private Sub CargaGrupo() - DdlGrupo.Items.Insert(0, New ListItem("Categoria", "3")) - DdlGrupo.Items.Insert(1, New ListItem("Clasificación", "4")) - DdlGrupo.Items.Insert(2, New ListItem("Productos-Servicios", "5")) - DdlGrupo.Items.Insert(3, New ListItem("Año", "6")) - DdlGrupo.Items.Insert(4, New ListItem("Mes", "7")) - DdlGrupo.Items.Insert(5, New ListItem("Año/Mes", "8")) - DdlGrupo.Items.Insert(6, New ListItem("Fecha", "9")) - DdlGrupo.Items.Insert(7, New ListItem("Cliente", "10")) - DdlGrupo.Items.Insert(8, New ListItem("Vendedor", "12")) - DdlGrupo.Items.Insert(9, New ListItem("Usuario", "13")) - DdlGrupo.Items.Insert(10, New ListItem("Estatus Fact.", "14")) - DdlGrupo.Items.Insert(11, New ListItem("Año Ejec.", "15")) - DdlGrupo.Items.Insert(12, New ListItem("Mes Ejec.", "16")) - DdlGrupo.Items.Insert(13, New ListItem("Año/Mes Ejec.", "17")) - DdlGrupo.Items.Insert(14, New ListItem("Fecha Ejec.", "18")) - DdlGrupo.Items.Insert(15, New ListItem("Cliente - PS", "20")) - DdlGrupo.Items.Insert(16, New ListItem("Sucursal - PS", "21")) - DdlGrupo.Items.Insert(17, New ListItem("Familia - Marca - Tipo", "22")) - DdlGrupo.Items.Insert(18, New ListItem("Tipo Cliente", "23")) - DdlGrupo.Items.Insert(18, New ListItem("Marca", "24")) - DdlGrupo.Items.Insert(18, New ListItem("Cliente Sucursal", "26")) - DdlGrupo.Items.Insert(18, New ListItem("Giro", "27")) + Private Sub CargaGrupo() + If DdlProyecto.Visible Then DdlGrupo.Items.Insert(0, New ListItem("Proyecto", "1")) + DdlGrupo.Items.Add(New ListItem(LblSubProyecto.Text, "2")) + DdlGrupo.Items.Add(New ListItem("Categoria", "3")) + DdlGrupo.Items.Add(New ListItem("Clasificación", "4")) + DdlGrupo.Items.Add(New ListItem("Productos-Servicios", "5")) + DdlGrupo.Items.Add(New ListItem("Año", "6")) + DdlGrupo.Items.Add(New ListItem("Mes", "7")) + DdlGrupo.Items.Add(New ListItem("Año/Mes", "8")) + DdlGrupo.Items.Add(New ListItem("Fecha", "9")) + DdlGrupo.Items.Add(New ListItem("Cliente", "10")) + DdlGrupo.Items.Add(New ListItem("Vendedor", "12")) + DdlGrupo.Items.Add(New ListItem("Usuario", "13")) + DdlGrupo.Items.Add(New ListItem("Estatus Fact.", "14")) + DdlGrupo.Items.Add(New ListItem("Año Ejec.", "15")) + DdlGrupo.Items.Add(New ListItem("Mes Ejec.", "16")) + DdlGrupo.Items.Add(New ListItem("Año/Mes Ejec.", "17")) + DdlGrupo.Items.Add(New ListItem("Fecha Ejec.", "18")) + DdlGrupo.Items.Add(New ListItem("Cliente - PS", "20")) + DdlGrupo.Items.Add(New ListItem("Sucursal - PS", "21")) + DdlGrupo.Items.Add(New ListItem("Familia - Marca - Tipo", "22")) + DdlGrupo.Items.Add(New ListItem("Tipo Cliente", "23")) + DdlGrupo.Items.Add(New ListItem("Marca", "24")) + DdlGrupo.Items.Add(New ListItem("Cliente Sucursal", "26")) + DdlGrupo.Items.Add(New ListItem("Giro", "27")) DdlGrupo.DataBind() DdlGrupo.SelectedValueExist("8") @@ -157,9 +159,9 @@ Partial Class Ventas_RepProductosServicios DdlClienteClasificacion.DataBind() DdlClienteClasificacion.Items.Insert(0, New ListItem("Todos", "-1")) - CargaGrupo() CargarCentrosDeCosto(DdlProyecto, DdlSubProyecto, LblProyecto, LblSubProyecto, divProyecto:=DivProyecto) - CargarCentrosDeCosto(Nothing, DdlSubProyectoEjecucion, Nothing, Nothing) + CargarCentrosDeCosto(Nothing, DdlSubProyectoEjecucion, Nothing, Nothing) + CargaGrupo() TipoCambio = 1 TCEspecifico = 0 From 1ed732850b523f7e9b463aa2c60caf282c12dcef Mon Sep 17 00:00:00 2001 From: JORGE LUIS CAUDILLO ESPARZA Date: Tue, 7 Mar 2023 09:35:01 -0700 Subject: [PATCH 02/12] --- Nomina/ConceptoNomina.aspx.cs | 2 +- Nomina/Nomina.aspx.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Nomina/ConceptoNomina.aspx.cs b/Nomina/ConceptoNomina.aspx.cs index db804f5e9..a5dced7e4 100644 --- a/Nomina/ConceptoNomina.aspx.cs +++ b/Nomina/ConceptoNomina.aspx.cs @@ -291,7 +291,7 @@ public partial class Nomina_CatConcepto : ClsPaginas using (ClsContabilidad ObjConta = new ClsContabilidad()) { - if (ObjConta.GetCuentas(-1, "-1", -1, UsuarioActual.CveEmpresa)) + if (ObjConta.GetCuentas(-1, "-1", 1, UsuarioActual.CveEmpresa)) { DdlCtaContable.DataSource = ObjConta.DtResultados; diff --git a/Nomina/Nomina.aspx.cs b/Nomina/Nomina.aspx.cs index 9357e8b57..0a10319c1 100644 --- a/Nomina/Nomina.aspx.cs +++ b/Nomina/Nomina.aspx.cs @@ -2636,7 +2636,7 @@ public partial class Nomina_Nomina2 : ClsPaginas using (ClsContabilidad ObjConta = new ClsContabilidad()) { - if (ObjConta.GetCuentas(-1, "-1", -1, UsuarioActual.CveEmpresa)) + if (ObjConta.GetCuentas(-1, "-1", 1, UsuarioActual.CveEmpresa)) { DdlCtaContable.DataSource = ObjConta.DtResultados; DdlCtaContable.DataBind(); @@ -8407,7 +8407,7 @@ public partial class Nomina_Nomina2 : ClsPaginas using (ClsContabilidad ObjConta = new ClsContabilidad()) { - if (ObjConta.GetCuentas(-1, "-1", -1, UsuarioActual.CveEmpresa)) + if (ObjConta.GetCuentas(-1, "-1", 1, UsuarioActual.CveEmpresa)) { DdlCtaContable.DataSource = ObjConta.DtResultados; DdlCtaContable.DataBind(); @@ -8488,7 +8488,7 @@ public partial class Nomina_Nomina2 : ClsPaginas int CveAlmacen = -1; - if (ObjConta.GetCuentas(-1, "-1", -1, UsuarioActual.CveEmpresa)) + if (ObjConta.GetCuentas(-1, "-1", 1, UsuarioActual.CveEmpresa)) { dtconta = ObjConta.DtResultados; } From adcd8a520e952a7cc99ae3a12e89abdbff5f5700 Mon Sep 17 00:00:00 2001 From: Jonathan Alexis Perez Morales Date: Tue, 7 Mar 2023 14:51:57 -0700 Subject: [PATCH 03/12] Carga de marcas --- Acumuladores/CatGarantiasMeses.aspx.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Acumuladores/CatGarantiasMeses.aspx.vb b/Acumuladores/CatGarantiasMeses.aspx.vb index 190f4dd6c..f99f4c14e 100644 --- a/Acumuladores/CatGarantiasMeses.aspx.vb +++ b/Acumuladores/CatGarantiasMeses.aspx.vb @@ -111,7 +111,7 @@ Partial Class Acumuladores_CatFoliosGarantia 'End If 'ObjPS.Dispose() - DdlMarca.DataSource = GlobalDTGralMarcas(UsuarioActual.CveEmpresa) + DdlMarcaM.DataSource = GlobalDTGralMarcas(UsuarioActual.CveEmpresa) DdlMarcaM.DataBind() DdlTipoUsoM.DataSource = GlobalDTAcumTiposUso(UsuarioActual.CveEmpresa) From a40d8da6c8022b4963557d051dad865e260824f4 Mon Sep 17 00:00:00 2001 From: Jonathan Alexis Perez Morales Date: Tue, 7 Mar 2023 15:24:35 -0700 Subject: [PATCH 04/12] Formato de fecha --- Compras/PopUpVerFactura.aspx.vb | 2 +- .../Formatos/RepRembolsosComprobaciones.rdlc | 17 +++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/Compras/PopUpVerFactura.aspx.vb b/Compras/PopUpVerFactura.aspx.vb index 870d9223e..119b25338 100644 --- a/Compras/PopUpVerFactura.aspx.vb +++ b/Compras/PopUpVerFactura.aspx.vb @@ -6287,7 +6287,7 @@ Partial Class PopUpVerFactura params.Add(New ReportParameter("CajaChica", "Caja chica: " & ParamComprobacion.Rows(0)("BancoNumCuentaMoneda").ToString)) params.Add(New ReportParameter("observaciones", "Observaciones: " & ParamComprobacion.Rows(0)("Observaciones").ToString)) params.Add(New ReportParameter("folio", ParamComprobacion.Rows(0)("Folio").ToString)) - params.Add(New ReportParameter("fecha", ParamComprobacion.Rows(0)("FechaDocumento").ToString)) + params.Add(New ReportParameter("fecha", ParamComprobacion.Rows(0)("FechaDocumento").ToString().ToDate().ToString("dd/MM/yyyy"))) params.Add(New ReportParameter("importe", ParamComprobacion.Rows(0)("Importe").ToString)) params.Add(New ReportParameter("TotAbono", DtComprobacion.SUM("Abonado").ToString)) diff --git a/Empresas/Grales/Formatos/RepRembolsosComprobaciones.rdlc b/Empresas/Grales/Formatos/RepRembolsosComprobaciones.rdlc index 242b2b846..e21960ecc 100644 --- a/Empresas/Grales/Formatos/RepRembolsosComprobaciones.rdlc +++ b/Empresas/Grales/Formatos/RepRembolsosComprobaciones.rdlc @@ -1274,7 +1274,7 @@ @@ -1318,9 +1318,9 @@ Textbox4 3.24442cm - 14.99769cm + 14.60575cm 0.49417cm - 1.34938cm + 1.74132cm 9 =IIf(Parameters!folio.Value = "",True,False) @@ -1354,9 +1354,9 @@ Textbox4 3.80915cm - 14.99769cm + 14.60575cm 0.49417cm - 1.38465cm + 1.77659cm 10 =IIf(Parameters!folio.Value = "",True,False) @@ -1390,9 +1390,9 @@ Textbox4 2.6797cm - 14.99769cm + 14.60575cm 0.49417cm - 1.34937cm + 1.74131cm 11 =IIf(Parameters!folio.Value = "",True,False) @@ -1919,8 +1919,9 @@ ReportParameter1 - DateTime + String true + true ReportParameter1 From 0248f50785a851ca4b99b3a6b257566c57686dab Mon Sep 17 00:00:00 2001 From: Jonathan Alexis Perez Morales Date: Tue, 7 Mar 2023 15:32:05 -0700 Subject: [PATCH 05/12] Documentos relacionados E159 y E160 --- Empresas/159/Formatos/Factura.rdlc | 499 ++++++++++++++++++++++++++- Empresas/160/Formatos/Factura.rdlc | 532 ++++++++++++++++++++++++++++- 2 files changed, 996 insertions(+), 35 deletions(-) diff --git a/Empresas/159/Formatos/Factura.rdlc b/Empresas/159/Formatos/Factura.rdlc index 889043fa2..7d8f52f52 100644 --- a/Empresas/159/Formatos/Factura.rdlc +++ b/Empresas/159/Formatos/Factura.rdlc @@ -2163,8 +2163,8 @@ Embedded ID3 FitProportional - 23.20001cm - 0.21011cm + 25.46336cm + 0.26815cm 0.93046cm 5.37042cm 31 @@ -2195,8 +2195,8 @@ Textbox60 - 20.86523cm - 0.21011cm + 23.12858cm + 0.26815cm 0.6882cm 20.71217cm 32 @@ -2215,8 +2215,8 @@ =System.Convert.FromBase64String(Parameters!QRDescarga.Value) image/png FitProportional - 8.75362in - 6.64986in + 9.6447in + 6.67271in 0.6035in 0.78275in 33 @@ -2268,8 +2268,8 @@ Textbox60 - 21.31001cm - 0.21011cm + 23.57336cm + 0.26815cm 1.49135cm 5.37042cm 34 @@ -2298,8 +2298,8 @@ Textbox5 - 20.84936cm - 0.10579cm + 23.11271cm + 0.16383cm 0.05496cm 20.88652cm 35 @@ -2329,8 +2329,8 @@ Textbox5 - 24.22924cm - 0.21011cm + 26.49259cm + 0.26815cm 0.05496cm 20.88652cm 36 @@ -2423,8 +2423,8 @@ Textbox60 - 21.31001cm - 7.38142cm + 23.57336cm + 7.43946cm 2.45709cm 6.56105cm 37 @@ -2462,8 +2462,8 @@ Textbox60 - 21.30023cm - 14.60142cm + 23.56358cm + 14.65946cm 1.46939cm 6.32076cm 38 @@ -3516,8 +3516,473 @@ + + + + true + true + + + + + CFDI Relacionados + + + + + + + Textbox5 + 0.14926cm + 0.07193cm + 0.54004cm + 20.7077cm + + + Black + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + Tipo Relación: + + + + + + + Textbox29 + 0.83025cm + 4.78817cm + 0.41981cm + 5.31841cm + 1 + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =Parameters!TipoRelacionTexto.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + 2.42456cm + + + 2.05585cm + + + 3.03631cm + + + 7.7847cm + + + + + 0.44125cm + + + + + true + true + + + + + Folio + + + + + + + Textbox10 + + + Black + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Fecha + + + + + + + Textbox12 + + + Black + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Importe + + + + + + + Textbox21 + + + Black + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Folio Fiscal + + + + + + + Textbox11 + + + Black + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.41479cm + + + + + true + true + + + + + =Fields!SerieFolio.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!Fecha.Value + + + + + + + Fecha + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!Importe.Value + + + + + + + Importe1 + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!FolioFiscal.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + + + + + + + + + + After + + + + + + + DataSet4 + 1.39643cm + 3.28643cm + 0.85604cm + 15.30142cm + 3 + + + + + + true + 20.80555cm + 0.16383cm + 2.25247cm + 20.89818cm + 44 + + =Microsoft.VisualBasic.Interaction.IIF(First(Fields!SerieFolio.Value, "DataSet4") <> "", False, True) + + + + + - 24.52253cm + 26.54755cm + + + + true + true + + + + + CFDI Relacionados + + + + + + + Textbox5 + 0.14926cm + 0.07193cm + 0.54004cm + 20.7077cm + + + Black + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + Tipo Relación: + + + + + + + Textbox29 + 0.83025cm + 4.78817cm + 0.41981cm + 5.31841cm + 1 + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =Parameters!TipoRelacionTexto.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + 2.42456cm + + + 2.05585cm + + + 3.03631cm + + + 7.7847cm + + + + + 0.44125cm + + + + + true + true + + + + + Folio + + + + + + + Textbox10 + + + Black + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Fecha + + + + + + + Textbox12 + + + Black + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Importe + + + + + + + Textbox21 + + + Black + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Folio Fiscal + + + + + + + Textbox11 + + + Black + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.41479cm + + + + + true + true + + + + + =Fields!SerieFolio.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!Fecha.Value + + + + + + + Fecha + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!Importe.Value + + + + + + + Importe1 + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!FolioFiscal.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + + + + + + + + + + After + + + + + + + DataSet4 + 1.39643cm + 3.28643cm + 0.85604cm + 15.30142cm + 3 + + + + + + true + 20.48601cm + 0.16383cm + 2.25247cm + 20.89818cm + 44 + + =Microsoft.VisualBasic.Interaction.IIF(First(Fields!SerieFolio.Value, "DataSet4") <> "", False, True) + + + + + + + true + true + + + + + + + + Black + 2pt + 2pt + 2pt + 2pt + + - 24.44315cm + 26.31443cm