Documentation

crm.dealcategory.stage.list

crm.dealcategory.stage.list(id)

Returns list of deal stages for category by the ID. Equivalent to calling crm.status.list method with parameter ENTITY_ID equal to the result of calling crm.dealcategory.status method.

Parameters

Parameter Description
id Category ID. When ID = 0 or null is specified Empty quotation marks or parameterjust not passed. , returns "default" category statuses.
When ID > 0 for nonexistent category For example, set ID = 10, category with ID =10 does not exist in the system. , returns nothing.

Example

var id = prompt("Enter ID");
BX24.callMethod(
	"crm.dealcategory.stage.list", 
	{ id: id }, 
	function(result) 
	{
		if(result.error())
			console.error(result.error());
		else
			console.dir(result.data());
	}
);


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