You can migrate existing customer data from an existing ERP system to Business Central using the data migration tools of RapidStart Services. You can use Excel files as the data carrier. You can also manually move the data by entering it directly in the company.
The Migration Overview and Config. Worksheet pages provide access to the functions and views to perform all the tasks that relate to data migration. We recommend that you migrate one table at a time, to handle dependencies in your data. In migration, you will also touch the master data tables, which contain information about customers, vendors, items, contacts, and the general ledger.
When you create a new company, you can import company settings for the new company. You import the settings from a .rapidstart file, which delivers the package contents in a compressed format. A corresponding set of default data migration tables are imported. The data set contains master data tables and the setup data tables. Your first task in data migration is to evaluate if the default migration setup meets the needs of the new company.
You cannot rename a file that is not already a RapidStart Services configuration package as a .rapidstart configuration package file and then try to import it. If you try to do so, you will receive an error message.
Before you start, make sure that you are on the RapidStart Services Implementer Role Center.
When exporting and importing configuration packages between two company databases, the databases should have the same schema to make sure that all data is transferred successfully. This means that the databases should have the same table and field structure, in which the tables have the same primary keys and fields have the same IDs and data types.
You can import a configuration package that has been exported from a database that has a different schema than that target database. However, any tables or fields in the configuration package that are missing in the target database will not be imported.
Tables that have different primary keys and fields that have different data types will also not be successfully imported. For example, if the configuration pack includes table 50000 Customer that has primary key Code20 and the database to which you import the pack includes table 50000 Customer Bank Account that has the primary key Code20 + Code 20, data will not be imported.
Choose the Import Package action. Navigate to the .rapidstart package file that you want to import, and then choose the Open action. During import, the package contents are decompressed and the package record is created.
When the import is complete, you can see the number of configuration tables that have been imported in the No. of Tables field.
To apply the package, choose the Apply Package action.
The data migration information is based on configuration templates, if you specify one. You must update the template first to change the list of fields.
To review the field selections, select a table, and then, on the Lines tab, choose the Fields action. Compare and review the number of fields that are available to the number of fields whose data has been applied.
If the selection of tables does not meet your needs, you can create one or more new data migration files. If the files are sufficient, you can continue with the data migration using Excel or XML files.
You can create new data migration files and customize them to support your business. Note that a file can only be used to migrate a field that has its FieldClass property set to Normal.
If the Include Field check box is selected by default, that field is part of the primary key. The selection should not be cleared, or errors will be introduced and the record cannot be imported.
If you include a field that has a relationship with another table, the Validate Field check box is automatically selected. Validation can result in the update of other fields in this and other tables and is executed in the order of the field number.
A new migration table is created.
When you have determined the tables that you want to transfer customer data to, you export the files.
If the table is empty, the resulting data migration file contains empty cells for the fields you selected when you chose or created migration tables for your new company. If the selected data migration table contains data, it will be exported.
When you apply data that you have imported from Excel or from a RapidStart package, Business Central treats and handles the mapping based on table relations:
If you define a mapping directly for a field in a table, then Business Central uses it.
If the field has a relation to another table, Business Central searches for the mapping defined for the primary key field in the related table. The related table, however, must be part of the configuration package.
If mapping information is defined in both places, for the field directly and for the primary key in the related table, then Business Central will search for the mapping in both places.
If the same mappings are defined directly for a field and in the related table, but have different new values, the mapping that is defined directly for the field takes priority over the mapping that is defined for the table that the field is referencing.
In the following procedures, you should review in advance which values you want to retain during the migration process. To perform the following procedures, you need data migration files (.xlsx) that you have exported from Business Central . For more information, see To export data migration files.
The following example illustrates how Business Central implements mapping definitions.
In some cases, you may want to clean up customer data and process it before you apply it to the database. To do that, you can use the Config. Package - Process batch job to fix issues, such as:
When you have run the batch job, use the following procedure to process the data.
When you have exported a migration table, your next step is to enter the customer’s legacy data. To simplify your tasks, you can take advantage of the XML manipulation tools that are built into Excel. You can also use Excel built-in functions to help with data formatting and to put data in the correct cell.
For assistance with XML, enable the Developer tab of the Excel ribbon, and then choose the Source action to see the XML schema of your migration table as represented in Excel.
The following procedure is based on an Excel worksheet that you have created for migration. For more information, see To export data migration files.
Do not change the columns in the Excel worksheets. If they are moved, changed, or deleted, the worksheet cannot be imported into Business Central .
You are now ready to import the data migration files that contain customer legacy data into Business Central .
When the customer data has been entered in the data migration files in Excel, you import the files into Business Central .
On the Config. Package Import Preview page, review the content that will be imported.
The Config. Package Import Preview page provides an overview of the Excel file content to be imported. It also indicates if a new configuration package is created or the existing one is updated, and if new configuration package lines (tables) are created or existing ones are updated.
Data from the file is imported into the configuration package tables. In the No. of Package Records field, you can see the number of records that have been imported. In addition, you can see the number of migration errors.
Customer data must be validated before you apply the records to the Business Central database.
In most cases, invalid data is not created in the database. However, the application can occasionally be blocked if an imported migration table contains errors.
To review errors, select a line, and then choose the Show Error action.
The Error Text field contains the reason for the error. The Field Caption field contains the caption of the field that contains the error.
When you make a correction, the record is removed from the list of records on the Migration Data Errors page.
You are now ready to apply the customer’s data to the database.
When you have imported all data migration records that are valid and have no errors, you can apply the records to the Business Central database.
You can see the number of database records that have been created in the No. of Database Records field. You can verify that the correct records have been created by choosing the link in the No. of Database Records field.
The customer’s company database is now set up and basic data is imported. Your next steps in the implementation process are to train users, define processes, create additional data, customize reports, and so on.
Setting Up a Company With RapidStart Services
Administration
© 2019 Microsoft. All rights reserved.