Documentation/Data formats

For administrators

Data formats

XML configuration, tables, reference data and documents used by PalmOrder.

On this page

PalmOrder formats consist of mobile-application configuration, incoming tables from the accounting system and documents created on a device.

Configuration

FileWhat it defines
exchange.xmlExchange profiles, documents, tables and ordinary files.
preferences.xmlApplication settings an administrator can change remotely.
tables_columns.xmlColumn views, layouts and actions in lists.
print_forms.xml and pdf_forms.xmlAvailable print forms and their templates.

Every parameter must match the current behavior of the Android application and PalmOrder Server.

XML tables

A table file has a <table> root element, a <schema> section with fields and a <data> section with records. UTF-8 is the recommended encoding.

The order of <f> values in every <record> must exactly match the order of fields in <schema>.

Documents

A document has a header and can have one table section:

  • every <document> in exchange.xml allows no more than one docTable;
  • a document without lines may not have docTable;
  • the output XML for such a document contains no more than one <table> element with lines.

See First exchange for a practical configuration and received-order example.