Codeunit 1800 "Assisted Company Setup"
Base Application · Microsoft.Utilities
Across versions
- BC23-24present
- BC2511 procedures removed, 2 procedures added
- BC26-30unchanged
Neighbourhood 12 connected objects and pages
Base Application · Microsoft.Utilities · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Permissions | tabledata “Assisted Company Setup Status” = r, tabledata “G/L Entry” = r |
Events published
OnAfterAssistedCompanySetupStatusEnabled(NewCompanyName: Text[30])+ BC25 − BC25 (integration)OnBeforeCreateAccountingPeriod(StartDate: Date; var IsHandled: Boolean)(integration)OnSetupNewCompanyWithDemoData(NewCompanyName: Text[30]; NewCompanyData: Enum "Company Demo Data Type")+ BC25 (integration)- subscribers: Codeunit 5193 “Contoso Demo Tool” OnSetupNewCompanyWithDemoData
Event subscriptions
- OnCompanyInitialize subscribes to Codeunit “Company-Initialize” OnCompanyInitialize
- OnEnableAssistedCompanySetup subscribes to Table “Assisted Company Setup Status” OnEnabled
- OnAfterCompanyOpenRunAssistedCompanySetup subscribes to Codeunit “System Initialization” OnAfterLogin
- OnBeforeCreateNewCompanyActionAccessibleCompanies subscribes to Page “Accessible Companies” OnBeforeActionEvent (Create New Company)
- OnBeforeCreateNewCompanyActionOnCompanyPageOpenCompanyCreationWizard subscribes to Page “Companies” OnBeforeActionEvent (Create New Company)
- OnCompanyChangeCheckForSetupCompletion subscribes to Codeunit “User Settings” OnCompanyChange
- OnGetIsCompanySetupInProgressValue subscribes to Table “Assisted Company Setup Status” OnGetCompanySetupStatusValue
- OnSetupStatusDrillDown subscribes to Table “Assisted Company Setup Status” OnSetupStatusDrillDown
Procedures
ApplyUserInput(var TempConfigSetup: Record "Config. Setup" temporary; var BankAccount: Record "Bank Account"; AccountingPeriodStartDate: Date; SkipSetupCompanyInfo: Boolean)CreateAccountingPeriod(StartDate: Date)IsCompanySetupInProgress(NewCompanyName: Text): BooleanSetupCompanyWithoutDemodata(NewCompanyName: Text[30]; NewCompanyData: Enum "Company Demo Data Type")+ BC25SetUpNewCompany(NewCompanyName: Text[30]; NewCompanyData: Enum "Company Demo Data Type")+ BC25 − BC25 − BC25CreateNewCompany(NewCompanyName: Text[30])GetAllowedCompaniesForCurrentUser(var TempCompany: Record Company temporary)IsAllowedCompanyForCurrentUser(CompanyName: Text[30]): BooleanAddAssistedCompanySetup()
Plus 9 local procedures.
Triggers
OnRun
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 1990 “Guided Experience” (4 calls:
AddAssistedCompanySetup → AddTranslationForSetupObjectTitle,AddAssistedCompanySetup → InsertAssistedSetup,RunAssistedCompanySetup → IsAssistedSetupComplete, …) - Page 9192 “Company Creation Wizard” (2 calls:
OnBeforeCreateNewCompanyActionAccessibleCompanies → (object),OnBeforeCreateNewCompanyActionOnCompanyPageOpenCompanyCreationWizard → (object)) - Codeunit 1306 “Company Information Mgt.” (1 call:
SetupCompanyBankAccount → UpdateCompanyBankAccount) - Codeunit 1751 “Data Classification Eval. Data” (1 call:
SetupCompanyWithoutDemodata → CreateEvaluationData) - Codeunit 43 “Language” (1 call:
AddAssistedCompanySetup → GetDefaultApplicationLanguageId) - Codeunit 9178 “Application Area Mgmt.” (1 call:
SetApplicationArea → SetExperienceTierOtherCompany) - Codeunit 9192 “Company Creation Demo Data” (1 call:
SetUpNewCompany → CheckAndPromptUserToInstallContosoRequiredApps) - Page 674 “Job Queue Log Entries” (1 call:
OnSetupStatusDrillDown → (object))
Called by
- Codeunit 4004 “Create Companies IC” (2 calls:
CreateCompany → CreateNewCompany,CreateCompany → SetUpNewCompany) - Page 9192 “Company Creation Wizard” (2 calls:
FinishAction → CreateNewCompany,FinishAction → SetupCompanyWithoutDemodata) - Codeunit 1636 “Office Contact Handler” (1 call:
FindAndRedirectContact → GetAllowedCompaniesForCurrentUser) - Codeunit 1814 “Assisted Setup Subscribers” (1 call:
Initialize → AddAssistedCompanySetup)
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: "Assisted Company Setup"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.