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