codeunitPlatform, DevOps & Performanceofficial - Microsoftderived - from the source, no model text

Codeunit 1800 "Assisted Company Setup"

Base Application · Microsoft.Utilities

Across versions

  1. BC23-24present
  2. BC2511 procedures removed, 2 procedures added
  3. BC26-30unchanged

Neighbourhood 12 connected objects and pages

Codeunit 5193 "Contoso Demo Tool" (event subscribers)Contoso Demo ToolCodeunit 1990 "Guided Experience" (calls, 4 links)Guided ExperiencePage 9192 "Company Creation Wizard" (calls, 4 links)Company Creation WizardCodeunit 4004 "Create Companies IC" (calls, 2 links)Create Companies ICCodeunit 1306 "Company Information Mgt." (calls)Company Information Mgt.Codeunit 1636 "Office Contact Handler" (calls)Office Contact HandlerCodeunit 1751 "Data Classification Eval. Data" (calls)Data Classification Eval. DataCodeunit 1814 "Assisted Setup Subscribers" (calls)Codeunit 43 "Language" (calls)LanguageCodeunit 9178 "Application Area Mgmt." (calls)Application Area Mgmt.Codeunit 9192 "Company Creation Demo Data" (calls)Company Creation Demo DataPage 674 "Job Queue Log Entries" (calls)Job Queue Log Entries

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

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)

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): Boolean
  • SetupCompanyWithoutDemodata(NewCompanyName: Text[30]; NewCompanyData: Enum "Company Demo Data Type") + BC25
  • SetUpNewCompany(NewCompanyName: Text[30]; NewCompanyData: Enum "Company Demo Data Type") + BC25 − BC25 − BC25
  • CreateNewCompany(NewCompanyName: Text[30])
  • GetAllowedCompaniesForCurrentUser(var TempCompany: Record Company temporary)
  • IsAllowedCompanyForCurrentUser(CompanyName: Text[30]): Boolean
  • AddAssistedCompanySetup()

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.

Called by

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.

Evidence 1 sources