---
title: "Codeunit 5150 Integration Management"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/5150-integration-management/
type: codeunit
id: 5150
name: "Integration Management"
app: "Base Application"
versions: "17-21"
build: 21.5.53619.63803
obsolete: "Pending 17.0"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 5150 Integration Management

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/5150-integration-management/

| | |
| --- | --- |
| App | Base Application |
| Versions | 17-21 |
| Obsolete | Pending 17.0, seen from 17. Integration Management will be removed. Refactor the code to use systemID and other system fields such as systemLastModifiedDateTime. |
| Source file | IntegrationManagement.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| GetDatabaseTableTriggerSetup | (Integer, var Boolean, var Boolean, var Boolean, var Boolean) | - | public | 17-21 | - | - |
| OnDatabaseInsert | (RecordRef) | - | public | 17-21 | - | - |
| OnDatabaseModify | (RecordRef) | - | public | 17-21 | - | - |
| OnDatabaseDelete | (RecordRef) | - | public | 17-21 | - | - |
| OnDatabaseRename | (RecordRef, RecordRef) | - | public | 17-21 | - | - |
| SetupIntegrationTables | () | - | public | 17-21 | - | - |
| CreateIntegrationPageList | (var Record Name/Value Buffer) | - | public | 17-21 | - | - |
| IsIntegrationServicesEnabled | () | Boolean | public | 17-21 | - | - |
| IsIntegrationActivated | () | Boolean | public | 17-21 | - | - |
| EnableIntegrationServices | () | - | public | 17-21 | - | - |
| DisableIntegrationServices | () | - | public | 17-21 | - | - |
| SetConnectorIsEnabledForSession | (Boolean) | - | public | 17-21 | - | - |
| IsIntegrationRecord | (Integer) | Boolean | public | 17-21 | - | - |
| IsIntegrationRecordChild | (Integer) | Boolean | public | 17-21 | - | - |
| ResetIntegrationActivated | () | - | public | 17-21 | - | - |
| GetIntegrationIsEnabledOnTheSystem | () | Boolean | public | 17-21 | Pending 17.0 | This function will be removed once the Feature Key is removed. We will not generate integration records in the future, they will be replaced by SystemId and SystemLastModified fields. |
| GetIntegrationManagementDisabledFeatureKey | () | Text[50] | public | 17-21 | Pending 17.0 | This function will be removed once the Feature Key is removed. We will not generate integration records in the future, they will be replaced by SystemId and SystemLastModified fields. |
| InitializeIntegrationRecords | (Integer) | - | public | 17-21 | - | - |
| InsertUpdateIntegrationRecord | (RecordRef, DateTime) | Guid | public | 17-21 | - | - |
| SetHideMessages | (Boolean) | - | public | 17-21 | - | - |
| GetIdWithoutBrackets | (Guid) | Text | public | 17-21 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnIsIntegrationRecord | (Integer, var Boolean) | 17-21 | - | - |
| Integration event | OnIsIntegrationRecordChild | (Integer, var Boolean) | 17 | - | - |
| Integration event | OnGetIntegrationActivated | (var Boolean) | 17-21 | - | - |
| Integration event | OnGetIntegrationDisabled | (var Boolean) | 17-21 | - | - |
| Integration event | OnEnabledDatabaseTriggersSetup | (Integer, var Boolean) | 17-21 | - | - |
| Integration event | OnGetIntegrationEnabledOnSystem | (var Boolean) | 17-21 | Pending 17.0 | This function will be removed once the Feature Key is removed. We will not generate integration records in the future, they will be replaced by SystemId and SystemLastModified fields. |
| Integration event | OnDeleteIntegrationRecord | (var RecordRef) | 17-21 | - | - |
| Integration event | OnUpdateReferencedIdField | (var RecordRef, Guid, var Boolean) | 17-21 | - | - |
| Integration event | OnUpdateRelatedRecordIdFields | (var RecordRef) | 17-21 | - | - |
| Integration event | OnAfterAddToIntegrationPageList | (var Record Name/Value Buffer, var Integer) | 17-21 | - | - |
| Integration event | OnIsIntegrationRecordChild | (Integer, var Boolean, var Boolean) | 18-21 | - | - |
| Integration event | OnAfterUpdateParentIntegrationRecord | (RecordRef, DateTime) | 18-21 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.

Jonas Paprotka, 2026-09-20.
