Click or drag to resize

ConneXionCreateCustomerID Method

Used to create a Customer ID.

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

Parameters

Customer
Type: ConneXionCustomer
Customer data object to Create

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
  • Name
Examples
VB
Dim oCustomer As New ConneXion.Customer
Dim oConneXion As New ConneXion.ConneXion
Dim oResult As ConneXion.ConneXionResult

oCustomer.LicenseKey = "1234567  1"
oCustomer.Name = "Joseph W. Abbot"
oCustomer.TAMUserName = "EXEC"
oCustomer.TAMPassword = "PSWD"
oCustomer.TAMCentralAgency = "DEMOAG1"

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