codeunitAdministration & Setupofficial - Microsoftderived - from the source, no model text

Codeunit 8912 "Environment Cleanup Subs"

Base Application · System.Environment

Across versions

  1. BC23-27present
  2. BC281 procedures added
  3. BC29-30unchanged

Neighbourhood 5 connected objects and pages

Codeunit 456 "Job Queue Management" (calls)Job Queue ManagementCodeunit 6351 "PBI Deployment Events" (calls)PBI Deployment EventsCodeunit 7201 "CDS Integration Impl." (calls)CDS Integration Impl.https://learn.microsoft.com/dynamics365/business-central/dev-itpro/administration/environment-types (Learn pages)https://learn.microsoft.com/…https://learn.microsoft.com/dynamics365/business-central/dev-itpro/administration/tenant-admin-center-environments-copy (Learn pages)https://learn.microsoft.com/…

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · System.Environment · BC23-30 · source at 4e6a307c · facts from BC29

Properties

Property Value
Access Internal

Event subscriptions

  • ClearCompanyConfigGeneral subscribes to Codeunit “Environment Cleanup” OnClearCompanyConfig
  • ClearCompanyConfigProdToProd subscribes to Codeunit “Environment Cleanup” OnClearCompanyConfig
  • ClearDatabaseConfigGeneral subscribes to Codeunit “Environment Cleanup” OnClearDatabaseConfig
  • ClearDatabaseConfigProdToProd subscribes to Codeunit “Environment Cleanup” OnClearDatabaseConfig
  • ClearPowerBIDeploymentsOnCopiedCompany subscribes to Report “Copy Company” OnAfterCreatedNewCompanyByCopyCompany

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.

Recent changes

Linked pages

  • Copy a Business Central Environment — documents: Microsoft’s own subscribers to the environment cleanup events, which run when an environment is copied (checked by hand)
  • Production and Sandbox Environments — documents: lists the setups a copy disables and the data it clears, which Microsoft’s cleanup subscribers carry out (checked by hand)

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: "Environment Cleanup Subs"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources