NEW3.04.02 · Released 2 December 2021
NEWfinPOWER Connect
Released in
3.04.02
2 December 2021
- Opened5 Jul
- Closed13 Sep
- Released2 Dec
Article 18560
Job J026896
Process Direct Debit Payments; expose more information for scripting
Process Direct Debit Payments has been enhanced to expose more information - mainly for scripting purposes.
The Summary Page now includes a list of the Transactions that make up the Direct Debit.
- finAccountDirectDebit now includes a collection of Account Transactions that make up the Direct Debit.
- This allows a script to examine the source of the Direct Debit and act accordingly.
- There are new properties on finAccountDirectDebit:
- Notes.
- Overrides the Notes written to the Bank and related Account Transactions.
- UserNotes.
- Sets the UserNotes written to the Bank and related Account Transactions.
- Note, combining Direct Debits relies on the User Flag and User Notes being the same.
Sample code, excerpt from "AccountDirectDebits" Object Event script:
Select Case eventIdCase "ExecuteCommitPre"' Runs at the start of ExecuteCommit' Return False to cancelDim AccountDirectDebit As finAccountDirectDebitDim AccountTransaction As finAccountTransactionFor Each AccountDirectDebit In AccountDirectDebitsFor Each AccountTransaction In AccountDirectDebit.AccountTransactionsAccountDirectDebit.UserNotes = AccountTransaction.ScheduleTypeTextNextNext
The following standard Summary Page block has been updated:
- AccountDirectDebit_Summary
- Version: 1.03 (13/09/2021)