ISProfile.LoadFinancialTransactions

Description

This function returns the financial transactions loaded on the basis of the selected filter.

Syntax

object.LoadFinancialTransactions(aFilter)

Part Attribute Type Description
object Required
The object always implements the ISProfile interface
aFilter In, Required
The object that defines conditions for filtering

Return Value

ISFinancialTransactions

Returns the financial transactions on the basis of the selected filter.

Example

Display the number, the date and the amount of the financial transactions loaded on the basis of the selected filter.

Dim aFilter
Dim aTransactions
Dim aTransaction
Dim aMessage

set aFilter = Profile.CreateFinancialTransactionFilter
aFilter.ProviderCode = "MM"
aFilter.StartDate = #07/05/2019#
set aTransactions = Profile.LoadFinancialTransactions(aFilter) 
aMessage = "Financial Transactions Count = " & aTransactions.Count

for i = 0 to aTransactions.Count - 1
  set aTransaction = aTransactions.Item(i)
  aMessage = aMessage & vbNewLine &_
    " The transaction was created on " & aTransaction.Date &_ 
    ", with amount " & aTransaction.Amount & ". " 
next

Profile.MsgBox(aMessage) 
Note:

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

See also

Version information

Added in v7.8.0