2022-03-23 07:31:15 +00:00
|
|
|
{
|
|
|
|
"name": "PaymentFor",
|
|
|
|
"label": "Payment For",
|
|
|
|
"isSingle": false,
|
|
|
|
"isChild": true,
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldname": "referenceType",
|
|
|
|
"label": "Reference Type",
|
|
|
|
"placeholder": "Type",
|
|
|
|
"fieldtype": "Select",
|
|
|
|
"options": [
|
2022-03-23 08:37:00 +00:00
|
|
|
{
|
|
|
|
"value": "SalesInvoice",
|
|
|
|
"label": "Sales Invoice"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "PurchaseInvoice",
|
|
|
|
"label": "Purchase Invoice"
|
|
|
|
}
|
2022-03-23 07:31:15 +00:00
|
|
|
],
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "referenceName",
|
|
|
|
"label": "Reference Name",
|
|
|
|
"fieldtype": "DynamicLink",
|
|
|
|
"references": "referenceType",
|
|
|
|
"placeholder": "Name",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "amount",
|
|
|
|
"label": "Allocated Amount",
|
|
|
|
"fieldtype": "Currency",
|
|
|
|
"required": true
|
|
|
|
}
|
|
|
|
]
|
2022-03-23 08:37:00 +00:00
|
|
|
}
|