--- title: "Set up a Code event / NETCode event" slug: "bc-set-up-a-code-event-netcode-event" tags: ["BC", "BIS", "Business Central", "Business Integration Solutions", "Task"] updated: 2026-06-25T09:59:05Z published: 2026-06-25T09:59:05Z canonical: "docs.staedean.com/bc-set-up-a-code-event-netcode-event" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.staedean.com/llms.txt > Use this file to discover all available pages before exploring further. # Set up a Code event / NETCode event A **Code** event or **NETCode** event triggers an outbound pipeline based on AL code in Microsoft Dynamics 365 Business Central. To trigger a code event, create AL code that triggers the right code. See [Create a Code event / NETCode event](/business-central/docs/bc-create-a-code-event-netcode-event). ## Steps - Code event setup 1. code Create a connection and insert the element **CODEEVENT**. 2. On the elements line, select **Edit**. 3. On the **Code Event Setup** page, fill in the following fields: | Field | Description | | --- | --- | | Event ID | The identifier to trigger this specific code event. | | Table ID | The code event triggers with a record scope. The table ID specifies which record this event shares. | | Table Filter | Optionally, enter a table filter to execute this code event only with records in a specific range. | | Post with job queue | Enable this option to run the connection asynchronously from the session triggering the code event, using a separate job queue entry. | | Job Queue Category Code | Set the job queue category code to ensure parallel processing. | 1. Select **Check Configuration** to see if there are Anywhere Mobility Solutions configuration errors. 2. Select **OK**. ![Code Event Setup (SaaS)](https://cdn.document360.io/da662430-6a41-47b1-8c7e-7e4ac37a9756/Images/Documentation/bis_CodeEventSaaS.png) ## Steps - NETCode event setup 1. Create a connection and insert the element **NETCODEEVENT**. 2. On the elements line, select **Edit**. 3. On the **NETCode Event Setup** page, fill in the following fields: | Field | Description | | --- | --- | | Object Type | Select the D365 BC object type to trigger the pipeline. | | Object ID | Specify the specific D365 BC object ID. | | Object Name | Specifies the object name (selected automatically). | | Table No. | Select the table on which to apply filters. | | Table Filter | Specify the table filter. This filter applies to the data set. | | Post With Job Queue | Select this field to process the connection using the job queue with a specific category. | | Job Queue Category Code | Select the job queue category used for grouping and filtering jobs. | 1. Select **Check Configuration** to see if there are Anywhere Mobility Solutions configuration errors. 2. Select **OK**. ![NETCode Event Setup](https://cdn.document360.io/da662430-6a41-47b1-8c7e-7e4ac37a9756/Images/Documentation/bis_CodeEventOnPremise.png) > [!NOTE] > **Note** > > The **NETCode Event** is available only for on-premise environments and is marked as obsolete. Consider switching to the [Code Event](/business-central/docs/bc-set-up-a-code-event-netcode-event#to-set-up-a-code-event) in your connections. ## Related - [Code event](/bc-code-event.md) - [Code event](/bc-code-event-devkit.md) - [Create a Code event / NETCode event](/bc-create-a-code-event-netcode-event.md)