Article Details
Id:10799
Product:finPOWER Connect
Type:NEW
Version:1.06.06
Opened:20/09/2012
Closed:20/12/2012
Released:29/01/2013
Job: J010413

Export Bank Transactions; ExportPreProcess event added for Custom exports

A new Event has been added to the Bank Export Object Events script. The eventId is 'ExportPreProcess'.

A collection of BankExportLines is passed across to the script. This collection can be manipulated in the script using this new Event.

This event is for custom exports only and is called before the 'ExportLine' event.


Script Type: ObjectEvents
Object: BankExport

Example code:
Case "ExportPreProcess"
' The collection of lines to be exported can be manipulated if required.
BankExportLines = DirectCast(contextData1, List(Of ISBankExportLine))

For i = BankExportLines.Count -1 To 0 Step -1
If BankExportLines(i).Reference = "STOP" Then

End If
Next