The AL developer preview is still evolving with frequent updates. Follow us on the Dynamics NAV Team Blog for the announcements.

EventMethod Property

Specifies the event publisher method that the event subscriber method subscribes to.

Applies to

  • AL methods.

    This property is only available when the Event Property is set to Subscriber.

Property Value

An event publisher method in the object that is specified in the EventPublisherObject Property.


You use this property to set up an event subscriber method to respond to the event that is declared by the event publisher method. When the event is raised in the application, the event subscriber method is called.

You add AL code to this method that defines the logic to handle the event when it is called.

See Also

AL Method Reference
EventPublisherObject Property