This object stores the details of rewards that are assigned to a
reward group. This object is available in API version 54.0 and later.
Supported Calls
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()
Fields
Name
- Type: string
- Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
- Description: Unique identification of the record.
cgcloud__Automatically_Granted__c
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Defines whether the rewards must be automatically granted.
- Default value: false
cgcloud__Boolean_Value__c
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description: Value to compare with an output parameter.
-
Possible values:
- false—False
- true—True
cgcloud__Classification__c
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description: Classification of either Free Item Reward or Special Rewards.
-
Possible values:
- C1
- C2
- C3
- C4
- C5
cgcloud__Count_Products__c
- Type: double
- Properties: Filter, Nillable, Sort
-
Description: Count of Promotion_Reward_Product__c records.
This is a calculated field.
cgcloud__Date_Value__c
- Type: date
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Value to compare with an output parameter.
cgcloud__Default_Value__c
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Default value depending on Condition_Type.
cgcloud__Description_Language_1__c
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Stores the description of language 1.
cgcloud__Description_Language_2__c
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Stores the description of language 2.
cgcloud__Description_Language_3__c
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Stores the description of language 3.
cgcloud__Description_Language_4__c
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Stores the description of language 4.
cgcloud__Description__c
- Type: string
- Properties: Filter, Nillable, Sort
-
Description: Description based on the user-specified language.
This is a calculated field.
-
Formula:
CASE($User.cgcloud__Language_Postfix__c, "Language1", cgcloud__Description_Language_1__c, "Language2", BLANKVALUE(cgcloud__Description_Language_2__c,cgcloud__Description_Language_1__c), "Language3", BLANKVALUE(cgcloud__Description_Language_3__c,cgcloud__Description_Language_1__c), "Language4", BLANKVALUE(cgcloud__Description_Language_4__c,cgcloud__Description_Language_1__c),cgcloud__Description_Language_1__c)
cgcloud__Free_Item__c
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Defines a reward as free item-relevant.
- Default value: false
cgcloud__Hurdle__c
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: Reference to Hurdle. Indicates whether a specific hurdle condition
resolution is to be done for rewards values.
This is a relationship field.
- Relationship Name: cgcloud__Hurdle__r
- Relationship Type: Lookup
- Refers To: cgcloud__Promotion_Hurdle__c
cgcloud__Included__c
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Define whether the reward is to be included on pricing calculations in the context of selectable promotion.
- Default value: true
cgcloud__Numeric_Value__c
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Value to compare with an output parameter.
cgcloud__Pricing_Condition_Template__c
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: Reference to the pricing condition template.
This is a relationship field.
- Relationship Name: cgcloud__Pricing_Condition_Template__r
- Relationship Type: Lookup
- Refers To: cgcloud__CP_Pricing_Condition_Template__c
cgcloud__Promotion_Reward_Group__c
- Type: reference
- Properties: Create, Filter, Group, Sort
-
Description: Master-Detail to the Reward Group to which the Reward
belongs.
This is a relationship field.
- Relationship Name: cgcloud__Promotion_Reward_Group__r
- Relationship Type: Master-detail
- Refers To: cgcloud__Promotion_Reward_Group__c (the master object)
cgcloud__Reward_Type__c
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description: Defines the type of reward.
-
Possible values:
- AmountPerUnit—Amount Per Unit
- FlatRate—Flat Rate
- FreeItem—Free Item
- PercentageDiscount—Percentage Discount
- Special
- SpecialBasePrice—Special Base Price
cgcloud__Sort_Unique__c
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Defines the uniqueness of the sort value.
cgcloud__Sort__c
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Sort order of the displayable rewards records.
cgcloud__SubGroup__c
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Defines the subgroup to which the rewards belongs.
cgcloud__Text_Value__c
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Value to compare with an output parameter.
cgcloud__Title_Language_1__c
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Stores the title of language 1.
cgcloud__Title_Language_2__c
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Stores the title of language 2.
cgcloud__Title_Language_3__c
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Stores the title of language 3.
cgcloud__Title_Language_4__c
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Stores the title of language 4.
cgcloud__Title__c
- Type: string
- Properties: Filter, Nillable, Sort
-
Description: Localizable title of the Reward Group. Reference to the title
based on the user-specified language.
This is a calculated field.
-
Formula:
CASE($User.cgcloud__Language_Postfix__c, "Language1", cgcloud__Title_Language_1__c, "Language2", BLANKVALUE(cgcloud__Title_Language_2__c,cgcloud__Title_Language_1__c), "Language3", BLANKVALUE(cgcloud__Title_Language_3__c,cgcloud__Title_Language_1__c), "Language4", BLANKVALUE(cgcloud__Title_Language_4__c,cgcloud__Title_Language_1__c), cgcloud__Title_Language_1__c)
cgcloud__User_Exit__c
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Defines a Reward as a Special Reward.
Associated Objects
Associated Objects
This object has these associated objects. If the API version isn’t specified, they are available in the same API versions as this object. Otherwise, they e available in the specified API version and later.
- cgcloud__Promotion_Reward__cChangeEvent: Change events are available for the object.
- cgcloud__Promotion_Reward__cFeed: Feed tracking is available for the object.
- cgcloud__Promotion_Reward__cHistory: History is available for the tracked fields of the object.
- cgcloud__Promotion_Reward__cOwnerSharingRule: Sharing rules are available for the object.
- cgcloud__Promotion_Reward__cShare: Sharing is available for the object.