Create a new Price Rule to evaluate in a single Calculation:
Test Steps:
Observe:
| 1st Calculate | Solution Column | |||||
| On Initialization Summary Variables | ||||||
| On Initialization Price Condiitons | ||||||
| On Initialization Price Actions | 1st Price Rule: QL RequiresApproval updates to Null | 1st Price Rule: QL RequiresApproval updates to Null | ||||
| Formulas | Quote Line field: Product_requires_approval__c evaluates to False | Quote Line field: Product_requires_approval__c evaluates to False | ||||
| Before Calculate Summary Variables | ||||||
| Before Calculate Price Conditions | 2nd Price rule: Condition is met | 2nd Price rule: Condition is met | ||||
| Before Calculate Price Actions | 2nd Price rule: Price Action updates RequiresApproval to True | 2nd Price rule: Price Action updates RequiresApproval to True | ||||
| On Calculate Summary Variables | ||||||
| On Calculate Price Conditions | ||||||
| On Calculate Price Actions | 4th Price Rule: Price Action updates QLFsubstitute__c to True | |||||
| Pricewaterfall + Prorate Multiplier | ||||||
| After Calculate Summary Variables | Summary Variable: 'Sum QL where Approval is required' returns no records as Product_requires_approval__c is False | Summary Variable: 'Sum QL where Approval is required' returns records as QLFsubstitute__c is True | ||||
| After Calculate Price Conditions | 3rd Price Rule: Condition is not met | 3rd Price Rule: Condition is met | ||||
| After Calculate Price Actions | 3rd Price Rule does not action | 3rd Price Rule: Price Action updates ApprovalRequired__c Quote Field to true | ||||
| Formulas | Product_requires_approval__c evaluates as True | Product_requires_approval__c evaluates as True | ||||
| *End-User Value* | Quote ApprovalRequired__c Field = False |
|
000392665

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 are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security 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 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.