function searchCompanyByTitle(title) {
BX24.callMethod(
"crm.company.list",
{
filter: { "TITLE": title },
select: [ "ID", "TITLE" ]
},
function(result)
{
if(result.error()) {
console.error(result.error());
return result.error();
}
else
{
console.dir(result.data());
return result.data();
//if(result.more())
// result.next();
}
}
);
};