• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/archive/process/orderarchivecollection.php
  • Класс: BitrixSaleArchiveProcessOrderArchiveCollection
  • Вызов: OrderArchiveCollection::collectOrderProperties
private function collectOrderProperties($orderIds)
{
	$sortedOrderProperties = [];
	$orderProperties = InternalsOrderPropsValueTable::getList(
		array(
			"order" => array("ORDER_ID"),
			"filter" => array("=ORDER_ID" => $orderIds)
		)
	);

	while ($property = $orderProperties->fetch())
	{
		$sortedOrderProperties[$property['ORDER_ID']][$property['ID']] = $property;
	}
	return $sortedOrderProperties;
}