2022-03-23 07:31:15 +00:00
|
|
|
{
|
|
|
|
"name": "PurchaseInvoice",
|
2022-03-23 08:37:00 +00:00
|
|
|
"label": "Purchase Invoice",
|
2022-09-27 09:37:11 +00:00
|
|
|
"extends": "Invoice",
|
2022-09-15 08:53:13 +00:00
|
|
|
"naming": "numberSeries",
|
2022-03-23 07:31:15 +00:00
|
|
|
"showTitle": true,
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldname": "numberSeries",
|
|
|
|
"label": "Number Series",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "NumberSeries",
|
2022-05-18 16:55:24 +00:00
|
|
|
"create": true,
|
2022-03-23 07:31:15 +00:00
|
|
|
"required": true,
|
2023-04-12 09:05:38 +00:00
|
|
|
"default": "PINV-",
|
|
|
|
"section": "Default"
|
|
|
|
},
|
2023-08-25 07:07:02 +00:00
|
|
|
{
|
|
|
|
"fieldname": "party",
|
|
|
|
"label": "Supplier",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "Party",
|
|
|
|
"create": true,
|
|
|
|
"required": true,
|
|
|
|
"section": "Default"
|
|
|
|
},
|
2023-06-05 06:09:06 +00:00
|
|
|
{
|
|
|
|
"fieldname": "backReference",
|
|
|
|
"label": "Back Reference",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "PurchaseReceipt",
|
|
|
|
"section": "References"
|
|
|
|
},
|
2023-06-06 07:03:58 +00:00
|
|
|
{
|
|
|
|
"fieldname": "makeAutoStockTransfer",
|
|
|
|
"label": "Make Purchase Receipt On Submit",
|
|
|
|
"fieldtype": "Check",
|
|
|
|
"default": false,
|
|
|
|
"readOnly": false,
|
|
|
|
"tab": "Settings"
|
|
|
|
},
|
2023-04-12 09:05:38 +00:00
|
|
|
{
|
|
|
|
"fieldname": "items",
|
|
|
|
"label": "Items",
|
|
|
|
"fieldtype": "Table",
|
|
|
|
"target": "PurchaseInvoiceItem",
|
|
|
|
"required": true,
|
|
|
|
"edit": true,
|
|
|
|
"section": "Items"
|
2023-08-28 06:20:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "stockNotTransferred",
|
|
|
|
"label": "Stock Not Received",
|
|
|
|
"fieldtype": "Float",
|
|
|
|
"readOnly": true,
|
|
|
|
"section": "Outstanding"
|
2022-03-23 07:31:15 +00:00
|
|
|
}
|
|
|
|
],
|
2022-05-04 16:25:08 +00:00
|
|
|
"keywordFields": ["name", "party"]
|
2022-05-01 07:39:03 +00:00
|
|
|
}
|