2022-03-23 07:31:15 +00:00
|
|
|
{
|
|
|
|
"name": "SalesInvoice",
|
2022-03-23 08:37:00 +00:00
|
|
|
"label": "Sales Invoice",
|
2022-09-27 09:37:11 +00:00
|
|
|
"extends": "Invoice",
|
2022-09-15 08:53:13 +00:00
|
|
|
"naming": "numberSeries",
|
2022-09-27 09:37:11 +00:00
|
|
|
"showTitle": true,
|
2022-03-23 07:31:15 +00:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"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,
|
2023-04-12 09:05:38 +00:00
|
|
|
"default": "SINV-",
|
|
|
|
"section": "Default"
|
|
|
|
},
|
2023-08-25 07:07:02 +00:00
|
|
|
{
|
|
|
|
"fieldname": "party",
|
|
|
|
"label": "Customer",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "Party",
|
|
|
|
"create": true,
|
|
|
|
"required": true,
|
|
|
|
"section": "Default"
|
|
|
|
},
|
2024-09-11 10:32:29 +00:00
|
|
|
{
|
|
|
|
"fieldname": "coupons",
|
|
|
|
"label": "Coupons",
|
|
|
|
"fieldtype": "Table",
|
|
|
|
"target": "AppliedCouponCodes",
|
|
|
|
"section": "Coupons"
|
|
|
|
},
|
2023-06-05 06:09:06 +00:00
|
|
|
{
|
|
|
|
"fieldname": "backReference",
|
|
|
|
"label": "Back Reference",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "Shipment",
|
|
|
|
"section": "References"
|
|
|
|
},
|
2023-12-22 00:19:13 +00:00
|
|
|
{
|
|
|
|
"fieldname": "quote",
|
|
|
|
"label": "Quote Reference",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "SalesQuote",
|
|
|
|
"section": "References",
|
|
|
|
"required": false
|
|
|
|
},
|
2023-06-06 07:03:58 +00:00
|
|
|
{
|
|
|
|
"fieldname": "makeAutoStockTransfer",
|
|
|
|
"label": "Make Shipment On Submit",
|
|
|
|
"fieldtype": "Check",
|
|
|
|
"default": false,
|
|
|
|
"readOnly": false,
|
|
|
|
"tab": "Settings"
|
|
|
|
},
|
2023-04-12 09:05:38 +00:00
|
|
|
{
|
|
|
|
"fieldname": "items",
|
|
|
|
"label": "Items",
|
|
|
|
"fieldtype": "Table",
|
|
|
|
"target": "SalesInvoiceItem",
|
|
|
|
"required": true,
|
|
|
|
"edit": true,
|
|
|
|
"section": "Items"
|
2023-08-28 06:20:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "stockNotTransferred",
|
|
|
|
"label": "Stock Not Shipped",
|
|
|
|
"fieldtype": "Float",
|
|
|
|
"readOnly": true,
|
|
|
|
"section": "Outstanding"
|
2023-09-23 10:26:24 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "returnAgainst",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "SalesInvoice",
|
|
|
|
"label": "Return Against",
|
|
|
|
"section": "References"
|
2023-08-22 12:53:29 +00:00
|
|
|
},
|
2024-08-22 09:02:45 +00:00
|
|
|
{
|
|
|
|
"fieldname": "loyaltyProgram",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "LoyaltyProgram",
|
|
|
|
"label": "Loyalty Program",
|
|
|
|
"section": "References",
|
|
|
|
"readOnly": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "redeemLoyaltyPoints",
|
|
|
|
"fieldtype": "Check",
|
|
|
|
"default": false,
|
|
|
|
"label": "Redeem Loyalty Points",
|
|
|
|
"section": "Loyalty Points Redemption"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "loyaltyPoints",
|
|
|
|
"fieldtype": "Int",
|
|
|
|
"label": "Loyalty Points",
|
|
|
|
"section": "Loyalty Points Redemption"
|
|
|
|
},
|
2023-08-22 12:53:29 +00:00
|
|
|
{
|
|
|
|
"fieldname": "isPOS",
|
|
|
|
"fieldtype": "Check",
|
|
|
|
"default": false,
|
|
|
|
"hidden": true
|
2024-01-30 12:54:01 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "isPricingRuleApplied",
|
|
|
|
"fieldtype": "Check",
|
|
|
|
"default": false,
|
|
|
|
"hidden": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "pricingRuleDetail",
|
|
|
|
"fieldtype": "Table",
|
|
|
|
"label": "Pricing Rule Detail",
|
|
|
|
"target": "PricingRuleDetail",
|
|
|
|
"edit": false,
|
|
|
|
"readOnly": true,
|
|
|
|
"section": "References"
|
2022-03-23 07:31:15 +00:00
|
|
|
}
|
2022-05-04 16:25:08 +00:00
|
|
|
],
|
|
|
|
"keywordFields": ["name", "party"]
|
2022-05-03 15:13:55 +00:00
|
|
|
}
|