Codeunit 1886 "Environment Cleanup"
System Application · System.DataAdministration
Across versions
- BC23-30present
Neighbourhood 13 connected objects and pages
System Application · System.DataAdministration · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Public |
Events published
OnClearCompanyConfig(CompanyName: Text; SourceEnv: Enum "Environment Type"; DestinationEnv: Enum "Environment Type")(integration): Subscribe to this event to clean up company-specific data when copying to a new environment.- subscribers: Codeunit 20105 “AMC Banking Mgt.” AMCOnClearCompanyConfiguration, Codeunit 30273 “Shpfy Installer” ShpfyOnClearCompanyConfiguration, Codeunit 4509 “Email - Outlook API Helper” ClearCompanyConfigGeneral, Codeunit 4513 “SMTP Connector Impl.” ClearCompanyConfigGeneral, Codeunit 4560 “Ext. Blob Sto. Connector Impl.” EnvironmentCleanup_OnClearCompanyConfig, Codeunit 4570 “Ext. File Share Connector Impl” EnvironmentCleanup_OnClearCompanyConfig, Codeunit 4580 “Ext. SharePoint Connector Impl” EnvironmentCleanup_OnClearCompanyConfig, Codeunit 4621 “Ext. SFTP Connector Impl” EnvironmentCleanup_OnClearCompanyConfig, Codeunit 6351 “PBI Deployment Events” ClearDeploymentRecordsOnEnvironmentCopy, Codeunit 6619 “FS Environment Cleanup Subs” ClearFSConnectionOnEnvironmentCopy, Codeunit 8912 “Environment Cleanup Subs” ClearCompanyConfigGeneral, Codeunit 8912 “Environment Cleanup Subs” ClearCompanyConfigProdToProd
OnClearDatabaseConfig(SourceEnv: Enum "Environment Type"; DestinationEnv: Enum "Environment Type")(integration): Subscribe to this event to clean up environment-specific data when copying to a new environment.- subscribers: Codeunit 6153 “API Webhook Notification Mgt.” HandleOnClearCompanyConfig, Codeunit 8912 “Environment Cleanup Subs” ClearDatabaseConfigGeneral, Codeunit 8912 “Environment Cleanup Subs” ClearDatabaseConfigProdToProd
Called by
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 1887 “Environment Cleanup Impl” (2 calls:
OnAfterCopyEnvironmentPerCompany → OnClearCompanyConfig,OnAfterCopyEnvironmentPerDatabase → OnClearDatabaseConfig)
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"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.