Obtener cvecontratodetalle
This commit is contained in:
@@ -1198,6 +1198,26 @@ Public Class ClsContratos
|
||||
|
||||
Return Retorno
|
||||
End Function
|
||||
|
||||
Public Function GetPSContratoDetalle(CveContrato As Integer, DtPS As String) As Boolean
|
||||
Dim Retorno = False
|
||||
|
||||
DataAdapter("PA_Con_GetPSContratoDetalle")
|
||||
With SqlAdapter.SelectCommand.Parameters
|
||||
.Add("@DtPS", SqlDbType.VarChar).Value = DtPS
|
||||
.Add("@CveContrato", SqlDbType.Int).Value = CveContrato
|
||||
|
||||
End With
|
||||
|
||||
Try
|
||||
SqlAdapter.Fill(Data)
|
||||
Retorno = True
|
||||
Catch ex As Exception
|
||||
OnError("Ocurrió un error al cargar los Detalles del Contrato.", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo())
|
||||
End Try
|
||||
|
||||
Return Retorno
|
||||
End Function
|
||||
#End Region
|
||||
|
||||
#Region "Contratos detalles Avance"
|
||||
|
||||
Reference in New Issue
Block a user