Documentation

crm.requisite.preset.list

Scope: catalog Permissions to execute: for all

crm.requisite.preset.list

Returns list of templates by the filter. This is the implementation of the list method for requisite templates.

Parameters

See description of list methods.

Example


    //Search of template by country ID binding
        BX24.callMethod(
            "crm.requisite.preset.list", 
            { 
                order: { "ID": "ASC" },
                filter: { "COUNTRY_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