2022-03-23 07:31:15 +00:00
|
|
|
{
|
|
|
|
"name": "Account",
|
|
|
|
"label": "Account",
|
2022-09-15 08:53:13 +00:00
|
|
|
"naming": "manual",
|
2022-03-23 07:31:15 +00:00
|
|
|
"isSingle": false,
|
|
|
|
"isTree": true,
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldname": "name",
|
|
|
|
"label": "Account Name",
|
|
|
|
"fieldtype": "Data",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "rootType",
|
|
|
|
"label": "Root Type",
|
|
|
|
"fieldtype": "Select",
|
|
|
|
"placeholder": "Root Type",
|
|
|
|
"options": [
|
2022-03-23 08:37:00 +00:00
|
|
|
{
|
|
|
|
"value": "Asset",
|
|
|
|
"label": "Asset"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Liability",
|
|
|
|
"label": "Liability"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Equity",
|
|
|
|
"label": "Equity"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Income",
|
|
|
|
"label": "Income"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Expense",
|
|
|
|
"label": "Expense"
|
|
|
|
}
|
2022-03-23 07:31:15 +00:00
|
|
|
],
|
2022-09-15 08:53:13 +00:00
|
|
|
"required": true
|
2022-03-23 07:31:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "parentAccount",
|
|
|
|
"label": "Parent Account",
|
|
|
|
"fieldtype": "Link",
|
2022-09-15 08:53:13 +00:00
|
|
|
"target": "Account"
|
2022-03-23 07:31:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "accountType",
|
|
|
|
"label": "Account Type",
|
|
|
|
"placeholder": "Account Type",
|
|
|
|
"fieldtype": "Select",
|
|
|
|
"options": [
|
2022-03-23 08:37:00 +00:00
|
|
|
{
|
|
|
|
"value": "Accumulated Depreciation",
|
|
|
|
"label": "Accumulated Depreciation"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Bank",
|
|
|
|
"label": "Bank"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Cash",
|
|
|
|
"label": "Cash"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Chargeable",
|
|
|
|
"label": "Chargeable"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Cost of Goods Sold",
|
|
|
|
"label": "Cost of Goods Sold"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Depreciation",
|
|
|
|
"label": "Depreciation"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Equity",
|
|
|
|
"label": "Equity"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Expense Account",
|
|
|
|
"label": "Expense Account"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Expenses Included In Valuation",
|
|
|
|
"label": "Expenses Included In Valuation"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Fixed Asset",
|
|
|
|
"label": "Fixed Asset"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Income Account",
|
|
|
|
"label": "Income Account"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Payable",
|
|
|
|
"label": "Payable"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Receivable",
|
|
|
|
"label": "Receivable"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Round Off",
|
|
|
|
"label": "Round Off"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Stock",
|
|
|
|
"label": "Stock"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Stock Adjustment",
|
|
|
|
"label": "Stock Adjustment"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Stock Received But Not Billed",
|
|
|
|
"label": "Stock Received But Not Billed"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Tax",
|
|
|
|
"label": "Tax"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Temporary",
|
|
|
|
"label": "Temporary"
|
|
|
|
}
|
2022-03-23 07:31:15 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "balance",
|
|
|
|
"label": "Balance",
|
|
|
|
"fieldtype": "Currency",
|
|
|
|
"readOnly": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "isGroup",
|
|
|
|
"label": "Is Group",
|
2022-05-04 08:19:40 +00:00
|
|
|
"fieldtype": "Check",
|
2022-09-15 08:53:13 +00:00
|
|
|
"default": false
|
2022-03-23 07:31:15 +00:00
|
|
|
}
|
|
|
|
],
|
2022-06-20 06:31:20 +00:00
|
|
|
"quickEditFields": [
|
|
|
|
"rootType",
|
|
|
|
"parentAccount",
|
|
|
|
"accountType",
|
|
|
|
"isGroup",
|
|
|
|
"balance"
|
|
|
|
]
|
2022-03-23 08:37:00 +00:00
|
|
|
}
|