Click or drag to resize

ConneXionFindCustomer Method

Used to Find a Customer.

Namespace:  ConneXion
Assembly:  ConneXion (in ConneXion.dll) Version: 2020.0
Syntax
public ConneXionResult FindCustomer(
	ref Customer Customer
)

Parameters

Customer
Type: ConneXionCustomer
Customer data object to Find

Return Value

Type: ConneXionResult
ConneXionResult
Remarks

Required Fields

  • TAMUserName
  • TAMPassword
  • TAMCentralAgency - only if agency is on AppliedOnline
  • LicenseKey - only if agency is an Agency of Vendor
  • CustomerID
Examples
VB
Dim oCustomer As New ConneXion.Customer
Dim oConneXion As New ConneXion.ConneXion
Dim oResult As ConneXion.ConneXionResult

oCustomer.LicenseKey = "123456  1"
oCustomer.CustomerID = "ABBOJO1"
oCustomer.TAMUserName = "EXEC"
oCustomer.TAMPassword = "PSWD"
oCustomer.TAMCentralAgency = "DEMOAG1"

oResult = oConneXion.FindCustomer(oCustomer)
If oResult.Success = True Then
    txtID.Text = oCustomer.CustomerID
Else
    txtResult.Text = "Number: " & oResult.Number & vbCrLf & "Desc: " &
    oResult.Description & vbCrLf & "TAMErrorNumber: " & oResult.TAMErrorNumber & vbCrLf & "TAMErroDesc: " & oResult.TAMDescription
End If
See Also