InvoiceTransfer event

This event fires before an invoice is transferred.

Note: At this point the transaction is already prepared. If you change invoice values using this event, the new values are not reflected in the output. To change field values and have them included in the output, use an event that is fired before InvoiceTransfer, for example PrepareTransfer.

Syntax

Public Function InvoiceTransfer() As Long

Parameters

None.

Active objects

Invoice

InvoiceProfile

JobDescription

Return values

evtOK 

Normal return, transaction process proceeds.

evtOKAbort 

Fires the InvoiceTransferSkipUpdateStatistics event.

evtError 

The job stops and an error message is displayed.

InvoiceTransferred event