2022-03-23 07:31:15 +00:00
|
|
|
{
|
|
|
|
"name": "Party",
|
|
|
|
"label": "Party",
|
2022-04-29 13:00:24 +00:00
|
|
|
"naming": "manual",
|
2022-03-23 07:31:15 +00:00
|
|
|
"fields": [
|
2023-04-14 10:01:04 +00:00
|
|
|
{
|
|
|
|
"fieldname": "image",
|
|
|
|
"label": "Image",
|
|
|
|
"fieldtype": "AttachImage",
|
|
|
|
"section": "Default"
|
|
|
|
},
|
2022-03-23 07:31:15 +00:00
|
|
|
{
|
|
|
|
"fieldname": "name",
|
|
|
|
"label": "Name",
|
|
|
|
"fieldtype": "Data",
|
|
|
|
"required": true,
|
2023-04-14 10:01:04 +00:00
|
|
|
"placeholder": "Full Name",
|
|
|
|
"section": "Default"
|
2022-03-23 07:31:15 +00:00
|
|
|
},
|
2022-04-08 05:30:52 +00:00
|
|
|
{
|
|
|
|
"fieldname": "role",
|
|
|
|
"label": "Role",
|
|
|
|
"fieldtype": "Select",
|
|
|
|
"default": "Both",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"value": "Both",
|
|
|
|
"label": "Both"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Supplier",
|
|
|
|
"label": "Supplier"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Customer",
|
|
|
|
"label": "Customer"
|
|
|
|
}
|
|
|
|
],
|
2023-04-14 10:01:04 +00:00
|
|
|
"required": true,
|
|
|
|
"section": "Default"
|
2022-03-23 07:31:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "email",
|
|
|
|
"label": "Email",
|
|
|
|
"fieldtype": "Data",
|
2023-04-14 10:01:04 +00:00
|
|
|
"placeholder": "john@doe.com",
|
|
|
|
"section": "Contacts"
|
2022-03-23 07:31:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "phone",
|
|
|
|
"label": "Phone",
|
|
|
|
"fieldtype": "Data",
|
2023-04-14 10:01:04 +00:00
|
|
|
"placeholder": "Phone",
|
|
|
|
"section": "Contacts"
|
2022-03-23 07:31:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "address",
|
|
|
|
"label": "Address",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "Address",
|
2023-04-14 10:01:04 +00:00
|
|
|
"create": true,
|
|
|
|
"section": "Contacts"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "defaultAccount",
|
|
|
|
"label": "Default Account",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "Account",
|
|
|
|
"create": true,
|
|
|
|
"section": "Billing"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "currency",
|
|
|
|
"label": "Currency",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "Currency",
|
|
|
|
"placeholder": "INR",
|
|
|
|
"create": true,
|
|
|
|
"section": "Billing"
|
2022-04-14 05:24:11 +00:00
|
|
|
},
|
2024-08-09 05:11:54 +00:00
|
|
|
{
|
|
|
|
"fieldname": "fromLead",
|
|
|
|
"label": "From Lead",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "Lead",
|
|
|
|
"readOnly": true,
|
|
|
|
"section": "References"
|
|
|
|
},
|
2024-08-22 09:02:45 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
"fieldname": "loyaltyProgram",
|
|
|
|
"label": "Loyalty Program",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "LoyaltyProgram",
|
|
|
|
"create": true,
|
|
|
|
"section": "Loyalty Program"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "loyaltyPoints",
|
|
|
|
"label": "Loyalty Points",
|
|
|
|
"fieldtype": "Int",
|
|
|
|
"readOnly": true,
|
|
|
|
"default": 0,
|
|
|
|
"section": "Loyalty Program"
|
|
|
|
},
|
2022-04-14 05:24:11 +00:00
|
|
|
{
|
|
|
|
"fieldname": "taxId",
|
|
|
|
"label": "Tax ID",
|
2023-04-14 10:01:04 +00:00
|
|
|
"fieldtype": "Data",
|
|
|
|
"section": "Billing"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "outstandingAmount",
|
|
|
|
"label": "Outstanding Amount",
|
|
|
|
"fieldtype": "Currency",
|
|
|
|
"hidden": true
|
2022-03-23 07:31:15 +00:00
|
|
|
}
|
|
|
|
],
|
2022-04-28 12:37:07 +00:00
|
|
|
"quickEditFields": [
|
|
|
|
"email",
|
|
|
|
"phone",
|
|
|
|
"address",
|
|
|
|
"defaultAccount",
|
2024-08-22 09:02:45 +00:00
|
|
|
"loyaltyProgram",
|
2022-04-28 12:37:07 +00:00
|
|
|
"currency",
|
2022-04-29 13:00:24 +00:00
|
|
|
"role",
|
2022-04-28 12:37:07 +00:00
|
|
|
"taxId"
|
|
|
|
],
|
2022-05-04 16:25:08 +00:00
|
|
|
"keywordFields": ["name", "email", "role"]
|
2022-03-23 08:37:00 +00:00
|
|
|
}
|