2
0
mirror of https://github.com/frappe/books.git synced 2024-11-14 09:24:04 +00:00
books/schemas/app/SalesInvoiceItem.json

70 lines
1.4 KiB
JSON
Raw Normal View History

2022-03-23 07:31:15 +00:00
{
"name": "SalesInvoiceItem",
2022-03-23 08:37:00 +00:00
"label": "Sales Invoice Item",
2022-03-23 07:31:15 +00:00
"isChild": true,
"fields": [
{
"fieldname": "item",
"label": "Item",
"fieldtype": "Link",
"target": "Item",
"required": true
},
{
"fieldname": "description",
"label": "Description",
"fieldtype": "Text",
2022-03-23 08:37:00 +00:00
"hidden": true
2022-03-23 07:31:15 +00:00
},
{
"fieldname": "quantity",
"label": "Quantity",
"fieldtype": "Float",
"required": true,
"default": 1
},
{
"fieldname": "rate",
"label": "Rate",
"fieldtype": "Currency",
2022-03-23 08:37:00 +00:00
"required": true
2022-03-23 07:31:15 +00:00
},
{
"fieldname": "baseRate",
"label": "Rate (Company Currency)",
"fieldtype": "Currency",
2022-03-23 08:37:00 +00:00
"computed": true,
2022-03-23 07:31:15 +00:00
"readOnly": true
},
{
"fieldname": "account",
"label": "Account",
"hidden": true,
"fieldtype": "Link",
"target": "Account",
"required": true,
"readOnly": true
},
{
"fieldname": "tax",
"label": "Tax",
"fieldtype": "Link",
2022-03-23 08:37:00 +00:00
"target": "Tax"
2022-03-23 07:31:15 +00:00
},
{
"fieldname": "amount",
"label": "Amount",
"fieldtype": "Currency",
2022-03-23 08:37:00 +00:00
"computed": true,
2022-03-23 07:31:15 +00:00
"readOnly": true
},
{
"fieldname": "baseAmount",
"label": "Amount (Company Currency)",
"fieldtype": "Currency",
2022-03-23 08:37:00 +00:00
"computed": true,
2022-03-23 07:31:15 +00:00
"readOnly": true
}
],
2022-03-23 08:37:00 +00:00
"tableFields": ["item", "tax", "quantity", "rate", "amount"]
2022-03-23 07:31:15 +00:00
}