The AL developer preview is still evolving with frequent updates. Follow us on the Dynamics NAV Team Blog for the announcements.
Specifies the object that contains the event publisher method that the event subscriber responds to.
- AL Methods.
This property is only available when the Event Property is set to Subscriber.
You use this property to set up an event subscriber method to subscribe to a published event. There are three types of events: business, integration, and trigger.
Business and integration events are published by event publisher methods in objects such as codeunits, pages, or tables. To subscribe to a business or integration type event, you specify the object that contains the event publisher method for the event.
Trigger events are system events that are declared in tables. To subscribe to a trigger event, you specify the table.
After you set this property, you set the EventMethod Property to specify the event publisher method that you want the event subscriber to subscribe to.