Import materials and customers
Importing adds hundreds of items or customers at once from a file. Use it when you start with tablies, or to add a large group of items. It adds new records and never changes existing ones.
| File | When to use it | What it imports |
|---|---|---|
| CSV File | You have a table from any program, or you fill in a ready template. | Items and services, or customers and their addresses, in two separate files. |
| XML File | You have a file exported from AlAmeen ERP. | Units, categories and customers together. Currently it does not import the items; import them from a CSV file. |
Before you begin
- You need the View and Add permissions for Settings in the Settings section, on the Permissions tab of the user record.
- To import items from CSV: add the units first, because the import does not create them. See Units of measure. Categories and tags are created automatically.
- To import customer addresses from CSV: add the countries and areas first. See Countries and areas.
- The import recognizes existing items, categories and customers by their English names. If English is not one of your languages, importing a file twice adds duplicate records. A file with Arabic names adds again an item or category whose English name is different.
An import cannot be undone. Try a file with a few rows first, and check the result before you import the whole file.
Steps
Import a CSV file
-
In the side menu, open Settings, then click the Import Data tab.
-
Click CSV File.
-
In Import type, choose Material & Service or Customers. It starts with Customers.

-
If you don't have a file, click Download CSV Material & Service Template or Download CSV Customers Template, fill it in with a spreadsheet program, and save it as CSV in UTF-8. Keep the column names as they are.
-
Drag the file to its area, or click Upload and choose it.
-
In the Upload file window, click Review File.
The Review File step opens with the first five rows.
-
If a notice lists unmatched or missing columns, click Map Columns. Choose a field for each column, or Don't Import, then click Save.

-
Check the preview, then click Start Import.
-
In the Result step, read the summary. If rows failed, click Download Error Records.

Fix the failed rows
- Open
import-error-records.csv. Its row numbers count the column-names row as 1. If a row is listed twice with the same reason, correct it once. - Make a file with only the failed rows, and correct them. Rows that were imported are rejected if you import them again, because their names now exist.
- Click Upload Another File and import the corrected file.
Import an XML file
The XML import adds units, categories and customers. Currently it adds no items, so the number of new materials is always 0. Import the items from a CSV file.
- In the side menu, open Settings, then click the Import Data tab.
- Keep XML File chosen, then drag the file to its area, or click Upload and choose it.
- Click Start Import and wait until the Upload file window closes.
- Read the numbers in the results window, then click Back.
Result
Items show in the Materials & Services list and customers in the clients list. After the import, complete what does not come from the file:
- Translations of the names. The same name is stored in all languages.
- Item pictures and taxes.
- Prices of items priced zero or below
1. - Definitions of prepared materials and combos. See Define prepared materials and Create combo meals.
- Placing the items in menus. See Create menus.
If something goes wrong
| Message | Why it appears | What to do |
|---|---|---|
| The CSV file contains only column headers with no data rows. Please add data and try again. | The file has no data rows. | Add the rows and save the file. |
Request failed with status code 400 | The file format is not accepted, or its data is invalid or incomplete. | Check that the file has the chosen format, then try again. |
| Unit '...' does not exist | The unit name does not match a unit in tablies. | Add the unit, or correct its name. |
| Material name '...' already exists | The name is repeated in the file, or exists in tablies. | Change the name or delete the row. |
| Area '...' is not a known area | The address area is not defined, or the address has no area. | Add the area, or empty all fields of the address. |
All messages are listed in Import Data.
Related
- Import Data screen: every field and column
- Add materials and services
- Manage clients