#13005 [Master Data Management] Cleanup when copying environment
Master Data Management now performs cleanup when an environment is copied, via changes to its subscribers, HTTP source transport and setup table. The description rates the risk as low because live tenants do not use the feature yet.
- 5files
- 3AL files
- 3objects
Pull request · merged into main (BC30) on 2026-10-20 by dcenic · 5 files (+171 -14), 3 AL · feature · tier official · reviewed (checked by Opus)
What changed
- Cleanup runs when an environment gets copied
- Touches Master Data Mgt. Subscribers, MDM Http Source Transport and Master Data Management Setup
- New automated tests added for cross-environment consumer scenarios
- Low risk per author since the feature is not yet used by live tenants
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 7247 “MDM Http Source Transport”, MasterDataManagement: modified
- Codeunit 7237 “Master Data Mgt. Subscribers”, MasterDataManagement: modified
- Table 7230 “Master Data Management Setup”, MasterDataManagement: modified
Also merged into
- #13016 into
releases/29.xon 2026-10-20
Context
- Work items: AB#655932
- Labels: AL: Apps (W1), Team: Finance
- Systems: integration
- From the description: “We should do cleanup before environment gets copied”
Linked pages
- Copy a Business Central Environment — documents: changes what is cleaned up when an environment is copied (Master Data Management) (checked by hand)
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Codeunit 1886 “Environment Cleanup” — possibly related: touches Codeunit 7237, which subscribes to OnClearCompanyConfig (data/index/events.json, BC29) (checked by hand)
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).