---
id: object/codeunit/7230
type: object
title: Codeunit 7230 "Master Data Mgt. Setup Default"
summary: Codeunit 7230 "Master Data Mgt. Setup Default" in MasterDataManagement (Microsoft.Integration.MDM). 49 public procedures, 5 events. 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: a25d6fce20ee7dc1467c0101638e9316bece9b4324b443c41b43092c7f78f729
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/MasterDataManagement/app/src/codeunits/MasterDataMgtSetupDefault.Codeunit.al
    title: src/Apps/W1/MasterDataManagement/app/src/codeunits/MasterDataMgtSetupDefault.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/10753
    - change/bcapps/11160
object_type: codeunit
object_id: 7230
name: Master Data Mgt. Setup Default
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: 64
  events: 5
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 2
  called_by: 4
  implements: 0
---

# Codeunit 7230 "Master Data Mgt. Setup Default"

> Codeunit 7230 "Master Data Mgt. Setup Default" in MasterDataManagement (Microsoft.Integration.MDM). 49 public procedures, 5 events. 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/MasterDataMgtSetupDefault.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Permissions | tabledata "Config. Template Header" = ri, tabledata "Master Data Mgt. Coupling" = rmd, tabledata "Integration Field Mapping" = rimd, tabledata "Integration Table Mapping" = rimd, tabledata "Integration Synch. Job" = r, tabledata "Job Queue Entry" = rimd, tabledata "Master Data Management Setup" = r,... |

## Events published

- `OnAfterResetConfiguration(MasterDataManagementSetup: Record "Master Data Management Setup")` (integration)
- `OnBeforeResetConfiguration(var MasterDataManagementSetup: Record "Master Data Management Setup"; var IsHandled: Boolean)` (integration)
- `OnBeforeResetTableMapping(var IntegrationTableMappingName: Code[20]; var ShouldRecreateJobQueueEntry: Boolean; var IsHandled: Boolean)` (integration)
- `OnAfterResetTableMapping(var IntegrationTableMappingName: Code[20]; var ShouldRecreateJobQueueEntry: Boolean; var IsHandled: Boolean)` (integration)
- `OnBeforeInsertJobQueueEntryForSynchronizationTable(var JobQueueEntry: Record "Job Queue Entry"; var IntegrationTableMapping: Record "Integration Table Mapping"; var ShouldScheduleJobQueueEntry: Boolean)` (integration)

## Procedures

