---
title: "Codeunit 8912 Environment Cleanup Subs, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/8912-environment-cleanup-subs/points/
object: https://jonas-paprotka.de/ref/codeunit/8912-environment-cleanup-subs/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/8912-environment-cleanup-subs/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 8912 Environment Cleanup Subs, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/8912-environment-cleanup-subs/points/

3 procedures and triggers with a step in src/Layers/W1/BaseApp/EnvironmentCleanupSubs.Codeunit.al, in source order, read from the text, not from a run.

## ClearCompanyConfigGeneral

[Line 25](https://jonas-paprotka.de/ref/codeunit/8912-environment-cleanup-subs/source/#L25), local.

- [51](https://jonas-paprotka.de/ref/codeunit/8912-environment-cleanup-subs/source/#L51) writes [Table 1270 OCR Service Setup](https://jonas-paprotka.de/ref/table/1270-ocr-service-setup/) ModifyAll
- [52](https://jonas-paprotka.de/ref/codeunit/8912-environment-cleanup-subs/source/#L52) writes [Table 1270 OCR Service Setup](https://jonas-paprotka.de/ref/table/1270-ocr-service-setup/) ModifyAll
- [54](https://jonas-paprotka.de/ref/codeunit/8912-environment-cleanup-subs/source/#L54) writes [Table 1275 Doc. Exch. Service Setup](https://jonas-paprotka.de/ref/table/1275-doc-exch-service-setup/) ModifyAll
- [56](https://jonas-paprotka.de/ref/codeunit/8912-environment-cleanup-subs/source/#L56) writes [Table 1650 Curr. Exch. Rate Update Setup](https://jonas-paprotka.de/ref/table/1650-curr-exch-rate-update-setup/) ModifyAll
- [58](https://jonas-paprotka.de/ref/codeunit/8912-environment-cleanup-subs/source/#L58) writes [Table 248 VAT Reg. No. Srv Config](https://jonas-paprotka.de/ref/table/248-vat-reg-no-srv-config/) ModifyAll
- [60](https://jonas-paprotka.de/ref/codeunit/8912-environment-cleanup-subs/source/#L60) calls [Codeunit 7201 CDS Integration Impl.](https://jonas-paprotka.de/ref/codeunit/7201-cds-integration-impl/) `CleanCDSIntegration`
- [62](https://jonas-paprotka.de/ref/codeunit/8912-environment-cleanup-subs/source/#L62) writes [Table 1400 Service Connection](https://jonas-paprotka.de/ref/table/1400-service-connection/) ModifyAll
- [64](https://jonas-paprotka.de/ref/codeunit/8912-environment-cleanup-subs/source/#L64) writes [Table 6700 Exchange Sync](https://jonas-paprotka.de/ref/table/6700-exchange-sync/) ModifyAll
- [66](https://jonas-paprotka.de/ref/codeunit/8912-environment-cleanup-subs/source/#L66) calls [Codeunit 456 Job Queue Management](https://jonas-paprotka.de/ref/codeunit/456-job-queue-management/) `SetRecurringJobsOnHold`

## ClearDatabaseConfigGeneral

[Line 81](https://jonas-paprotka.de/ref/codeunit/8912-environment-cleanup-subs/source/#L81), local.

- [87](https://jonas-paprotka.de/ref/codeunit/8912-environment-cleanup-subs/source/#L87) writes [Table 1543 Flow Service Configuration](https://jonas-paprotka.de/ref/table/1543-flow-service-configuration/) ModifyAll

## ClearPowerBIDeploymentsOnCopiedCompany

[Line 103](https://jonas-paprotka.de/ref/codeunit/8912-environment-cleanup-subs/source/#L103), local.

- [110](https://jonas-paprotka.de/ref/codeunit/8912-environment-cleanup-subs/source/#L110) calls [Codeunit 6351 PBI Deployment Events](https://jonas-paprotka.de/ref/codeunit/6351-pbi-deployment-events/) `ClearDeploymentsForCompany`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
