mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
114 lines
2.4 KiB
JSON
114 lines
2.4 KiB
JSON
{
|
|
"label": "Journal Entry",
|
|
"name": "JournalEntry",
|
|
"naming": "numberSeries",
|
|
"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-"
|
|
},
|
|
{
|
|
"fieldname": "attachment",
|
|
"placeholder": "Add attachment",
|
|
"label": "Attachment",
|
|
"fieldtype": "Attachment"
|
|
}
|
|
],
|
|
"keywordFields": ["name", "entryType"]
|
|
}
|