Newer Version Available

This content describes an older version of this product. View Latest

cgcloud__Job_Definition_Template__c

Stores the definition of the questions or product surveys that are available in the system. 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

Field Details
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
Specifies whether the template is active.
The default value is true.
cgcloud__Consider_Max_Value__c
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Controls whether the maximum value of the current job definition template is to be considered.
The default value is false.
cgcloud__Consider_Min_Value__c
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Controls whether the minimum value of the current job definition template is to be considered.
The default value is false.
cgcloud__Data_Type__c
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
Reference to the data type that's used as an answer in the respective job.
This is a relationship field.
Relationship Name
cgcloud__Data_Type__r
Relationship Type
Lookup
Refers To
cgcloud__Data_Type__c
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),
6      cgcloud__Description_Language_1__c)
cgcloud__Job_Template__c
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
Reference to the job template.
This is a relationship field.
Relationship Name
cgcloud__Job_Template__r
Relationship Type
Lookup
Refers To
cgcloud__Job_Template__c
cgcloud__Max_Date_Policy__c
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Controls the validation of date fields when answering questions or surveys on CAS OnPremise mobile devices.
Possible values are:
  • MaxDate
  • MinDate
  • NextYear
  • Today
cgcloud__Max_Value__c
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
Maximum value for the answer of the current job definition template.
cgcloud__Measure_Type__c
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Measure Type of the referenced Job Definition Template.
Possible values are:
  • POS
  • Store
The default value is Store.
cgcloud__Min_Date_Policy__c
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Controls the validation of date fields when answering questions or surveys on CGCloud OnPremise mobile devices.
Possible values are:
  • MaxDate
  • MinDate
  • NextYear
  • Today
cgcloud__Min_Value__c
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
Minimum value for the answer of the current job definition template.
cgcloud__Perfect_Store_Question__c
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Defines whether a question is to be considered relevant to determine the perfect store index of a call.
The default value is false.
cgcloud__Picture_Taking__c
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Specifies whether a picture can be taken for this question during call execution on mobility devices. Note: This is relevant only for Question.
The default value is false.
cgcloud__Presetting__c
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Sort, Update
Description
Specifies the prepopulation of the corresponding attribute in the activity job defintion template (Job_DL_Job_Definition_Template) that's used to control the activity specific to the presetting of the answer in the call.
Possible values are:
  • LastValue
  • None
  • TargetValue
The default value is None.
cgcloud__Primary_Survey_Policy__c
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Allows specification of three primary product survey questions that's used for discrepancy survey in a matrix-type display on the CAS OnPremise mobility devices.
Possible values are:
  • Distribution
  • Facings
  • PriceSurvey
  • PromotionParticipation
  • PlacementOfDisplay
  • QualityOfDisplay
  • AssetPlacement
cgcloud__Competitor_Relevant__c
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Response to collate competitor information related to (placement or price) of products or promotions.
cgcloud__Product_Reference__c
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Controls whether the survey is about products. If there's no product reference, then dynamic is true. The string (length 1) options are 0 and 1.
This is a calculated field.
Formula
1cgcloud__Job_Template__r.cgcloud__Product_Reference__c
cgcloud__Sales_Org__c
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Sales org to which the job definition template belongs.
Possible values are:
  • 0000
  • 0001
  • 0002
  • 0003
cgcloud__Save_Presetting__c
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Controls whether preset answers are to be automatically stored when completing the call. Note regarding restrictions of save presetting: In the back end, the save presetting is currently restricted to the Last Value presetting in questions and surveys. On mobility devices, the save presetting is currently restricted to surveys only (considering the Last Value and Target Value presetting).
The default value is false.
cgcloud__Short_Description_Language_1__c
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Stores the description of language 1.
cgcloud__Short_Description_Language_2__c
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Stores the description of language 2.
cgcloud__Short_Description_Language_3__c
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Stores the description of language 3.
cgcloud__Short_Description_Language_4__c
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Stores the description of language 4.
cgcloud__Short_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__Short_Description_Language_1__c,
3      "Language2", BLANKVALUE(cgcloud__Short_Description_Language_2__c,cgcloud__Short_Description_Language_1__c),
4      "Language3", BLANKVALUE(cgcloud__Short_Description_Language_3__c,cgcloud__Short_Description_Language_1__c),
5      "Language4", BLANKVALUE(cgcloud__Short_Description_Language_4__c,cgcloud__Short_Description_Language_1__c),
6      cgcloud__Short_Description_Language_1__c)
cgcloud__Sort__c
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
Used for sorting. For example, when manually adding questions during call execution on the CAS OnPremise mobile solution.
cgcloud__Step_Size__c
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
Controls the stepper for numeric fields when answering questions or surveys on CAS OnPremise mobile devices.
cgcloud__Survey_Identification__c
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Used by mobility to store survey identification values.
Possible values are:
  • Distribution
  • Facings
  • POS Distribution
  • POS Facings
  • POS Price
  • Price
cgcloud__Target_Value_Column__c
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Represents the target value column of primary surveys (configured via Primary_Survey_Policy).
Possible values are:
  • 0—None
  • 1—Facing
  • 2—PriceSurvey
  • 3—Distribution
cgcloud__Use_Stepper__c
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Defines whether the stepper is used.
The default value is false.

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__Job_Definition_Template__cChangeEvent
Change events are available for the object.
cgcloud__Job_Definition_Template__cFeed
Feed tracking is available for the object.
cgcloud__Job_Definition_Template__cHistory
History is available for the tracked fields of the object.
cgcloud__Job_Definition_Template__cOwnerSharingRule
Sharing rules are available for the object.
cgcloud__Job_Definition_Template__cShare
Sharing is available for the object.