---
id: object/codeunit/7237
type: object
title: Codeunit 7237 "Master Data Mgt. Subscribers"
summary: Codeunit 7237 "Master Data Mgt. Subscribers" in MasterDataManagement (Microsoft.Integration.MDM). 9 public procedures, 23 event subscribers. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - masterdatamanagement
versions:
  introduced: "29"
  last_changed: null
  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: bce24511d2f2af5f6b8bef4b312b3ba9c4fa6fd29ee84434e7b0d342340746c0
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/MasterDataManagement/app/src/codeunits/MasterDataMgtSubscribers.Codeunit.al
    title: src/Apps/W1/MasterDataManagement/app/src/codeunits/MasterDataMgtSubscribers.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/11896
    - change/bcapps/11626
    - change/bcapps/10753
object_type: codeunit
object_id: 7237
name: Master Data Mgt. Subscribers
namespace: Microsoft.Integration.MDM
app: MasterDataManagement
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 55
  events: 0
  subscribers: 23
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 14
  called_by: 2
  implements: 0
---

# Codeunit 7237 "Master Data Mgt. Subscribers"

> Codeunit 7237 "Master Data Mgt. Subscribers" in MasterDataManagement (Microsoft.Integration.MDM). 9 public procedures, 23 event subscribers. Introduced in BC29, still in BC30.

MasterDataManagement · Microsoft.Integration.MDM · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/MasterDataManagement/app/src/codeunits/MasterDataMgtSubscribers.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Access | Internal |
| Permissions | tabledata "Master Data Mgt. Coupling" = rm, tabledata "Integration Field Mapping" = r, tabledata "Integration Table Mapping" = rm, tabledata "Tenant Media" = imd, tabledata "Tenant Media Set" = imd, tabledata "Tenant Media Thumbnails" = imd, tabledata "Integration Synch. Job" = r, tabledata "Job Que... |

## Event subscriptions

- HandleOnAfterDeleteIntegrationTableMapping subscribes to Table "Integration Table Mapping" OnAfterDeleteEvent
- OnAfterJobQueueEntryRun subscribes to Codeunit "Job Queue Start Codeunit" OnAfterRun
- OnFindingIfJobNeedsToBeRun subscribes to Table "Job Queue Entry" OnFindingIfJobNeedsToBeRun
- CleanupSetupAfterCreatedNewCompanyByCopyCompany subscribes to Report "Copy Company" OnAfterCreatedNewCompanyByCopyCompany
- OnOpenSourceRecord subscribes to Page "Integration Synch. Error List" OnOpenSourceRecord
- OnTransferFieldData subscribes to Codeunit "Integration Record Synch." OnTransferFieldData
- OnBeforeIsFieldModified subscribes to Codeunit "Integration Record Synch." OnBeforeIsFieldModified
- OnDetermineSynchDirection subscribes to Codeunit "Integration Table Synch." OnDetermineSynchDirection
- OnIsCreateNewInCaseOfNoMatchControlVisible subscribes to Table "Integration Table Mapping" OnIsCreateNewInCaseOfNoMatchControlVisible
- HandleOnAfterCreatedNewCompanyByCopyCompany subscribes to Report "Copy Company" OnAfterCreatedNewCompanyByCopyCompany
- OnFindAndSynchRecordIDFromIntegrationSystemId subscribes to Codeunit "CRM Synch. Helper" OnFindAndSynchRecordIDFromIntegrationSystemId
- HandleOnAfterInsertRecord subscribes to Codeunit "Integration Rec. Synch. Invoke" OnAfterInsertRecord
- OnBeforeModifyRecord subscribes to Codeunit "Integration Rec. Synch. Invoke" OnBeforeModifyRecord
- OnAfterModifyRecord subscribes to Codeunit "Integration Rec. Synch. Invoke" OnAfterModifyRecord
- OnBeforeTransferRecordFields subscribes to Codeunit "Integration Rec. Synch. Invoke" OnBeforeTransferRecordFields
- OnAfterTransferRecordFields subscribes to Codeunit "Integration Rec. Synch. Invoke" OnAfterTransferRecordFields
- OnBeforeDetermineConfigTemplateCode subscribes to Codeunit "Integration Rec. Synch. Invoke" OnBeforeDetermineConfigTemplateCode
- OnWasModifiedAfterLastSynch subscribes to Codeunit "Integration Rec. Synch. Invoke" OnWasModifiedAfterLastSynch
- OnInsertNewContactFromCustomerOnBeforeAssignNo subscribes to Codeunit "CustCont-Update" OnInsertNewContactOnBeforeAssignNo
- OnInsertNewContactFromVendorOnBeforeAssignNo subscribes to Codeunit "VendCont-Update" OnInsertNewContactOnBeforeAssignNo
- OnInitContactFromBankAccountOnBeforeAssignNo subscribes to Codeunit "BankCont-Update" OnInitContactFromBankAccountOnBeforeAssignNo
- HandleOnBeforeInsertRecord subscribes to Codeunit "Integration Rec. Synch. Invoke" OnBeforeInsertRecord
- HandleOnAfterUnchangedRecordHandled subscribes to Codeunit "Integration Rec. Synch. Invoke" OnAfterUnchangedRecordHandled

## Procedures

