--- title: "Sales order import" slug: "bc-sales-order-import" tags: ["BC", "BIS", "Business Central", "Business Integration Solutions", "Walkthrough"] updated: 2026-06-25T09:59:07Z published: 2026-06-25T09:59:07Z canonical: "docs.staedean.com/bc-sales-order-import" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.staedean.com/llms.txt > Use this file to discover all available pages before exploring further. # Sales order import This walkthrough provides an overview of how to import data into Microsoft Dynamics 365 Business Central, involving several tables. In the following example, you import sales order data into Microsoft Dynamics 365 Business Central. ## Prerequisites | Template | Description | Sample file | | --- | --- | --- | | TI_CS_SALESORDER.IN | STAEDEAN Template: Import a Sales Order from File System | SalesOrderDemo.xml | ## Story This connection uses the **File Reader** endpoint to read the sales order in XML format from the file system. The sales order XML file to import does not match the D365 BC table structures, so a **Mapper** activity maps the external (source) document to the internal (target) document. The **Record Generator** activity creates records and updates the D365 BC tables (Sales Header table, Sales Line table, and Item table). ![SO In Pipeline](https://cdn.document360.io/da662430-6a41-47b1-8c7e-7e4ac37a9756/Images/Documentation/DM_SalesOrder_Pipeline.png) ## Setup 1. Import the Connectivity Studio Connection-TI_CS_SALESORDER.IN.zip configuration package. ![SO In](https://cdn.document360.io/da662430-6a41-47b1-8c7e-7e4ac37a9756/Images/Documentation/DM_SalesOrder_Import.png) 2. Open the TI_CS_SALESORDER.IN connection. On the connection page, edit the **File Reader** settings and enter the folder name. You can also choose to leave the files on the file system. ![SO In Settings](https://cdn.document360.io/da662430-6a41-47b1-8c7e-7e4ac37a9756/Images/Documentation/DM_SalesOrder_Settings.png) 3. Copy the sample file `SalesOrderDemo.xml` (from the software package) to a shared file location. ## Process 1. Process the connection. 2. Check the result in Microsoft Dynamics 365 Business Central. ## Result ![SO In Result](https://cdn.document360.io/da662430-6a41-47b1-8c7e-7e4ac37a9756/Images/Documentation/DM_SalesOrder_Result.png) A new sales order is created and available in the Sales Header table. The Message Entries table shows which sales order was created. Use the Transaction Log to see more details for each import. ## Related - [Purchase order export](/bc-purchase-order-export.md)