Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 01 September 2020 01:18 PM


 Public Function GetAccountHistroy (AccountID As Integer, Optional LastXDays As Integer = -1, Optional FromDate As String = "", Optional ToDate As String = "") As CallingResultsEnum


This function shows the entire transactions done in the whole system for a certain account. After GetAccountHistory method executes the AccountHistoryReceived event fires.


Part Description 
AccountID Account number to show the entire transaction done for it, value of type Integer
LastXDays To get the entire transaction done for last X value, value of type Integer
FromDate Specify the duration.
Date in this format “DD/MM/YYYY HH:NN:SS”
“” means from beginning
ToDate Specify the duration
Date in this format “DD/MM/YYYY HH:NN:SS”.
“” means till now

Return value

Returns value of type CallingResultsEnum.If the request sent to the server successfully it will return SuccessResult.


Private Sub GetHistory_Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GetHistory.Click

        ‘BOAPI is predefined variable as CVertexBOAPI

        Dim Result as CallingResultsEnum

        Dim AccountID As integer = 123456789

        Dim DateFrom As String = “”

        Dim DateTo As String = “”

        Result = BOAPI.GetAccountHistory (AccountId,-1, DateFrom, DateTo)

        MsgBox (Result.ToString)

End Sub


See Also

VertexFX Client API Index

(0 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
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