- `HandleOnAfterJobQueueEntryRun(var JobQueueEntry: Record "Job Queue Entry")` (internal)
- `HandleOnFindingIfJobNeedsToBeRun(var Sender: Record "Job Queue Entry"; var Result: Boolean)` (internal)
- `HandleOnBeforeIsFieldModified(var SourceFieldRef: FieldRef; var Result: Boolean; var IsHandled: Boolean)` (internal)
- `HandleOnTransferFieldData(SourceFieldRef: FieldRef; DestinationFieldRef: FieldRef; var NewValue: Variant; var IsValueFound: Boolean; var NeedsConversion: Boolean)` (internal)
- `HandleOnFindAndSynchRecordIDFromIntegrationSystemId(IntegrationSystemId: Guid; TableId: Integer; var LocalRecordID: RecordID; var IsHandled: Boolean)` (internal)
- `RenameIfNeededOnBeforeModifyRecord(IntegrationTableMapping: Record "Integration Table Mapping"; SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef)` (internal)
- `HandleOnAfterTransferRecordFields(SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef)` (internal)
- `HandleOnWasModifiedAfterLastSynch(IntegrationTableConnectionType: TableConnectionType; IntegrationTableMapping: Record "Integration Table Mapping"; var SourceRecordRef: RecordRef; var SourceWasChanged: Boolean; var IsHandled: Boolean)` (internal)
- `GetRowLastModifiedOn(IntegrationTableMapping: Record "Integration Table Mapping"; var FromRecordRef: RecordRef): DateTime` (internal)

Plus 23 local procedures.

## 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 7233 "Master Data Management"](../codeunit/7233.md) (30 calls: `FixPrimaryContactNo → IsEnabled`, `GetRowLastModifiedOn → OnGetIntegrationRecordRefBySystemId`, `HandleOnAfterDeleteIntegrationTableMapping → OnHandleOnAfterDeleteIntegrationTableMapping`, …)
- [Codeunit 4100 "Temp Blob"](../codeunit/4100.md) (7 calls: `GetBlobFieldText → CreateInStream`, `GetBlobFieldText → FromFieldRef`, `GetBlobFieldText → HasValue`, …)
- [Codeunit 7232 "MDM Inline Media"](../codeunit/7232.md) (5 calls: `HandleOnAfterTransferRecordFields → IsBlobSkipped`, `HandleOnBeforeIsFieldModified → IsBlobSkipped`, `HandleOnTransferFieldData → IsBlobSkipped`, …)
- [Codeunit 7234 "MDM Contact Relation Cache"](../codeunit/7234.md) (4 calls: `OnInitContactFromBankAccountOnBeforeAssignNo → TryGetSourceContactNo`, `OnInsertNewContactFromCustomerOnBeforeAssignNo → TryGetSourceContactNo`, `OnInsertNewContactFromVendorOnBeforeAssignNo → TryGetSourceContactNo`, …)
- [Codeunit 5338 "Integration Record Management"](../codeunit/5338.md) (2 calls: `HandleOnWasModifiedAfterLastSynch → IsModifiedAfterIntegrationTableRecordLastSynch`, `HandleOnWasModifiedAfterLastSynch → IsModifiedAfterRecordLastSynch`)
- [Codeunit 5342 "CRM Synch. Helper"](../codeunit/5342.md) (2 calls: `ApplyTransformations → TransformValue`, `UpdateContactParentCompany → SetContactParentCompany`)
- [Codeunit 5345 "Integration Rec. Synch. Invoke"](../codeunit/5345.md) (2 calls: `FixPrimaryContactNo → WasModifiedAfterLastSynch`, `UpdateContactParentCompany → WasModifiedAfterLastSynch`)
- [Codeunit 7231 "Integration Master Data Synch."](../codeunit/7231.md) (2 calls: `SynchRecordIfMappingExists → GetOutOfMapFilter`, `SynchRecordIfMappingExists → SynchRecord`)
- [Codeunit 10 "Type Helper"](../codeunit/10.md) (1 call: `HandleOnTransferFieldData → CompareDateTime`)
- [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 700 "Page Management"](../codeunit/700.md) (1 call: `OnOpenSourceRecord → PageRun`)
- [Codeunit 7239 "MDM Source Watermark"](../codeunit/7239.md) (1 call: `GetRowLastModifiedOn → TryGet`)

## Called by

- [Codeunit 7231 "Integration Master Data Synch."](../codeunit/7231.md) (1 call: `SynchIntegrationTableToLocalTable → GetRowLastModifiedOn`)
- [Codeunit 7233 "Master Data Management"](../codeunit/7233.md) (1 call: `HandleOnUpdateIntegrationRecordTimestamp → GetRowLastModifiedOn`)

## Recent changes

- 2026-09-28 [#11896 [Master Data Management] Cross-env over-cap blob clears the subsidiary blob](../../changes/bcapps/11896.md) (main, BC30, fix)
- 2026-09-22 [#11626 [Master Data Management] Fixing synchronization of contacts, media, date, datetime, source watermarking, permission issue and minor UX issues](../../changes/bcapps/11626.md) (main, BC30, fix)
- 2026-09-10 [#10753 Cross-environment Master Data synchronization (same tenant)](../../changes/bcapps/10753.md) (main, BC30, feature)

## Across versions

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

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: "Master Data Mgt. Subscribers")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
