2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 03:19:01 +00:00
books/schemas/app/SalesInvoice.json
2023-12-04 14:38:12 +05:30

74 lines
1.6 KiB
JSON

{
"name": "SalesInvoice",
"label": "Sales Invoice",
"extends": "Invoice",
"naming": "numberSeries",
"showTitle": true,
"fields": [
{
"fieldname": "numberSeries",
"label": "Number Series",
"fieldtype": "Link",
"target": "NumberSeries",
"create": true,
"required": true,
"default": "SINV-",
"section": "Default"
},
{
"fieldname": "party",
"label": "Customer",
"fieldtype": "Link",
"target": "Party",
"create": true,
"required": true,
"section": "Default"
},
{
"fieldname": "backReference",
"label": "Back Reference",
"fieldtype": "Link",
"target": "Shipment",
"section": "References"
},
{
"fieldname": "makeAutoStockTransfer",
"label": "Make Shipment On Submit",
"fieldtype": "Check",
"default": false,
"readOnly": false,
"tab": "Settings"
},
{
"fieldname": "items",
"label": "Items",
"fieldtype": "Table",
"target": "SalesInvoiceItem",
"required": true,
"edit": true,
"section": "Items"
},
{
"fieldname": "stockNotTransferred",
"label": "Stock Not Shipped",
"fieldtype": "Float",
"readOnly": true,
"section": "Outstanding"
},
{
"fieldname": "returnAgainst",
"fieldtype": "Link",
"target": "SalesInvoice",
"label": "Return Against",
"section": "References"
},
{
"fieldname": "isPOS",
"fieldtype": "Check",
"default": false,
"hidden": true
}
],
"keywordFields": ["name", "party"]
}