2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 07:40:55 +00:00
books/schemas/app/AccountingLedgerEntry.json
2022-05-23 16:18:21 +05:30

87 lines
1.6 KiB
JSON

{
"name": "AccountingLedgerEntry",
"label": "Ledger Entry",
"naming": "autoincrement",
"doctype": "DocType",
"isSingle": false,
"isChild": false,
"keywordFields": [
"account",
"party",
"referenceName"
],
"fields": [
{
"fieldname": "date",
"label": "Date",
"fieldtype": "Date"
},
{
"fieldname": "account",
"label": "Account",
"fieldtype": "Link",
"target": "Account",
"required": true
},
{
"fieldname": "description",
"label": "Description",
"fieldtype": "Text"
},
{
"fieldname": "party",
"label": "Party",
"fieldtype": "Link",
"target": "Party"
},
{
"fieldname": "debit",
"label": "Debit",
"fieldtype": "Currency"
},
{
"fieldname": "credit",
"label": "Credit",
"fieldtype": "Currency"
},
{
"fieldname": "againstAccount",
"label": "Against Account",
"fieldtype": "Text"
},
{
"fieldname": "referenceType",
"label": "Ref. Type",
"fieldtype": "Data"
},
{
"fieldname": "referenceName",
"label": "Ref. Name",
"fieldtype": "DynamicLink",
"references": "referenceType"
},
{
"fieldname": "balance",
"label": "Balance",
"fieldtype": "Currency"
},
{
"fieldname": "reverted",
"label": "Reverted",
"fieldtype": "Check",
"default": 0
}
],
"quickEditFields": [
"date",
"account",
"description",
"party",
"debit",
"credit",
"againstAccount",
"referenceType",
"referenceName",
"balance"
]
}