• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/orderbase.php
  • Класс: BitrixSaleOrderBase
  • Вызов: OrderBase::callEventOnSaleOrderSaved
protected function callEventOnSaleOrderSaved()
{
	$eventManager = MainEventManager::getInstance();
	if ($eventsList = $eventManager->findEventHandlers('sale', EventActions::EVENT_ON_ORDER_SAVED))
	{
		$event = new MainEvent('sale', EventActions::EVENT_ON_ORDER_SAVED, array(
			'ENTITY' => $this,
			'IS_NEW' => $this->isNew,
			'IS_CHANGED' => $this->isChanged(),
			'VALUES' => $this->fields->getOriginalValues(),
		));
		$event->send();
	}
}