Documentation

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.

Parameters

See description of list methods. Full description for requisite fields can be fetched by the method crm.requisite.fields.

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();						
                }
            }
        );


© «Bitrix24», 2001-2024
Up