Documentation

crm.company.fields

crm.company.fields()

Returns the description of the fields available to company, including user fields.

Parameters

No parameters.

Example

	BX24.callMethod(
			"crm.company.fields", 
			{}, 
			function(result) 
			{
				if(result.error())
					console.error(result.error());
				else
					console.dir(result.data());
			}
		);	

Fields

Field DescriptionTypeNote
ADDRESS Contact addressstring
ADDRESS_2 Second page of addressstringIn some countries it is customary to split an address into 2 parts
ADDRESS_CITY Citystring
ADDRESS_COUNTRY Countrystring
ADDRESS_COUNTRY_CODE Country codestring
ADDRESS_LEGAL string
ADDRESS_POSTAL_CODE Postal codestring
ADDRESS_PROVINCE Provincestring
ADDRESS_REGION Regionstring
ASSIGNED_BY_ID Associated with user by IDuser
BANKING_DETAILS Banking detailsstring
COMMENTS Commentsstring
COMPANY_TYPE Company typecrm_status
CREATED_DY_ID Created byuserRead only
CURRENCY_ID Currencycrm_currency
DATA_CREATE Creation datedatetimeRead only
DATA_MODIFY Date modifieddatetimeRead only
EMAIL E-mail addresscrm_multifieldMultiple
EMPLOYESS Number of employeescrm_status
HAS_MAIL E-mail field fill-up checkcharRead only
HAS_PHONE Telephone field fill-up checkcharRead only
ID Contact ID integerRead only
IM Messengerscrm_multifieldMultiple
INDUSTRY Sphere of activitycrm_status
IS_MY_COMPANY char
LEAD_ID ID of the lead, associated with the contactcrm_leadRead only
LOGO Logofile
MODIFY_BY_ID Last modification author IDuserRead only
OPENED Accessible for all userchar
ORIGINATOR_ID Data source IDstringUsed only to link to an external source.
ORIGIN_ID Element ID in the data sourcestringUsed only to link to an external source.
ORIGIN_VERSION Original versionstringUsed only for protection from random deletion by an external system. If the data is imported and was not modified in the external system, then such data can be safely edited in CRM and that the next download will not overwrite the data
PHONE Contact telephonecrm_multifieldMultiple
REG_ADDRESS Contact legal addressstringOutdated, used for compatibility.
REG_ADDRESS_2 Second page of legal addressstringIn some countries, it is customary to split address into 2 parts. Outdated, used for compatibility.
REG_ADDRESS_CITY City listed in legal addressstringOutdated, used for compatibility.
REG_ADDRESS_COUNTRY Country listed in legal address stringOutdated, Used for compatibility.
REG_ADDRESS_COUNTRY_CODE Country code listed in legal addressstringOutdated, used for compatibility.
REG_ADDRESS_LEGAL stringOutdated, used for compatibility.
REG_ADDRESS_POSTAL_CODE Postal code listed in legal addressstringOutdated, used for compatibility.
REG_ADDRESS_PROVINCE Province listed in legal addressstringOutdated, used for compatibility.
REG_ADDRESS_REGION Region listed in legal addressstringOutdated, used for compatibility.
REVENUE Annual revenuedouble
TITLE NamestringThis field is required
UTM_CAMPAIGN Ad campaign designationstring
UTM_CONTENT Campaign contentstringFor example, for context announcements.
UTM_MEDIUM Type of trafficstringCPC (updates), CPM (banners)
UTM_SOURSE Advertisement systemstringYandex-Direct, Google-Adwords and others.
UTM_TERM Campaign search conditionstringFor example, contextual advertising keywords.
WEB URL for resources of contactcrm_multifieldMultiple


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.
© «Bitrix Inc.», 2001-2019, «Bitrix Inc.», 2019