This event occurs when an external automation object calls the Application.Disconnect() function.
Public Function AppDisconnect(Client As Object) As Long
Client contains the object reference (IDispatch) of the client that is trying to disconnect from INVOICES.
|
evtOK |
Disconnection accepted. |
|
evtOKAbort |
Disconnection not accepted. |
|
evtError |
Disconnection not accepted. |
This event could be used for supervision applications or to close an INVOICES module. The CloseApp method can be used in an internal handler for this event.