PrepareTransfer event

This event is fired after a Transfer job is started and it is ascertained that there is at least one invoice to transfer—so between JobStarted and InvoiceTransfered/BatchTransfered, once for each invoice.

Syntax

Public Function PrepareTransfer() As Long

Parameters

None.

Active objects

InvoiceProfile

InvoiceDefinition

Invoice

Batch

JobDescription

Job

TransactionDescription

Return values

evtOK 

Normal return.

evtError 

An error message is displayed and the job is terminated.

Suggested usage

You can use this event to change invoice field values. The new field values will be reflected in the output.