Business Integration Solutions documentation

Code Event

A Code Event triggers a pipeline for a specific record. A NETCode Event or User Event achieves the same but are marked obsolete.

The Code Event triggers a connection pipeline for a specific record. Use this event to start a connection from a certain Microsoft Dynamics Business Central object. This event triggers in the current transaction (synchronous).

A User Event is a specific implementation of the NETCode Event but uses the same code. The only difference is the setup options. Both are replaced by the Code Event.

Examples of a Code Event:

  • Triggering a connection while releasing or posting a sales document.
  • Triggering a connection when a report runs.
  • Triggering a connection manually via an action on any page.

Setup

To See
Set up a code event in a connection How To: Setup Code Event
Add a code event trigger How To: Create a Code Event in extensions