cgcloud__Condition_Template__c
Stores the details of the condition template object. 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: Create, Defaulted on create, Filter, Group, idLookup, Nillable, Sort, Update
- Description: Unique identification of the record.
OwnerId
- Type: reference
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
-
Description: ID of the record owner.
This is a polymorphic relationship field.
- Relationship Name: Owner
- Relationship Type: Lookup
- Refers To: Group, User
cgcloud__Active__c
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Active flag.
- Default value: false
cgcloud__Customer_Reference__c
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Describes whether an account reference exists for the conditions of this template.
- Default value: false
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:
1CASE($User.cgcloud__Language_Postfix__c, 2"Language1", cgcloud__Description_Language_1__c, 3"Language2", BLANKVALUE(cgcloud__Description_Language_2__c,cgcloud__Description_Language_1__c), 4"Language3", BLANKVALUE(cgcloud__Description_Language_3__c,cgcloud__Description_Language_1__c), 5"Language4", BLANKVALUE(cgcloud__Description_Language_4__c,cgcloud__Description_Language_1__c), 6cgcloud__Description_Language_1__c)
cgcloud__Price_Finding_Id__c
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: ID that's used in the code. For example, Product Price or Consumer Price.
cgcloud__Product_Reference__c
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Describes whether a product reference exists for the conditions of this template.
- Default value: false
cgcloud__Sales_Org__c
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description: Describes the sales org to which the condition template belongs.
-
Possible values:
- 0000
- 0001
- 0002
- 0003
cgcloud__Template_Type__c
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Used to group conditions.
-
Possible values:
- Discount
- Factor
- Price
cgcloud__Value_Type__c
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Type of the condition value.
-
Possible values:
- Amount
- Percentage
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.
- cgcloud__Condition_Template__cChangeEvent: Change events are available for the object.
- cgcloud__Condition_Template__cFeed: Feed tracking is available for the object.
- cgcloud__Condition_Template__cHistory: History is available for the tracked fields of the object.
- cgcloud__Condition_Template__cOwnerSharingRule: Sharing rules are available for the object.
- cgcloud__Condition_Template__cShare: Sharing is available for the object.