Version 6.x.x Source

Table Name: `tabCustomer`

Buyer of Goods and Services.

### Fields

Sr | Fieldname | Type | Label | Options
--- | --- | --- | --- | ---
1 | `basic_info` | Section Break |  |
    icon-user
2 | `naming_series` | Select | Series |
    CUST-
3 | `customer_name` | Data | Full Name |
4 | `customer_type` | Select | Type |
    Company
    Individual
5 | `lead_name` | Link | From Lead | Lead
6 | `column_break0` | Column Break |  |
7 | `customer_group` | Link | Customer Group | Customer Group
8 | `territory` | Link | Territory | Territory
9 | `tax_id` | Data | Tax ID |
10 | `is_frozen` | Check | Is Frozen |
11 | `currency_and_price_list` | Section Break |  |
12 | `default_currency` | Link | Billing Currency | Currency
13 | `default_price_list` | Link | Default Price List | Price List
14 | `address_contacts` | Section Break | Address and Contact |
    icon-map-marker
15 | `address_html` | HTML | Address HTML |
16 | `column_break1` | Column Break |  |
17 | `contact_html` | HTML | Contact HTML |
18 | `default_receivable_accounts` | Section Break | Default Receivable Accounts |
19 | `accounts` | Table | Accounts Mention if non-standard receivable account | Party Account
20 | `column_break2` | Section Break | Credit Limit |
21 | `credit_days_based_on` | Select | Credit Days Based On |
    Fixed Days
    Last Day of the Next Month
22 | `credit_days` | Int | Credit Days |
23 | `credit_limit` | Currency | Credit Limit |
24 | `more_info` | Section Break | Customer Details |
    icon-file-text
25 | `customer_details` | Text | Customer Details Additional information regarding the customer. |
26 | `website` | Data | Website |
27 | `sales_team_section_break` | Section Break | Sales Partner and Commission |
    icon-group
28 | `default_sales_partner` | Link | Sales Partner | Sales Partner
29 | `default_commission_rate` | Float | Commission Rate |
30 | `sales_team_section` | Section Break | Sales Team |
31 | `sales_team` | Table | Sales Team Details | Sales Team
32 | `communications` | Table | Communications | Communication

### Controller

#### erpnext.selling.doctype.customer.customer

### Class Customer

Inherits from erpnext.utilities.transaction_base.TransactionBase

after_rename (self, olddn, newdn, merge=False)

No docs

autoname (self)

No docs

create_lead_address_contact (self)

No docs

delete_customer_address (self)

No docs

delete_customer_contact (self)

No docs

get_customer_name (self)

No docs

get_feed (self)

No docs

on_trash (self)

No docs

on_update (self)

No docs

onload (self)

Load address and contacts in `__onload`

update_address (self)

No docs

update_contact (self)

No docs

update_customer_address (self, newdn, set_field)

No docs

update_lead_status (self)

No docs

validate (self)

No docs

validate_name_with_customer_group (self)

No docs

erpnext.selling.doctype.customer.customer.check_credit_limit (customer, company)

No docs

erpnext.selling.doctype.customer.customer.get_credit_limit (customer, company)

No docs

erpnext.selling.doctype.customer.customer.get_customer_list (doctype, txt, searchfield, start, page_len, filters)

No docs

erpnext.selling.doctype.customer.customer.get_customer_outstanding (customer, company)

No docs

Public API
`/api/method/erpnext.selling.doctype.customer.customer.get_dashboard_info`

erpnext.selling.doctype.customer.customer.get_dashboard_info (customer)

No docs

#### Linked In:

- Address
- C-Form
- Contact
- Delivery Note
- Installation Note
- Issue
- Item Customer Detail
- Lead
- Maintenance Schedule
- Maintenance Visit
- Opportunity
- POS Profile
- Pricing Rule
- Production Plan Sales Order
- Production Planning Tool
- Project
- Purchase Order
- Quotation
- Sales Invoice
- Sales Order
- Serial No
- SMS Center
- Stock Entry
- Tax Rule
- Warranty Claim