• Модуль: imopenlines
  • Путь к файлу: ~/bitrix/modules/imopenlines/lib/integrations/report/statistics/treatmentbyhour.php
  • Класс: BitrixImOpenLinesIntegrationsReportStatisticsTreatmentByHour
  • Вызов: TreatmentByHour::createRecord
public function createRecord()
{
	TreatmentByHourStatTable::add(array(
		'fields' => array(
			'DATE' => $this->getDate(),
			'OPEN_LINE_ID' => $this->getOpenLineId(),
			'SOURCE_ID' => $this->getSourceId(),
			'OPERATOR_ID' => $this->getOperatorId(),
			'QTY' => 1,
		)
	));
}