---
title: "Codeunit 1800 Assisted Company Setup"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/1800-assisted-company-setup/
type: codeunit
id: 1800
name: "Assisted Company Setup"
app: "Base Application"
namespace: Microsoft.Utilities
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/1800-assisted-company-setup/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 1800 Assisted Company Setup

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/1800-assisted-company-setup/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Utilities |
| Versions | 17-28 |
| Source file | Utilities/AssistedCompanySetup.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| ApplyUserInput | (var Record Config. Setup, var Record Bank Account, Date, Boolean) | - | public | 17-28 | - | - |
| GetConfigurationPackageFile | (Record Configuration Package File) | Text | public | 17-24 | - | - |
| CreateAccountingPeriod | (Date) | - | public | 17-28 | - | - |
| IsCompanySetupInProgress | (Text) | Boolean | public | 17-28 | - | - |
| WaitForPackageImportToComplete | () | - | public | 17-24 | - | - |
| FillCompanyData | (Text[30], Option) | - | public | 17-24 | - | - |
| ExistsConfigurationPackageFile | (Option) | Boolean | public | 17-24 | - | - |
| FindConfigurationPackageFile | (var Record Configuration Package File, Option) | Boolean | public | 17-24 | - | - |
| ScheduleConfigPackageImport | (Record Configuration Package File, Text) | - | public | 17-24 | - | - |
| SetUpNewCompany | (Text[30], Option) | - | public | 17-24 | - | - |
| CreateNewCompany | (Text[30]) | - | public | 17-28 | - | - |
| GetAllowedCompaniesForCurrnetUser | (var Record Company) | - | public | 17-21 | Pending 19.0 | Replaced with GetAllowedCompaniesForCurrentUser. |
| HasCurrentUserAccessToCompany | (Text[30]) | Boolean | public | 17-21 | Pending 19.0 | Replaced with IsAllowedCompanyForCurrentUser. |
| AddAssistedCompanySetup | () | - | public | 17-28 | - | - |
| GetAllowedCompaniesForCurrentUser | (var Record Company) | - | public | 18-28 | - | - |
| IsAllowedCompanyForCurrentUser | (Text[30]) | Boolean | public | 18-28 | - | - |
| SetUpNewCompany | (Text[30], Option, Boolean) | - | public | 20-24 | - | - |
| SetupCompanyWithoutDemodata | (Text[30], Enum Company Demo Data Type) | - | public | 25-28 | - | - |
| SetUpNewCompany | (Text[30], Enum Company Demo Data Type) | - | public | 25-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeScheduleTask | (var Boolean, var Guid, var Integer) | 17-24 | - | - |
| Integration event | OnAfterAssistedCompanySetupStatusEnabled | (Text[30], Boolean) | 20-24 | - | - |
| Integration event | OnBeforeCreateAccountingPeriod | (Date, var Boolean) | 20-28 | - | - |
| Integration event | OnAfterAssistedCompanySetupStatusEnabled | (Text[30]) | 25-28 | - | - |
| Integration event | OnSetupNewCompanyWithDemoData | (Text[30], Enum Company Demo Data Type) | 25-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
