Before importing data you must configure the import. First, you need to create mappings for lookup tables.
This form is used to create a new lookup mapping.
In the Name of the new lookup mapping field, enter a name that uniquely identifies this setting, as this name is the only thing shown in the settings dropdown.
The Lookup mapping description field is just a short note that is displayed only in the lookup mapping detail.
In the Select lookup section, first choose the lookup from the dropdown and only then fill out the Fill in the corresponding values for lookup mapping section, because changing the lookup will clear that section.
In the Fill in the corresponding values for lookup mapping section, enter the individual values from the input file and their corresponding meaning.
This form contains a list of all created lookup mappings for the lookup selected in Select lookup. It allows you to edit them (by clicking Edit) or delete them (by clicking Delete).
You access this form from the lookup mapping list. It displays the lookup mapping and allows you to edit it. Edited mappings can be saved by clicking Save. Click Back to return to the lookup mapping list without saving changes. For more about the fields in this form, see the New Lookup Mapping form help.
A lookup mapping contains information about what the values in the input file mean. Mappings are created for the lookups: shipment types, currencies, countries, and delivery time ranges. Mapping is not needed if it matches the predefined mapping. The predefined shipment type mapping is named “-Shipment Type-” and contains these values:
| Value in imported file | Meaning in lookup |
|---|---|
| 1 | PPL Parcel CZ Business |
| Firemní balík | PPL Parcel CZ Business |
| 2 | PPL Parcel CZ Business – cash on delivery |
| Firemní balík – dobírka | PPL Parcel CZ Business – cash on delivery |
| 7 | PPL Morning Parcel |
| Dopolední balík | PPL Morning Parcel |
| 8 | PPL Morning Parcel – cash on delivery |
| Dopolední balík – dobírka | PPL Morning Parcel – cash on delivery |
| 9 | PPL Export Parcel |
| Exportní balík | PPL Export Parcel |
| 10 | PPL Export Parcel – cash on delivery |
| Exportní balík – dobírka | PPL Export Parcel – cash on delivery |
| 13 | PPL Parcel CZ Private |
| Soukromý balík | PPL Parcel CZ Private |
| 14 | PPL Parcel CZ Private – cash on delivery |
| Soukromý balík – dobírka | PPL Parcel CZ Private – cash on delivery |
| 36 | PPL Parcel Connect |
| PPL Parcel Connect | PPL Parcel Connect |
| 37 | PPL Parcel Connect – cash on delivery |
| PPL Parcel Connect – dobírka | PPL Parcel Connect – cash on delivery |
| 38 | PPL Parcel International |
| PPL Parcel International | PPL Parcel International |
| 46 | PPL Parcel CZ Smart |
| PPL Parcel CZ Smart | PPL Parcel CZ Smart |
| 47 | PPL Parcel CZ Smart - cash on delivery |
| PPL Parcel CZ Smart - dobírka | PPL Parcel CZ Smart - cash on delivery |
| 48 | PPL Parcel Smart Europe |
| PPL Parcel Smart Europe | PPL Parcel Smart Europe |
| 49 | PPL Parcel Smart Europe - cash on delivery |
| PPL Parcel Smart Europe - dobírka | PPL Parcel Smart Europe - cash on delivery |
| 52 | PPL Parcel Smart To Box |
| PPL Parcel Smart To Box | PPL Parcel Smart To Box |
| 53 | PPL Parcel Smart To Box - cash on delivery |
| PPL Parcel Smart To Box - dobírka | PPL Parcel Smart To Box - cash on delivery |
The predefined currency mapping is named “-Currency Code-” and contains these values:
| Value in imported file | Meaning in lookup |
|---|---|
| CZK | Czech crown |
| EUR | Euro |
| HUF | Hungarian forint |
| PLN | Polski zloty |
| RON | Romanian leu |
The predefined country mapping is named “-Country Code-” and contains these values:
| Value in the imported file | Meaning in the dictionary |
|---|---|
| AT | Austria |
| Austria | Austria |
| BE | Belgium |
| Belgium | Belgium |
| CZ | Czech Republic |
| Czech Republic | Czech Republic |
| DE | Germany |
| Germany | Germany |
| DK | Denmark |
| Denmark | Denmark |
| EE | Estonia |
| Estonia | Estonia |
| ES | Spain |
| Spain | Spain |
| FI | Finland |
| Finland | Finland |
| FR | France |
| France | France |
| GB | United Kingdom |
| United Kingdom | United Kingdom |
| HU | Hungary |
| Hungary | Hungary |
| CH | Switzerland |
| Switzerland | Switzerland |
| IE | Ireland |
| Ireland | Ireland |
| IT | Italy |
| Italy | Italy |
| LT | Lithuania |
| Lithuania | Lithuania |
| LV | Latvia |
| Latvia | Latvia |
| NL | Netherlands |
| Netherlands | Netherlands |
| NO | Norway |
| Norway | Norway |
| PL | Poland |
| Poland | Poland |
| PT | Portugal |
| Portugal | Portugal |
| SE | Sweden |
| Sweden | Sweden |
| SI | Slovenia |
| Slovenia | Slovenia |
| SK | Slovakia |
| Slovakia | Slovakia |
| US | USA |
| USA | USA |
The predefined delivery time range mapping is named “-Time Range Name-” and contains:
| Value in imported file | Meaning in lookup |
|---|---|
| 1 | Day |
| Day | Day |
| 2 | Evening |
| Evening | Evening |
The predefined Age Check mapping contains:
| Value in imported file | Meaning in lookup |
|---|---|
| 15+ | Recipient older than 15 years |
| A15 | Recipient older than 15 years |
| 18+ | Recipient older than 18 years |
| A18 | Recipient older than 18 years |
The predefined weight mapping (only for shipments to Germany):
| Value in imported file | Meaning in lookup |
|---|---|
| 0+ | Under 10 kg |
| 10+ | 10–20 kg |
| 20+ | Over 20 kg |
If the values in your imported file match the “Value in imported file” column and their meaning matches the “Meaning in lookup” column, you do not need to create any lookup mapping. Otherwise, see the help for creating and editing lookup mappings. Once configured, a lookup mapping can be used in any import setting.
The next step is to configure the import itself. This is done separately for customers and shipments and in both cases is divided into two parts: configuring the input data format and mapping which input file column corresponds to which customer or shipment field. Below I discuss the common properties of the customer and shipment import configuration forms.
Enter a name in Configuration name that uniquely identifies this setting, as it is the only thing shown in the settings dropdown.
In Type of imported file, first select the file type from the dropdown and only then fill in the other fields, because changing the file type will display different configuration options.
If you check Import records with errors, records that encounter the following errors will still be imported:
You will be informed of these errors, but you will have to delete or update the erroneous records manually, which can be time-consuming for large batches.
Fixed-width file import expects a text file where rows are separated by a row delimiter and columns occupy a fixed number of characters.
Delimited file import expects a text file where one delimiter separates columns and another separates rows.
To configure XML import you need basic knowledge of XML structure. If you are unfamiliar with XML, see here. XPath is used to identify attributes and elements. You generally only need the subset covered in Minimum XPath. For more, see here.
An XML helper in the app suggests possible continuations of your XPath. To use it, select a test file containing all elements/attributes you need, then click Apply next to the file field. If successful, you will see “Test file loaded.”
In Select elements representing rows, enter an absolute XPath (starting at the document node) that selects all elements to be treated as individual shipments or customers (default /*/* selects all direct children of the root).
Unlike tabular imports, XML import mapping cannot use column indexes. Instead, use XPath starting from each row element to reach the element or attribute for each field. This XPath supports the operators + (concatenate with space) and ; (first non-empty) like tabular imports—escape them as \+ and \; if used literally, and escape \ as \\. For example:
ulice + cislo_domu ; ulice_a_cislo_domu
This concatenates <ulice> and <cislo_domu> with a space, or if both are empty, uses <ulice_a_cislo_domu>. If an XPath returns multiple nodes, their values are joined with spaces. If an element has children, all text content is included.
Below the file-type–specific settings, configure column numbers (except for XML), default values if a column is missing or conversion fails, and lookup mappings. A column number field can contain multiple column indexes separated by + and ; (with -s prefix to suppress spaces). For example:
1+2;3 -s 1+2;3
A column index can also be literal text in quotes:
10;"CZK"
This imports column 10 or, if missing, the text CZK. To include quotes in text, double them:
"Faktura ""321654"""
Once the import configuration is set up, you can reuse it to import data repeatedly. After import, all data is inserted into the database and a form showing imported records and any errors appears. You can delete or edit records here. For more, see the customer and shipment import form help.