• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/quote.php
  • Класс: Bitrix\Crm\QuoteTable
  • Вызов: QuoteTable::getDefaultStorageTypeId
static function getDefaultStorageTypeId(): int
{
	static $typeId;

	if (is_null($typeId))
	{
		$userStorageType = \CUserOptions::getOption('crm', 'quote_storage_type_id');
		$typeId = $userStorageType ? $userStorageType : StorageType::getDefaultTypeID();
	}

	return $typeId;
}