1. Click > > > .

  2. Select the relevant definition group in the list, and then click the button to open the form.

  3. The form looks different depending on the type of the definition group:

    • For definition groups:

      Tab page

      Add or remove tables, and for each table:

      • Define whether notes are included when data is imported or exported. The option is relevant only if you add a document of the type by using the document management system.

      • Select whether a query should be used to limit the data that is exported from each table, and set up the query by selecting .

    • For definition groups:

      Tab page

      Add or remove tables, and for each table:

      • In the column, define how export is performed. You can select , , or .

        Note Note

        If the status is or , then the table will not be included in any later exports.


      • In the column, define how import is performed. You can select , , , or .

        Note Note

        If the status is or , then the table will not be included in any later import.


      • In the column, select the file from which data is imported or to which data is exported.

      • In the column, select whether special criteria should be used for the export, for example only customer account numbers within a certain range or customers from certain ZIP codes.

        When it is selected, the actual criteria are defined by clicking the button.

      • In the column, select whether to exclude a table from export or import instead of removing it from the definition group.

      • In the column, select whether data should be validated, and if so, whether it is validated after each field or after each table.

        • If is selected, then validateWriteis executed.

        • If is selected, then validateFieldand validateWriteare executed.

      This tab also displays status after data has been exported or imported.

      Setting up this tab is optional.

      Add X++ code to manipulate data before it is added to tables in Microsoft Dynamics AX during import.

      Setting up this tab is optional.

      Add X++ code to manipulate data before it is added to the current record in Microsoft Dynamics AX during import.

      This code is executed after any code on the tab.

      Setting up this tab is optional.

      This tab is a status page for import or export success. You can select whether to view a log file for information about data that was not imported.

      Preview the data that is to be exported or imported by using the settings that are defined on the other tabs.

      If no file exists, you receive an error message.

    • For definition groups:

      Note Note

      You can use definition groups for import only.


      Tab page

      Add or remove tables, and for each table:

      • In the column, define how import is performed. You can select , , , or .

        Note Note

        If the status is or , then the table will not be included in any later import.


      • In the column, select the file from which data is imported.

      • In the column, select whether data should be validated, and if so, whether it is validated after each field or after each table.

        • If is selected, then validateWriteis executed.

        • If is selected, then validateFieldand validateWriteare executed.

      This tab also displays status after data has been imported.

      • Use to specify how the fields are separated in the import file. If a separator is not defined, then the start and end positions must be defined by using .

        The number of fields in each record is automatically calculated when you select the field separator.

      • The field is the same as the one on the tab. We recommend that you use either level or level validation.

      • In the drop-down list, select the field that is unique for each record. After a record with that identifier is imported, duplicate records are skipped.

      Setting up this tab is optional.

      Add X++ code to manipulate data before it is added to tables in Microsoft Dynamics AX during import.

      Setting up this tab is optional.

      Add X++ code to manipulate data before it is added to the current record in Microsoft Dynamics AX during import.

      This code is executed after any code on the tab.

      Setting up this tab is optional.

      This tab is a status page for import success. You can select whether to view a log file for information about data that was not imported.

      Preview the data that is to be exported or imported by using the settings that are defined on the other tabs.

      If no file exists, you receive an error message.

  4. To set up individual fields for each table, click the button.

    The form looks different depending on the type of the definition group. For complete guidelines about how to set up the form, see Fields (form).

  5. Close the form to save the setup.

  6. To start the actual export or import, click or on the dialog box ( > > ).

See Also