crm.dealcategory.list
Scope: catalog Permissions to execute: for all
crm.dealcategory.list
Returns a list of deal categories by the filter. Is the implementation of list method for deal categories.
Paremeters
No parameters
Example
BX24.callMethod( "crm.dealcategory.list", { order: { "SORT": "ASC" }, filter: { "IS_LOCKED": "N" }, //Y - all directions, N - all directions except for deleted. Deleted directions are not deleted from the database completely and blocked only. select: [ "ID", "NAME", "SORT" ] }, function(result) { if(result.error()) console.error(result.error()); else { console.dir(result.data()); if(result.more()) result.next(); } } );
© «Bitrix24», 2001-2024