2022-09-27 09:37:11 +00:00
|
|
|
{
|
|
|
|
"name": "Invoice",
|
|
|
|
"label": "Invoice",
|
|
|
|
"isAbstract": true,
|
|
|
|
"isSingle": false,
|
|
|
|
"isChild": false,
|
|
|
|
"isSubmittable": true,
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"label": "Invoice No",
|
|
|
|
"fieldname": "name",
|
|
|
|
"fieldtype": "Data",
|
|
|
|
"required": true,
|
2023-04-12 09:05:38 +00:00
|
|
|
"readOnly": true,
|
|
|
|
"hidden": true
|
2022-09-27 09:37:11 +00:00
|
|
|
},
|
|
|
|
{
|
2023-04-12 09:05:38 +00:00
|
|
|
"abstract": true,
|
|
|
|
"fieldname": "numberSeries",
|
|
|
|
"section": "Default"
|
2022-09-27 09:37:11 +00:00
|
|
|
},
|
|
|
|
{
|
2023-08-25 07:07:02 +00:00
|
|
|
"abstract": true,
|
2022-09-27 09:37:11 +00:00
|
|
|
"fieldname": "party",
|
2023-04-12 09:05:38 +00:00
|
|
|
"section": "Default"
|
2022-09-27 09:37:11 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "account",
|
|
|
|
"label": "Account",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "Account",
|
|
|
|
"create": true,
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
{
|
2023-04-12 09:05:38 +00:00
|
|
|
"fieldname": "date",
|
|
|
|
"label": "Date",
|
2024-12-11 04:23:31 +00:00
|
|
|
"fieldtype": "Datetime",
|
2023-04-12 09:05:38 +00:00
|
|
|
"required": true,
|
|
|
|
"section": "Default"
|
2022-09-27 09:37:11 +00:00
|
|
|
},
|
2023-06-06 08:58:48 +00:00
|
|
|
{
|
|
|
|
"fieldname": "priceList",
|
|
|
|
"label": "Price List",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "PriceList",
|
|
|
|
"section": "Default"
|
|
|
|
},
|
2022-09-27 09:37:11 +00:00
|
|
|
{
|
2023-04-12 09:05:38 +00:00
|
|
|
"abstract": true,
|
|
|
|
"fieldname": "items",
|
|
|
|
"section": "Items"
|
2022-09-27 09:37:11 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "netTotal",
|
|
|
|
"label": "Net Total",
|
|
|
|
"fieldtype": "Currency",
|
2023-04-12 09:05:38 +00:00
|
|
|
"readOnly": true,
|
|
|
|
"section": "Items"
|
2022-09-27 09:37:11 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "taxes",
|
|
|
|
"label": "Taxes",
|
|
|
|
"fieldtype": "Table",
|
|
|
|
"target": "TaxSummary",
|
2023-04-12 09:05:38 +00:00
|
|
|
"readOnly": true,
|
|
|
|
"section": "Tax and Totals"
|
2022-09-27 09:37:11 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "baseGrandTotal",
|
2022-10-03 08:18:02 +00:00
|
|
|
"label": "Base Grand Total",
|
2022-09-27 09:37:11 +00:00
|
|
|
"fieldtype": "Currency",
|
2023-04-12 09:05:38 +00:00
|
|
|
"readOnly": true,
|
|
|
|
"section": "Tax and Totals"
|
2022-09-27 09:37:11 +00:00
|
|
|
},
|
|
|
|
{
|
2023-04-12 09:05:38 +00:00
|
|
|
"fieldname": "grandTotal",
|
|
|
|
"label": "Grand Total",
|
2022-09-27 09:37:11 +00:00
|
|
|
"fieldtype": "Currency",
|
2023-04-12 09:05:38 +00:00
|
|
|
"readOnly": true,
|
|
|
|
"section": "Tax and Totals"
|
2022-09-27 09:37:11 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "setDiscountAmount",
|
|
|
|
"label": "Set Discount Amount",
|
|
|
|
"fieldtype": "Check",
|
2023-04-12 09:05:38 +00:00
|
|
|
"default": false,
|
|
|
|
"hidden": true
|
2022-09-27 09:37:11 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "discountAmount",
|
|
|
|
"label": "Discount Amount",
|
|
|
|
"fieldtype": "Currency",
|
2023-04-12 09:05:38 +00:00
|
|
|
"readOnly": false,
|
|
|
|
"hidden": true
|
2022-09-27 09:37:11 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "discountPercent",
|
|
|
|
"label": "Discount Percent",
|
|
|
|
"fieldtype": "Float",
|
2023-04-12 09:05:38 +00:00
|
|
|
"readOnly": false,
|
|
|
|
"hidden": true
|
2022-09-27 09:37:11 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "entryCurrency",
|
|
|
|
"label": "Entry Currency",
|
|
|
|
"fieldtype": "Select",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"value": "Party",
|
|
|
|
"label": "Party"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Company",
|
|
|
|
"label": "Company"
|
|
|
|
}
|
|
|
|
],
|
2023-04-12 09:05:38 +00:00
|
|
|
"default": "Party",
|
2023-04-14 05:13:18 +00:00
|
|
|
"hidden": true
|
2023-04-12 09:05:38 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "currency",
|
|
|
|
"label": "Customer Currency",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "Currency",
|
2023-04-14 05:13:18 +00:00
|
|
|
"readOnly": true,
|
2023-05-08 06:30:14 +00:00
|
|
|
"hidden": true
|
2023-04-12 09:05:38 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "exchangeRate",
|
|
|
|
"label": "Exchange Rate",
|
|
|
|
"fieldtype": "Float",
|
|
|
|
"default": 1,
|
|
|
|
"readOnly": true,
|
2023-05-08 06:30:14 +00:00
|
|
|
"hidden": true
|
2023-04-12 09:05:38 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "discountAfterTax",
|
2023-04-20 06:10:23 +00:00
|
|
|
"label": "Apply Discount After Tax",
|
2023-04-12 09:05:38 +00:00
|
|
|
"fieldtype": "Check",
|
|
|
|
"default": false,
|
|
|
|
"readOnly": false,
|
2023-04-14 05:13:18 +00:00
|
|
|
"tab": "Settings"
|
2023-04-12 09:05:38 +00:00
|
|
|
},
|
2023-04-20 06:10:23 +00:00
|
|
|
{
|
2023-04-20 07:42:20 +00:00
|
|
|
"fieldname": "makeAutoPayment",
|
2023-04-20 06:10:23 +00:00
|
|
|
"label": "Make Payment On Submit",
|
|
|
|
"fieldtype": "Check",
|
|
|
|
"default": false,
|
|
|
|
"readOnly": false,
|
|
|
|
"tab": "Settings"
|
|
|
|
},
|
2023-06-06 07:03:58 +00:00
|
|
|
{
|
|
|
|
"abstract": true,
|
|
|
|
"fieldname": "makeAutoStockTransfer",
|
|
|
|
"tab": "Settings"
|
|
|
|
},
|
2023-04-12 09:05:38 +00:00
|
|
|
{
|
|
|
|
"fieldname": "outstandingAmount",
|
|
|
|
"label": "Outstanding Amount",
|
|
|
|
"fieldtype": "Currency",
|
|
|
|
"readOnly": true,
|
|
|
|
"section": "Outstanding"
|
|
|
|
},
|
|
|
|
{
|
2023-08-28 06:20:15 +00:00
|
|
|
"abstract": true,
|
2023-04-12 09:05:38 +00:00
|
|
|
"fieldname": "stockNotTransferred",
|
|
|
|
"section": "Outstanding"
|
2022-09-27 09:37:11 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "terms",
|
|
|
|
"label": "Notes",
|
|
|
|
"placeholder": "Add invoice terms",
|
2023-04-12 09:05:38 +00:00
|
|
|
"fieldtype": "Text",
|
|
|
|
"section": "References"
|
2022-10-13 11:58:53 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "attachment",
|
|
|
|
"placeholder": "Add attachment",
|
|
|
|
"label": "Attachment",
|
2023-04-12 09:05:38 +00:00
|
|
|
"fieldtype": "Attachment",
|
|
|
|
"section": "References"
|
2023-06-05 06:09:06 +00:00
|
|
|
},
|
2023-09-23 10:26:24 +00:00
|
|
|
{
|
|
|
|
"fieldname": "isReturned",
|
|
|
|
"fieldtype": "Check",
|
|
|
|
"hidden": true,
|
|
|
|
"default": false
|
|
|
|
},
|
2023-06-05 06:09:06 +00:00
|
|
|
{
|
|
|
|
"abstract": true,
|
|
|
|
"fieldname": "backReference",
|
|
|
|
"section": "References"
|
2023-09-23 10:26:24 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"abstract": true,
|
|
|
|
"fieldname": "returnAgainst",
|
|
|
|
"section": "References"
|
2022-09-27 09:37:11 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"keywordFields": ["name", "party"]
|
|
|
|
}
|