cgcloud__Visit_Template__c
Template that describes the basic call behavior. This object is available in API version 54.0 and later.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
- Type: dateTime
- Properties: Filter, Nillable, Sort
- Description: Most recent date on which a user referenced this record.
- Type: dateTime
- Properties: Filter, Nillable, Sort
- Description: Most recent date on which a user viewed this record.
- Type: string
- Properties: Create, Defaulted on create, Filter, Group, idLookup, Nillable, Sort, Update
- Description: Unique identification of the record.
-
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
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Active flag.
- Default value:
true
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Indicates whether tasks and survey questions can be manually added to visits.
- Default value:
false
-
Type: picklist
-
Properties: Create, Defaulted on create, Filter, Group, Nillable, Sort, Update
-
Description: Visit status set when call will be planned automatically.
-
Default value:
Planned -
Possible values:
AbandonedCompletedPlanned
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Indicates whether the user must provide a reason for visit cancellation.
- Default value:
false
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Captures the start and end time of a visit.
- Default value:
false
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Indicates whether to check for overlaps while creating calls. If this option is selected, the system checks if a current visit overlaps with any other visits. Only visits in Planned state are considered.
- Default value:
false
-
Type: picklist
-
Properties: Create, Defaulted on create, Filter, Group, Nillable, Sort, Update
-
Description: Specifies the validation type when a user completes a visit, based on the comparison between their GPS location and the geolocation of the store.
-
Default value:
None -
Possible values:
- Error
- None
- Warning
-
Type: picklist
-
Properties: Create, Defaulted on create, Filter, Group, Nillable, Sort, Update
-
Description: Required company details.
-
Default value:
Not required -
Possible values:
MandatoryNot required
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: If its value is true, then the Call considers POS in its questions.
- Default value:
true
-
Type: picklist
-
Properties: Create, Defaulted on create, Filter, Group, Nillable, Sort, Update
-
Description: Creation platform.
-
Default value:
Both -
Possible values:
BothLaptopMobility
- Type: double
- Properties: Create, Defaulted on create, Filter, Sort, Update
- Description: Visit default duration in minutes.
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Indicates whether a visit can be deleted using a mobile device.
- Default value:
false
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Stores the description of language 1.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Stores the description of language 2.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Stores the description of language 3.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Stores the description of language 4.
-
Type: string
-
Properties: Filter, Nillable, Sort
-
Description: Reference to the description based on the user-specified language.
This is a calculated field.
-
Formula:
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Indicates whether valid promotions for the customer selected for a visit creation are shown in the Promotions tab of the Visit Detail page.
- Default value:
false
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Determines whether the users sees an information message that indicates that the visit hasn’t started and is in read-only mode.
- Default value:
false
-
Type: picklist
-
Properties: Create, Defaulted on create, Filter, Group, Nillable, Sort, Update
-
Description: Determines whether and how historical products are considered when determining the list of products to be surveyed in a visit.
-
Default value:
No -
Possible values:
AllNoSameMeta—Same Template
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Determines whether a user needs to start a visit before visit execution.
- Default value:
false
-
Type: multipicklist
-
Properties: Create, Filter, Nillable, Restricted picklist, Update
-
Description: Defines whether a call is relevant for KPI calculation for the selected KPIs.
-
Possible values:
All—All KPIs
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Prevent users from executing multiple visits at the same time.
- Default value:
false
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Indicates if a user’s GPS location is captured at the start of a visit. This field applies only to Direct Store Delivery and Van Sales processes.
- Default value:
false
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Indicates whether the user’s GPS location is recorded during visit cancellation.
- Default value:
false
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Indicates whether the GPS location of the user is captured at visit completion.
- Default value:
false
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Maximum number of pictures.
-
Type: picklist
-
Properties: Create, Defaulted on create, Filter, Group, Nillable, Sort, Update
-
Description: Defines another level of abstraction - categorizes templates into template templates. For example, is it a template for a Call, a Delivery Visit, a Van Sales, a Merchandising, a Service, or a Phone.
-
Default value:
Call -
Possible values:
CallDeliveryVisit—Delivery VisitMerchandisingPhoneServiceVanSales—Van Sales
-
Type: picklist
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: Field that defines the color of call on a mobility device.
-
Possible values:
003344—ink blue008899—sea green 220B2AA—light sea green467596—grey blue551155—red violet6495ED—corn flower blue6688BB—periwinkle blue77AA99—sage green87CEEB—sky blue87CEFA—light sky blue8FBC8F—dark seagreenAA1133—cranberry redADD8E6—light blueB0C4DE—light steel blueBBBB00—lime green 2BC8F8F—rosy brownD1DDEC—sky blue 2DAA520—golden rodDD4411—dark orangeDDECD1—turquoise 2E9967A—dark salmonEE9B38—yellow orangeEED2E0—plumF08080—light coralF4A460—sandy brownF7EBD9—khaki 2FA8072—salmonFF7F50—coralFFA07A—light salmonFFD700—gold
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Indicates whether a visit created can be executed using mobile devices.
- Default value:
false
-
Type: picklist
-
Properties: Create, Defaulted on create, Filter, Group, Nillable, Sort, Update
-
Description: Process navigation (user guidance) that is used on mobility devices.
-
Default value:
Sales -
Possible values:
DeliveryMerchandizingNonCustomerSales
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Number of days that specifies future time range for finding of planned promotions.
-
Type: picklist
-
Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
-
Description: Defines the Sales Organization in which the template can be used.
-
Possible values:
0000000100020003
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: On Selection of visit template (For example, when creating a new visit): Defines the order of the templates.
-
Type: picklist
-
Properties: Create, Defaulted on create, Filter, Group, Nillable, Sort, Update
-
Description: Specifies the validation type when a user starts a visit, based on the comparison between their GPS location and the geolocation of the store.
-
Default value:
None -
Possible values:
- Error
- None
- Warning
-
Type: picklist
-
Properties: Create, Defaulted on create, Filter, Group, Nillable, Sort, Update
-
Description: Defines when a visit based on this template will be synced automatically:
-
Default value:
No -
Possible values:
CancelCallCompleteCallCompleteCancelCallNo
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Indicates whether date and time of media captured during visit execution on mobile devices is stored.
- Default value:
false
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Indicates whether GPS coordinates of media captured during visit execution on mobile devices is stored.
- Default value:
false
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Indicates if the Start or End datetimes and duration of the visit should be set
- Default value:
false
-
Type: multipicklist
-
Properties: Create, Filter, Nillable, Update
-
Description: User roles that are assigned to the Order Template. Note: Ensure that the master picklist values exactly match the technical name of the permission sets. Select the user value in translation. For example, if CGCloud_Master_Data_Admin is the master picklist value, then Master Data Admin is the translated value.
-
Possible values:
CGCloud_KAM—KAMCGCloud_Master_Data_Admin—Master Data AdminCGCloud_Retail_Admin—Retail AdminCGCloud_Sales_User—Sales UserCGCloud_Security_Admin—Security AdminCGCloud_Supervisor—SupervisorCGCloud_Tour_User
This object contains 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__Visit_Template__cChangeEvent: Change events are available for the object.
- cgcloud__Visit_Template__cFeed: Feed tracking is available for the object.
- cgcloud__Visit_Template__cHistory: History is available for the tracked fields of the object.
- cgcloud__Visit_Template__cOwnerSharingRule: Sharing rules are available for the object.
- cgcloud__Visit_Template__cShare: Sharing is available for the object.