Step by Step Guide to Importing Excel Data into Business Central
This post demonstrates how to import Excel data into Business Central by creating a staging table, using the Excel Buffer record to read spreadsheet contents, validating the data, and then creating actual business records. It covers practical steps for handling external Excel files with custom logic and error checking.

post Aardvark Labs
"We are going to start by defining a staging table that we can import the data into."
Key points
- Use a temporary staging table to import and validate Excel data before creating actual records
- Leverage the Excel Buffer record and File Management codeunit to read Excel files and parse cell values
- Implement validation procedures to check data integrity, such as verifying unit of measures and item types
- Parse Excel cell values as text first, then convert to appropriate data types using Evaluate
- Display validation messages to users so they can correct errors before generating final records
Quotes
- “We are going to start by defining a staging table that we can import the data into.” (Staging tables provide a safe intermediate step to validate and process external data before committing to actual records.)
AL objects mentioned
As named in the post. A name that matches one object page by exact type and name links to it; the others stay as named.
- table “ARD_ItemStaging”
- table 370 “Excel Buffer”
- table 204 “Unit of Measure”
- table 27 “Item”
- page “ARDExcelImport”
- codeunit 419 “File Management”
- codeunit 4100 “Temp Blob”
- codeunit 310 “No. Series”
Not found in BC28-30: table “ARD_ItemStaging”, page “ARDExcelImport”.
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- BC Friday Tips #69 Item Blocked Fields — possibly related: both name Table 27 “Item”
- BC Friday Tips #84 Why Is Your Item Missing from the Sales Line Lookup? — possibly related: both name Table 27 “Item”
- Business Central 2025 wave 2 (BC27): App version in “Copy error details”/”Share details via” — possibly related: both name Table 27 “Item”
- Dynamics 365 Business Central: compressing API responses at max. — possibly related: both name Table 27 “Item”
- Dynamics 365 Business Central: Convert Word (.docx) To HTML (.html) within BC (No control add-in and APIs) — possibly related: both name Codeunit 419 “File Management”
- Dynamics 365 Business Central: Convert Word (.docx) To PDF (.pdf) within BC (No control add-in and APIs) — possibly related: both name Codeunit 419 “File Management”
- Dynamics 365 Business Central: Generate Swiss QR Code without external services/APIs — possibly related: both name Codeunit 4100 “Temp Blob”
- Dynamics 365 Business Central: How to add Filter by item attributes to the Item Ledger Entries page — possibly related: both name Table 27 “Item”
- Dynamics 365 Business Central: How to bulk import big/large text (length exceeds 250 and 2048) from external files via AL — possibly related: both name Table 370 “Excel Buffer”
- Dynamics 365 Business Central: How to bulk import marketing text to items – Customization — possibly related: both name Table 27 “Item”
Context
- Features: Excel file import, temporary tables, data validation, cell value parsing, record generation, file management, error messaging
Source: Aardvark Labs, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.