--- title: "RECORDGENERATOR activity" slug: "bc-recordgenerator-activity" tags: ["BC", "BIS", "Business Central", "Business Integration Solutions", "Concept", "Task"] updated: 2026-06-25T09:59:07Z published: 2026-06-25T09:59:07Z canonical: "docs.staedean.com/bc-recordgenerator-activity" --- > ## 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. # RECORDGENERATOR activity In Business Integration Solutions, use the **RECORDGENERATOR** activity to write records into Microsoft Dynamics 365 Business Central. ## Usage Use this activity to convert an XML document into Microsoft Dynamics 365 Business Central records. ## Concept An import pipeline reads data from an external system and, through various pipeline elements, translates the data into a readable XML document. Based on an internal document definition, the **Record Generator** reads the data from the XML document and writes it into Microsoft Dynamics 365 Business Central. > [!NOTE] > **Note** > > Make sure the external data written into Microsoft Dynamics 365 Business Central has recordgenthe same data type as in the internal table structure. When the file contains data of a different type, the **Record Generator** returns an error. XML input ➡️ [Record Generator] ➡️ [Microsoft Dynamics D365 BC] ## Setup page ![Preview_app_structure1](https://cdn.document360.io/da662430-6a41-47b1-8c7e-7e4ac37a9756/Images/Documentation/BISRecordGenerator1.png) - **Document No.:** The **Record Generator** creates the records based on the internal document's table settings and defined relations. - **Transaction log:** When the transaction log is enabled, all generated records are logged in the message transaction log. - [Design button](/business-central/docs/bc-set-up-an-internal-document): Opens the internal document in design mode. | To | See | | --- | --- | | Manipulate records with custom connectors | [Custom connector](/business-central/docs/bc-custom-connector) | | Manipulate records with record handlers | [Record handlers](/business-central/docs/bc-record-handlers) | ## Set up RECORDGENERATOR activity Set up the [RECORDGENERATOR](/business-central/docs/bc-set-up-the-record-generator-activity) to generate records into Microsoft Dynamics 365 Business Central. ## Related - [Set up the Record Generator activity](/bc-set-up-the-record-generator-activity.md) - [Set up an internal document](/bc-set-up-an-internal-document.md) - [Record handlers](/bc-record-handlers.md) - [Custom connector](/bc-custom-connector.md)