- `ResetConfiguration(var MasterDataManagementSetup: Record "Master Data Management Setup")` (internal)
- `ResetSalesPeopleSystemUserMapping(IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean)` (internal)
- `ResetCustomerAccountMapping(IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean)` (internal)
- `ResetVendorAccountMapping(IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean)` (internal)
- `ResetContactContactMapping(IntegrationTableMappingName: Code[20]; EnqueueJobQueEntry: Boolean)` (internal)
- `ResetCountryRegionMapping(IntegrationTableMappingName: Code[20]; EnqueueJobQueEntry: Boolean)` (internal)
- `ResetPostCodeMapping(IntegrationTableMappingName: Code[20]; EnqueueJobQueEntry: Boolean)` (internal)
- `ResetCurrencyTransactionCurrencyMapping(IntegrationTableMappingName: Code[20]; EnqueueJobQueEntry: Boolean)` (internal)
- `ResetCurrencyExchangeRateMapping(IntegrationTableMappingName: Code[20]; EnqueueJobQueEntry: Boolean)` (internal)
- `ResetPaymentTermsMapping(IntegrationTableMappingName: Code[20])` (internal)
- `ResetShipmentMethodMapping(IntegrationTableMappingName: Code[20])` (internal)
- `ResetShippingAgentMapping(IntegrationTableMappingName: Code[20])` (internal)
- `ResetSalesReceivablesSetupMapping(IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean)` (internal)
- `ResetMarketingSetupMapping(IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean)` (internal)
- `ResetBusinessRelationMapping(IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean)` (internal)
- `ResetPurchasesPayablesSetupMapping(IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean)` (internal)
- `ResetNumberSeriesMapping(IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean)` (internal)
- `ResetNumberSeriesLineMapping(IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean)` (internal)
- `ResetVATBusPostingGroupMapping(IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean)` (internal)
- `ResetCustomerPostingGroupMapping(IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean)` (internal)
- `ResetVendorPostingGroupMapping(IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean)` (internal)
- `ResetGenBusPostingGroupMapping(IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean)` (internal)
- `ResetVATProdPostingGroupMapping(IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean)` (internal)
- `ResetGenProdPostingGroupMapping(IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean)` (internal)
- `ResetTaxAreaMapping(IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean)` (internal)
- `ResetTaxGroupMapping(IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean)` (internal)
- `ResetVATPostingSetupMapping(IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean)` (internal)
- `ResetTaxJurisdictionMapping(IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean)` (internal)
- `ResetGLAccountMapping(IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean)` (internal)
- `ResetDimensionMapping(IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean)` (internal)
- `ResetDimensionValueMapping(IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean)` (internal)
- `InsertIntegrationTableMapping(var IntegrationTableMapping: Record "Integration Table Mapping"; MappingName: Code[20]; TableNo: Integer; IntegrationTableNo: Integer; IntegrationTableUIDFieldNo: Integer; IntegrationTableModifiedFieldNo: Integer; TableConfigTemplateCode: Code[10]; IntegrationTableConfigTemplateCode: Code[10]; SynchOnlyCoupledRecords: Boolean)` (internal)
- `GenerateIntegrationTableMapping(var IntegrationTableMapping: Record "Integration Table Mapping"; FieldNumbers: List of [Integer]; IntegrationTableMappingName: Code[20]; TableID: Integer; ConfigTemplateCode: Code[10]; SynchOnlyCoupledRecords: Boolean; ShouldRecreateJobQueueEntry: Boolean)`
- `DefaultNumberOfMinutesBetweenRuns(): Integer` (internal)
- `DefaultInactivityTimeoutPeriod(): Integer` (internal)
- `InsertIntegrationFieldMapping(IntegrationTableMappingName: Code[20]; var IntegrationFieldMapping: Record "Integration Field Mapping"; TableFieldNo: Integer; IntegrationTableFieldNo: Integer; SynchDirection: Option; ConstValue: Text; ValidateField: Boolean; ValidateIntegrationTableField: Boolean)` (internal)
- `GetFieldCaption(TableID: Integer; FieldID: Integer): Text` (internal)
- `GetTableCaption(TableID: Integer): Text[250]` (internal)
- `CreateUncoupleJobQueueEntry(var IntegrationTableMapping: Record "Integration Table Mapping"): Boolean` (internal)
- `CreateCoupleJobQueueEntry(var IntegrationTableMapping: Record "Integration Table Mapping"): Boolean` (internal)
- `CreateJobQueueEntry(IntegrationTableMapping: Record "Integration Table Mapping"): Boolean` (internal)
- `CreateJobQueueEntry(IntegrationTableMapping: Record "Integration Table Mapping"; ServiceName: Text): Boolean` (internal)
- `UpdateChangeDetectorJob(MasterDataManagementSetup: Record "Master Data Management Setup")` (internal)
- `RecreateJobQueueEntryFromIntTableMapping(IntegrationTableMapping: Record "Integration Table Mapping"; IntervalInMinutes: Integer; ShouldRecreateJobQueueEntry: Boolean; InactivityTimeoutPeriod: Integer)` (internal)
- `RecreateJobQueueEntryFromIntTableMapping(IntegrationTableMapping: Record "Integration Table Mapping"; IntervalInMinutes: Integer; ShouldRecreateJobQueueEntry: Boolean; InactivityTimeoutPeriod: Integer; ServiceName: Text; IsOption: Boolean)` (internal)
- `GetPrioritizedMappingList(var NameValueBuffer: Record "Name/Value Buffer")` (internal)
- `GetCustomerTableMappingName(): Text` (internal)
- `GetVendorTableMappingName(): Text` (internal)
- `SetCustomIntegrationsTableMappings(MasterDataManagementSetup: Record "Master Data Management Setup")` (internal)

Plus 10 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 10 "Type Helper"](../codeunit/10.md) (1 call: `GetFieldCaption → GetField`)
- [Codeunit 453 "Job Queue - Enqueue"](../codeunit/453.md) (1 call: `EnsureChangeDetectorJob → (object)`)

## Called by

- [Codeunit 7233 "Master Data Management"](../codeunit/7233.md) (37 calls: `EnqueueCouplingJob → CreateCoupleJobQueueEntry`, `EnqueueFullSyncJob → CreateJobQueueEntry`, `EnqueueSyncJob → CreateJobQueueEntry`, …)
- [Codeunit 7238 "Master Data Mgt. Upgrade"](../codeunit/7238.md) (3 calls: `UpgradeJobQueueEntryFrequencies → DefaultInactivityTimeoutPeriod`, `UpgradeJobQueueEntryFrequencies → DefaultNumberOfMinutesBetweenRuns`, `UpgradeSynchTableCaptions → GetTableCaption`)
- [Table 7230 "Master Data Management Setup"](../table/7230.md) (2 calls: `EnableConnection → ResetConfiguration`, `SynchronizeNow → GetPrioritizedMappingList`)
- [Page 7233 "Master Data Synch. Tables"](../page/7233.md) (1 call: `AddTable → GenerateIntegrationTableMapping`)

## Recent changes

- 2026-09-10 [#10753 Cross-environment Master Data synchronization (same tenant)](../../changes/bcapps/10753.md) (main, BC30, feature)
- 2026-09-09 [#11160 Ruleset hardening: promote three mechanical rules to Error](../../changes/bcapps/11160.md) (main, BC30, refactor)

## 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. Setup Default")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
