2022-03-23 07:31:15 +00:00
|
|
|
{
|
|
|
|
"name": "SalesInvoice",
|
2022-03-23 08:37:00 +00:00
|
|
|
"label": "Sales Invoice",
|
2022-09-15 08:53:13 +00:00
|
|
|
"naming": "numberSeries",
|
2022-03-23 07:31:15 +00:00
|
|
|
"isSingle": false,
|
|
|
|
"isChild": false,
|
|
|
|
"isSubmittable": true,
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"label": "Invoice No",
|
|
|
|
"fieldname": "name",
|
|
|
|
"fieldtype": "Data",
|
|
|
|
"required": true,
|
|
|
|
"readOnly": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "date",
|
|
|
|
"label": "Date",
|
2022-05-03 15:13:55 +00:00
|
|
|
"fieldtype": "Date",
|
|
|
|
"required": true
|
2022-03-23 07:31:15 +00:00
|
|
|
},
|
|
|
|
{
|
2022-04-11 06:04:18 +00:00
|
|
|
"fieldname": "party",
|
|
|
|
"label": "Party",
|
2022-03-23 07:31:15 +00:00
|
|
|
"fieldtype": "Link",
|
2022-04-11 06:04:18 +00:00
|
|
|
"target": "Party",
|
2022-05-18 16:55:24 +00:00
|
|
|
"create": true,
|
2022-03-23 07:31:15 +00:00
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "account",
|
|
|
|
"label": "Account",
|
|
|
|
"fieldtype": "Link",
|
2022-05-03 15:13:55 +00:00
|
|
|
"target": "Account",
|
2022-05-18 16:55:24 +00:00
|
|
|
"create": true,
|
2022-05-03 15:13:55 +00:00
|
|
|
"required": true
|
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-07-11 08:45:37 +00:00
|
|
|
"required": true,
|
|
|
|
"edit": true
|
2022-03-23 07:31:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"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",
|
2022-07-30 10:36:14 +00:00
|
|
|
"readOnly": true,
|
|
|
|
"filter": true
|
2022-03-23 07:31:15 +00:00
|
|
|
},
|
2022-07-13 17:48:20 +00:00
|
|
|
{
|
|
|
|
"fieldname": "setDiscountAmount",
|
|
|
|
"label": "Set Discount Amount",
|
|
|
|
"fieldtype": "Check",
|
|
|
|
"default": false
|
|
|
|
},
|
2022-07-11 07:52:53 +00:00
|
|
|
{
|
|
|
|
"fieldname": "discountAmount",
|
|
|
|
"label": "Discount Amount",
|
|
|
|
"fieldtype": "Currency",
|
|
|
|
"readOnly": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "discountPercent",
|
|
|
|
"label": "Discount Percent",
|
|
|
|
"fieldtype": "Float",
|
|
|
|
"readOnly": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "discountAfterTax",
|
|
|
|
"label": "Discount After Tax",
|
|
|
|
"fieldtype": "Check",
|
|
|
|
"default": false,
|
|
|
|
"readOnly": false
|
|
|
|
},
|
2022-03-23 07:31:15 +00:00
|
|
|
{
|
|
|
|
"fieldname": "terms",
|
|
|
|
"label": "Notes",
|
2022-05-04 16:25:08 +00:00
|
|
|
"placeholder": "Add invoice terms",
|
2022-03-23 07:31:15 +00:00
|
|
|
"fieldtype": "Text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "numberSeries",
|
|
|
|
"label": "Number Series",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "NumberSeries",
|
2022-05-18 16:55:24 +00:00
|
|
|
"create": true,
|
2022-03-23 07:31:15 +00:00
|
|
|
"required": true,
|
|
|
|
"default": "SINV-"
|
|
|
|
}
|
2022-05-04 16:25:08 +00:00
|
|
|
],
|
|
|
|
"keywordFields": ["name", "party"]
|
2022-05-03 15:13:55 +00:00
|
|
|
}
|