Knowledgebase:
GetAccountStatement
Posted by Angham Al-Banawien, Last modified by Angham Al-Banawien on 22 June 2018 02:48 PM

Syntax

 Public Function GetAccountStatement(AccountID As Integer, StatementType As StatementTypeEnum, Optional FromDate As String = "", Optional ToDate As String = "") As CallingResultsEnum

This function is used to get the statement report for the given account id at a specific period , After GetAccountStatement method executes the AccountStatementsResultReceivd event fires.

Parameters

Parameter Description 
AccountID Account number to get Statement report for. Value of type Integer
StatementType The type of the statement report which is required to retrieve , It can be one of the StatementTypeEnum.
FromDate

Specify duration

Date format : “DD/MM/YYYY HH:NN:SS”

“” : Means from beginning 
ToDate

Specify duration

Date format : “DD/MM/YYYY HH:NN:SS”

“” : Means till now

Return value

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

Sample

 Public WithEvents API As CVertexFXClientAPI

  PrivateSub GetAccountStatement_Click (ByVal sender As System.Object, ByVal As System.EventArgs)

Handles GetAccountStatement.Click

           Dim Result as CallingResultsEnum 
           Dim vClient As COClient = API.ClientByIndex (1)
           Dim account As COAccount = API.AccountByIndex (vClinet.ClientID, 1)

       Result = API.GetAccountStatement (vAccount.AccountID, StatementTypeEnum.AccountSummaryStatement ,””,)

 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