Advertisement
Eresken

getlist all

Aug 23rd, 2021
1,045
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.96 KB | None | 0 0
  1. "select" => [
  2.             "*",
  3.             "SECTION_NAME" => "SECTION.NAME",
  4.             "PRICE" => "PRICE_LIST.PRICE",
  5.             "QUANTITY" => "PRODUCT.QUANTITY",
  6.         ],
  7. 'runtime' => [
  8.             'PRICE_LIST' => [
  9.                 'data_type' => \Bitrix\Catalog\PriceTable::class,
  10.                 'reference' => [
  11.                     '=this.ID' => 'ref.PRODUCT_ID',
  12.                 ],
  13.                 'join_type' => 'left'
  14.             ],
  15.             'PRODUCT' => [
  16.                 'data_type' => \Bitrix\Catalog\ProductTable::class,
  17.                 'reference' => [
  18.                     '=this.ID' => 'ref.ID',
  19.                 ],
  20.                 'join_type' => 'left'
  21.             ],
  22.             'SECTION' => [
  23.                 'data_type' => \Bitrix\Iblock\SectionTable::class,
  24.                 'reference' => [
  25.                     '=this.IBLOCK_SECTION_ID' => 'ref.ID',
  26.                 ],
  27.                 'join_type' => 'left'
  28.             ],
  29.         ],
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement