crm.requisite.list
Scope: catalog Permissions to execute: for all
crm.requisite.list()
Returns list of details by the filter. This is the implementation of the list method for requisites. Full description for requisite fields can be fetched by the method crm.requisite.fields.
Parameters
See description of list methods.
Example
//Search requisites by the template ID BX24.callMethod( "crm.requisite.list", { order: { "DATE_CREATE": "ASC" }, filter: { "PRESET_ID": "1"}, select: [ "ID", "NAME"] }, function(result) { if(result.error()) console.error(result.error()); else { console.dir(result.data()); if(result.more()) result.next(); } } );
// Getting custom field value in requisites. BX24.callMethod( "crm.requisite.list", { order: {}, filter: { "ID": "2622"}, //REQUISITE ID select: [ "UF_CRM_1564433257"] //USER FIELD ID }, function(result) { if(result.error()) console.error(result.error()); else { console.dir(result.data()); if(result.more()) result.next(); } } );
© «Bitrix24», 2001-2024