Header Conditions
Header conditions apply at the header level of an order. Header conditions are independent of individual line items. To determine a condition, the system considers a base value for all items. The condition can be a percentage or a flat rate. The result is calculated at the header level.
Required Editions
| Available in: Lightning Experience in Professional, Enterprise, and Unlimited Editions that have Consumer Goods Cloud enabled |
During order calculation, the system finds and applies header conditions based on the order quantity, weight, volume, or value.
Manual Conditions
Provide manual conditions during order calculation if the calculation step is configured. The Manual checkbox indicates whether a calculation step considers a manual discount.
Capture the price and discount information manually during order calculation. The system overrides the found condition with manually entered values. Here's how the manual order item step is run:
| Manual Source attribute of the pricing condition template | pricing engine takes the input value (condition) from |
|---|---|
| Empty | Relevant field from the Order Items tab |
| PricingInfo1, 2, 3, or 4 fields | Related order item object fields |
Here's how the manual order header step is run:
| Manual Source attribute of the pricing condition template | pricing engine takes the input value (condition) from |
|---|---|
| Empty | Relevant field from the Order Header tab |
| PricingInfo1, 2, 3, or 4 fields | Related order object fields |
The Pricing Info attributes—PricingInfo1, PricingInfo2, PricingInfo3, PricingInfo4—are updated based on how the User Exit for the Special Rewards function is run.
Target Conditions and Results
Based on the configurations defined in the Target Condition and Target Result fields of the calculation schema, the system stores the condition value and the calculated result of the respective schema step either in the corresponding order header or order item fields.
- Order item
- Here's how the order item step for storing target conditions and results is run.
Condition Result The Target Condition field of a calculation schema is set for a calculation step at the item level. The system stores the condition value of the respective schema step in a field of the corresponding order item. The Target Result field of the calculation schema is set for a calculation step at the item level. The system stores the result value of the respective schema step in an attribute of the corresponding order item. - Order header
- Here's how the order header step for storing target conditions and results is run:
Condition Result The Target Condition field of the calculation schema is set for a calculation step at the header level. The system stores the condition value of the respective schema step in an attribute of the corresponding order header. The Target Result field of the calculation schema is set for a calculation step at the header level. The system stores the calculated result of the schema step in an attribute of the order header.
The order item or order header field of the order is updated based on the values of the Target Condition and the Target Result fields.

