2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 07:40:55 +00:00
books/schemas/app/PurchaseInvoiceItem.json

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

125 lines
2.6 KiB
JSON
Raw Normal View History

2022-03-23 07:31:15 +00:00
{
"name": "PurchaseInvoiceItem",
2022-03-23 08:37:00 +00:00
"label": "Purchase Invoice Item",
2022-03-23 07:31:15 +00:00
"isChild": true,
"fields": [
{
"fieldname": "item",
"label": "Item",
"fieldtype": "Link",
"target": "Item",
2022-05-18 16:55:24 +00:00
"create": true,
2022-03-23 07:31:15 +00:00
"required": true
},
{
"fieldname": "description",
"label": "Description",
"fieldtype": "Text",
"hidden": true
},
{
"fieldname": "quantity",
"label": "Quantity",
"fieldtype": "Float",
"required": true,
"default": 1
},
{
"fieldname": "rate",
"label": "Rate",
"fieldtype": "Currency",
"required": true
},
{
"fieldname": "baseRate",
"label": "Rate (Company Currency)",
"fieldtype": "Currency",
"readOnly": true
},
{
"fieldname": "account",
"label": "Account",
"fieldtype": "Link",
"target": "Account",
2022-05-18 16:55:24 +00:00
"create": true,
2022-03-23 07:31:15 +00:00
"required": true,
"readOnly": true
},
{
"fieldname": "tax",
"label": "Tax",
"fieldtype": "Link",
2022-05-18 16:55:24 +00:00
"create": true,
2022-03-23 07:31:15 +00:00
"target": "Tax"
},
{
"fieldname": "amount",
"label": "Amount",
"fieldtype": "Currency",
"readOnly": true
},
{
"fieldname": "baseAmount",
"label": "Amount (Company Currency)",
"fieldtype": "Currency",
"readOnly": true
},
{
"fieldname": "setItemDiscountAmount",
"label": "Set Discount Amount",
"fieldtype": "Check",
"default": false
},
{
"fieldname": "itemDiscountAmount",
"label": "Discount Amount",
"fieldtype": "Currency",
"readOnly": false
},
{
"fieldname": "itemDiscountPercent",
"label": "Discount Percent",
"fieldtype": "Float",
"readOnly": false
},
{
"fieldname": "itemDiscountedTotal",
"label": "Discounted Total",
"fieldtype": "Currency",
"readOnly": false,
"computed": true
},
{
"fieldname": "itemTaxedTotal",
"label": "Taxed Total",
"fieldtype": "Currency",
"readOnly": false,
"computed": true
},
{
"fieldname": "hsnCode",
"label": "HSN/SAC",
"fieldtype": "Int",
"placeholder": "HSN/SAC Code",
"hidden": true
2022-03-23 07:31:15 +00:00
}
],
"tableFields": ["item", "tax", "quantity", "rate", "amount"],
2022-07-11 08:45:37 +00:00
"keywordFields": ["item", "tax"],
"quickEditFields": [
"item",
"account",
2022-07-11 08:45:37 +00:00
"description",
"hsnCode",
"tax",
"quantity",
"rate",
"amount",
"setItemDiscountAmount",
2022-07-11 08:45:37 +00:00
"itemDiscountAmount",
"itemDiscountPercent",
"itemDiscountedTotal",
"itemTaxedTotal"
2022-07-11 08:45:37 +00:00
]
}