Planning Calendar Settings Field Reference

The Planning Calendar Settings object is intended to store the Pharma Calendar parameters specified per each user division.


API name in Salesforce: CTPHARMA__CalendarSettings__c


Field API Name Type Description

Activate Quick Creation

CTPHARMA__IsQuickCreate__c

Checkbox

Defines if the Compact form is used for the specified record type or not. Available values:

  • true (Compact form is used)

  • false

Used in the Record Settings record type.

Activity Subtitle

CTPHARMA__ActivitySubtitle__c

Text(255)

API name of the activity Subtitle field. Used in the Record Settings record type.

Activity Title

CTPHARMA__ActivityTitle__c

Text(255)

API name of the activity Title field. Used in the Record Settings record type.

All Day Field Mapping

CTPHARMA__AllDayFieldMapping__c

Text(255)

Not in use.

Child Object

CTPHARMA__ChildObject__c

Text(255)

  • API name of the child object, if used in the Target Object record type.

  • API name of the lookup to the child object, if used in the Activity Object record type.

Default value is Contact.

Child Object Label

CTPHARMA__ChildObjectLabel__c

Text(255)

Label of the child object.

Used in the Target Object record type.

Color

CTPHARMA__Color__c

Long Text Area(32768)

The specific color for the CT PHARMA Activity record with the corresponding record type (separated by a comma, without a blank space).

Stored within the Global and Color setting types.

Default View

CTPHARMA__DefaultView__c

Text(255)

The default view of the calendar grid:

  • Day

  • Week (default)

  • Work week

  • Month

  • Work month

Stored within the Global setting type.

Direct Lookup

CTPHARMA__DirectLookup__c

Text(255)

API name of the field, which is used as a lookup between child and parent objects, if the Hierarchy is enabled and Connection Type is set to Direct.

Used in the Target Object record type.

Displayed records in monthly preview

CTPHARMA__RecordsPreview__c

Number(3,0)

Number of records that are displayed as preview for 1 day in Month view. Default value is 3.

Used in the General record type.

Division

CTPHARMA__Division__c

Picklist

The calendar division. Available values by default:

  • Alpha;

  • Beta.

Used in all record types.

Duration

CTPHARMA__Duration__c

Number(3,0)

The default duration in minutes for the CT PHARMA Activity. Available values are from 15 to 780.

Default values for the activity record types:

  • Event: 120

  • Visit: 30

  • Time off: 480

  • Joined Visit: 160

Used in the Record Settings record type.

Enable Hierarchy View

CTPHARMA__EnableHierarchyView__c

Checkbox

Defines if the Hierarchy is enabled or not. Available values:

  • true (Hierarchy is enabled)

  • false (Hierarchy is disabled, default value)

Used in the Target Object record type.

End Date Field Mapping

CTPHARMA__EndDateFieldMapping__c

Text(255)

API name of the field, which corresponds to the End Date field.

Used in the Activity Object record type.

Fields

CTPHARMA__Fields__c

Long Text Area(131072)

API names of the fields used on the Compact form.

Is Active

CTPHARMA__IsActive__c

Checkbox

If selected, the corresponding Pop-Up setting is active on the Pop-up record type.

Json User Settings

CTPHARMA__JsonUserSettings__c

Long Text Area(131072)

Maintenance field, not editable.

Mass Drag and Drop Gap

CTPHARMA__DragDropGap__c

Number(3,0)

Defines the default interval between activities created by drag-and-drop of target objects.

Object

CTPHARMA__Object__c

Text(255)

API name of the object, for which the setting must be applied. Used in record types:

  • Activity Object

  • Record Settings

  • Drag and Drop

  • Pop-up

Other Calendar Settings JSON

CTPHARMA__OtherCalendarSettingsJSON__c

Long Text Area(32768)

Maintenance field, not editable.

Parent Object

CTPHARMA__ParentObject__c

Text(255)

  • API name of the parent object, if used in the Target Object record type.

  • API name of the lookup to the parent object, if used in the Activity Object record type.

Default value is Account.

Parent Object Label

CTPHARMA__ParentObjectLabel__c

Text(255)

Label of the parent object.

Used in the Target Object record type.

Profile

CTPHARMA__Profile__c

Text(255)

Developer name of the profile, for which the drag-and-drop setting must be applied. Value is empty if the setting is applied as the Global rule.

Used in the Drag and Drop record type.

Record Type

CTPHARMA__RecordType__c

Text(255)

Developer name of the record type, for which the setting must be applied.

Used in the Drag and Drop and Record Settings record types.

Reference Object

CTPHARMA__ReferenceObject__c

Text(255)

API name of the object, which is used as a lookup between child and parent objects, if the Hierarchy is enabled and Connection Type is set to Junction.

Used in the Target Object record type.

Required

CTPHARMA__Required__c

Long Text Area(32768)

Stores the Required flag for a field on the Compact form.

Used is the Record Settings record type.

Start Date Field Mapping

CTPHARMA__StartDateFieldMapping__c

Text(255)

API name of the field, which corresponds to the Start Date field.

Used in the Activity Object record type.

Status Field Mapping

CTPHARMA__StatusFieldMapping__c

Text(255)

API name of the field, which corresponds to the Status field.

Used in the Activity Object record type.

Subject Field Mapping

CTPHARMA__SubjectFieldMapping__c

Text(255)

API name of the field, which corresponds to the Subject field.

Used in the Activity Object record type.

User Id

CTPHARMA__UserId__c

Lookup(User)

Maintenance field, not editable.

Value

CTPHARMA__Value__c

Long Text Area(131072)

Values of statuses from the Status field mapping field, which is used for mapping statuses with colors.

Used in the Activity Object record type.
``