Import customers cards
Use these steps to enter many customers at once from a text file, with an account for each customer. The example on this page imports two new customers under the main account 121 Customers.
Before you begin
- Make sure you have the Import Customers Cards permission in Users Management, that the file is open in the normal mode (not multiple-files mode), and that your licence includes the customer cards feature.
- Prepare the text file: one line per customer, columns separated by a
Tab, a comma, a semicolon or another character, and an optional header line at the top. Save it in Unicode so the program reads Arabic names. - Every line must hold the customer name. The program skips empty lines and reads the file to its end. The program ignores any customer whose name exists in the open file unless you ask for an update.
- Back up the file if you will update existing cards: the import changes the cards directly.
An example of a file with a header line and two lines, with tab-separated columns:
Customer Name Phone1 Percentage Discount Default Price
Alrowad Est. 0550000011 3 Wholesale
Alofuq Est. 0550000012 0 Retail
Steps
- Open File > Import & Export and click Import Customers Cards. The introduction appears.
- Click Next. If the Import Type page appears, leave Import from Ordinary File and click Next.
- Type the path of the file in the box, or click the browse button next to it and choose the file, then click Next.
- Choose Create Account Cards under the Following Main Account, then choose the account
121in Main Account and click Next. - Choose Tab (or the separator that separates the columns of your file) and click Next.
- Leave Update Customers Cards If Names are Repeated cleared, and click Next.
- Type
2in Start line to skip the header line. Then choose in the first row of the grid what each column holds: Customer Name, Phone1, Percentage Discount and Default Price. Check the columns against the lines of the file under the lists. The grid shows the file from its first line whatever the Start line. - Click Start. The program checks your choices, and if something is missing a message names the field. Correct it and click Start again.
- Answer Yes to the question "Are you sure to start importing customers cards?". The progress bar appears, then the result message. Close it.
- A window with the buttons Preview and Close appears. Click Preview to see the report of operations, or Close.
Result
In the example the message " Importing customers cards has been completed." appears, with "Total of imported customers2" under it and then "Total cards appended: 2". The customers Alrowad Est. and Alofuq Est. have a card and an account under the account 121, and the code of each account starts with 121 followed by a serial number. The first has the discount 3 and the default price Wholesale, the second Retail. The report shows two lines, each with the operation Add.
The program saves the columns you chose, the file, the separator and the update option and shows them next time. It also clears the options to send text messages, email and WhatsApp on each new card. See File columns.
If something goes wrong
| Message or case | Why it appears | What to do |
|---|---|---|
| "Main account must be selected" | You chose to create the accounts under a main account but did not choose it. | Choose the account in step 4. |
| "Used Account" | The chosen main account has movements or is linked to a card. | Choose a main account that is not used. |
| "You must specify the field: …" | You did not choose a column for the customer name. | Choose Customer Name for one of the columns. |
| "Field duplicated: …" | You chose the same field for two columns. | Choose None for one of the two columns. |
| A line in the report has the operation Ignore and "Name is duplicated" | The customer name exists and you did not select the update option, or the name is repeated in the file. | Select the update option in step 6, or change the name in the file. |
| Ignore and "Barcode is duplicated" | Another customer uses the barcode. | Correct the barcode. |
| The Customers cards not imported window appeared | The program recorded customers it did not import. | Click Ok to save the rest, or Cancel to undo the whole import. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.