Version 6.7.7 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 | `column_break_14` | Column Break |  |
15 | `default_taxes_and_charges` | Link | Default Taxes and Charges | Sales Taxes and Charges Template
16 | `address_contacts` | Section Break | Address and Contact |
    icon-map-marker
17 | `address_html` | HTML | Address HTML |
18 | `column_break1` | Column Break |  |
19 | `contact_html` | HTML | Contact HTML |
20 | `default_receivable_accounts` | Section Break | Default Receivable Accounts |
21 | `accounts` | Table | Accounts Mention if non-standard receivable account | Party Account
22 | `column_break2` | Section Break | Credit Limit |
23 | `credit_days_based_on` | Select | Credit Days Based On |
    Fixed Days
    Last Day of the Next Month
24 | `credit_days` | Int | Credit Days |
25 | `credit_limit` | Currency | Credit Limit |
26 | `more_info` | Section Break | Customer Details |
    icon-file-text
27 | `customer_details` | Text | Customer Details Additional information regarding the customer. |
28 | `website` | Data | Website |
29 | `sales_team_section_break` | Section Break | Sales Partner and Commission |
    icon-group
30 | `default_sales_partner` | Link | Sales Partner | Sales Partner
31 | `default_commission_rate` | Float | Commission Rate |
32 | `sales_team_section` | Section Break | Sales Team |
33 | `sales_team` | Table | Sales Team Details | Sales Team
34 | `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