Merge branch 'master' of http://192.168.10.111:8383/SIG
This commit is contained in:
@@ -1667,6 +1667,24 @@ Public Class ClsClientes
|
|||||||
|
|
||||||
Return Retorno
|
Return Retorno
|
||||||
End Function
|
End Function
|
||||||
|
Public Function BuscarClienteRFCNombre(RFCNombre As String, CveEmpresa As Integer) As Boolean
|
||||||
|
Dim Retorno As Boolean = False
|
||||||
|
DataAdapter("PA_Vta_ClientesRFCNombreGet")
|
||||||
|
|
||||||
|
With SqlAdapter.SelectCommand.Parameters
|
||||||
|
.Add("@RFCNombre", SqlDbType.VarChar).Value = RFCNombre
|
||||||
|
.Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa
|
||||||
|
End With
|
||||||
|
|
||||||
|
Try
|
||||||
|
SqlAdapter.Fill(Data)
|
||||||
|
Retorno = True
|
||||||
|
Catch ex As Exception
|
||||||
|
OnError("Ocurrió un error al validar el cliente", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo)
|
||||||
|
End Try
|
||||||
|
|
||||||
|
Return Retorno
|
||||||
|
End Function
|
||||||
Public Function ValidaClienteRFC(RFC As String, CveEmpresa As Integer) As Boolean
|
Public Function ValidaClienteRFC(RFC As String, CveEmpresa As Integer) As Boolean
|
||||||
Dim Retorno As Boolean = False
|
Dim Retorno As Boolean = False
|
||||||
DataAdapter("PA_Vta_ValidarRFC")
|
DataAdapter("PA_Vta_ValidarRFC")
|
||||||
|
|||||||
Reference in New Issue
Block a user