INVOICES supports two types of event handlers: Those which execute VBA functions and those which execute functions located in a DLL.
Both VBA and DLL functions can access information from the current context. For example, when INVOICES is interpreting a particular invoice, a function can access individual fields on the invoice, the invoice itself and some information from the invoice profile. Other invoices in the database are inaccessible.