• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/orderbase.php
  • Класс: BitrixSaleOrderBase
  • Вызов: OrderBase::getHash
public function getHash()
{
	/** @var MainTypeDateTime $dateInsert */
	$dateInsert = $this->getDateInsert()->setTimeZone(new DateTimeZone("Europe/Moscow"));
	$timestamp = $dateInsert->getTimestamp();
	return md5(
		$this->getId().
		$timestamp.
		$this->getUserId().
		$this->getField('ACCOUNT_NUMBER')
	);
}