Documentation

crm.status.entity.items

Scope: catalog Permissions to execute: for all

crm.status.entity.items()

Returns directory elements by its symbol ID sorted by the SORT field. Method is similar to crm.status.list, except that in the latter sorting rules may be defined.

Parameters

ParameterDescription
entityIdDirectory symbol ID (may also get by calling the crm.status.entity.types) method. Required

Example

	var id = prompt('Enter ID');
	BX24.callMethod(
		"crm.status.entity.items", 
		{ 
			entityId: id 
		}, 
		function(result) 
		{
			if(result.error())
				console.error(result.error());
			else
				console.dir(result.data());
		}
	);	


© «Bitrix24», 2001-2024