2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 11:29:03 +00:00
books/schemas/app/SalesInvoice.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

105 lines
2.2 KiB
JSON
Raw Normal View History

2022-03-23 07:31:15 +00:00
{
"name": "SalesInvoice",
2022-03-23 08:37:00 +00:00
"label": "Sales Invoice",
2022-03-23 07:31:15 +00:00
"isSingle": false,
"isChild": false,
"isSubmittable": true,
"keywordFields": ["name", "party"],
2022-03-23 07:31:15 +00:00
"fields": [
{
"label": "Invoice No",
"fieldname": "name",
"fieldtype": "Data",
"required": true,
"readOnly": true
},
{
"fieldname": "date",
"label": "Date",
"fieldtype": "Date"
},
{
"fieldname": "party",
"label": "Party",
2022-03-23 07:31:15 +00:00
"fieldtype": "Link",
"target": "Party",
2022-03-23 07:31:15 +00:00
"required": true
},
{
"fieldname": "account",
"label": "Account",
"fieldtype": "Link",
2022-03-23 08:37:00 +00:00
"target": "Account"
2022-03-23 07:31:15 +00:00
},
{
"fieldname": "currency",
"label": "Customer Currency",
"fieldtype": "Link",
2022-03-23 08:37:00 +00:00
"target": "Currency"
2022-03-23 07:31:15 +00:00
},
{
"fieldname": "exchangeRate",
"label": "Exchange Rate",
"fieldtype": "Float",
"default": 1,
"readOnly": true
},
{
"fieldname": "items",
"label": "Items",
"fieldtype": "Table",
2022-03-23 16:40:36 +00:00
"target": "SalesInvoiceItem",
2022-03-23 07:31:15 +00:00
"required": true
},
{
"fieldname": "netTotal",
"label": "Net Total",
"fieldtype": "Currency",
"readOnly": true
},
{
"fieldname": "baseNetTotal",
"label": "Net Total (Company Currency)",
"fieldtype": "Currency",
"readOnly": true
},
{
"fieldname": "taxes",
"label": "Taxes",
"fieldtype": "Table",
2022-03-23 08:37:00 +00:00
"target": "TaxSummary",
2022-03-23 07:31:15 +00:00
"readOnly": true
},
{
"fieldname": "grandTotal",
"label": "Grand Total",
"fieldtype": "Currency",
"readOnly": true
},
{
"fieldname": "baseGrandTotal",
"label": "Grand Total (Company Currency)",
"fieldtype": "Currency",
"readOnly": true
},
{
"fieldname": "outstandingAmount",
"label": "Outstanding Amount",
"fieldtype": "Currency",
"readOnly": true
},
{
"fieldname": "terms",
"label": "Notes",
"fieldtype": "Text"
},
{
"fieldname": "numberSeries",
"label": "Number Series",
"fieldtype": "Link",
"target": "NumberSeries",
"required": true,
"default": "SINV-"
}
]
}