crm.activity.fields
Scope: catalog Permissions to execute: for all
crm.activity.fields()
Returns the activity fields.
Parameters
No parameters.
Example
BX24.callMethod( "crm.activity.fields", {}, function(result) { if(result.error()) console.error(result.error()); else console.dir(result.data()); } );
Fields
Field | Description | Type | Note |
---|---|---|---|
ASSOCIATED_ENTITY_ID | ID of an entity associated with the activity | integer | Read only |
AUTHOR_ID | Activity author ID | user | |
AUTOCOMPLETE_RULE | Autocompletion | integer | |
BINDINGS | Bindings | crm_activity_binding | Multiple, read only. |
COMMUNICATIONS | crm_activity_communication | Multiple, required. | |
COMPLETED | Completed | char | |
CREATED | Created | datetime | |
DEADLINE | Deadline | datetime | Field is not specified directly, value is sourced from START_TIME for a call and meeting and from END_TIME for a task. |
DESCRIPTION | Description | string | |
DESCRIPTION_TYPE | Description type | crm.enum.contenttype | |
DIRECTION | crm.enum.activitydirection | Applicable for calls and emails, not used for meetings. | |
EDITOR_ID | Editor | user | Read only |
END_TIME | Completion time | datetime | |
FILES | Added files | diskfile | Multiple |
ID | Activity ID | integer | Read only |
LAST_UPDATE | Date of the last update date | datetime | Read only |
LOCATION | Location | string | |
NOTIFY_TYPE | Notification type | crm.enum.activitynotifytype | |
NOTIFY_VALUE | integer | Read only | |
ORIGINATOR_ID | Data source ID | string | Used only to link to an external source. |
ORIGIN_ID | Element ID in the data source | string | Used only to link to an external source. |
ORIGIN_VERSION | Original version | string | Used for protection of data from random deletion by external system. If data was imported and was not modified in the external system. then such data can be safely edited in CRM, without danger of date deletion by the next download |
OWNER_ID | Owner | integer | Invariable. |
OWNER_TYPE_ID | Owner type | crm_enum_ownertype | Invariable. |
PRIORITY | Priority | crm_enum_activitypriority | |
PROVIDER_DATA | string | ||
PROVIDER_GROUP_ID | string | ||
PROVIDER_ID | Provider ID | string | Read only |
PROVIDER_TYPE_ID | Provider type ID | string | Status from provider directory |
PROVIDER_PARAMS | object | ||
RESPONSIBLE_ID | Responsible | user | This field is required. |
RESULT_CURRENCY_ID | string | ||
RESULT_MARK | integer | ||
RESULT_SOURCE_ID | string | ||
RESULT_STATUS | integer | ||
RESULT_STREAM | integer | ||
RESULT_SUM | double | ||
RESULT_VALUE | double | ||
SETTINGS | Settings | object | |
START_TIME | Start time | datetime | |
STATUS | Status | crm_enum_activitystatus | |
SUBJECT | Subject | string | This field is required |
TYPE_ID | Type | crm_enum_activitytype | This field is required, invariable |
WEBDAV_ELEMENTS | Added files | diskfile | Multiple. Legacy, saved for compatibility. |
© «Bitrix24», 2001-2024