-
This commit is contained in:
@@ -316,6 +316,24 @@ Public Class ClsTransportes
|
|||||||
|
|
||||||
End Function
|
End Function
|
||||||
#End Region
|
#End Region
|
||||||
|
Public Function GetDestinos(Optional CveRuta As Integer = 0) As Boolean
|
||||||
|
Dim Retorno As Boolean = False
|
||||||
|
DataAdapter("PA_Trans_DestinosGet")
|
||||||
|
If CveRuta <> 0 Then
|
||||||
|
With SqlAdapter.SelectCommand.Parameters
|
||||||
|
.Add("@CveRuta", SqlDbType.Int).Value = CveRuta
|
||||||
|
End With
|
||||||
|
End If
|
||||||
|
|
||||||
|
Try
|
||||||
|
SqlAdapter.Fill(Data)
|
||||||
|
Retorno = True
|
||||||
|
Catch ex As Exception
|
||||||
|
OnError("Ocurrió un error al obtener los destino.", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo())
|
||||||
|
End Try
|
||||||
|
|
||||||
|
Return Retorno
|
||||||
|
End Function
|
||||||
|
|
||||||
#Region "Tarifas"
|
#Region "Tarifas"
|
||||||
Public Function GetDestinosTarifas(CveDestinoOrigen As Integer, CveDestinoFinal As Integer) As Boolean
|
Public Function GetDestinosTarifas(CveDestinoOrigen As Integer, CveDestinoFinal As Integer) As Boolean
|
||||||
|
|||||||
Reference in New Issue
Block a user