PalmOrder Server stores exchange files and service data locally on the computer where it is running. Define these directories before connecting the accounting system: it usually needs access to inbox and outbox.
Standard location
In Windows and portable JVM distribution data is located in the directory PalmOrderServer:
PalmOrderServer/
├── config/
│ └── application.yml
├── data/
│ ├── inbox/
│ ├── outbox/
│ └── cache/
├── logs/
└── palmorder.sqlite
The file palmorder.sqlite is created after the first run. In it, the server stores service settings, data of attached devices and event log.
In the macOS distribution, all this data is located in:
~/Library/Application Support/PalmOrder Server
Do not edit palmorder.sqlite manually or move it while the server is running.
Purpose of catalogs
| Catalog | Content and purpose |
|---|---|
inbox | Documents and files received from mobile devices. The accounting system takes them from here. |
outbox | Files and XML tables prepared by the accounting system for mobile devices. |
cache | Technical databases of formed tables. The server creates and uses this directory itself. |
logs | Server logs. |
Important. Do not use
cacheas the exchange directory with the accounting system. Onlyinboxandoutboxare intended for integration.
Change the default directories
- In Control Panel, open Settings.
- Specify values for Default inbox directory and Default outbox directory.
- Save the settings.
The server will create the directory if it doesn't already exist and check for writability. Changes are applied immediately, without a restart, and are saved in the server data.
The values inbox-path and outbox-path in config/application.yml define the starting directories only before they are first saved in the control panel. More details about the configuration file can be found on the page Configuration.
Separate directories for the device
For a specific device, you can set your own inbox, outbox or both directories. This is convenient when different devices exchange data with different departments or ERP databases.
- Open Devices and find the desired device.
- Click Storage.
- Uncheck Use default inbox or Use default outbox.
- Specify the desired path and save the changes.
If left unchecked, the device will use the default directory. The path for the device takes precedence over the default path:
Шлях для syncName → стандартний шлях із панелі керування → початковий шлях із application.yml
File accesses
The account under which PalmOrder Server is running must have permission to create and write files to all selected directories. If the server is running as a Windows service or a systemd service, check the access of this particular service account.
If ERP is running on another computer, give it network access only to the required directories inbox and outbox. Don't give her access to palmorder.sqlite, cache, or logs.
