var catalogId = 10;
BX24.callMethod(
"crm.product.list",
{
order: { "NAME": "ASC" },
filter: { "CATALOG_ID": catalogId, "CURRENCY_ID": 'USD' },
select: [ "ID", "NAME", "CURRENCY_ID", "PRICE" ]
},
function(result)
{
if(result.error())
console.error(result.error());
else
{
console.dir(
result.data());
if(result.more())
result.next();
}
}
);