cgcloud__Promotion_Hurdle__c

This object stores the restriction that must be satisfied to apply the rewards. This object is available in API version 54.0 and later.

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

Fields

LastReferencedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: Most recent date on which a user referenced this record.

LastViewedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: Most recent date on which a user viewed this record.

Name

  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: Unique identification of the record.

RecordTypeId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Represents the record type of the record.

    This is a relationship field.

  • Relationship Name: RecordType
  • Relationship Type: Lookup
  • Refers To: RecordType

cgcloud__Boolean_Value__c

  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Value to compare against an output parameter.
  • Possible values:
    • false
    • true

cgcloud__Classification__c

  • Type: multipicklist
  • Properties: Create, Filter, Nillable, Restricted picklist, Update
  • Description: Classification of products.
  • Possible values:
    • C1
    • C2
    • C3
    • C4
    • C5

cgcloud__Date_Value__c

  • Type: date
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Value to compare against an output parameter.

cgcloud__Numeric_Value__c

  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: Value to compare against an output parameter.

cgcloud__Operation__c

  • Type: picklist
  • Properties: Create, Defaulted on create, Filter, Group, Nillable, Sort, Update
  • Description: Defines how hurdles are combined based on the sequence.
  • Default value: AND
  • Possible values:
    • AND
    • OR

cgcloud__Operator__c

  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Operator that's to be applied to the value returned from the user exit underlying the Expression.
  • Possible values:
    • PER
    • eq—=
    • ge—>=
    • gt—>
    • le—<=
    • lt—<
    • ne—<>

cgcloud__Promotion_Hurdle_Expression__c

  • Type: reference
  • Properties: Create, Filter, Group, Sort
  • Description: Master-Detail to the Expression that defines the Hurdle.

    This is a relationship field.

  • Relationship Name: cgcloud__Promotion_Hurdle_Expression__r
  • Relationship Type: Master-detail
  • Refers To: cgcloud__Promotion_Hurdle_Expression__c (Detail object)

cgcloud__Promotion_Reward_Group__c

  • Type: reference
  • Properties: Create, Filter, Group, Sort
  • Description: Master-Detail to the Reward Group to which the hurdle applies.

    This is a relationship field.

  • Relationship Name: cgcloud__Promotion_Reward_Group__r
  • Relationship Type: Master-detail
  • Refers To: cgcloud__Promotion_Reward_Group__c (Master object)

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 Hurdle records.

cgcloud__Text_Value__c

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Value to compare against 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 Hurdle.

    This is a calculated field.

  • Formula:
    1CASE($User.cgcloud__Language_Postfix__c,
    2"Language1", cgcloud__Title_Language_1__c,
    3"Language2", BLANKVALUE(cgcloud__Title_Language_2__c,cgcloud__Title_Language_1__c),
    4"Language3", BLANKVALUE(cgcloud__Title_Language_3__c,cgcloud__Title_Language_1__c),
    5"Language4", BLANKVALUE(cgcloud__Title_Language_4__c,cgcloud__Title_Language_1__c),
    6cgcloud__Title_Language_1__c)

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 are available in the specified API version and later.