Get event publishers of an AL object
bc_get_event_publishersLists all event publishers (IntegrationEvent, BusinessEvent, InternalEvent) in a given AL object, with name, kind, signature, attribute, and source line. Useful for finding events to subscribe to.
Instructions
Lists all event publishers ([IntegrationEvent], [BusinessEvent], [InternalEvent]) defined inside a specific AL object. Returns the event name, kind, full procedure signature, attribute, and source line. Useful for finding events to subscribe to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | Branch name, e.g. "w1-26" | |
| source_type | Yes | Container object type (typically "codeunit", but can be "table", "page", etc.) | |
| source_name | Yes | Container object name, e.g. "Approvals Mgmt." (without quotes) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | ||
| source_type | Yes | ||
| source_name | Yes | ||
| total | Yes | ||
| events | Yes |