<?php
use Bitrix\Crm\ProductRowTable;
$rows = ProductRowTable::getList([
'filter' => [
'=OWNER_TYPE' => 'D',
'=OWNER_ID' => 42,
],
'select' => ['ID', 'PRODUCT_NAME', 'PRICE', 'QUANTITY'],
])->fetchAll();<?php
use Bitrix\Crm\ProductRowTable;
$rows = ProductRowTable::getList([
'filter' => [
'=OWNER_TYPE' => 'D',
'=OWNER_ID' => 42,
],
'select' => ['ID', 'PRODUCT_NAME', 'PRICE', 'QUANTITY'],
])->fetchAll();