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

Account Block

CTPHARMA__AccountBlock__c

Text(255)

The API name of the Account field for the Account title in the Hierarchy View tab.

Stored within the Global setting type.

Active

CTPHARMA__IsActive__c

Checkbox

If selected, the corresponding Calendar setting is active.

Allow Holiday Events

CTPHARMA__AllowHolidayEvents__c

Checkbox

If enabled, the representative can create a Pharma Activity record on holidays and weekends.

Stored within the Global setting type.

API

CTPHARMA__API__c

Text(255)

The field API name to differentiate Pharma Activity records by color, for example,CTPHARMA__Status__c.

Calendar Day Source Object

CTPHARMA__CalendarDaySourceObject__c

Text(50)

The API name of the custom Dictionary object.

  • Used if the CTPHARMA__UseCalendarObject__c field is selected.

  • Stored within the Global setting type.

Calendar Locale

CTPHARMA__CalendarLocale__c

Text(10)

The value of the CTPHARMA__CalendarLocale__c on the User record that is responsible for the current calendar language. Available values:

  • en (English);

  • fr (French);

  • ru (Russian);

  • ar (Arabic);

  • de (German);

  • es (Spanish);

  • it (Italian);

  • zh-cn (Chinese);

  • (Zhōngwén) (Mandarin);

  • hi (Hindi).

Color

CTPHARMA__Color__c

Long Text Area(32768)

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

Stored within the Global and Color setting type.

ContextMenuPoints

CTPHARMA__ContextMenuPoints__c

Long Text Area(3000)

If true, the Pharma Activity record type is available to create on the corresponding Table, Hierarchy, and Employees tabs (separated by a comma, without a blank space).

Date field name

CTPHARMA__DateFieldName__c

Text(50)

The API name of the Date field of the custom Dictionary object.

  • Used if the CTPHARMA__UseCalendarObject__c field is selected.

  • Stored within the *Global *setting type.

Default View

CTPHARMA__DefaultView__c

Text(255)

The default view of the calendar grid:

  • month

  • agendaDay

  • agendaWeek

Stored within the Global setting type.

Description field name

CTPHARMA__DescriptionApiName__c

Text(50)

The API name of the Description field of the custom Dictionary object.

  • Used if the CTPHARMA__UseCalendarObject__c field is selected.

  • Stored within the *Global *setting type.

Disable Left Click

CTPHARMA__DisableLEftClick__c

Checkbox

If enabled, the left-click action is restricted.

Division

CTPHARMA__Division__c

Picklist

The calendar division. Available values by default:

  • Alpha

  • Beta

The representative can create a Pharma Activity record if Account, Contact, and User record have the same division.

Duration

CTPHARMA__Duration__c

Number(3,0)

The default duration in minutes for the Pharma Activity. Available values are from 30 to 480.

Enable list calendar

CTPHARMA__EnableListCalendar__c

Checkbox

If enabled, a user can select the List Day, List Week, and List Month calendar view.

End

CTPHARMA__End__c

Number(2,0)

The end hour of the working day.

Stored within the Global setting type.

Fields

CTPHARMA__Fields__c

Long Text Area(131072)

The API names of the fields in one of the Calendar settings, for example, for the popups (separated by a comma, without a blank space).

Holiday Flag

CTPHARMA__HolidayFlagApiName__c

Text(50)

The API name of the Holiday field of the custom Dictionary object.

  • Used if the CTPHARMA__UseCalendarObject__c field is selected.

  • Stored within the *Global *setting type.

ID

CTPHARMA__ID__c

Long Text Area(32768)

Stored within the Icon setting type.

Inverted Click Logic

CTPHARMA__IsClickLogicInverted__c

Checkbox

If enabled:

  • single-click to open a Pharma Activity record;

  • double-click to delete a Pharma Activity record.

Labels

CTPHARMA__Labels__c

Long Text Area(131072)

Labels of the fields in one of the Calendar settings, for example, for the popups (separated by a comma, without a blank space).

Name

CTPHARMA__Name__c

Text(255)

It is used to store different settings, such as the default mass action, the Pharma Activity record type, etc.

ProfileId

CTPHARMA__ProfileId__c

Text(255)

The ID of the corresponding user profile.

Real Time Saving

CTPHARMA__RelaTimeSaving__c

