Manage contacts
A Contact is a person you communicate with. It stores the person's name, role, email addresses, and phone numbers. A Contact can link to a Customer, a Supplier, a Lead, a Sales Partner, and other parties. One Contact can link to several parties.
Create a contact from a customer
This is the usual way. ERPNext links the contact to the customer for you.
- Open the Customer (or Supplier).
- In the Address & Contact section, select New Contact.
- Enter the first name and last name, the designation, the email, and the phone.
- Save.
Create a stand-alone contact
- Open the Contact list and select Add Contact.
- Enter the name, the status, and the designation.
- Add rows to the email table and the phone table. Mark one email and one phone as primary.
- In the Links table, add a row for each party: select the DocType (for example Customer) and the party.
- Save.
A Contact without links is allowed. You can link it later.
Contact fields
| Field | What it does |
|---|---|
| First Name and Last Name | The person's name. |
| Status | Passive, Open, or Replied. ERPNext updates it from email communication. |
| Designation | The person's role at the organization. |
| Email table | One or more email addresses. The primary email shows on the Contact and in transactions. |
| Phone table | One or more phone numbers, with primary flags. |
| Is Primary Contact | Makes this person the default contact for the linked party. |
| Links | The parties this person belongs to. |
| User ID | Links the contact to a user account, for example for portal access. |
Set the primary contact
When a customer has several contacts, select Is Primary Contact on the person who normally receives sales communication. Sales documents fetch that contact. Users can select another linked contact on a single document. For details, see How customers, contacts, and addresses relate.
Invite a contact to the portal
Select Invite as User only when the person needs to log in to the customer portal. Before you invite:
- Check the primary email.
- Confirm which documents the person may see.
- Check that no user with that email exists.
Troubleshooting
| Problem | Cause and fix |
|---|---|
| The wrong contact appears on a transaction | Another contact is primary. Change Is Primary Contact, or select the contact on the document. |
| The contact has no email on transactions | No email row is primary. Mark one as primary and save. |
| The contact does not appear for a customer | The Links table has no row for that customer. |
| Two contacts for the same person | Search by email and phone before you create a contact. Keep one record and link it to every party. |