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