View source | Discuss this page | Page history | Printable version   
Toolbox
Main Page
Upload file
What links here
Recent changes
Help

PDF Books
Add page
Show collection (0 pages)
Collections help

Search

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

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

This page has been accessed 452 times. This page was last modified on 28 November 2016, at 08:02. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.