Discount Credit Object Reference

Overview

A record of the discount actually applied at the time of the order, generally used for tracking and audit purposes. This record is autogenerated and ideally should not be manually updated.

Property Value
API Name s_c__Discount_Credit__c
Label Discount Credit
Plural Label Discount Credits
Type Custom Object

Fields

Field Label API Name Type Required Description
Calculation Type s_c__Calculation_Type__c Picklist Yes How the discount was applied: as a percentage, a dollar value, or a replacement price.
Credit Value Points s_c__Credit_Value_Points__c Number(18,0) No The calculated credit value in points applied to the order as a result of applying this discount. For the replacement points, the credit value is the product's original list points minus the discounted points.
Credit Value s_c__Credit_Value__c Currency(18,2) Yes The calculated credit value applied to the order as a result of applying this discount. For the replacement price, the credit value is the product's original list price minus the discounted price.
Discount s_c__Discount_Id__c Lookup (s_c__Discount__c) No The Discount object that was applied to the related order.
Discounted Points s_c__Discounted_Points__c Number(18,0) No The set amount in points applied if the Calculation_Type__c is set to Discounted Price.
Discounted Price s_c__Discounted_Price__c Currency(18,2) No The set price applied if the Calculation_Type__c is set to Discounted Price.
Order s_c__Order_Id__c Lookup (Order) No The Order object that the discount was applied to.
Discount Percentage s_c__Percent_Discount__c Percent(18,2) No The percentage of discount applied if the Calculation_Type__c is set to Discount Percentage.
Qualifying Quantity s_c__Qualifying_Quantity__c Number(18,0) No [Future use] How many items did the user need to purchase of the scope before this discount was applied to all items in the scope.
Discount Points Amount s_c__Value_Discount_Points__c Number(18,0) No The amount of discount in points applied if the Calculation_Type__c is set to Discount Amount.
Discount Amount s_c__Value_Discount__c Currency(18,2) No The amount of discount applied if the Calculation_Type__c is set to Discount Amount.
StoreConnect External ID s_c__sC_Id__c Text(36) No StoreConnect External ID, do not modify in Salesforce

Relationships

Field Type Related Object Relationship Name
s_c__Discount_Id__c Lookup s_c__Discount__c Discount_Credits
s_c__Order_Id__c Lookup Order Discount_Credits