Table Name: tabAccount
Sr | Fieldname | Type | Label | Options |
---|---|---|---|---|
1 | properties |
Section Break | ||
2 | column_break0 |
Column Break | ||
3 | account_name |
Data | Account Name | |
4 | is_group |
Check | Is Group | |
5 | company |
Link | Company | Company |
6 | root_type |
Select | Root Type |
Asset Liability Income Expense Equity |
7 | report_type |
Select | Report Type |
Balance Sheet Profit and Loss |
8 | account_currency |
Link | Currency | Currency |
9 | column_break1 |
Column Break | ||
10 | parent_account |
Link | Parent Account | Account |
11 | account_type |
Select |
Account Type
Setting Account Type helps in selecting this Account in transactions. |
Bank Cash Depreciation Tax Chargeable Warehouse Receivable Payable Equity Fixed Asset Cost of Goods Sold Expense Account Round Off Income Account Stock Received But Not Billed Expenses Included In Valuation Stock Adjustment Stock Temporary |
12 | tax_rate |
Float |
Rate
Rate at which this tax is applied |
|
13 | freeze_account |
Select |
Frozen
If the account is frozen, entries are allowed to restricted users. |
No Yes |
14 | warehouse |
Link | Warehouse | Warehouse |
15 | balance_must_be |
Select | Balance must be |
Debit Credit |
16 | lft |
Int | Lft | |
17 | rgt |
Int | Rgt | |
18 | old_parent |
Data | Old Parent |
Inherits from frappe.model.document.Document
after_rename (self, old, new, merge=False)
No docs
No docs
before_rename (self, old, new, merge=False)
No docs
No docs
No docs
convert_group_to_ledger (self)
No docs
convert_ledger_to_group (self)
No docs
No docs
No docs
No docs
set_root_and_report_type (self)
No docs
update lft, rgt indices for nested set model
No docs
validate_account_currency (self)
No docs
validate_balance_must_be_debit_or_credit (self)
No docs
validate_frozen_accounts_modifier (self)
No docs
No docs
Fetch Parent Details and validate parent account
No docs
checks gl entries and if child exists
validate_warehouse (self, warehouse)
No docs
validate_warehouse_account (self)
No docs
Inherits from frappe.exceptions.ValidationError
erpnext.accounts.doctype.account.account.get_account_currency (account)
Helper function to get account currency
erpnext.accounts.doctype.account.account.get_parent_account (doctype, txt, searchfield, start, page_len, filters)
No docs