Knowledgebase:
MoneyTransactionsReport
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 12 December 2016 11:27 AM

Syntax

 Public Function MoneyTransactionsReport(ClientID As Integer, TransactionsType As Integer, FromDate As String, ToDate As String,TransTag As String) As CallingResultsEnum

This function used to get the Money Transactions Report that shows all the money transactions represented by either Deposit, Withdrawal, Adjustment, Credit In or Credit Out done by any dealer in the system. After MoneyTransactionsReport executes the ReportDataReceived event fire.

Parameters

Parameter Description 
ClientID The report will show money transactions report forall accounts under this client
TransactionType You can set this report to be for all transactions, daily, weekly, monthly or yearly:
1 all transaction
2 for daily
3 weekly
4 monthly
5 yearly
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
TransTag String value used to mark the requested report when the result came from server

Return value

Return value of type CallingResultsEnum, if the request sent to server successfully it will return SuccessResult.

Sample


 Private Sub MoTrRe_Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MoTrRe.Click

        BOAPI is a predefined variable as CVertexBOAPI10  

             Dim Result As CallingResultsEnum

             Result= BOAPI.MoneyTransactionsReport(BOAPI.RootID, 1 ,"", "","")

 End Sub
 

Results  

The result of this report contains many details, the following table shows each column description:

Data row Index Column Name Description 
1 Ticket Shows the ticket ID for each money transaction
2 Account The account ID of the affected client for each money transaction
3 Date/Time The date and time for each money transaction
4 Type The type of the money transaction
1 means Deposit.
-1 means Withdrawal. 
2 means Adjustment .
3 means Credit In .
-3 means Credit Out.
5 Amount The amount of each money transaction
6 Client ID The client ID for the account
7 Description The money transaction Description.
8 TrasnTag The same string which sent by the requested report.

See Also


VertexFX Backoffice API Index

(1 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