EventPublisherElement Property

Specifies the table field that the trigger event pertains to.

Applies to

  • C/AL functions.

    This property is only available on event subscriber functions that handle validation-type trigger events. The Event Property must be set to Subscriber, the EventPublisherObject Property must be set to a table, and the EventFunction Property must be set to a validate trigger event, such as OnAfterValidateEvent.

Property value

A field in the table that is specified by the EventPublisherObject Property.

Remarks

You use this property to set up an event subscriber function that will be called when the trigger event that is specified by the EventFunction Property is raised on the specified table field. For more information, see Subscribing to Events.

See Also

Reference

GlobalVarAccess Property
IncludeSender Property

Concepts

Publishing Events
Raising Events
Subscribing to Events
C/AL Function Statements