2023-12-22 00:19:13 +00:00
|
|
|
{
|
|
|
|
"name": "SalesQuote",
|
|
|
|
"label": "Quote",
|
|
|
|
"extends": "Invoice",
|
|
|
|
"naming": "numberSeries",
|
|
|
|
"showTitle": true,
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldname": "numberSeries",
|
|
|
|
"label": "Number Series",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "NumberSeries",
|
|
|
|
"create": true,
|
|
|
|
"required": true,
|
|
|
|
"default": "SQUOT-",
|
|
|
|
"section": "Default"
|
|
|
|
},
|
2024-08-09 05:11:54 +00:00
|
|
|
{
|
|
|
|
"fieldname": "referenceType",
|
|
|
|
"label": "Type",
|
|
|
|
"placeholder": "Type",
|
|
|
|
"fieldtype": "Select",
|
|
|
|
"default": "Party",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"value": "Party",
|
|
|
|
"label": "Party"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Lead",
|
|
|
|
"label": "Lead"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"required": true
|
|
|
|
},
|
2023-12-22 00:19:13 +00:00
|
|
|
{
|
|
|
|
"fieldname": "party",
|
|
|
|
"label": "Customer",
|
2024-08-09 05:11:54 +00:00
|
|
|
"fieldtype": "DynamicLink",
|
|
|
|
"references": "referenceType",
|
2023-12-22 00:19:13 +00:00
|
|
|
"create": true,
|
|
|
|
"required": true,
|
|
|
|
"section": "Default"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "items",
|
|
|
|
"label": "Items",
|
|
|
|
"fieldtype": "Table",
|
|
|
|
"target": "SalesQuoteItem",
|
|
|
|
"required": true,
|
|
|
|
"edit": true,
|
|
|
|
"section": "Items"
|
|
|
|
}
|
|
|
|
],
|
2023-12-22 08:50:35 +00:00
|
|
|
"keywordFields": ["name", "party"],
|
|
|
|
"removeFields": [
|
|
|
|
"account",
|
|
|
|
"stockNotTransferred",
|
|
|
|
"backReference",
|
|
|
|
"makeAutoStockTransfer",
|
|
|
|
"returnAgainst",
|
|
|
|
"isReturned"
|
|
|
|
]
|
2023-12-22 00:19:13 +00:00
|
|
|
}
|