InvoiceDefinitionApproved event

This event fires after an invoice definition is approved in Optimize.

Syntax

Public Function InvoiceDefinitionApproved() As Long

Parameters

None.

Active objects

Return values

evtOK

The invoice definition is saved as usual.

evtCancel

The invoice definition is not saved.

evtOKAbort

The statuses of all invoices associated with the invoice definition are changed to Scanned.

evtError

The invoice is not saved. An error message is displayed.

Related topics

InvoiceDefinitionEdit event

InvoiceDefinitionChanged event

InvoiceDefinitionDeleted event

InvoiceDefinitionWriteToDB event