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-05-23 16:18:21 +05:30

103 lines
2.2 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"
},
{
"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": "User Remark"
},
{
"fieldname": "numberSeries",
"label": "Number Series",
"fieldtype": "Link",
"target": "NumberSeries",
"required": true,
"default": "JV-"
}
]
}