Documentation

crm.deal.userfield.list

Scope: catalog Permissions: all

crm.deal.userfield.list(order, filter)

Returns list of user deal fields by filter.

Parameters

Parameter Description
order Sorting field.
filter Filter field.

Example

BX24.callMethod(
	"crm.deal.userfield.list", 
	{ 
		order: { "SORT": "ASC" },
		filter: { "MANDATORY": "N" }
	}, 
	function(result) 
	{
		if(result.error())
			console.error(result.error());
		else
		{
			console.dir(result.data()); 			
			if(result.more())
				result.next();						
		}
	}
);


How to get list of fields with names:

crm.deal.userfield.list
{
order: { "SORT": "ASC" },
filter: { LANG: 'en' }
}


© «Bitrix24», 2001-2024