• Модуль: rpa
  • Путь к файлу: ~/bitrix/modules/rpa/lib/model/itemhistorytable.php
  • Класс: BitrixRpaModelItemHistoryTable
  • Вызов: ItemHistoryTable::getListByItem
static function getListByItem(int $typeId, int $itemId): EO_ItemHistory_Collection
{
	return static::getList([
		'order' => [
			'ID' => 'DESC',
		],
		'filter' => [
			'=TYPE_ID' => $typeId,
			'=ITEM_ID' => $itemId,
		],
	])->fetchCollection();
}