---
id: change/bcapps/14077
type: change
title: "#14077 [Master Data Management] Avoid duplicate excluded record insertion after match-based coupling"
summary: Master Data Management's match-based coupling now handles records excluded by the local table filter correctly by logging an error instead of attempting duplicate creation, preventing misleading insertion failures.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit master data mgt. table couple
  - page master data synch. tables
system: integration
review:
  state: reviewed
  by: opus
  at: "2026-11-25T01:04:58.447Z"
  flags: []
generated:
  at: "2026-12-05T00:13:03.967Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: d2d63846ef9e5bb2a77cccb7a2a1449012823357
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/14077
    title: "microsoft/BCApps#14077: [Master Data Management] Avoid duplicate excluded record insertion after match-based coupling"
    date: "2026-11-24"
    commit: d2d63846ef9e5bb2a77cccb7a2a1449012823357
    t: null
    quote: If that finds a record, the source record is neither coupled nor queued for creation.
links:
  learn: []
  objects:
    - object/codeunit/7235
    - object/page/7233
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/admin-sync-master-data
      title: Manage master data synchronization
      label: possibly related
      why: touches Page 7233 "Master Data Synch. Tables"
      by: code
    - to: https://learn.microsoft.com/dynamics365/business-central/admin-set-up-data-sync
      title: Set up companies to synchronize master data
      label: possibly related
      why: touches Page 7233 "Master Data Synch. Tables"
      by: code
    - to: https://learn.microsoft.com/dynamics365/business-central/admin-how-to-couple-and-synchronize-records-manually
      title: Couple and Synchronize Records with Dataverse
      label: possibly related
      why: Explains coupling and synchronization of records between Business Central and Dataverse
      by: model
number: 14077
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/14077
kind: pr
base_branch: main
major: "30"
merged_at: "2026-11-24T13:19:03Z"
author: dcenic
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 3
  additions: 608
  deletions: 57
  al: 2
apps:
  - MasterDataManagement
objects_touched:
  - key: codeunit/7235
    page: codeunit/7235
    type: codeunit
    id: 7235
    name: Master Data Mgt. Table Couple
    app: MasterDataManagement
    status: modified
  - key: page/7233
    page: page/7233
    type: page
    id: 7233
    name: Master Data Synch. Tables
    app: MasterDataManagement
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 656175
systems:
  - integration
quote: If that finds a record, the source record is neither coupled nor queued for creation.
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #14077 [Master Data Management] Avoid duplicate excluded record insertion after match-based coupling

> Master Data Management's match-based coupling now handles records excluded by the local table filter correctly by logging an error instead of attempting duplicate creation, preventing misleading insertion failures.

[Pull request](https://github.com/microsoft/BCApps/pull/14077) · merged into `main` (BC30) on 2026-11-24 by dcenic · 3 files (+608 -57), 2 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- If no match is found inside the local filter, match-based coupling repeats the lookup without it, then logs an error pointing to the excluded record instead of coupling it or queuing it for creation
- On the Synchronization Tables page, the Table Filter column is renamed Local Table Filter and is always visible
- Fixed a latent crash on the no-match path when the source and local tables differ
- Text matching values that contain filter characters such as * or ? now keep only exact case-insensitive matches
- Telemetry event 0000J8E gets a new MatchExcludedByLocalTableFilter dimension
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 7235 "Master Data Mgt. Table Couple"](../../objects/codeunit/7235.md), MasterDataManagement: modified
- [Page 7233 "Master Data Synch. Tables"](../../objects/page/7233.md), MasterDataManagement: modified

## Context

- Work items: AB#656175
- Labels: AL: Apps (W1), Team: Finance
- Systems: integration
- From the description: "If that finds a record, the source record is neither coupled nor queued for creation."

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [Manage master data synchronization](https://learn.microsoft.com/dynamics365/business-central/admin-sync-master-data) — possibly related: touches Page 7233 "Master Data Synch. Tables"
- [Set up companies to synchronize master data](https://learn.microsoft.com/dynamics365/business-central/admin-set-up-data-sync) — possibly related: touches Page 7233 "Master Data Synch. Tables"
- [Couple and Synchronize Records with Dataverse](https://learn.microsoft.com/dynamics365/business-central/admin-how-to-couple-and-synchronize-records-manually) — possibly related: Explains coupling and synchronization of records between Business Central and Dataverse (model-linked)

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
