Discount Data Model

Have a look at the Discount data model:

Discount Data Model
Object API Name Record Type Description

Calculated Discount

orders__CalculatedDiscount__c

  • Applied Condition

  • Calculation Log

This object stores interim data about the discount calculated for each Order Line Item in the order.

Calculation Type

orders__CalculationType__c

  • Condition

  • Group + Condition

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.

Condition

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.

Condition Dependency

orders__ConditionDependency__c

This object is used to store a logic of links for conditions to build dependencies of one condition on another.

Condition Group

orders__ConditionGroup__c

This object stores reference to the order and applied calculation type data.

Condition Level

orders__ConditionLevel__c

This object stores the minimum amount of product for the discount applied discount value and payment terms for each level.

Pricing Procedure

orders__PricingProcedure__c

This object stores the price calculation formula for the selected Order Type and Sales Organization.

Procedure Calculation Type

orders__ProcedureCalculationType__c

This junction object makes a link between Pricing Procedure and corresponding Calculation Type records.

``