Syntax
Public Function GetAccountHistroy (AccountID As Integer, Optional LastXDays As Integer = -1, Optional FromDate As String = "", Optional ToDate As String = "") As CallingResultsEnum
Description
This function shows the entire transactions done in the whole system for a certain account. After GetAccountHistorymethod executes theAccountHistoryReceivedevent fires.
Parameters
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.
Sample
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