The use case stores the details of the substitute object that
specifies the basis of a substitution depending on a substitution period and user.
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
LastActivityDate
- Type: date
- Properties: Filter, Group, Nillable, Sort
- Description: The date when a user last did something related to the record.
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.
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
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__Account__c
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: Reference to the customer.
This is a relationship field.
- Relationship Name: cgcloud__Account__r
- Relationship Type: Lookup
- Refers To: Account
cgcloud__Active__c
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Active flag.
- 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:
CASE($User.cgcloud__Language_Postfix__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__Follow_Up_Time__c
- Type: double
- Properties: Create, Defaulted on create, Filter, Nillable, Sort, Update
- Description: Follow up time (number of days) of the substitution.
cgcloud__Lead_Time__c
- Type: double
- Properties: Create, Defaulted on create, Filter, Nillable, Sort, Update
- Description: Lead time (number of days) of the substitution.
cgcloud__Record_Link__c
- Type: string
- Properties: Filter, Nillable, Sort
-
Description: Link to the substitution detail page.
This is a calculated field.
-
Formula:
HYPERLINK("/" &Id, $Label.cgcloud__record_link, "_top")
cgcloud__Sales_Org__c
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description: Describes the sales org to which the substitution belongs.
-
Possible values:
- 0000
- 0001
- 0002
- 0003
cgcloud__Substitute__c
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: Reference to the substitute user.
This is a relationship field.
- Relationship Name: cgcloud__Substitute__r
- Relationship Type: Lookup
- Refers To: User
cgcloud__Substituted__c
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: Reference to the user for whom the substitution is planned.
This is a relationship field.
- Relationship Name: cgcloud__Substituted__r
- Relationship Type: Lookup
- Refers To: User
cgcloud__Substitution_Type__c
- Type: picklist
- Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description: Type of the substitution.
- Default value: Vacation
-
Possible values:
- Other
- Sickness
- Training
- Vacation
cgcloud__Substitution__c
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: Reference to the substitution with which the substitution item
record is related.
This is a relationship field.
- Relationship Name: cgcloud__Substitution__r
- Relationship Type: Lookup
- Refers To: cgcloud__Substitution__c
cgcloud__Valid_From__c
- Type: date
- Properties: Create, Defaulted on create, Filter, Group, Nillable, Sort, Update
- Description: First date of validity period of the customer substitution.
cgcloud__Valid_Thru__c
- Type: date
- Properties: Create, Defaulted on create, Filter, Group, Nillable, Sort, Update
- Description: Last date of validity period of the customer substitution.
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__Substitution__cChangeEvent: Change events are available for the object.
- cgcloud__Substitution__cFeed: Feed tracking is available for the object.
- cgcloud__Substitution__cHistory: History is available for the tracked fields of the object.
- cgcloud__Substitution__cOwnerSharingRule: Sharing rules are available for the object.
- cgcloud__Substitution__cShare: Sharing is available for the object.