> > > >

Use this form to add or remove tables from a definition group.

Tip Tip

The button is only active if a definition group exists.


Tasks that use this form

Navigating the form

The following links and tables provide descriptions for the controls in this form.

Tabs

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

For definition groups:

Tab page

Add or remove tables, and for each tabledefine export options.

For definition groups:

Tab page

Add or remove tables, and for each tabledefine import and export options.

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

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.

Optional. 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 first line of data that is to be exported or imported 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 tabledefine import options.

Define separators and data validation level.

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

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.

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 first line of data that is to be imported using the settings that are defined on the other tabs.

Buttons

The buttons available depend on the definition group type.

Button

Description

Open the form to view the list of fields included for each table. You can exclude individual fields from the data export or import.

This button is only enabled for and definition groups. Also, the on the tab must be selected.

Set up additional criteria for the data to export or import. For example, you can specify to export a specific customer group instead of all customers in the customer table.

This button is only enabled for and definition groups.

Fields

Field

Description

View, add, or delete tables in the definition group.

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 clicking .

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 selected, the actual criteria are defined by clicking the button.

Displays status after export.

Note Note

The field is more than status fields. If the status is or , the table is not included in any later exports. Make sure that status is set to .


Displays status after import.

Note Note

The field is more than a status field. If the status is or the table will not be included in any later import. Make sure that status is set to or .


Select a file for export.

Select whether to exclude a table from export or import instead of removing it from the definition group.

A unique identifier for use when the table is included more than one time in the definition group.

Select to actually run the X++ code written on the tab page.

The code can be used to manipulate data before it is added to tables in Microsoft Dynamics AX during import.

View the date, time, and number of records for the most recent import or export.

View the number of records imported during the most recent import.

View information about the most recent import: number of records not imported. The path of a log file that contains details is provided.

and

Select whether data should be validated, and if validation is performed on each row. If is selected, validateWriteis executed; if is selected, validateFieldand validateWriteare executed.

Use to specify how the fields are separated in the import file.

Note Note

If a separator is not defined, start and end positions must be defined by using .


Select the field that is unique for each record. After a record that contains the identifier is imported, duplicate records are skipped.

See Also