Discount Data Model
Have a look at the Discount data model:
| Object | API Name | Record Type | Description |
|---|---|---|---|
orders__CalculatedDiscount__c |
|
This object stores interim data about the discount calculated for each Order Line Item in the order. |
|
orders__CalculationType__c |
|
This object stores data about a particular type of discount calculation, including the list of fields available for users,condition fields update and calculation methods, and applied unit of measure. |
|
orders__Condition__c |
This object stores the values of the fields that trigger the discount calculation, discount rates, and data about the calculation type and method. |
||
orders__ConditionDependency__c |
This object is used to store a logic of links for conditions to build dependencies of one condition on another. |
||
orders__ConditionGroup__c |
This object stores reference to the order and applied calculation type data. |
||
orders__ConditionLevel__c |
This object stores the minimum amount of product for the discount applied discount value and payment terms for each level. |
||
orders__PricingProcedure__c |
This object stores the price calculation formula for the selected Order Type and Sales Organization. |
||
orders__ProcedureCalculationType__c |
This junction object makes a link between Pricing Procedure and corresponding Calculation Type records. |