Knowledgebase:
AccountByIndex
Posted by Rula Halaseh, Last modified by Rawan Al Hourani on 08 May 2017 11:33 AM

Syntax

Readonly Property AccountByIndex(ByRef ClientID As Integer,ByRef Index As Integer)As COAccount

This property is used to get an COAccount object  by the given account index and associated client ID.

Parameters

Part Description
ClientID Client number ,value of type is Integer.
Index Location of account on account tree that associated to client ID,value of type is Integer

Return value

 Returns Object of type COAccount 

Sample

 Public WithEvents BOAPI As CVertexFXBOAPI

Private Sub Account_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Account.Click

    Dim vAccount As COAccount

    Dim vClient As COClient

    vClient = BOAPI.ClientByIndex(1)

    vAccount = BOAPI.AccountByIndex(vClient.ClientID,1)

    msgBox("Account ID :" & vAccount.AccountID & "Balance :" & vAccount.Balance)

 End Sub


See Also


VertexFX Backoffice 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