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

76 lines
1.4 KiB
JSON

{
"name": "AccountingLedgerEntry",
"label": "Ledger Entry",
"isSingle": false,
"isChild": false,
"fields": [
{
"fieldname": "date",
"label": "Date",
"fieldtype": "Date"
},
{
"fieldname": "account",
"label": "Account",
"fieldtype": "Link",
"target": "Account",
"required": true
},
{
"fieldname": "customer",
"label": "Customer",
"fieldtype": "Link",
"target": "Customer"
},
{
"fieldname": "supplier",
"label": "Supplier",
"fieldtype": "Link",
"target": "Supplier"
},
{
"fieldname": "debit",
"label": "Debit",
"fieldtype": "Currency"
},
{
"fieldname": "credit",
"label": "Credit",
"fieldtype": "Currency"
},
{
"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": false
}
],
"quickEditFields": [
"date",
"account",
"party",
"debit",
"credit",
"referenceType",
"referenceName",
"balance"
],
"keywordFields": ["account", "party", "referenceName"]
}