Select Event Handler

The Select Event Handler dialog is intended to specify the procedure that will serve as a handler for a selected event.

The dialog displays all the procedures available to be specified as a handler for the selected event. Such procedures should meet the following requirements:

  • the procedure should be located in a shared module;
  • the procedure should be declared with Export keyword;
  • the shared module where the procedure is located should have the following properties set:
    • Global checkbox - unchecked;
    • Server checkbox - checked;
    • The remaining checkboxes (Client (Managed Application), Client (Ordinary Application)External Connection) have no impact on the subscription (the system does not check whether the required module is available in the required connection/client);
  • the number of parameters in the procedure should be equal to the number of parameters in the handler of the selected event plus one (because in addition to the parameters sent to the event handler, the object-source for the event is sent as well).

1C:Enterprise Developer's Community