---
id: object/codeunit/7205
type: object
title: Codeunit 7205 "CDS Int. Table. Subscriber"
summary: Codeunit 7205 "CDS Int. Table. Subscriber" in Base Application (Microsoft.Integration.Dataverse). 3 public procedures, 4 events, 28 event subscribers. Present since at least BC23, still in BC30, changed in BC29.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  last_changed: "29"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: f9be4942558e5560c2d8d23877e862f1f6c37888f6c4c4557e966e76108633bc
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Integration/Dataverse/CDSIntTableSubscriber.Codeunit.al
    title: src/Layers/W1/BaseApp/Integration/Dataverse/CDSIntTableSubscriber.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 7205
name: CDS Int. Table. Subscriber
namespace: Microsoft.Integration.Dataverse
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "29"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 60
  events: 4
  subscribers: 28
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 11
  called_by: 2
  implements: 0
---

# Codeunit 7205 "CDS Int. Table. Subscriber"

> Codeunit 7205 "CDS Int. Table. Subscriber" in Base Application (Microsoft.Integration.Dataverse). 3 public procedures, 4 events, 28 event subscribers. Present since at least BC23, still in BC30, changed in BC29.

Base Application · Microsoft.Integration.Dataverse · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Integration/Dataverse/CDSIntTableSubscriber.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| SingleInstance | true |

## Events published

- `OnBeforeSetSalespersonPurchaserCode(var DestinationRecordRef: RecordRef; var IsHandled: Boolean)` (integration)
- `OnAfterFixPrimaryContactNo(SourceRecordRef: RecordRef; DestinationRecordRef: RecordRef; var Result: Boolean)` (integration)
- `OnBeforeFindParentCRMAccountForContact(SourceRecordRef: RecordRef; Silent: Boolean; var AccountId: Guid; var Result: Boolean; var IsHandled: Boolean)` (integration)
- `OnBeforeFindNewValueForCoupledRecordPK(IntegrationTableMapping: Record "Integration Table Mapping"; SourceFieldRef: FieldRef; DestinationFieldRef: FieldRef; var NewValueVariant: Variant; var IsValueFound: Boolean; var IsHandled: Boolean)` (integration)

## Event subscriptions

- HandleOnInitCDSConnection subscribes to Codeunit "CRM Integration Management" OnInitCDSConnection
- HandleOnCloseCDSConnection subscribes to Codeunit "CRM Integration Management" OnCloseCDSConnection
- HandleOnTestCDSConnection subscribes to Codeunit "CRM Integration Management" OnTestCDSConnection
- HandleOnGetCDSIntegrationUserId subscribes to Codeunit "CRM Integration Management" OnGetCDSIntegrationUserId
- HandleOnGetCDSServerAddress subscribes to Codeunit "CRM Integration Management" OnGetCDSServerAddress
- HandleOnAfterInsertRecord subscribes to Codeunit "Integration Rec. Synch. Invoke" OnAfterInsertRecord
- DeleteCouplingOnAfterDeleteSalesperson subscribes to Table "Salesperson/Purchaser" OnAfterDeleteEvent
- OnTransferFieldData subscribes to Codeunit "Integration Record Synch." OnTransferFieldData
- HandleOnBeforeInsertRecord subscribes to Codeunit "Integration Rec. Synch. Invoke" OnBeforeInsertRecord
- HandleOnBeforeModifyRecord subscribes to Codeunit "Integration Rec. Synch. Invoke" OnBeforeModifyRecord
- HandleOnAfterModifyRecord subscribes to Codeunit "Integration Rec. Synch. Invoke" OnAfterModifyRecord
- HandleOnAfterModifyOption subscribes to Codeunit "Int. Option Synch. Invoke" OnAfterModifyOption
- HandleOnAfterInsertOption subscribes to Codeunit "Int. Option Synch. Invoke" OnAfterInsertOption
- HandleOnHasCompanyIdField subscribes to Codeunit "CDS Integration Mgt." OnHasCompanyIdField
- HandleOnBeforeUncoupleRecord subscribes to Codeunit "Int. Rec. Uncouple Invoke" OnBeforeUncoupleRecord
- HandleOnAfterUncoupleRecord subscribes to Codeunit "Int. Rec. Uncouple Invoke" OnAfterUncoupleRecord
- HandleOnIsCDSIntegrationEnabled subscribes to Codeunit "CRM Integration Management" OnIsCDSIntegrationEnabled
- HandleOnGetCDSBaseCurrencyId subscribes to Codeunit "CRM Synch. Helper" OnGetCDSBaseCurrencyId
- HandleOnGetCDSBaseCurrencySymbol subscribes to Codeunit "CRM Synch. Helper" OnGetCDSBaseCurrencySymbol
- HandleOnGetCDSBaseCurrencyPrecision subscribes to Codeunit "CRM Synch. Helper" OnGetCDSBaseCurrencyPrecision
- HandleOnGetCDSCurrencyDecimalPrecision subscribes to Codeunit "CRM Synch. Helper" OnGetCDSCurrencyDecimalPrecision
- HandleOnGetCDSOwnershipModel subscribes to Codeunit "CRM Synch. Helper" OnGetCDSOwnershipModel
- HandleOnGetVendorSyncEnabled subscribes to Codeunit "CRM Synch. Helper" OnGetVendorSyncEnabled
- HandleOnAfterCreatedNewCompanyByCopyCompany subscribes to Report "Copy Company" OnAfterCreatedNewCompanyByCopyCompany
- DeleteCouplingOnBeforeDeleteCompany subscribes to Table "Company" OnBeforeDeleteEvent
- OnAfterUnchangedRecordHandled subscribes to Codeunit "Integration Rec. Synch. Invoke" OnAfterUnchangedRecordHandled
- OnQueryPostFilterIgnoreRecord subscribes to Codeunit "CRM Integration Table Synch." OnQueryPostFilterIgnoreRecord
- LogTelemetryOnAfterInitSynchJob subscribes to Codeunit "Integration Table Synch." OnAfterInitSynchJob

