---
id: object/codeunit/1800
type: object
title: Codeunit 1800 "Assisted Company Setup"
summary: Codeunit 1800 "Assisted Company Setup" in Base Application (Microsoft.Utilities). 9 public procedures, 3 events, 8 event subscribers. Present since at least BC23, still in BC30, changed in BC25.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  last_changed: "25"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 81a27c9fc8b9a03a881c06e95f0e3bae9d753b593ede0b5bf5bfb7928ee4ed63
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Utilities/AssistedCompanySetup.Codeunit.al
    title: src/Layers/W1/BaseApp/Utilities/AssistedCompanySetup.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 1800
name: Assisted Company Setup
namespace: Microsoft.Utilities
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "25"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 29
  events: 3
  subscribers: 8
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 1
  calls: 8
  called_by: 4
  implements: 0
---

# Codeunit 1800 "Assisted Company Setup"

> Codeunit 1800 "Assisted Company Setup" in Base Application (Microsoft.Utilities). 9 public procedures, 3 events, 8 event subscribers. Present since at least BC23, still in BC30, changed in BC25.

Base Application · Microsoft.Utilities · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Utilities/AssistedCompanySetup.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Permissions | tabledata "Assisted Company Setup Status" = r, tabledata "G/L Entry" = r |

## Events published

- `OnAfterAssistedCompanySetupStatusEnabled(NewCompanyName: Text[30])` (integration)
- `OnBeforeCreateAccountingPeriod(StartDate: Date; var IsHandled: Boolean)` (integration)
- `OnSetupNewCompanyWithDemoData(NewCompanyName: Text[30]; NewCompanyData: Enum "Company Demo Data Type")` (integration)
  - subscribers: [Codeunit 5193 "Contoso Demo Tool"](../codeunit/5193.md) 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): Boolean`
- `SetupCompanyWithoutDemodata(NewCompanyName: Text[30]; NewCompanyData: Enum "Company Demo Data Type")`
- `SetUpNewCompany(NewCompanyName: Text[30]; NewCompanyData: Enum "Company Demo Data Type")`
- `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.

- [Codeunit 1990 "Guided Experience"](../codeunit/1990.md) (4 calls: `AddAssistedCompanySetup → AddTranslationForSetupObjectTitle`, `AddAssistedCompanySetup → InsertAssistedSetup`, `RunAssistedCompanySetup → IsAssistedSetupComplete`, …)
- [Page 9192 "Company Creation Wizard"](../page/9192.md) (2 calls: `OnBeforeCreateNewCompanyActionAccessibleCompanies → (object)`, `OnBeforeCreateNewCompanyActionOnCompanyPageOpenCompanyCreationWizard → (object)`)
- [Codeunit 1306 "Company Information Mgt."](../codeunit/1306.md) (1 call: `SetupCompanyBankAccount → UpdateCompanyBankAccount`)
- [Codeunit 1751 "Data Classification Eval. Data"](../codeunit/1751.md) (1 call: `SetupCompanyWithoutDemodata → CreateEvaluationData`)
- [Codeunit 43 "Language"](../codeunit/43.md) (1 call: `AddAssistedCompanySetup → GetDefaultApplicationLanguageId`)
- [Codeunit 9178 "Application Area Mgmt."](../codeunit/9178.md) (1 call: `SetApplicationArea → SetExperienceTierOtherCompany`)
- [Codeunit 9192 "Company Creation Demo Data"](../codeunit/9192.md) (1 call: `SetUpNewCompany → CheckAndPromptUserToInstallContosoRequiredApps`)
- [Page 674 "Job Queue Log Entries"](../page/674.md) (1 call: `OnSetupStatusDrillDown → (object)`)

## Called by

- [Codeunit 4004 "Create Companies IC"](../codeunit/4004.md) (2 calls: `CreateCompany → CreateNewCompany`, `CreateCompany → SetUpNewCompany`)
- [Page 9192 "Company Creation Wizard"](../page/9192.md) (2 calls: `FinishAction → CreateNewCompany`, `FinishAction → SetupCompanyWithoutDemodata`)
- [Codeunit 1636 "Office Contact Handler"](../codeunit/1636.md) (1 call: `FindAndRedirectContact → GetAllowedCompaniesForCurrentUser`)
- [Codeunit 1814 "Assisted Setup Subscribers"](../codeunit/1814.md) (1 call: `Initialize → AddAssistedCompanySetup`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC25

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## 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.
