2022-03-23 07:31:15 +00:00
|
|
|
{
|
|
|
|
"name": "NumberSeries",
|
|
|
|
"label": "Number Series",
|
2022-09-15 08:53:13 +00:00
|
|
|
"naming": "manual",
|
2022-03-23 07:31:15 +00:00
|
|
|
"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",
|
2022-10-12 09:29:43 +00:00
|
|
|
"label": "Sales Invoice"
|
2022-03-23 08:37:00 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "PurchaseInvoice",
|
2022-10-12 09:29:43 +00:00
|
|
|
"label": "Purchase Invoice"
|
2022-03-23 08:37:00 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Payment",
|
|
|
|
"label": "Payment"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "JournalEntry",
|
|
|
|
"label": "Journal Entry"
|
2022-10-05 14:37:17 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "StockMovement",
|
|
|
|
"label": "Stock Movement"
|
2022-11-14 08:30:11 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Shipment",
|
|
|
|
"label": "Shipment"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "PurchaseReceipt",
|
|
|
|
"label": "Purchase Receipt"
|
2022-03-23 08:37:00 +00:00
|
|
|
}
|
2022-03-23 07:31:15 +00:00
|
|
|
],
|
|
|
|
"default": "-",
|
2023-04-03 05:04:59 +00:00
|
|
|
"required": true
|
2022-03-23 07:31:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "current",
|
|
|
|
"label": "Current",
|
|
|
|
"fieldtype": "Int",
|
|
|
|
"required": true,
|
|
|
|
"readOnly": true
|
|
|
|
}
|
|
|
|
],
|
2022-05-04 16:25:08 +00:00
|
|
|
"quickEditFields": ["referenceType", "start", "padZeros"]
|
2022-03-23 08:37:00 +00:00
|
|
|
}
|