2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 11:29:03 +00:00
books/schemas/app/SalesInvoice.json

125 lines
2.8 KiB
JSON
Raw Normal View History

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",
"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,
"default": "SINV-",
"section": "Default"
},
{
"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"
},
{
"fieldname": "backReference",
"label": "Back Reference",
"fieldtype": "Link",
"target": "Shipment",
"section": "References"
},
{
"fieldname": "quote",
"label": "Quote Reference",
"fieldtype": "Link",
"target": "SalesQuote",
"section": "References",
"required": false
},
{
"fieldname": "makeAutoStockTransfer",
"label": "Make Shipment On Submit",
"fieldtype": "Check",
"default": false,
"readOnly": false,
"tab": "Settings"
},
{
"fieldname": "items",
"label": "Items",
"fieldtype": "Table",
"target": "SalesInvoiceItem",
"required": true,
"edit": true,
"section": "Items"
},
{
"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"
},
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"
},
{
"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
}
],
"keywordFields": ["name", "party"]
2022-05-03 15:13:55 +00:00
}