Custom Object with Product Discount Rules (Example)
You can use standard or custom objects to store decision table rules. In this example,
an admin creates a custom object to store discount rules for orders. A decision table uses these
rules to determine order discounts.
Required Editions
Available in: Lightning Experience
Available in: Enterprise, Performance, and Unlimited Editions with Loyalty Management
or Rebate Management
Note Decision tables are also available as part of Business Rules
Engine. If your org has Business Rules Engine enabled, see Decision Tables for Business Rules Engine.
The admin names the custom object Order Discount Rules. The object contains these
fields.
Field
Data Type
Order Discount Name
Text
Maximum Quantity
Number
Minimum Quantity
Number
Product Name
Text
Discount
Percent
Here's how the Order Discount Rule custom object looks in the Object
Manager.
The admin then adds the rules as records of the
Order Discount Rules custom object.
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.