• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/controller/timeline/note.php
  • Класс: Bitrix\Crm\Controller\Timeline\Note
  • Вызов: Note::findNote
private function findNote(int $itemId, int $itemType): ?EntityObject
{
	return NoteTable::query()
		->addSelect('*')
		->where('ITEM_ID', $itemId)
		->where('ITEM_TYPE', $itemType)
		->fetchObject()
	;
}