2022-03-23 13:01:15 +05:30
|
|
|
{
|
|
|
|
"name": "PaymentFor",
|
|
|
|
"label": "Payment For",
|
|
|
|
"isSingle": false,
|
|
|
|
"isChild": true,
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldname": "referenceType",
|
2022-04-29 18:30:24 +05:30
|
|
|
"label": "Type",
|
2022-03-23 13:01:15 +05:30
|
|
|
"placeholder": "Type",
|
|
|
|
"fieldtype": "Select",
|
|
|
|
"options": [
|
2022-03-23 14:07:00 +05:30
|
|
|
{
|
|
|
|
"value": "SalesInvoice",
|
2022-05-03 18:43:47 +05:30
|
|
|
"label": "Sales"
|
2022-03-23 14:07:00 +05:30
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "PurchaseInvoice",
|
2022-05-03 18:43:47 +05:30
|
|
|
"label": "Purchase"
|
2022-03-23 14:07:00 +05:30
|
|
|
}
|
2022-03-23 13:01:15 +05:30
|
|
|
],
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "referenceName",
|
2022-04-29 18:30:24 +05:30
|
|
|
"label": "Name",
|
2022-03-23 13:01:15 +05:30
|
|
|
"fieldtype": "DynamicLink",
|
|
|
|
"references": "referenceType",
|
|
|
|
"placeholder": "Name",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "amount",
|
2022-04-29 18:30:24 +05:30
|
|
|
"label": "Amount",
|
2022-03-23 13:01:15 +05:30
|
|
|
"fieldtype": "Currency",
|
|
|
|
"required": true
|
|
|
|
}
|
2022-04-29 18:30:24 +05:30
|
|
|
],
|
2022-05-04 21:55:08 +05:30
|
|
|
"tableFields": ["referenceType", "referenceName", "amount"],
|
|
|
|
"keywordFields": ["referenceName", "referenceType"]
|
2022-03-23 14:07:00 +05:30
|
|
|
}
|