---
id: object/codeunit/8618
type: object
title: Codeunit 8618 "Config. Excel Exchange"
summary: Codeunit 8618 "Config. Excel Exchange" in Base Application (System.IO). 14 public procedures, 13 events. Present since at least BC23, still in BC30, changed in BC27, BC29.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  last_changed: "29"
  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: 5b0bd2cc2e206478e68c1765590eca2878729ee1fa8d76e89a374e26651d6371
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/System/RapidStart/ConfigExcelExchange.Codeunit.al
    title: src/Layers/W1/BaseApp/System/RapidStart/ConfigExcelExchange.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/9637
object_type: codeunit
object_id: 8618
name: Config. Excel Exchange
namespace: System.IO
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "27"
  - "29"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 47
  events: 13
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 9
  called_by: 2
  implements: 0
---

# Codeunit 8618 "Config. Excel Exchange"

> Codeunit 8618 "Config. Excel Exchange" in Base Application (System.IO). 14 public procedures, 13 events. Present since at least BC23, still in BC30, changed in BC27, BC29.

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

## Events published

- `OnBeforeExportExcel(var ConfigPackageTable: Record "Config. Package Table"; var FileName: Text)` (integration)
- `OnBeforeBLOBExport(var TempBlob: Codeunit "Temp Blob")` (integration)
- `OnBeforeCreateTableColumnNames(var ConfigPackageField: Record "Config. Package Field"; var ConfigPackageTable: Record "Config. Package Table"; var TypeHelper: Codeunit "Type Helper"; var ConfigXMLExchange: Codeunit "Config. XML Exchange"; var OpenXMLManagement: Codeunit "OpenXML Management"; var IsHandled: Boolean; var ColumnNamesRowNo: Integer)` (integration)
- `OnBeforeExportExcelTemplateFromTables(var ConfigPackageTable: Record "Config. Package Table"; var Result: Boolean; var IsHandled: Boolean)` (integration)
- `OnBeforeGetTableColumnName(ConfigPackageField: Record "Config. Package Field"; Dimension: Record Dimension; var TableColumnName: Text; var IsHandled: Boolean)` (integration)
- `OnCreateTableColumnNamesOnAfterCalcShouldRunIteration(var ConfigPackageField: Record "Config. Package Field"; var ShouldRunIteration: Boolean)` (integration)
- `OnCreateTableColumnNamesOnAfterCalcShouldSetCellComment(var ConfigPackageField: Record "Config. Package Field"; var ConfigPackageTable: Record "Config. Package Table"; var ShouldSetCellComment: Boolean)` (integration)
- `OnExportExcelFromConfigOnBeforeExportExcel(var ConfigLine: Record "Config. Line"; var ConfigPackageTable: Record "Config. Package Table")` (integration)
- `OnImportExcelFile(var TempBlob: Codeunit "Temp Blob"; var IsHandled: Boolean)` (integration)
- `OnIsImportFromExcelConfirmedOnAfterReadFromExcel(var Result: Boolean; var IsHandled: Boolean)` (integration)
- `OnAddAndInitializeTableDefinitionPartOnBeforeGetDataTable(var ConfigPackageTable: Record "Config. Package Table"; var DataTableCounter: Integer; var ColumnNameAndRowNo: Code[10]; var RowNo: Integer)` (integration)
- `OnExportExcelOnBeforeWrkShtWriterCreateTableParts(var ConfigPackageTable: Record "Config. Package Table"; var DataTableCounter: Integer)` (integration)
- `OnReadWorksheetDataOnAfterPackageCodeRead(CellValueText: Text; var FirstDataRow: Integer)` (integration)

## Procedures

- `ExportExcelFromConfig(var ConfigLine: Record "Config. Line"): Text`
- `ExportExcelFromPackage(ConfigPackage: Record "Config. Package"): Boolean`
- `ExportExcelFromTables(var ConfigPackageTable: Record "Config. Package Table"): Boolean`
- `ExportExcelTemplateFromTables(var ConfigPackageTable: Record "Config. Package Table"): Boolean`
- `ExportExcel(var FileName: Text; var ConfigPackageTable: Record "Config. Package Table"; ExportFromWksht: Boolean; SkipData: Boolean): Boolean`
- `ImportExcelFromConfig(ConfigLine: Record "Config. Line")`
- `ImportExcelFromPackage(): Boolean`
- `ImportExcelFromSelectedPackage(PackageCode: Code[20]): Boolean`
- `SetSelectedTables(var ConfigPackageTable: Record "Config. Package Table")`
- `ImportExcel(var TempBlob: Codeunit "Temp Blob"): Boolean`
- `ClearOpenXmlVariables()`
- `CreateBook(var TempBlob: Codeunit "Temp Blob")`
- `SetHideDialog(NewHideDialog: Boolean)`
- `SetFileOnServer(NewFileOnServer: Boolean)`

Plus 20 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 6223 "OpenXML Management"](../codeunit/6223.md) (14 calls: `AddAndInitializeTableDefinitionPart → AppendAutoFilter`, `AddAndInitializeTableDefinitionPart → AppendTableStyleInfo`, `AddAndInitializeTableDefinitionPart → GetXLColumnID`, …)
- [Codeunit 8614 "Config. XML Exchange"](../codeunit/8614.md) (9 calls: `AddPackageAndTableInformation → GetElementName`, `CreateTableColumnNames → GetElementName`, `CreateTableColumnNames → GetXSDType`, …)
- [Codeunit 4100 "Temp Blob"](../codeunit/4100.md) (4 calls: `CreateBook → CreateInStream`, `ImportExcel → CreateInStream`, `ImportExcel → Length`, …)
- [Codeunit 419 "File Management"](../codeunit/419.md) (4 calls: `BuildDataSetForPackageTable → ServerTempFileName`, `ExportExcel → BLOBExport`, `ExportExcel → BLOBExportToServerFile`, …)
- [Codeunit 8615 "Config. Progress Bar"](../codeunit/8615.md) (3 calls: `ExportExcel → Close`, `ExportExcel → Init`, `ExportExcel → Update`)
- [Codeunit 10 "Type Helper"](../codeunit/10.md) (1 call: `CreateTableColumnNames → GetField`)
- [Codeunit 8611 "Config. Package Management"](../codeunit/8611.md) (1 call: `ImportExcelFromPackage → ShowWarningOnImportingBigConfPackageFromExcel`)
- [Codeunit 8616 "Config. Management"](../codeunit/8616.md) (1 call: `ExportExcelFromConfig → MakeTableFilter`)
- [Codeunit 8617 "Config. Validate Management"](../codeunit/8617.md) (1 call: `CreateTableColumnNames → AddComment`)

## Called by

- [Codeunit 1181 "Prvacy Data Mgmt Excel"](../codeunit/1181.md) (2 calls: `OnRun → ExportExcel`, `OnRun → SetFileOnServer`)
- [Codeunit 1806 "Excel Data Migrator"](../codeunit/1806.md) (2 calls: `ExportExcelTemplateByFileName → ExportExcel`, `ExportExcelTemplateByFileName → SetHideDialog`)

## Recent changes

- 2026-07-24 [#9637 [Event Requests] Add integration events across base app and SMTP module](../../changes/bcapps/9637.md) (main, BC30, feature)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC27, BC29

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: "Config. Excel Exchange")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
