Documentation

crm.address.list

crm.address.list

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

Parameters

See. description of list methods.

Example


    //Search addresses by the type binding - Entity details
        BX24.callMethod(
            "crm.address.list", 
            { 
                order: { "TYPE_ID": "ASC" },
                filter: { "ENTITY_ID": 8},
                select: [ "TYPE_ID", "ADDRESS_1", "ADDRESS_2" ]				
            }, 
            function(result) 
            {
                if(result.error())
                    console.error(result.error());
                else
                {
                    console.dir(result.data());			
                    if(result.more())
                        result.next();						
                }
            }
        );



© «Bitrix Inc.», 2001-2021, «Bitrix Inc.», 2021