2
0
mirror of https://github.com/frappe/books.git synced 2024-11-14 01:14:03 +00:00
books/schemas/app/NumberSeries.json

65 lines
1.3 KiB
JSON
Raw Normal View History

2022-03-23 07:31:15 +00:00
{
"name": "NumberSeries",
"label": "Number Series",
"isSingle": false,
"isChild": false,
"fields": [
{
"fieldname": "name",
"label": "Prefix",
"fieldtype": "Data",
"required": true
},
{
"fieldname": "start",
"label": "Start",
"fieldtype": "Int",
"default": 1001,
"required": true,
"minvalue": 0
},
{
"fieldname": "padZeros",
"label": "Pad Zeros",
"fieldtype": "Int",
"default": 4,
"required": true
},
{
"fieldname": "referenceType",
"label": "Reference Type",
"fieldtype": "Select",
"options": [
2022-03-23 08:37:00 +00:00
{
"value": "SalesInvoice",
"label": "Invoice"
},
{
"value": "PurchaseInvoice",
"label": "Bill"
},
{
"value": "Payment",
"label": "Payment"
},
{
"value": "JournalEntry",
"label": "Journal Entry"
}
2022-03-23 07:31:15 +00:00
],
"default": "-",
"required": true,
"readOnly": true
},
{
"fieldname": "current",
"label": "Current",
"fieldtype": "Int",
"required": true,
"readOnly": true
}
],
2022-03-23 08:37:00 +00:00
"quickEditFields": ["start", "padZeros", "referenceType"],
"keywordFields": []
}