Рано я решила, что разобралась
Код |
---|
BX24.callBatch({
0 : {
method: "crm.deal.productrows.get",
params: {'id': 5498 }
} ,
1 : {
method: "crm.deal.productrows.get",
params: {'id': 5496}
}
}
, function(result)
{
console.log(result);
});
|
Приходит ответ, что я делаю не так? товары в этих сделках точно есть!
- 0: ajaxResult
- answer: {result: Array(1), error: undefined, total: undefined, next: undefined}
- query: {method: "crm.deal.productrows.get", data: "id=5498", callback: ƒ}
- status: 200
- __proto__: Object
- 1: ajaxResult
- answer: {result: Array(0), error: undefined, total: undefined, next: undefined}
- query: {method: "crm.deal.productrows.get", data: "id=5496", callback: ƒ}
- status: 200