Import and export cost templates

Export all cost templates of a client as an Excel or CSV file, take them over for another client or change prices in the file and load them back.

Many of your clients get almost the same cost templates. Instead of creating every template again by hand, you export all templates of one client in the selected warehouse as an Excel or CSV file, adjust names and prices and import the file for another client. The same way you can update the templates of a client: export, change the prices in the spreadsheet and load the file back with Update (Aktualisieren).

The file contains: Storage space costs, Article costs, Order costs, Material costs, Unloading costs, Invoice items, the Shipping cost matrix, Pallet costs and VAS templates. Recorded VAS and individual positions are bookings, not templates, and are not part of the file. Templates are never deleted by an import.

Screenshot: Page "Template import/export" with the card "Export templates" (client, format Excel or CSV, button Export) and the card "Import templates" (client, file, existing templates "Create only" or "Update", option to create all templates inactive, button Upload and import)
Screenshot: Page "Template import/export" with the card "Export templates" (client, format Excel or CSV, button Export) and the card "Import templates" (client, file, existing templates "Create only" or "Update", option to create all templates inactive, button Upload and import)

Before you start

  • Your user needs the permission Template import/export (Vorlagen Import/Export) in the cost settings of the rights tree. Users who already had the cost settings got it automatically – otherwise ask your administrator.
  • Select the warehouse in the warehouse drop-down at the top right. Templates always belong to a warehouse; without a warehouse you see "Please select a warehouse." (Bitte wähle ein Lager aus.).
  • You are logged in as the logistician. The client list shows your own company, marked "(Logistician)" ((Logistiker)), and your active clients.

Step by step

1. Export the templates of a client

  1. Open WMS › Settings › Cost settings › Template import/export (WMS › Einstellungen › Kosteneinstellungen › Vorlagen Import/Export).
  2. In the card Export templates (Vorlagen exportieren), choose the Client (Mandant) whose templates you want to export.
  3. Choose the Format (Format):
    • Excel (one sheet per cost type) (Excel (ein Tabellenblatt je Kostenart)) – each cost type on its own sheet, e.g. "Lagerplatzkosten".
    • CSV (column "bereich" names the cost type) (CSV (Spalte „bereich“ nennt die Kostenart)) – one file, the first column names the cost type.
  4. Click Export (Exportieren). Your browser downloads kostenvorlagen_<client>_<date>.xlsx or .csv.

2. Edit the file

  • Change names, descriptions, prices or categories, delete rows you do not need or copy rows.
  • Do not rename the column headers.
  • Leave the column id as it is if you want to update the templates later; leave it empty for new rows.

3. Import the file

  1. In the card Import templates (Vorlagen importieren), choose the Client (Mandant) the templates are for. The client named in the file does not matter.
  2. Under File (Excel or CSV) (Datei (Excel oder CSV)), select the file.
  3. Under Existing templates (Vorhandene Vorlagen), choose what happens with the column id:
    • Create only (Nur neu anlegen) – every row becomes a new template, id is ignored. Use this to take over the templates of another client.
    • Update (Aktualisieren) – a row whose id names a template of this client overwrites that template; all other rows are created as new templates. Use this for new prices.
  4. Optional: tick Create all templates inactive (check first, then activate) (Alle Vorlagen inaktiv anlegen (erst prüfen, dann aktivieren)). New templates then do not count on the client billing until you switch them to Active.
  5. Click Upload and import (Hochladen und importieren). You see e.g. "12 templates were created for Summit Outdoor Gear Ltd." (12 Vorlagen wurden für … angelegt.) or, with Update, "… created, 5 updated".

4. Check the result

The card Result (Ergebnis) shows per cost type how many templates were Created (Angelegt), Updated (Aktualisiert) and Skipped (Übersprungen), and the service categories that were newly created. The card Hints (Hinweise) lists every row X-Sitter had to adjust, e.g. an article number that does not exist.

Screenshot: Card "File structure" at the bottom of the page listing each cost type with its key for the CSV file and its columns
Screenshot: Card "File structure" at the bottom of the page listing each cost type with its key for the CSV file and its columns

Fields and options

Field Meaning Required
Client (Mandant, export) Your own company or one of your clients whose templates are exported. yes
Format (Format) Excel: one sheet per cost type. CSV: one file; the column bereich names the cost type (space, articles, picklist, material, unloading, positions, shipping, pallets, vas). yes (default Excel)
Client (Mandant, import) Client for whom the templates are created or updated. yes
File (Excel or CSV) (Datei (Excel oder CSV)) .xlsx, .xls or .csv. CSV with semicolon, comma or tab, UTF-8 or Windows-1252. yes
Existing templates (Vorhandene Vorlagen) Create only (default) or Update, see above. yes
Create all templates inactive (Alle Vorlagen inaktiv anlegen) Every newly created template is inactive, whatever the file says. An update takes is_active from the file. VAS templates have no active flag. no

Columns of the file

The card File structure (Aufbau der Datei) at the bottom of the page lists the columns of every cost type. They are the fields of the templates:

Column Content
id Key of the template, filled by the export. Only used by Update; leave it empty for new rows.
name, description Name and description of the template. Rows without name are skipped.
category Name of the service category. A category the warehouse does not have yet is created.
is_active, valid_from, valid_to, valid_yearly Active flag and validity period (not for VAS templates).
e.g. costs, billing_type, period The fields of the cost type, as in its form.
article_sku Article number of the article (article costs).
country_iso, weight_from, weight_to, price_net, purchase_price Fields of the shipping cost matrix.
single_cost, quantity, every_bill Fields of the invoice items.
default_costs Price of a VAS template.

Values: yes/no fields take 1/0, ja/nein or x; dates DD.MM.YYYY or YYYY-MM-DD; amounts with comma or point. Unknown columns are ignored, missing columns get the default value.

Good to know / Troubleshooting

  • The import runs as a whole: if a row cannot be written, nothing is saved.
  • Imported active templates count on the client billing right away. Use the option Create all templates inactive if you want to check them first.
  • The article of an article cost template is found by its number – preferably the article of the target client, otherwise your own. If it does not exist, the template is created without an article (with Update the previous article stays).
  • For a price change at a fixed date in a single template, use Price change from a date in the template form, see Validity period.
  • The cost type names (sheet names, result table, hints) are always German, e.g. Lagerplatzkosten, Auftragskosten.
Message Cause Solution
No authorization (Keine Berechtigung) The permission Template import/export is missing. Ask your administrator.
Please select a warehouse. (Bitte wähle ein Lager aus.) No warehouse selected. Select the warehouse at the top right.
Bitte wähle den Mandanten, für den die Vorlagen angelegt werden sollen. (please choose the client the templates are created for) Import without a client. Choose the client.
Der Mandant gehört nicht zu deiner Firma. (the client does not belong to your company) The client is neither your company nor one of your active clients. Choose a client from the list.
The import failed, nothing was saved. (Der Import ist fehlgeschlagen, es wurde nichts gespeichert.) The file cannot be read or a row could not be written. Check the file (Excel or CSV, header row unchanged) and upload it again.
Hint "…, Zeile n: ohne Bezeichnung übersprungen." (row without name skipped) The column name is empty. Fill in the name or delete the row.
Hint "…: Artikel "…" nicht gefunden, …" (article not found) The article number does not exist. Assign the article in the template form after the import.
Hint "n Zeilen nannten eine ID, die es bei diesem Mandanten nicht gibt …" (rows with an unknown id were created) Update with the file of another client, or the wrong client chosen. Intended when taking over templates; otherwise delete the new templates and import again with the right client.