Version 6.x.x Source

Table Name: tabCompany

Legal Entity / Subsidiary with a separate Chart of Accounts belonging to the Organization.

Fields

Sr Fieldname Type Label Options
1 details Section Break
2 company_name Data Company
3 abbr Data Abbr
4 change_abbr Button Change Abbreviation
5 cb0 Column Break
6 domain Select Domain
Distribution
Manufacturing
Retail
Services
7 charts_section Section Break Default Values
8 default_letter_head Link Default Letter Head Letter Head
9 default_holiday_list Link Default Holiday List Holiday List
10 country Link Country Country
11 column_break_10 Column Break
12 default_currency Link Default Currency Currency
13 chart_of_accounts Select Chart of Accounts
14 default_terms Link Default Terms Terms and Conditions
15 default_settings Section Break Accounts Settings
16 default_bank_account Link Default Bank Account Account
17 default_cash_account Link Default Cash Account Account
18 default_receivable_account Link Default Receivable Account Account
19 round_off_account Link Round Off Account Account
20 column_break0 Column Break
21 default_payable_account Link Default Payable Account Account
22 default_expense_account Link Default Cost of Goods Sold Account Account
23 default_income_account Link Default Income Account Account
24 round_off_cost_center Link Round Off Cost Center Cost Center
25 section_break_22 Section Break
26 cost_center Link Cost Center Cost Center
27 credit_days_based_on Select Credit Days Based On
Fixed Days
Last Day of the Next Month
28 credit_days Int Credit Days
29 credit_limit Currency Credit Limit
default_currency
30 column_break_26 Column Break
31 yearly_bgt_flag Select If Yearly Budget Exceeded (for expense account)
Warn
Ignore
Stop
32 monthly_bgt_flag Select If Monthly Budget Exceeded (for expense account)
Warn
Ignore
Stop
33 auto_accounting_for_stock_settings Section Break Stock Settings
34 stock_received_but_not_billed Link Stock Received But Not Billed Account
35 stock_adjustment_account Link Stock Adjustment Account Account
36 column_break_32 Column Break
37 expenses_included_in_valuation Link Expenses Included In Valuation Account
38 company_info Section Break Company Info

For reference only.

39 address Small Text Address
40 column_break1 Column Break
41 phone_no Data Phone No
Phone
42 fax Data Fax
Phone
43 email Data Email
Email
44 website Data Website
45 registration_info Section Break
46 registration_details Code Registration Details

Company registration numbers for your reference. Tax numbers etc.

47 delete_company_transactions Button Delete Company Transactions

Controller

erpnext.setup.doctype.company.company

Class Company

Inherits from frappe.model.document.Document

_set_default_account (self, fieldname, account_type)

No docs


add_acc (self, lst)

No docs


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

No docs


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

No docs


check_if_transactions_exist (self)

No docs


create_default_accounts (self)

No docs


create_default_cost_center (self)

No docs


create_default_warehouses (self)

No docs


install_country_fixtures (self)

No docs


on_trash (self)

Trash accounts and cost centers for this company if no gl entry exists


on_update (self)

No docs


onload (self)

No docs


set_default_accounts (self)

No docs


validate (self)

No docs


validate_currency (self)

No docs


validate_default_accounts (self)

No docs



erpnext.setup.doctype.company.company.get_company_currency (company)

No docs


erpnext.setup.doctype.company.company.get_name_with_abbr (name, company)

No docs


Public API
/api/method/erpnext.setup.doctype.company.company.replace_abbr

erpnext.setup.doctype.company.company.replace_abbr (company, old, new)

No docs


Linked In: