Calculated Discount Field Reference
The Calculated Discount object is responsible for storing information about all applied discounts for an order depending on the pricing procedure.
Object API name: orders__CalculatedDiscount__c
| Field | API Name | Type | Description |
|---|---|---|---|
Calculation Method |
orders__CalculationMethod__c |
Picklist |
The applied method of price calculation:
|
Calculation Type |
orders__CalculationTypeId__c |
Lookup(Calculation Type) |
Applied Calculation Type identifier. |
Condition |
orders__ConditionId__c |
Lookup(Condition) |
Condition identifier. |
Condition Group |
orders__ConditionGroupId__c |
Lookup(ConditionGroup) |
Condition Group from the Calculation Type used for discount calculation. |
Condition Level |
orders__ConditionLevelId__c |
Lookup(Condition Level) |
Condition level identifier. |
Discount Rate (%) |
orders__DiscountRatePercent__c |
Percent(16, 2) |
Discount value in percent. |
Discount Rate (Amt) |
orders__DiscountRateAmount__c |
Number(16, 2) |
Discount value in amount. |
Order |
orders__OrderId__c |
Master-Detail (Order) |
The order for which discount is calculated. |
Order Line Item |
orders__OrderLineItemId__с |
Lookup (Order Line Item) |
Order Line Item identifier. |
Price Calculation Log |
orders__PriceCalculationLog__c |
Long Text Area(32768) |
Log of operations that occurred during the price calculation. |
Pricing Procedure |
orders__PricingProcedureId__c |
Lookup(Pricing Procedure) |
Applied Pricing Procedure identifier. |
Record Type |
RecordTypeId |
Record Type |
A log type:
|
Reference Id |
orders__RefereneId__c |
Text(255) (External ID) (Unique Case Sensitive) |
The Reference Id field is responsible for the deduplication logic and stores the pair of record Id and user Id. For more information, refer to Order Change Manager.
|
Unit of Measure |
orders__UnitOfMeasure__c |
Picklist |
Unit of measure used for price calculation:
|