Knowledgebase:
GetAccountStatement
Posted by Fouad Faraj Allah, Last modified by Angham Al-Banawien on 11 December 2017 01:01 PM

Syntax 

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

Description

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

Parameters

Parameter Description 
AccountID Account number to get statement report for. Value of type is Integer.
StatementType The type of the statement report which is required to retrieveIt 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
BOAPI as new CVertexFXBOAPI

Private Sub GetAccountStatement_Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GetAccountStatement.Click

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

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

End Sub

 


See Also

 


VertexFX Backoffice API Index

 

Last Modified: 05 January 2017 02:55 PM 

(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