Collapse AllExpand All

12.6. Export Data

Use the Export Data window to export data from the xTuple ERP database into XML files.

Export Data screen

When you open the Export Data window, you are presented with the following options:

Destination Format

You can choose to export the data either in the default xTuple format or transform that xTuple format using XSLT.

xTuple XML

Choosing this option will export the data in the default xTuple format. The XML element names in the output file follow the query names and columns in the query set selected.

Alternate XML

This option lets you choose an XSLT transformation from the list of XSLT export filters defined on the Section 13.1.4, “Import/Export” screen.

Query Set

A query set is a collection of database queries that are run in sequence. The query set you choose defines the data that will be exported. See Section 12.6.1, “Query Sets and the QuerySet widget” for details.

[ MetaSQL parameter list ]

Once you select a query set from the list, the third table on the screen shows the list of MetaSQL parameters used by that query set. You can edit individual parameters to make them active and give them particular values that will be used to control the execution of the individual queries in the query set. See Section 12.6.2, “MetaSQL Parameter Editor” for details.

The following buttons are unique to this screen:

EXPORT

Run the database queries in the query set to create the XML file.

LIST

Edit the value of MetaSQL parameters which have the type QVariantList.