Article Details
Id:18745
Product:finPOWER Connect
Type:NEW
Version:3.04.02
Opened:27/10/2021
Closed:02/11/2021
Released:02/12/2021
Job: J027648

finBankExportCreate; Load and ExecuteCommit Functions updated to use Class Properties rather than Function Parameters

Previously, finBankExportCreate relied on Function Parameters on the Load and ExecuteCommit Functions to set Properties such as Bank Account and Service. This structure is not ideal for implementations in Web Services and finPOWER Connect Cloud where setting Properties, but not Refreshing is required.

Therefore, the Class has been restructured so that the Load and ExecuteCommit Functions do not accept any Parameters, and various Class Properties will need to be set before these Functions are called.

The following Functions have been added to set the Service (after the Bank Account Property has been set):

  • BankInterfaceServiceSet(bankInterfaceServiceId As String)
    • To be used if Exporting a Bank Interface
  • ExportServiceSet(exportServiceId As String)
    • To be used if Exporting to a file

The existing Load and ExecuteCommit Functions (which accepted Parameters) have been obsoleted. The Function Parameters for these Functions now have corresponding Properties which can be set independently of calling the Functions. The replacement Load and ExecuteCommit Functions do not accept any Parameters as the required information is set via Properties.