2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 11:29:03 +00:00
books/schemas/app/JournalEntry.json
2022-06-20 12:01:20 +05:30

107 lines
2.3 KiB
JSON

{
"label": "Journal Entry",
"name": "JournalEntry",
"isSubmittable": true,
"fields": [
{
"fieldname": "entryType",
"label": "Entry Type",
"fieldtype": "Select",
"placeholder": "Entry Type",
"options": [
{
"value": "Journal Entry",
"label": "Journal Entry"
},
{
"value": "Bank Entry",
"label": "Bank Entry"
},
{
"value": "Cash Entry",
"label": "Cash Entry"
},
{
"value": "Credit Card Entry",
"label": "Credit Card Entry"
},
{
"value": "Debit Note",
"label": "Debit Note"
},
{
"value": "Credit Note",
"label": "Credit Note"
},
{
"value": "Contra Entry",
"label": "Contra Entry"
},
{
"value": "Excise Entry",
"label": "Excise Entry"
},
{
"value": "Write Off Entry",
"label": "Write Off Entry"
},
{
"value": "Opening Entry",
"label": "Opening Entry"
},
{
"value": "Depreciation Entry",
"label": "Depreciation Entry"
}
],
"required": true
},
{
"label": "Entry No",
"fieldname": "name",
"fieldtype": "Data",
"required": true,
"readOnly": true
},
{
"fieldname": "date",
"label": "Date",
"fieldtype": "Date",
"required": true
},
{
"fieldname": "accounts",
"label": "Account Entries",
"fieldtype": "Table",
"target": "JournalEntryAccount",
"required": true
},
{
"fieldname": "referenceNumber",
"label": "Reference Number",
"fieldtype": "Data"
},
{
"fieldname": "referenceDate",
"label": "Reference Date",
"fieldtype": "Date"
},
{
"fieldname": "userRemark",
"label": "User Remark",
"fieldtype": "Text",
"placeholder": "Add a remark"
},
{
"fieldname": "numberSeries",
"label": "Number Series",
"fieldtype": "Link",
"target": "NumberSeries",
"create": true,
"required": true,
"default": "JV-"
}
],
"keywordFields": ["name", "entryType"]
}