Documentation

crm.deal.contact.fields

Scope: crm Permissions: for all

crm.deal.contact.fields()

Returns field descriptions for the deal-contact link used by methods of family crm.deal.contact.*, that is by crm.deal.contact.items.get, crm.deal.contact.items.set, crm.deal.contact.add and etc.

Fields

Field Description
SORTSorting index (integer). Defines the order to display associated contacts inside a deal.
IS_PRIMARY[Y|N] sets as primary contacts. A deal always has a primary/main contact. It will have IS_PRIMARY=Y; for the rest of contacts IS_PRIMARY=N.
CONTACT_IDIdentifier for the contact, associated to the deal (integer).

Parameters

No parameters.

Example

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


© «Bitrix24», 2001-2024
Up