Last updated: 16.03.2021

Valid from: 2017.12.00 and later

Importing customers from Excel

To import customers from Excel to the customer registry in Opter, the Excel file that is to be imported has to be in a specific format. The minimum requirement is that it is a tab-separated TXT file with column headings on the first line, and that the file contains a column with a customer code. The column headings in the file are mapped to the fields in the customer registry in Opter. If the column headings do not match the names of the fields in Opter, you can map them manually during the import.

There are three different ways of importing customers:

Step 1: Create an Excel file for import to Opter

If you already have at least one customer in the customer registry in Opter, you can export it and either edit the Excel file directly or use it as a template for a different Excel file that you want to import.

If an Excel file has been created manually, or exported it from a different system, and you want to map the columns in it manually, go to Step 2: Import the Excel file to Opter below.

How to export the customer registry from Opter and create an import file:

  1. Click on Register > Customers.
  2. Click on (Export to Excel) in the toolbar and then on Ok to save the file.
  3. Open the Excel file and add the customers that you want to import into Opter, one on each line.

    Note:

    To import the customers, the Customer code column in the Excel file must be filled in. Customers without a customer code are not imported into Opter.

    If you already have an Excel file with customers, you can rename the columns so that they have the same names as in the export file from Opter.

  4. Delete row 1, with the heading Customers, so that the file looks like this:

  5. Click on File > Save AsBrowse in Excel.

  6. Click on File Format and select Unicode-text (*.txt).

  7. Save the file.

Step 2: Import the Excel file to Opter

If an Excel file has been created manually and you want to import it, or a file has been exported from a different system, you first have to save it as Unicode text (see points 5–7 in step 1 above). Then import the file as follows:

  1. Click on RegisterCustomers.
  2. Click on CustomerImport.
  3. Browse to the TXT file you have prepared and click on Open. A preview of the import opens in Opter.
  4. Check that the information displayed in the three sample columns is what is to be imported into the fields in the Field in the customer registry column. If any of the fields are not correct, you can select the correct column in Column in the import file.
    1. The Customer code field must be mapped to a column in the import file, otherwise no customers are imported.
    2. The same Excel column can be mapped to multiple fields in Opter. The same information is then imported into all those fields. In the example below, the information in the Corporate ID number column in the Excel file is imported to both Corporate ID number and Sales ledger number in the customer registry.
    3. If [None] is selected for an Excel column, no information is imported into that field in Opter. In this example, the telephone number of Phone 2 is not imported into the customer registry.

  5. Click on Import in the bottom right-hand corner. When the import has finished, a message with the result of the import and any errors is displayed. In our example, the corporate ID number has been imported into two fields (5a), and the telephone number has not been imported (5b).

Tip

The import function can also be used to update existing customers, for example if you have to make the same change to several different customers. In Excel, you can do it at the same time for all customers instead of having to open them one by one in the customer registry. Export the customers from Opter, make the edits in Excel and import the customers again with the Import new customers and update existing option selected in the Customer import window.


See also

Customer import (window)

Customers (window)