Knowledgebase:
AccountByID
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 25 October 2017 12:06 PM

Syntax

 ReadOnly Property AccountByID(ByRef AccountID As Integer) As COAccount

This property is used to return an object of type COAccount. that belongs to the given account number.

Parameters

Parameter Description 
AccountID Account number that wants to get account object for, value of type Integer

Sample

 Private Sub AccountByID_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AccountByID.Click

    'API is perdefined variable as CVertexFXClientAPI

    Dim vAccount As COAccount

    vAccount = API.AccountByID(123456789)'change with your account ID 

    Msgbox("Account ID " & vAccount.AccountID & "First name " & vAccount.FirstName )

 End Sub

 


See Also


VertexFX Client API Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions