From e0e946c761f6c54b40e5e8184e880685e4112ac6 Mon Sep 17 00:00:00 2001 From: rrene Date: Mon, 8 Jan 2024 19:33:06 -0700 Subject: [PATCH] - cambio globaldt --- General/SaldosIniciales.aspx.vb | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/General/SaldosIniciales.aspx.vb b/General/SaldosIniciales.aspx.vb index 2931f0efd..95f405963 100644 --- a/General/SaldosIniciales.aspx.vb +++ b/General/SaldosIniciales.aspx.vb @@ -682,13 +682,9 @@ Partial Class General_SaldosIniciales DtMarcas = ObjPS.DtResultados.Copy End If - If ObjGral.GetMedidas(UsuarioActual.CveEmpresa) Then - DtMedidas = ObjGral.DtResultados.Copy - End If + DtMedidas = GlobalDTPSMedidas(UsuarioActual.CveEmpresa) + DtRinTamaño = GlobalDTPSRinTamaños(UsuarioActual.CveEmpresa) - If ObjGral.GetRimTamanios(UsuarioActual.CveEmpresa) Then - DtRinTamaño = ObjGral.DtResultados.Copy - End If If ObjGral.GetModelos(UsuarioActual.CveEmpresa) Then DtModelos = ObjGral.DtResultados.Copy @@ -782,7 +778,7 @@ Partial Class General_SaldosIniciales CveRinTamaño = DtRinTamaño.FiltroPrimeroValor("CveRinTamaño", $"RinTamaño = '{RinTamaño}'").ToString().ToEntero() If Not CveRinTamaño > 0 Then If ObjGral.AddRimTamanios(CveClasificacion, "", RinTamaño, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa) Then - If ObjGral.GetRimTamanios(UsuarioActual.CveEmpresa) Then + If ObjGral.GetRinTamanios(UsuarioActual.CveEmpresa) Then DtRinTamaño = ObjGral.DtResultados.Copy CveRinTamaño = DtRinTamaño.FiltroPrimeroValor("CveRinTamaño", $"RinTamaño = '{RinTamaño}'").ToString().ToEntero() End If