crm.activity.fields
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 |
AUTOR_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 | |
DESCRIPTION | Description | string | |
DESCRIPTION_TYPE | Description type | crm_enum_contenttype | |
DIRECTION | crm_enum_activitydirection | ||
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 | Unmodifiable. |
OWNER_TYPE_ID | Owner type | crm_enum_ownertype | Unmodifiable. |
PRIORITY | Priority | crm_enum_activitypriority | |
PROVIDER_DATA | string | ||
PROVIDER_GROUP_ID | string | ||
PROVIDER_ID | Provider ID | string | |
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, unmodifiable |
WEBDAV_ELEMENTS | Added files | diskfile | Multiple. Outdated, saved for compatibility. |
© «Bitrix Inc.»,
2001-2021,
«Bitrix Inc.», 2021
User Comments
User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.