Codeunit "System Initialization"
ID 150
Namespace: System.Environment.Configuration
Exposes functionality to check whether the system is initializing as well as an event to subscribed to in order to execute logic right after the system has initialized.
Properties
| Name | Value |
|---|---|
| Access | Public |
| InherentEntitlements | X |
| InherentPermissions | X |
Methods
IsInProgress
Checks whether the system initialization is currently in progress.
procedure IsInProgress(): Boolean
Returns
| Type | Description |
|---|---|
| Boolean |
True, if the system initialization is in progress; false, otherwise |
ShouldCheckSignupContext
Checks whether the signup context should be considered or whether it has expired.
procedure ShouldCheckSignupContext(): Boolean
Returns
| Type | Description |
|---|---|
| Boolean |
Returns true if the signup context is still relevant for the tenant |
Events
OnAfterLogin
Integration event for after the login. Subscribe to this event in order to execute additional initialization steps.
[IntegrationEvent(False,False,True)]
internal procedure OnAfterLogin()
OnSetSignupContext
[IntegrationEvent(False,False)]
internal procedure OnSetSignupContext(SignupContext: __MissingTypeSymbol__, var SignupContextValues: Record "Signup Context Values")
Parameters
| Name | Type | Description |
|---|---|---|
| SignupContext | __MissingTypeSymbol__ | |
| SignupContextValues | Table System.Environment.Configuration."Signup Context Values" |