2
0
mirror of https://github.com/frappe/books.git synced 2025-01-23 07:08:36 +00:00
books/schemas/app/PaymentFor.json

42 lines
897 B
JSON
Raw Normal View History

2022-03-23 13:01:15 +05:30
{
"name": "PaymentFor",
"label": "Payment For",
"isSingle": false,
"isChild": true,
"fields": [
{
"fieldname": "referenceType",
"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",
"label": "Sales"
2022-03-23 14:07:00 +05:30
},
{
"value": "PurchaseInvoice",
"label": "Purchase"
2022-03-23 14:07:00 +05:30
}
2022-03-23 13:01:15 +05:30
],
"required": true
},
{
"fieldname": "referenceName",
"label": "Name",
2022-03-23 13:01:15 +05:30
"fieldtype": "DynamicLink",
"references": "referenceType",
"placeholder": "Name",
"required": true
},
{
"fieldname": "amount",
"label": "Amount",
2022-03-23 13:01:15 +05:30
"fieldtype": "Currency",
"required": true
}
],
"tableFields": ["referenceType", "referenceName", "amount"],
"keywordFields": ["referenceName", "referenceType"]
2022-03-23 14:07:00 +05:30
}