Checkbox

If selected, settings will be saved in the real-time.

RecordType

CTPHARMA__RecordTypeId__c

Text(255)

The ID of the corresponding Pharma Activity record type for the popup.

Reference Block

CTPHARMA__ReferenceBlock__c

Text(255)

The API name of the Contact or Reference field for the Contact or Reference title in the Hierarchy view.

Stored within the Global setting type.

Relationships

CTPHARMA__Relationships__c

Long Text Area(32768)

The API name of the related fields, for example, lookup fields.

Required

CTPHARMA__Required__c

Long Text Area(32768)

If enabled, the corresponding field in the Pharma Activity creation popup is required to fill out.

Setting Type

CTPHARMA__SettingType__c

Picklist

The setting type of the calendar setting:

  • Color to store Pharma Activity color settings;

  • Global to store main settings;

  • Icon to store icon images for the Pharma Activities;

  • Link to store available links;

  • Popup to store additional popup settings;

  • Setting not in use;

  • Tip to store tips parameters;

  • View to store list view parameters;

  • Context Menu to define available Pharma Activity record types on the Tab or Hierarchy tabs;

  • draganddropTrigger to enable the drag-and-drop action

  • Mass Actions to define the default mass action;

  • OldPopup not in use.

Show weekends

CTPHARMA__ShowWeekends__c

Checkbox

If enabled, the weekends are displayed on the calendar grid.

Stored within the Global setting type.

Start

CTPHARMA__Start__c

Number(2,0)

The start hour of the working day.

Stored within the Global setting type.

Time Format

CTPHARMA__TimeFormat__c

Text(255)

The default time format. Available values:

  • 24-hour

  • AM/PM

To Show Popup

CTPHARMA__ToShowPopup__c

Long Text Area(32768)

If enabled, the Pharma Activity creation popup (if specified) will be displayed to fill out during the Pharma Activity record creation.

Types

CTPHARMA__Types__c

Long Text Area(131072)

The Pharma Activity record type to select for the popup displaying.

URL

CTPHARMA__URL__c

URL(255)

It is used to store the URL for the Pharma Activity icon or for the useful link.

Use calendar object

CTPHARMA__UseCalendarObject__c

Checkbox

If enabled, the additional custom dictionary is in use.

Use Frequency

CTPHARMA__UseFrequency__c

Checkbox

If enabled, when a representative creates a Pharma Activity record for the Account by dragging and dropping, the Pharma Activity records will be automatically created with a 30-minute interval for the associated target Contacts.

Stored within the Global setting type.

Value

CTPHARMA__Value__c

Long Text Area(131072)

The Standard Layout or any Visualforce page to view the Pharma Activity record.

View Criteria Fields

CTPHARMA__CriteriaField__c

Long Text Area(131072)

The API names of the list view fields (separated by a comma, without a blank space).

Stored within the View setting type.

View Criteria Operators

CTPHARMA__CriteriaOperator__c

Long Text Area(131072)

The API names of the list view operators (separated by a comma, without a blank space).

Stored within the View setting type.

View Criteria Types

CTPHARMA__CriteriaType__c

Long Text Area(131072)

The data types of the list view fields (separated by a comma, without a blank space).

Stored within the View setting type.

View Criteria Values

CTPHARMA__CriteriaValue__c

Long Text Area(131072)

The values of the list view fields (separated by a comma, without a blank space).

Stored within the View setting type.

View Name

CTPHARMA__ViewName__c

Text(255)

Not in use.

View Roles

CTPHARMA__Roles__c

Long Text Area(131072)

The IDs of the selected user roles to access a list view (separated by a comma, without a blank space).

Stored within the View setting type.

View SObject

CTPHARMA__SObject__c

Text(255)

The API name of the object to sort its records in a list view.

Stored within the View setting type.

View Sort

CTPHARMA__Sort__c

Text(255)

The API name of the field to sort records in a list view.

Stored within the View setting type.

View Sort Order

CTPHARMA__SortOrder__c

Picklist

The ascending or descending order of the records in a list view. Available values:

  • asc

  • desc

Stored within the View setting type.

Week Start

CTPHARMA__WeekStart__c

Number(18,0)

The first day of the week on the calendar grid.

Stored within the Global setting type.

``