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",
|
2022-05-18 16:55:24 +00:00
|
|
|
"create": true,
|
2022-03-23 07:31:15 +00:00
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "description",
|
|
|
|
"label": "Description",
|
2022-07-12 10:23:41 +00:00
|
|
|
"fieldtype": "Text"
|
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",
|
|
|
|
"readOnly": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "account",
|
|
|
|
"label": "Account",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "Account",
|
2022-07-12 10:23:41 +00:00
|
|
|
"required": true
|
2022-03-23 07:31:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "tax",
|
|
|
|
"label": "Tax",
|
|
|
|
"fieldtype": "Link",
|
2022-05-18 16:55:24 +00:00
|
|
|
"create": true,
|
2022-03-23 08:37:00 +00:00
|
|
|
"target": "Tax"
|
2022-03-23 07:31:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "amount",
|
|
|
|
"label": "Amount",
|
|
|
|
"fieldtype": "Currency",
|
|
|
|
"readOnly": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "baseAmount",
|
|
|
|
"label": "Amount (Company Currency)",
|
|
|
|
"fieldtype": "Currency",
|
|
|
|
"readOnly": true
|
2022-04-14 09:22:45 +00:00
|
|
|
},
|
2022-07-13 17:48:20 +00:00
|
|
|
{
|
|
|
|
"fieldname": "setItemDiscountAmount",
|
|
|
|
"label": "Set Discount Amount",
|
|
|
|
"fieldtype": "Check",
|
|
|
|
"default": false
|
|
|
|
},
|
2022-07-11 07:52:53 +00:00
|
|
|
{
|
|
|
|
"fieldname": "itemDiscountAmount",
|
2022-07-12 10:23:41 +00:00
|
|
|
"label": "Discount Amount",
|
2022-07-11 07:52:53 +00:00
|
|
|
"fieldtype": "Currency",
|
|
|
|
"readOnly": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "itemDiscountPercent",
|
2022-07-12 10:23:41 +00:00
|
|
|
"label": "Discount Percent",
|
2022-07-11 07:52:53 +00:00
|
|
|
"fieldtype": "Float",
|
|
|
|
"readOnly": false
|
|
|
|
},
|
2022-07-12 10:23:41 +00:00
|
|
|
{
|
|
|
|
"fieldname": "itemDiscountedTotal",
|
2022-07-14 09:28:26 +00:00
|
|
|
"label": "Discounted Amount",
|
2022-07-12 10:23:41 +00:00
|
|
|
"fieldtype": "Currency",
|
|
|
|
"readOnly": false,
|
|
|
|
"computed": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "itemTaxedTotal",
|
2022-07-14 09:28:26 +00:00
|
|
|
"label": "Taxed Amount",
|
2022-07-12 10:23:41 +00:00
|
|
|
"fieldtype": "Currency",
|
|
|
|
"readOnly": false,
|
|
|
|
"computed": true
|
|
|
|
},
|
2022-04-14 09:22:45 +00:00
|
|
|
{
|
|
|
|
"fieldname": "hsnCode",
|
|
|
|
"label": "HSN/SAC",
|
|
|
|
"fieldtype": "Int",
|
2022-07-12 10:23:41 +00:00
|
|
|
"placeholder": "HSN/SAC Code"
|
2022-03-23 07:31:15 +00:00
|
|
|
}
|
|
|
|
],
|
2022-05-04 16:25:08 +00:00
|
|
|
"tableFields": ["item", "tax", "quantity", "rate", "amount"],
|
2022-07-11 08:45:37 +00:00
|
|
|
"keywordFields": ["item", "tax"],
|
|
|
|
"quickEditFields": [
|
|
|
|
"item",
|
2022-07-12 10:23:41 +00:00
|
|
|
"account",
|
2022-07-11 08:45:37 +00:00
|
|
|
"description",
|
|
|
|
"hsnCode",
|
|
|
|
"tax",
|
|
|
|
"quantity",
|
|
|
|
"rate",
|
2022-07-12 10:23:41 +00:00
|
|
|
"amount",
|
2022-07-13 17:48:20 +00:00
|
|
|
"setItemDiscountAmount",
|
2022-07-11 08:45:37 +00:00
|
|
|
"itemDiscountAmount",
|
2022-07-12 10:23:41 +00:00
|
|
|
"itemDiscountPercent",
|
|
|
|
"itemDiscountedTotal",
|
|
|
|
"itemTaxedTotal"
|
2022-07-11 08:45:37 +00:00
|
|
|
]
|
2022-04-14 09:22:45 +00:00
|
|
|
}
|