Documentation/Integration

For administrators

Accounting-system integration

The file boundary between ERP and PalmOrder Server: what to write to outbox and what to take from inbox.

The accounting system integrates with PalmOrder through the inbox and outbox file directories. It does not need to implement the mobile client network protocol itself.

Data for devices

The accounting system writes to outbox:

  • exchange.xml and other configuration files;
  • XML tables with reference data, stock, prices, routes and other data;
  • images and ordinary files required by the mobile application.

Table XML has a <table> root element. PalmOrder Server recognizes this file and creates an SQLite database in its cache when a device requests it.

Documents from devices

PalmOrder Server writes documents to inbox as separate XML files. The accounting system must:

  1. find a new file;
  2. read and validate the document;
  3. post it or return an error under the rules of the specific integration;
  4. move or delete a successfully processed file so it is not imported again.

The server stores files sent by a device separately from documents in inbox/files.

Device-specific paths

By default, all devices use the shared inbox and outbox. An administrator can assign one or both directories to a specific syncName. See Data storage for details.

Verify the initial integration with the First exchange scenario.