2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 19:39:07 +00:00
books/schemas/app/AccountingLedgerEntry.json
18alantom 3cdba15b81 fix: dynamic link ref
- gl ordering
- report filtering
- dummy dates
- few other things
2022-05-23 16:18:23 +05:30

81 lines
1.6 KiB
JSON

{
"name": "AccountingLedgerEntry",
"label": "Accounting Ledger Entry",
"isSingle": false,
"isChild": false,
"naming": "autoincrement",
"fields": [
{
"fieldname": "date",
"label": "Date",
"fieldtype": "Datetime",
"readOnly": true
},
{
"fieldname": "account",
"label": "Account",
"fieldtype": "Link",
"target": "Account",
"required": true,
"readOnly": true
},
{
"fieldname": "party",
"label": "Party",
"fieldtype": "Link",
"target": "Party",
"readOnly": true
},
{
"fieldname": "debit",
"label": "Debit",
"fieldtype": "Currency",
"readOnly": true
},
{
"fieldname": "credit",
"label": "Credit",
"fieldtype": "Currency",
"readOnly": true
},
{
"fieldname": "referenceType",
"label": "Ref. Type",
"fieldtype": "Data",
"readOnly": true
},
{
"fieldname": "referenceName",
"label": "Ref. Name",
"fieldtype": "DynamicLink",
"references": "referenceType",
"readOnly": true
},
{
"fieldname": "reverted",
"label": "Reverted",
"fieldtype": "Check",
"default": false,
"readOnly": true
},
{
"fieldname": "reverts",
"label": "Reverts",
"fieldtype": "Link",
"target": "AccountingLedgerEntry",
"readOnly": true
}
],
"quickEditFields": [
"date",
"account",
"party",
"debit",
"credit",
"referenceType",
"referenceName",
"reverted",
"reverts"
]
}