After you import and apply setup data in the new database, you can start migrating the customer’s existing master data, such as item and customer numbers and names. To make sure that this data is created quickly and accurately in the new company, you should use templates to structure the data.
Typically, you create data templates for the following master data tables:
However, you can create a template structure for and apply it to any table in Business Central .
You can also use data templates for daily operations to create new records that are based on templates. These data templates only work for the supported master data tables. For more information, see, for example, Register New Items.
When you import customer data, such as for items, from a file, the mandatory field data that you have specified is taken from the linked data template. When you create a new item, you only enter general information such as item name, description, and price and then collect the rest of the mandatory field data from a selected data template.
When you create a new master data record, such as a customer card, some fields are mandatory and must be filled in. You can group most mandatory fields, such as posting groups and payment terms, to make creating master data records easier and more stable. For example, you can group mandatory fields for table 18, Customer, as Domestic, Foreign, or Export types.
When you select an existing data template, you must evaluate if the templates that you created for the new company are sufficient for the customer. Review the provided fields and values to determine which templates are appropriate for a new company.
You can also use data templates to create new records quickly. Use them for faster and more accurate data creation. For more information, see Register New Items.
If the default templates do not meet your needs, you can create new templates or add fields to an existing template. If the default templates are sufficient, you can use them to create records based on master data templates.
You can create a new data template if the default templates do not meet the needs of your new company. If you are creating more than one, you may find it useful to adopt a naming convention for the Code field.
Each template consists of a header and lines. When you create a template, you can specify which fields to always apply to data of a certain type. For example, you can create different customer templates to apply to different customer types. When you create the customer using a template, you can use template data to prepopulate certain fields.
You can quickly create a new data template by copying information from an existing data template, which you then edit.
The table ID, table name, and lines of the existing data template are inserted in the new template.
In the Default Value field, enter an appropriate value. In some cases, you may want to use a value that is not a value that is available in the database. In that case, you can select the Skip Relation Check check box, to make it possible to apply data without error.
Since the Default Value field does not have a look up to the corresponding Business Central field options, you copy and paste the value that you want from the related page into the template.
Select the Mandatory check box if users must fill in the field in question.
The check box is informational only. No business logic is enforced. For example, ushers cannot post an invoice if posting groups have not been set up. You can select the Mandatory check box for those fields to have the user fill them in and thereby avoid a posting error later.
You can create an Excel workbook to serve as a template that is based on the structure of an existing database table quickly. You can then use the template to gather together customer data in a consistent format for later import into Business Central .
You can now enter customer data in the Excel worksheet. If you have exported multiple tables, each table will be on its own worksheet. Save the workbook before you continue with the next procedure.
You may encounter the following error when you run an English version of Excel, but have your regional settings configured for a non-English language: "Old format or invalid type library." To fix this error, make sure that the language pack for the non-English language is installed.
When you apply data from a template in Excel to a table that also has a configuration template linked to it in the configuration package, the default field values from the configuration template are also applied.
Any record whose data is applied in this manner is complete, because it consists of data entered by a user in Excel, plus the default values specified by the configuration template.
You can use the structure of data that is contained in the data templates to convert your information into records in the database, one-by-one. To do so, you use the Create Instance function. This is a miniature version of the data migration process and can be useful for prototyping or treating smaller data creation tasks.
The following steps illustrate how to create an item card from an item data template. You can create a record from any data template using the same procedure.
You can apply a data template to any record that is in Business Central and use this technique to change or modify a record. However, when you do this, you overwrite existing values in the record with those of the template. Consequently, you should be careful when you apply a template to existing records.
The Apply Template function overwrites existing data in a record. If this function is used in master data migration, it will overwrite the imported data when you create records.
The following procedure is based on a new customer card.
The default values from the chosen customer template are inserted on the customer card.
Setting Up a Company With RapidStart Services
Administration
Register New Customers
© 2019 Microsoft. All rights reserved.