2022-03-23 07:31:15 +00:00
|
|
|
{
|
|
|
|
"name": "Item",
|
|
|
|
"label": "Item",
|
|
|
|
"isSingle": false,
|
2022-04-29 13:00:24 +00:00
|
|
|
"naming": "manual",
|
2022-03-23 07:31:15 +00:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldname": "name",
|
|
|
|
"label": "Item Name",
|
|
|
|
"fieldtype": "Data",
|
|
|
|
"placeholder": "Item Name",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "image",
|
|
|
|
"label": "Image",
|
|
|
|
"fieldtype": "AttachImage"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "description",
|
|
|
|
"label": "Description",
|
|
|
|
"placeholder": "Item Description",
|
|
|
|
"fieldtype": "Text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "unit",
|
|
|
|
"label": "Unit Type",
|
2022-07-08 17:51:21 +00:00
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "UOM",
|
|
|
|
"create": true,
|
2022-07-15 07:35:07 +00:00
|
|
|
"default": "Unit",
|
2022-07-08 17:51:21 +00:00
|
|
|
"placeholder": "Unit Type"
|
2022-03-23 07:31:15 +00:00
|
|
|
},
|
2023-01-13 13:16:52 +00:00
|
|
|
{
|
|
|
|
"fieldname": "hasBatchNumber",
|
|
|
|
"label": "Has Batch No",
|
|
|
|
"fieldtype": "Check",
|
|
|
|
"default": false
|
|
|
|
},
|
2022-03-23 07:31:15 +00:00
|
|
|
{
|
|
|
|
"fieldname": "itemType",
|
|
|
|
"label": "Type",
|
|
|
|
"placeholder": "Type",
|
|
|
|
"fieldtype": "Select",
|
|
|
|
"default": "Product",
|
|
|
|
"options": [
|
2022-03-23 08:37:00 +00:00
|
|
|
{
|
|
|
|
"value": "Product",
|
|
|
|
"label": "Product"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Service",
|
|
|
|
"label": "Service"
|
|
|
|
}
|
2022-03-23 07:31:15 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "for",
|
|
|
|
"label": "For",
|
|
|
|
"fieldtype": "Select",
|
|
|
|
"options": [
|
2022-03-23 08:37:00 +00:00
|
|
|
{
|
2022-05-05 10:44:26 +00:00
|
|
|
"value": "Purchases",
|
2022-03-23 08:37:00 +00:00
|
|
|
"label": "Purchases"
|
|
|
|
},
|
|
|
|
{
|
2022-05-05 10:44:26 +00:00
|
|
|
"value": "Sales",
|
2022-03-23 08:37:00 +00:00
|
|
|
"label": "Sales"
|
|
|
|
},
|
|
|
|
{
|
2022-05-05 10:44:26 +00:00
|
|
|
"value": "Both",
|
2022-03-23 08:37:00 +00:00
|
|
|
"label": "Both"
|
|
|
|
}
|
2022-03-23 07:31:15 +00:00
|
|
|
],
|
2022-05-05 10:44:26 +00:00
|
|
|
"required": true,
|
|
|
|
"default": "Both"
|
2022-03-23 07:31:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "incomeAccount",
|
2022-11-21 09:57:59 +00:00
|
|
|
"label": "Sales Acc.",
|
2022-03-23 07:31:15 +00:00
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "Account",
|
|
|
|
"placeholder": "Income",
|
2022-06-20 06:31:20 +00:00
|
|
|
"create": true,
|
2022-03-23 08:37:00 +00:00
|
|
|
"required": true
|
2022-03-23 07:31:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "expenseAccount",
|
2022-11-21 09:57:59 +00:00
|
|
|
"label": "Purchase Acc.",
|
2022-03-23 07:31:15 +00:00
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "Account",
|
|
|
|
"placeholder": "Expense",
|
2022-06-20 06:31:20 +00:00
|
|
|
"create": true,
|
2022-03-23 08:37:00 +00:00
|
|
|
"required": true
|
2022-03-23 07:31:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "tax",
|
|
|
|
"label": "Tax",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "Tax",
|
2022-06-20 06:31:20 +00:00
|
|
|
"create": true,
|
2022-03-23 07:31:15 +00:00
|
|
|
"placeholder": "Tax"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "rate",
|
|
|
|
"label": "Rate",
|
|
|
|
"fieldtype": "Currency"
|
2022-03-23 08:37:00 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "hsnCode",
|
|
|
|
"label": "HSN/SAC",
|
|
|
|
"fieldtype": "Int",
|
|
|
|
"placeholder": "HSN/SAC Code"
|
2022-10-05 14:37:17 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "trackItem",
|
|
|
|
"label": "Track Item",
|
|
|
|
"fieldtype": "Check",
|
|
|
|
"default": false
|
2022-03-23 07:31:15 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"quickEditFields": [
|
|
|
|
"rate",
|
|
|
|
"unit",
|
2023-01-13 13:16:52 +00:00
|
|
|
"hasBatchNumber",
|
2022-03-23 07:31:15 +00:00
|
|
|
"itemType",
|
|
|
|
"for",
|
|
|
|
"tax",
|
|
|
|
"description",
|
|
|
|
"incomeAccount",
|
2022-03-23 08:37:00 +00:00
|
|
|
"expenseAccount",
|
2022-10-05 14:37:17 +00:00
|
|
|
"hsnCode",
|
|
|
|
"trackItem"
|
2022-03-23 07:31:15 +00:00
|
|
|
],
|
2022-05-04 16:25:08 +00:00
|
|
|
"keywordFields": ["name", "itemType", "for"]
|
2022-03-23 08:37:00 +00:00
|
|
|
}
|