{ "name": "SalesInvoiceItem", "label": "Sales Invoice Item", "isChild": true, "fields": [ { "fieldname": "item", "label": "Item", "fieldtype": "Link", "target": "Item", "create": true, "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", "hidden": true, "fieldtype": "Link", "target": "Account", "create": true, "required": true, "readOnly": true }, { "fieldname": "tax", "label": "Tax", "fieldtype": "Link", "create": true, "target": "Tax" }, { "fieldname": "amount", "label": "Amount", "fieldtype": "Currency", "readOnly": true }, { "fieldname": "baseAmount", "label": "Amount (Company Currency)", "fieldtype": "Currency", "readOnly": true }, { "fieldname": "hsnCode", "label": "HSN/SAC", "fieldtype": "Int", "placeholder": "HSN/SAC Code", "hidden": true } ], "tableFields": ["item", "tax", "quantity", "rate", "amount"], "keywordFields": ["item", "tax"] }