{"id":17727,"date":"2026-01-29T11:55:45","date_gmt":"2026-01-29T11:55:45","guid":{"rendered":"https:\/\/tenthplanet.in\/idempiere\/?p=17727"},"modified":"2026-07-17T05:21:12","modified_gmt":"2026-07-17T05:21:12","slug":"how-discount-schema-works-in-idempiere","status":"publish","type":"post","link":"https:\/\/tenthplanet.in\/idempiere\/how-discount-schema-works-in-idempiere\/","title":{"rendered":"How Discount Schema Works in iDempiere"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">To apply controlled discounts during sales and purchasing transactions, iDempiere uses a <strong>Discount Schema<\/strong>. A Discount Schema defines <strong>how discounts are calculated and applied<\/strong> to product prices based on predefined rules.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Process Flow<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"314\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/DiscountSchema-1024x314.png\" alt=\"\" class=\"wp-image-20883\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/DiscountSchema-1024x314.png 1024w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/DiscountSchema-300x92.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/DiscountSchema-768x235.png 768w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/DiscountSchema-1536x471.png 1536w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/DiscountSchema.png 1932w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Purpose of the Discount Schema<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The Discount Schema acts as a pricing rule that<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Applies discounts uniformly across products or categories<\/li>\n\n\n\n<li>Supports both simple and quantity-based discounting<\/li>\n\n\n\n<li>Reduces manual price adjustments during transactions<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The discount logic is driven by the <strong>Discount Type<\/strong> selected in the schema.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Defining the Discount Type<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The <strong>Discount Type<\/strong> determines how the discount is calculated. iDempiere supports two discount types:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Flat Percent<\/strong><\/li>\n\n\n\n<li><strong>Breaks<\/strong><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Each type follows a different pricing approach.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Flat Percent Discount Type<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">When <strong>Flat Percent<\/strong> is selected<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A <strong>Flat Discount %<\/strong> field becomes available<\/li>\n\n\n\n<li>The defined percentage is applied to total value of the order.<\/li>\n\n\n\n<li>The discount applies regardless of product quantity.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">An additional option allows<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>B.Partner Flat Discount<\/strong> \u2013 when enabled, the system uses the discount percentage defined at the Business Partner master instead of the value entered in the Discount Schema<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This approach is commonly used when a single discount rate applies across all products or customers.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"507\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-Master-DiscountSchema-1-1.png\" alt=\"\" class=\"wp-image-17730\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-Master-DiscountSchema-1-1.png 1024w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-Master-DiscountSchema-1-1-300x149.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-Master-DiscountSchema-1-1-768x380.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Breaks Discount Type<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">When <strong>Breaks<\/strong> is selected<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A <strong>Quantity Based<\/strong> option is enabled<\/li>\n\n\n\n<li>A new tab called <strong>Discount Breaks<\/strong> becomes available<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This allows discounts to vary based on ordered quantity or defined thresholds.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"507\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-Master-DiscountSchema-2.png\" alt=\"\" class=\"wp-image-17731\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-Master-DiscountSchema-2.png 1024w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-Master-DiscountSchema-2-300x149.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-Master-DiscountSchema-2-768x380.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Configuring Discount Breaks<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Within the <strong>Discount Breaks<\/strong> tab, users can define detailed discount rules.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Each Discount Break can include<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Product Category<\/strong> \u2013 specifies which products the rule applies to<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> If a product category is not specified user can define discount for a single product.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Break Value<\/strong> \u2013 defines the quantity threshold if Quantity based option is enabled or defines value.<\/li>\n\n\n\n<li><strong>Break Percentage<\/strong> \u2013 discount applied once the break value is reached<\/li>\n\n\n\n<li><strong>Flat Percentage<\/strong> \u2013 fixed discount applied for the break<\/li>\n\n\n\n<li><strong>Business Partner Flat Percentage<\/strong> \u2013 when enabled, the discount is derived from the Business Partner master<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">These rules allow granular control over pricing and support volume-based discount strategies.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"507\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-Master-DiscountSchema-3.png\" alt=\"\" class=\"wp-image-17732\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-Master-DiscountSchema-3.png 1024w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-Master-DiscountSchema-3-300x149.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-Master-DiscountSchema-3-768x380.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Assigning the Discount Schema to a Business partner or Partner Group<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The Discount Schema becomes active only when it is assigned to a <strong>Business partner or Partner Group<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once assigned<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>All transactions using that Price List automatically apply the discount logic<\/li>\n\n\n\n<li>Users are not required to manually calculate or enter discounts<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How the Discount Schema Is Applied in Transactions<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">During transaction processing<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The system identifies the Price List used<\/li>\n\n\n\n<li>The associated Discount Schema is evaluated<\/li>\n\n\n\n<li>Based on the Discount Type and rules, the applicable discount is applied<\/li>\n\n\n\n<li>The final price is calculated automatically<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">By using Discount Schemas, organizations can standardize pricing rules, support both flat and quantity-based discounts, and reduce manual pricing errors. Assigning the Discount Schema to a Business partner and Partner Group ensures discounts are applied consistently and automatically across all relevant transactions in iDempiere.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To apply controlled discounts during sales and purchasing transactions, iDempiere uses a Discount Schema. A Discount Schema defines how discounts [&hellip;]<\/p>\n","protected":false},"author":19,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[38],"tags":[],"class_list":["post-17727","post","type-post","status-publish","format-standard","hentry","category-master"],"acf":[],"_links":{"self":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts\/17727","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/comments?post=17727"}],"version-history":[{"count":2,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts\/17727\/revisions"}],"predecessor-version":[{"id":20884,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts\/17727\/revisions\/20884"}],"wp:attachment":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/media?parent=17727"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/categories?post=17727"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/tags?post=17727"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}