From 6cb6ac13e986937ac926646794d60a4cc099b3ca Mon Sep 17 00:00:00 2001 From: JPerez Date: Thu, 12 Jun 2025 15:27:29 -0700 Subject: [PATCH] --Columna nivel en impresion excel --- Contabilidad/CatCuentas.aspx.vb | 1 + Empresas/Grales/Formatos/Cuentas.rdlc | 168 ++++++++++++++++++++------ 2 files changed, 130 insertions(+), 39 deletions(-) diff --git a/Contabilidad/CatCuentas.aspx.vb b/Contabilidad/CatCuentas.aspx.vb index 7d7b7887c..8f1a26856 100644 --- a/Contabilidad/CatCuentas.aspx.vb +++ b/Contabilidad/CatCuentas.aspx.vb @@ -742,6 +742,7 @@ Partial Class Contabilidad2_CatCuentas params.Add(New ReportParameter("UsuarioImprimio", UsuarioActual.Nombre)) ImprimirPDF("Empresas/Grales/Formatos/Cuentas.rdlc", DtDatos, params, "Cuentas", Formato) + 'ImprimirPDFStimul("Empresas/Grales/Formatos/Cuentas.mrt", DtDatos, params, NombreArchivo:="Cuentas", RDSName:="Cuentas", Formato:=Formato) Else Alert("No hay datos consultados", TipoMensaje.MsgAdvertencia) End If diff --git a/Empresas/Grales/Formatos/Cuentas.rdlc b/Empresas/Grales/Formatos/Cuentas.rdlc index b5ea7b84f..86c7432f3 100644 --- a/Empresas/Grales/Formatos/Cuentas.rdlc +++ b/Empresas/Grales/Formatos/Cuentas.rdlc @@ -1,6 +1,6 @@ - + - 0 + 0 @@ -18,53 +18,57 @@ - Codigo System.String + Codigo - Nombre System.String + Nombre - CuentaFormato System.String + CuentaFormato - Tipo System.String + Tipo - CtaMayor System.String + CtaMayor - AgrupadorSAT System.String + AgrupadorSAT - Moneda System.String + Moneda - DigAgrup System.String + DigAgrup - NomIdioma System.String + NomIdioma - ConceptoContable System.String + ConceptoContable - CodigoPadre System.String + CodigoPadre - CodigoNombreSAT System.String + CodigoNombreSAT + + System.String + Nivel + DataSet3 @@ -111,7 +115,10 @@ 2.10313cm - 2.10458cm + 4.59166cm + + + 2.5cm @@ -121,6 +128,7 @@ + Textbox3 true true @@ -139,7 +147,6 @@ - Textbox3 Tablix2 - Textbox2 Tablix2 - Textbox22 - Textbox20 - Textbox18 - Textbox16 - Textbox14 - Textbox7 - Textbox1 - Textbox24 + + + + Black + + + Black + + + + + + + + LightGrey + 2pt + 2pt + 2pt + 2pt + + + + + + + + Textbox4 + true + true + + + + + Nivel + + + + + + - CuentaFormato @@ -642,6 +697,7 @@ + Nombre true true @@ -659,7 +715,6 @@ - Nombre @@ -676,6 +731,7 @@ + CodigoPadre true true @@ -693,7 +749,6 @@ - CodigoPadre @@ -710,6 +765,7 @@ + Tipo true true @@ -727,7 +783,6 @@ - Tipo @@ -744,6 +799,7 @@ + CtaMayor true true @@ -761,7 +817,6 @@ - CtaMayor @@ -778,6 +833,7 @@ + CodigoNombreSAT true true @@ -795,7 +851,6 @@ - CodigoNombreSAT @@ -807,12 +862,12 @@ 2pt - true + Moneda true true @@ -830,7 +885,6 @@ - Moneda @@ -847,6 +901,7 @@ + DigAgrup true true @@ -864,7 +919,6 @@ - DigAgrup @@ -881,6 +935,7 @@ + NomIdioma true true @@ -898,7 +953,6 @@ - NomIdioma @@ -915,6 +969,7 @@ + ConceptoContable true true @@ -932,7 +987,41 @@ - ConceptoContable + + + =iif((RunningValue(CountDistinct(Fields!Codigo.Value), Sum, "DataSet1") mod 2) = 0, "LightSteelBlue", "White") + 2pt + 2pt + 2pt + 2pt + + + + + + + true + + Nivel + true + true + + + + + =Fields!Nivel.Value + + + + + + @@ -962,6 +1051,7 @@ + @@ -980,7 +1070,7 @@ true DataSet1 0.98834cm - 24.33862cm + 29.3257cm @@ -991,7 +1081,7 @@ 0.38911in