Codeunit 150 "System Initialization"
System Application · System.Environment.Configuration
Across versions
- BC23-30present
Neighbourhood 23 connected objects and pages
System Application · System.Environment.Configuration · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Public |
Events published
OnAfterInitialization()(integration): Integration event for after the system initialization. Used only for login.- subscribers: Codeunit 3315 “PA Session Events” RegisterSubscribersOnAfterLogin, Codeunit 40 “LogInManagement” OnCompanyOpen, Codeunit 4304 “SOA Session Events” RegisterSubscribersOnAfterLogin, Codeunit 6908 “Expense Event Subscriber” ValidateExpenseAgentLoginNotAllowed
OnAfterLogin()(integration): Integration event for after the login. Subscribe to this event in order to execute additional initialization steps.- subscribers: Codeunit 1350 “Telemetry Management” ScheduleDailyTelemetryAfterCompanyOpen, Codeunit 151 “System Initialization Impl.” CreateOrUpdateLoginInfoOnAfterLogin, Codeunit 1738 “OData Initializer” OnAfterLogin, Codeunit 1800 “Assisted Company Setup” OnAfterCompanyOpenRunAssistedCompanySetup, Codeunit 1997 “Checklist Events” OnAfterLogIn, Codeunit 2 “Company-Initialize” CompanyInitializeOnAfterLogin, Codeunit 20419 “Qlty. Guided Experience” InitializeChecklistOnAfterLogIn, Codeunit 280 “My Records Demo Setup” OnAfterLoginSubscriber, Codeunit 30201 “Shpfy Guided Experience” InitializeChecklistOnAfterLogIn, Codeunit 4304 “SOA Session Events” RegisterSubscribersOnAfterLogout, Codeunit 4360 “Custom Agent Session” OnAfterCustomAgentLogin, Codeunit 5153 “API - Upd. Ref. Fields Binder” OnAfterCompanyOpen
OnSetSignupContext(SignupContext: Record "Signup Context"; var SignupContextValues: Record "Signup Context Values")(integration): Subscribe to this event to set the Signup Context and parse additional values.- subscribers: Codeunit 30201 “Shpfy Guided Experience” SetShopifyContextOnSetSignupContext
Procedures
IsInProgress(): Boolean: Checks whether the system initialization is currently in progress.ShouldCheckSignupContext(): Boolean: Checks whether the signup context should be considered or whether it has expired.
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.
- Codeunit 151 “System Initialization Impl.” (2 calls:
IsInProgress → IsInProgress,ShouldCheckSignupContext → ShouldCheckSignupContext)
Called by
- Codeunit 151 “System Initialization Impl.” (2 calls:
Init → OnAfterInitialization,InitCompany → OnAfterLogin) - Codeunit 3909 “Retention Policy Log Impl.” (2 calls:
CreateTempLogEntry → IsInProgress,InsertLogEntryInBackgroundSession → IsInProgress) - Codeunit 1520 “Workflow Event Handling” (1 call:
AddEventToLibrary → IsInProgress) - Codeunit 1521 “Workflow Response Handling” (1 call:
AddResponseToLibrary → IsInProgress) - Codeunit 1997 “Checklist Events” (1 call:
OnAfterLogIn → ShouldCheckSignupContext) - Codeunit 7201 “CDS Integration Impl.” (1 call:
ShowError → IsInProgress) - Codeunit 7205 “CDS Int. Table. Subscriber” (1 call:
ShowError → IsInProgress) - Table 5330 “CRM Connection Setup” (1 call:
ShowError → IsInProgress)
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: "System Initialization"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.