Table Name: tabGL Entry
| Sr | Fieldname | Type | Label | Options |
|---|---|---|---|---|
| 1 | posting_date |
Date | Posting Date | |
| 2 | transaction_date |
Date | Transaction Date | |
| 3 | account |
Link | Account | Account |
| 4 | party_type |
Link | Party Type | DocType |
| 5 | party |
Dynamic Link | Party |
party_type |
| 6 | cost_center |
Link | Cost Center | Cost Center |
| 7 | debit |
Currency | Debit Amount |
Company:company:default_currency |
| 8 | credit |
Currency | Credit Amount |
Company:company:default_currency |
| 9 | account_currency |
Link | Account Currency | Currency |
| 10 | debit_in_account_currency |
Currency | Debit Amount in Account Currency |
currency |
| 11 | credit_in_account_currency |
Currency | Credit Amount in Account Currency |
currency |
| 12 | against |
Text | Against | |
| 13 | against_voucher_type |
Link | Against Voucher Type | DocType |
| 14 | against_voucher |
Dynamic Link | Against Voucher |
against_voucher_type |
| 15 | voucher_type |
Link | Voucher Type | DocType |
| 16 | voucher_no |
Dynamic Link | Voucher No |
voucher_type |
| 17 | remarks |
Text | Remarks | |
| 18 | is_opening |
Select | Is Opening |
No Yes |
| 19 | is_advance |
Select | Is Advance |
No Yes |
| 20 | fiscal_year |
Link | Fiscal Year | Fiscal Year |
| 21 | company |
Link | Company | Company |
Inherits from frappe.model.document.Document
No docs
No docs
on_update_with_args (self, adv_adj, update_outstanding=Yes)
No docs
pl_must_have_cost_center (self)
No docs
No docs
validate_account_details (self, adv_adj)
Account must be ledger, active and not freezed
No docs
No docs
No docs
No docs
erpnext.accounts.doctype.gl_entry.gl_entry.check_freezing_date (posting_date, adv_adj=False)
Nobody can do GL Entries where posting date is before freezing date except authorized person
erpnext.accounts.doctype.gl_entry.gl_entry.update_against_account (voucher_type, voucher_no)
No docs
erpnext.accounts.doctype.gl_entry.gl_entry.update_outstanding_amt (account, party_type, party, against_voucher_type, against_voucher, on_cancel=False)
No docs
erpnext.accounts.doctype.gl_entry.gl_entry.validate_balance_type (account, adv_adj=False)
No docs
erpnext.accounts.doctype.gl_entry.gl_entry.validate_frozen_account (account, adv_adj=None)
No docs