Business Integration Solutions Documentation
Code Event
A Code event can be used to trigger a pipeline for a specific record. a NETCode/User event can be used to achieve the same, but are marked obsolete.
The Code Event is capable to trigger a connection pipeline for a specific record. Use this event if you want to activate a connection from a certain Microsoft Dynamics Business Central Object. This event is raised 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 these are replaced with the "new" Code Event
Examples of a Code Event are:
- Triggering a connection while releasing or posting a sales document.
- Triggering a connection when a report is run.
- Triggering a connection manually via an action on any page.
Setup
To | See |
---|---|
Setup a code-event in a connection | How To: Setup Code Event |
Add a code-event trigger | How To: Create a Code Event in extensions |