---
title: "Codeunit 7200 CDS Integration Mgt."
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/7200-cds-integration-mgt/
type: codeunit
id: 7200
name: "CDS Integration Mgt."
app: "Base Application"
namespace: Microsoft.Integration.Dataverse
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/7200-cds-integration-mgt/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 7200 CDS Integration Mgt.

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/7200-cds-integration-mgt/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Integration.Dataverse |
| Versions | 17-28 |
| Source file | Integration/Dataverse/CDSIntegrationMgt.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| TestConnection | () | Boolean | public | 17-28 | - | - |
| ActivateConnection | () | Boolean | public | 17-28 | - | - |
| RegisterConnection | () | Boolean | public | 17-28 | - | - |
| IsIntegrationEnabled | () | Boolean | public | 17-28 | - | - |
| IsConnectionActive | () | Boolean | public | 17-28 | - | - |
| IsSolutionInstalled | () | Boolean | public | 17-28 | - | - |
| IsSolutionInstalled | (Text) | Boolean | public | 17-28 | - | - |
| GetSolutionVersion | (var Text) | Boolean | public | 17-28 | - | - |
| GetSolutionVersion | (Text, var Text) | Boolean | public | 17-28 | - | - |
| CheckCompanyId | (var RecordRef) | Boolean | public | 17-28 | - | - |
| CheckOwningTeam | (var RecordRef) | Boolean | public | 17-28 | - | - |
| CheckOwningUser | (var RecordRef, Guid) | Boolean | public | 17-28 | - | - |
| CheckOwningUser | (var RecordRef, Guid, Boolean) | Boolean | public | 17-28 | - | - |
| HasCompanyIdField | (Integer) | Boolean | public | 17-28 | - | - |
| ResetCompanyId | (var RecordRef) | Boolean | public | 17-28 | - | - |
| SetCompanyId | (var RecordRef) | Boolean | public | 17-28 | - | - |
| SetOwningTeam | (var RecordRef) | Boolean | public | 17-28 | - | - |
| SetOwningUser | (var RecordRef, Guid) | Boolean | public | 17-28 | - | - |
| SetOwningUser | (var RecordRef, Guid, Boolean) | Boolean | public | 17-28 | - | - |
| GetCDSCompany | (var Record CDS Company) | Boolean | public | 17-28 | - | - |
| GetCoupledBusinessUnitId | () | Guid | public | 17-28 | - | - |
| IsTeamOwnershipModelSelected | () | Boolean | public | 17-28 | - | - |
| RegisterAssistedSetup | () | - | public | 17-28 | - | - |
| ResetCache | () | - | public | 17-28 | - | - |
| IsBusinessEventsEnabled | () | Boolean | public | 20-28 | - | - |
| GetOptionSetMetadata | (Text, Text) | Dictionary | public | 20-28 | - | - |
| InsertOptionSetMetadata | (Text, Text, Text) | Integer | public | 20-28 | - | - |
| InsertOptionSetMetadataWithOptionValue | (Text, Text, Text, Integer) | Integer | public | 20-28 | - | - |
| UpdateOptionSetMetadata | (Text, Text, Integer, Text) | - | public | 20-28 | - | - |
| FindCompanyIdField | (var RecordRef, var FieldRef) | Boolean | public | 24-28 | - | - |
| GetEntityMetadata | (Integer) | Text | public | 28 | - | - |
| GetEntityFields | (Integer, var Record Integration Field) | - | public | 28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeRegisterConnection | () | 17-28 | - | - |
| Integration event | OnAfterRegisterConnection | () | 17-28 | - | - |
| Integration event | OnBeforeUnregisterConnection | () | 17-28 | - | - |
| Integration event | OnAfterUnregisterConnection | () | 17-28 | - | - |
| Integration event | OnBeforeActivateConnection | () | 17-28 | - | - |
| Integration event | OnAfterActivateConnection | () | 17-28 | - | - |
| Integration event | OnEnableIntegration | () | 17-28 | - | - |
| Integration event | OnDisableIntegration | () | 17-28 | - | - |
| Integration event | OnGetIntegrationRequiredRoles | (var List) | 17-28 | - | - |
| Integration event | OnGetIntegrationSolutions | (var List) | 17-28 | - | - |
| Integration event | OnGetDetailedLoggingEnabled | (var Boolean) | 17-28 | - | - |
| Integration event | OnHasCompanyIdField | (Integer, var Boolean) | 17-28 | - | - |

## 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.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
