Codeunit 1886 Environment Cleanup

System Application, System.DataAdministration

src/System Application/App/Environment Cleanup/src/EnvironmentCleanup.Codeunit.al35 lines, Copyright (c) Microsoft Corporation. MIT

// ------------------------------------------------------------------------------------------------// Copyright (c) Microsoft Corporation. All rights reserved.// Licensed under the MIT License. See License.txt in the project root for license information.// ------------------------------------------------------------------------------------------------namespace System.DataAdministration;/// <summary>/// Codeunit that raises an event that could be used to clean up data when copying a company to new environment./// </summary>codeunit 1886 "Environment Cleanup"{    Access = Public;    InherentEntitlements = X;    InherentPermissions = X;    /// <summary>    /// Subscribe to this event to clean up company-specific data when copying to a new environment.    /// </summary>    /// <param name="CompanyName">The name of the company.</param>    [IntegrationEvent(false, false)]    internal procedure OnClearCompanyConfig(CompanyName: Text; SourceEnv: Enum "Environment Type"; DestinationEnv: Enum "Environment Type")    begin    end;    /// <summary>    /// Subscribe to this event to clean up environment-specific data when copying to a new environment.    /// </summary>    [IntegrationEvent(false, false)]    internal procedure OnClearDatabaseConfig(SourceEnv: Enum "Environment Type"; DestinationEnv: Enum "Environment Type")    begin    end;}