ISProfile.CreateFindTransactionsFilter

Description

This function creates the filter for loading financial transactions.

Syntax

object.CreateFindTransactionsFilter()

Part Attribute Type Description
object Required
The object always implements the ISProfile interface

Return Value

ISFindTransactionsFilter

Returns the filter for loading financial transactions.

Example

Display the number of financial transactions loaded on the basis of the selected filter and the information about them.

Dim aFilter 
Dim aTransactions
Dim aTransaction
Dim aMessage 
    
Set aFilter = Profile.CreateFindTransactionsFilter
aFilter.FromDate = #11/11/2018#
set aTransactions = Profile.FindTransactions(aFilter)

aMessage = "Transactions Count = " & aTransactions.Count
for i = 0 to aTransactions.Count - 1
  set aTransaction = aTransactions.Item(i) 
  aMessage = aMessage & vbNewLine &_
    (i + 1) & ")  " & aTransaction.WhoEntered & " " &_
      "entered the transaction with the amount '" & aTransaction.Amount &_
      "' on " & aTransaction.WhenEntered
next      

Profile.MsgBox(aMessage) 
Note:

In Profile Client v8 on User Interface Transactions can be found in Patient > Alter Patient > Transactions.

Version information

Added in v8.2.13