Documentation

crm.dealcategory.status

crm.dealcategory.status(id)

Returns directory type ID for staorage deal categories by the ID.


This string is of the DEAL_STAGE_[category ID] type. For example, for category with ID 1, "DEAL_STAGE_1" string will be returned.
The ID is designed to work with the family of crm.status.* methods. For example, to create a new stage for a category, the ID must be passed to the crm.status.add method as the ENTITY_ID parameter.

Parameters

Parameter Description
id Category ID.

Example

BX24.callMethod(
	"crm.dealcategory.status", 
	{ 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