Create a Decision Table to Determine Order Discount Percentage (Example)
After you create the custom object that contains the business rules, you can create the
decision table. In this example, you use a decision table to determine order discount
percentages.
Required Editions
Available in: Lightning Experience
Available in: Enterprise, Performance, and Unlimited Editions with Loyalty Management
or Rebate Management
User Permissions Needed
To create, edit, and activate a decision table:
System Administrator profile
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 decision table determines product discount percentages based on the rules defined in the
Product Discount Rules custom object. The decision table populates the discount percentage for
products in the Product standard object’s Discount field.
From Setup, in the Quick Find box, enter Decision Tables, and then
select Decision Tables.
Click New.
Provide these details, and then click Next.
Field
Value
Name
Decide Discount Percentage for Orders
API Name
Decide_Discount_Percentage_for_Orders
Source Object
Order Discount Rule
Select the input fields, the output field, and then click
Next.
Field Name
Use
Operator
Discount
Output
-
Maximum Quantity
Input
Less or Equal
Minimum Quantity
Input
Greater or Equal
Product Name
Input
Equals
Click Next.
Specify these details.
Field
Value
Input Field Condition
Custom Logic
Custom Logic
(1 AND 2) OR 3
Save your work.
Next, set up a dataset link that determines which records the decision table processes and
provides outcomes for.
Konnten Sie Ihr Problem mithilfe dieses Artikels lösen?
Geben Sie uns Feedback, damit wir uns verbessern können.
Laden
Salesforce Help | Article
Cookie Consent Manager
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
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.