Table of Contents

Codeunit "Environment Cleanup"

ID 1886
Namespace: System.DataAdministration

Codeunit that raises an event that could be used to clean up data when copying a company to new environment.

Properties

Name Value
Access Public
InherentEntitlements X
InherentPermissions X

Events

OnClearCompanyConfig

Subscribe to this event to clean up company-specific data when copying to a new environment.

[IntegrationEvent(False,False)]
internal procedure OnClearCompanyConfig(CompanyName: Text, SourceEnv: Enum "Environment Type", DestinationEnv: Enum "Environment Type")

Parameters

Name Type Description
CompanyName Text

The name of the company.

SourceEnv Enum System.DataAdministration."Environment Type"

The name of the company.

DestinationEnv Enum System.DataAdministration."Environment Type"

The name of the company.

OnClearDatabaseConfig

Subscribe to this event to clean up environment-specific data when copying to a new environment.

[IntegrationEvent(False,False)]
internal procedure OnClearDatabaseConfig(SourceEnv: Enum "Environment Type", DestinationEnv: Enum "Environment Type")

Parameters

Name Type Description
SourceEnv Enum System.DataAdministration."Environment Type"
DestinationEnv Enum System.DataAdministration."Environment Type"

See also