View source | Discuss this page | Page history | Printable version   

How to export sample data

Objective

The objective of this document is to explain how the Openbravo sample data is exported using the export.sample.data task.

Sample Data Dataset

The tables that will be exported when the export.sample.data task is run are included in the Client Definition dataset. You can read more about datasets in this link.

Note that the way the export.sample.data task currently works, the SQL Where Clause defined in the dataset tables of the Client Definition dataset will be ignored and replaced by a client filter.

Exporting the Sample Data

To export the sample data of a given client, this export.sample.data ant task, available from the Openbravo root folder must be run. It has the following parameters:

For instance, to export the sample data of the 'F&B International Group' client to core using the COPY format, the following command must be used:

ant export.sample.data -Dclient="F&B International Group" -Dmodule=org.openbravo -DexportFormat=copy

For a more detailed info: QA_How_To_Export_Sampledata_POS2

Retrieved from "http://wiki.openbravo.com/wiki/How_to_export_sample_data"

This page has been accessed 4,098 times. This page was last modified on 16 May 2022, at 08:35. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.