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