---
title: "Codeunit 5331 CRM Coupling Management, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/points/
object: https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 5331 CRM Coupling Management, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/points/

11 procedures and triggers with a step in src/Layers/W1/BaseApp/Integration/Dataverse/CRMCouplingManagement.Codeunit.al, in source order, read from the text, not from a run.

## IsRecordCoupledToCRM

[Line 19](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L19).

- [23](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L23) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `IsRecordCoupled`

## IsRecordCoupledToNAV

[Line 26](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L26).

- [31](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L31) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindRecordIDFromID`

## DefineOptionMapping

[Line 43](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L43).

- [49](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L49) calls `AssertTableIsMapped`
- [50](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L50) calls [Page 5336 CRM Coupling Record](https://jonas-paprotka.de/ref/page/5336-crm-coupling-record/) `SetSourceRecordID`
- [58](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L58) calls [Codeunit 5330 CRM Integration Management](https://jonas-paprotka.de/ref/codeunit/5330-crm-integration-management/) `CreateOptionMapping`
- [59](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L59) calls [Table 5332 Coupling Record Buffer](https://jonas-paprotka.de/ref/table/5332-coupling-record-buffer/) `GetPerformInitialSynchronization`
- [61](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L61) calls [Table 5332 Coupling Record Buffer](https://jonas-paprotka.de/ref/table/5332-coupling-record-buffer/) `GetInitialSynchronizationDirection`

## DefineCoupling

[Line 70](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L70).

- [76](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L76) calls `AssertTableIsMapped`
- [77](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L77) calls [Page 5336 CRM Coupling Record](https://jonas-paprotka.de/ref/page/5336-crm-coupling-record/) `SetSourceRecordID`
- [85](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L85) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `CoupleRecordIdToCRMID`
- [86](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L86) calls [Table 5332 Coupling Record Buffer](https://jonas-paprotka.de/ref/table/5332-coupling-record-buffer/) `GetPerformInitialSynchronization`
- [88](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L88) calls [Table 5332 Coupling Record Buffer](https://jonas-paprotka.de/ref/table/5332-coupling-record-buffer/) `GetInitialSynchronizationDirection`

## RemoveCoupling

[Line 97](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L97).

- [101](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L101) calls [Codeunit 5330 CRM Integration Management](https://jonas-paprotka.de/ref/codeunit/5330-crm-integration-management/) `RemoveCoupling`

## RemoveCoupling

[Line 104](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L104).

- [108](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L108) calls `RemoveCouplingWithTracking`

## RemoveCoupling

[Line 111](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L111).

- [115](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L115) calls `RemoveCouplingWithTracking`

## RemoveCouplingWithTracking

[Line 118](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L118).

- [120](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L120) calls `RemoveSingleCoupling`

## RemoveCouplingWithTracking

[Line 123](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L123).

- [125](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L125) calls `RemoveSingleCoupling`

## RemoveSingleCoupling

[Line 128](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L128), local.

- [133](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L133) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindByRecordID`
- [136](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L136) calls [Codeunit 5330 CRM Integration Management](https://jonas-paprotka.de/ref/codeunit/5330-crm-integration-management/) `RemoveCoupling`
- [140](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L140) writes [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) Insert

## RemoveSingleCoupling

[Line 143](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L143), local.

- [148](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L148) calls [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) `FindByCRMID`
- [151](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L151) calls [Codeunit 5330 CRM Integration Management](https://jonas-paprotka.de/ref/codeunit/5330-crm-integration-management/) `RemoveCoupling`
- [155](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/source/#L155) writes [Table 5331 CRM Integration Record](https://jonas-paprotka.de/ref/table/5331-crm-integration-record/) Insert

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