## Procedures

- `SyncDocumentOptionSets()`
- `SetCompanyId(DestinationRecordRef: RecordRef)`
- `SetOwnerId(var SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef)`

Plus 25 local procedures.

## Triggers

OnRun

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 7201 "CDS Integration Impl."](../codeunit/7201.md) (26 calls: `AddCoupledUserToDefaultOwningTeam → AddUsersToDefaultOwningTeam`, `AddCoupledUserToDefaultOwningTeam → IsIntegrationEnabled`, `AddCoupledUserToDefaultOwningTeam → SignInCDSAdminUser`, …)
- [Codeunit 5342 "CRM Synch. Helper"](../codeunit/5342.md) (22 calls: `FindNewValueForCoupledRecordPK → FindNewValueForSpecialMapping`, `FindNewValueForCoupledRecordPK → FindPKByRecordID`, `FindNewValueForCoupledRecordPK → FindRecordIDByPK`, …)
- [Codeunit 7200 "CDS Integration Mgt."](../codeunit/7200.md) (12 calls: `HandleOnBeforeUncoupleRecord → OnHasCompanyIdField`, `HandleOnBeforeUncoupleRecord → ResetCompanyId`, `HandleOnIsCDSIntegrationEnabled → IsIntegrationEnabled`, …)
- [Codeunit 5330 "CRM Integration Management"](../codeunit/5330.md) (6 calls: `HandleOnAfterInsertOption → IsCRMIntegrationEnabled`, `HandleOnAfterModifyOption → IsCRMIntegrationEnabled`, `OnTransferFieldData → IsUnitGroupMappingEnabled`, …)
- [Codeunit 5345 "Integration Rec. Synch. Invoke"](../codeunit/5345.md) (4 calls: `FixPrimaryContactIdInCDS → WasModifiedAfterLastSynch`, `FixPrimaryContactNo → WasModifiedAfterLastSynch`, `HandleOnBeforeInsertRecord → FindTableConfigTemplate`, …)
- [Codeunit 8703 "Feature Telemetry"](../codeunit/8703.md) (2 calls: `LogTelemetryOnAfterInitSynchJob → LogUptake`, `LogTelemetryOnAfterInitSynchJob → LogUsage`)
- [Codeunit 1336 "Item Templ. Mgt."](../codeunit/1336.md) (1 call: `HandleOnBeforeInsertRecord → FillItemKeyFromInitSeries`)
- [Codeunit 1381 "Customer Templ. Mgt."](../codeunit/1381.md) (1 call: `HandleOnBeforeInsertRecord → FillCustomerKeyFromInitSeries`)
- [Codeunit 1385 "Vendor Templ. Mgt."](../codeunit/1385.md) (1 call: `HandleOnBeforeInsertRecord → FillVendorKeyFromInitSeries`)
- [Codeunit 150 "System Initialization"](../codeunit/150.md) (1 call: `ShowError → IsInProgress`)
- [Codeunit 2300 "Tenant License State"](../codeunit/2300.md) (1 call: `DeleteCouplingOnBeforeDeleteCompany → GetLicenseState`)

## Called by

- [Codeunit 5341 "CRM Int. Table. Subscriber"](../codeunit/5341.md) (1 call: `OnBeforeInsertRecord → SetOwnerId`)
- [Codeunit 5343 "CRM Sales Order to Sales Order"](../codeunit/5343.md) (1 call: `SetCompanyId → SetCompanyId`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC29

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "codeunit", object_name: "CDS Int. Table. Subscriber")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
