2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 11:29:03 +00:00
books/schemas/app/inventory/PurchaseReceipt.json
2023-07-31 17:51:59 +05:30

43 lines
959 B
JSON

{
"name": "PurchaseReceipt",
"label": "Purchase Receipt",
"extends": "StockTransfer",
"naming": "numberSeries",
"showTitle": true,
"fields": [
{
"fieldname": "numberSeries",
"label": "Number Series",
"fieldtype": "Link",
"target": "NumberSeries",
"create": true,
"required": true,
"default": "PREC-",
"section": "Default"
},
{
"fieldname": "backReference",
"label": "Back Reference",
"fieldtype": "Link",
"target": "PurchaseInvoice",
"section": "References"
},
{
"fieldname": "items",
"label": "Items",
"fieldtype": "Table",
"target": "PurchaseReceiptItem",
"required": true,
"edit": true
},
{
"fieldname": "returnAgainst",
"fieldtype": "Link",
"target": "PurchaseReceipt",
"label": "Return Against",
"section": "References"
}
],
"keywordFields": ["name", "party"]
}