| Account |
s_c__Account_Id__c |
Lookup (Account) |
No |
The account eligible for this discount. If left blank, the discount applies to all accounts. |
| Active |
s_c__Active__c |
Checkbox |
No |
Set the discount as enabled or disabled |
| How to Apply the Discount |
s_c__Apply_Discount_To__c |
Picklist |
No |
[Future] Set whether the discount applies to products or to shipping. |
| Behaviour when Applied |
s_c__Behaviour_When_Applied__c |
Picklist |
Yes |
Controls whether this discount stacks with other discounts, replaces any other discounts, or provides a set price that supercedes all discounts. |
| Brand |
s_c__Brand_Id__c |
Lookup (Account) |
No |
The brand that is included in this discount. Brands are a special type of Account object that have Account.Brand__c equals true and can also be associated with products. If left as empty, it applies to all brands. |
| Calculation Type |
s_c__Calculation_Type__c |
Picklist |
Yes |
Sets how the discount is applied: as a percentage, or a dollar value, or a replacement price. |
| Conditions |
s_c__Conditions__c |
LongTextArea(1024) |
No |
An expression in Liquid syntax that refines when a Discount applies. |
| Discounted Points |
s_c__Discounted_Points__c |
Number(18,0) |
No |
Discounted Points will be set as the product's purchase points as is, for the duration of the discount if the Calculation_Type__c is set to Discounted Price. If a sale points is set for the product's price book entry, the lowest value between the sale points and discounted points will be selected. |
| Discounted Price |
s_c__Discounted_Price__c |
Currency(18,2) |
No |
Discounted Price will be set as the product's price as is, for the duration of the discount if the Calculation_Type__c is set to Discounted Price. If a sale price is set for the product's price book entry, the lowest value between the sale price and discounted price will be selected. |
| Dynamic Discounted Points |
s_c__Dynamic_Discounted_Points__c |
LongTextArea(5000) |
No |
An expression in Liquid syntax that supplies the discounted points price. This is required if the Calculation_Type__c is set to Dynamic Price. |
| Dynamic Discounted Price |
s_c__Dynamic_Discounted_Price__c |
LongTextArea(5000) |
No |
An expression in Liquid syntax that supplies the discounted price. This is required if the Calculation_Type__c is set to Dynamic Price. |
| Dynamic Discount Points Amount |
s_c__Dynamic_Value_Discount_Points__c |
LongTextArea(5000) |
No |
An expression in Liquid syntax that supplies the discount points amount. This is required if the Calculation_Type__c is set to Dynamic Amount. |
| Dynamic Discount Amount |
s_c__Dynamic_Value_Discount__c |
LongTextArea(5000) |
No |
An expression in Liquid syntax that supplies the discount amount. This is required if the Calculation_Type__c is set to Dynamic Amount. |
| The time this discount expires |
s_c__Expires_At__c |
DateTime |
No |
The exact time after which this discount will not be valid and not be able to be used. The time zone used is per the users time zone setting in Salesforce and the time is then converted and saved as the equivalent time in UTC. This means if you are setting a future date, be sure to take any time zone changes into account. |
| Membership |
s_c__Membership_Id__c |
Lookup (s_c__Membership__c) |
No |
The Membership that this discount applies to, if set, this discount can only be used by the members. |
| Discount Percentage |
s_c__Percent_Discount__c |
Percent(18,2) |
No |
The percentage discount applied if the Calculation_Type__c is set to Percent discount |
| Price Book |
s_c__Pricebook_Id__c |
Lookup (Pricebook2) |
No |
The price book that this discount applies to. If left as empty, it applies to all price books. |
| Product Category |
s_c__Product_Category_Id__c |
Lookup (s_c__Product_Category__c) |
No |
The Product Category object that this discount applies to, if set, this discount can only be used by this Product Category. If left as empty, it applies to all Product Categories |
| Product |
s_c__Product_Id__c |
Lookup (Product2) |
No |
The product that this discount applies to. If left as empty, it applies to all products. |
| Qualifying Quantity |
s_c__Qualifying_Quantity__c |
Number(18,0) |
No |
[Future] This field is not currently in use. It is slated for use in future development. |
| Rebate Amount |
s_c__Rebate_Amount__c |
Currency(18,2) |
No |
[Future] The rebate amount (store credit to be used in another order) of the discount applied if the Calculation_Type__c is set to Rebate |
| The time this discount starts |
s_c__Starts_At__c |
DateTime |
No |
The exact time before which this discount will not be valid and not be able to be used. The time zone used is per the users time zone setting in Salesforce and the time is then converted and saved as the equivalent time in UTC. This means if you are setting a future date, be sure to take any time zone changes into account. |
| Outlet Scope |
s_c__Outlet_Scope__c |
LongTextArea(16384) |
No |
Restricts this discount to specific outlets, stores, or store groups. Configured as a JSON scope definition. When empty, the discount applies to all outlets. |
| Store |
s_c__Store_Id__c |
Lookup (s_c__Store__c) |
No |
The store that this discount applies to (optional) |
| Discount Points Amount |
s_c__Value_Discount_Points__c |
Number(18,0) |
No |
The amount of the 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 the 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 |