From f0f018a364fe3bd54767f960045a6bda26c2d443 Mon Sep 17 00:00:00 2001 From: rrene Date: Sun, 24 Dec 2023 16:49:36 -0700 Subject: [PATCH] - quitar WT_Fletes --- App_Code/ClsVentas.vb | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/App_Code/ClsVentas.vb b/App_Code/ClsVentas.vb index 5f4bdf86f..45d5cbd21 100644 --- a/App_Code/ClsVentas.vb +++ b/App_Code/ClsVentas.vb @@ -3850,24 +3850,24 @@ Public Class ClsVentas #End Region -#Region " FLETES " - Public Function GetFletes(CveEmpresa As Integer) As Boolean - Dim Retorno As Boolean = False - DataAdapter("PA_WT_Viajes") + '#Region " FLETES " + ' Public Function GetFletes(CveEmpresa As Integer) As Boolean + ' Dim Retorno As Boolean = False + ' DataAdapter("PA_WT_Viajes") - With SqlAdapter.SelectCommand.Parameters - .Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa - End With + ' With SqlAdapter.SelectCommand.Parameters + ' .Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa + ' End With - Try - SqlAdapter.Fill(Data) - Retorno = True - Catch Ex As SqlException - Me.OnError("Ocurrió un error al intentar obtener los Fletes", Ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo()) - End Try - Return Retorno - End Function -#End Region + ' Try + ' SqlAdapter.Fill(Data) + ' Retorno = True + ' Catch Ex As SqlException + ' Me.OnError("Ocurrió un error al intentar obtener los Fletes", Ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo()) + ' End Try + ' Return Retorno + ' End Function + '#End Region #Region "Metodos y Forma de Pago"