2023-06-06 14:28:48 +05:30
|
|
|
{
|
|
|
|
"name": "PriceList",
|
|
|
|
"label": "Price List",
|
|
|
|
"naming": "manual",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldname": "name",
|
|
|
|
"label": "Name",
|
|
|
|
"fieldtype": "Data",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
{
|
2023-06-07 09:34:56 +05:30
|
|
|
"fieldname": "isEnabled",
|
|
|
|
"label": "Is Price List Enabled",
|
2023-06-06 14:28:48 +05:30
|
|
|
"fieldtype": "Check",
|
|
|
|
"default": true
|
|
|
|
},
|
|
|
|
{
|
2023-06-07 09:34:56 +05:30
|
|
|
"fieldname": "isSales",
|
|
|
|
"label": "For Sales",
|
2023-06-06 14:28:48 +05:30
|
|
|
"fieldtype": "Check",
|
2023-06-07 10:37:13 +05:30
|
|
|
"default": true
|
2023-06-06 14:28:48 +05:30
|
|
|
},
|
|
|
|
{
|
2023-06-07 09:34:56 +05:30
|
|
|
"fieldname": "isPurchase",
|
|
|
|
"label": "For Purchase",
|
2023-06-06 14:28:48 +05:30
|
|
|
"fieldtype": "Check",
|
2023-06-07 10:37:13 +05:30
|
|
|
"default": false
|
2023-06-06 14:28:48 +05:30
|
|
|
},
|
|
|
|
{
|
2023-06-07 09:34:56 +05:30
|
|
|
"fieldname": "priceListItem",
|
2023-06-06 14:28:48 +05:30
|
|
|
"label": "Item Prices",
|
|
|
|
"fieldtype": "Table",
|
2023-06-07 09:34:56 +05:30
|
|
|
"target": "PriceListItem",
|
2023-06-06 14:28:48 +05:30
|
|
|
"required": true,
|
|
|
|
"section": "Item Prices"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|