• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/requisite/invoicerequisiteconverter.php
  • Класс: Bitrix\Crm\Requisite\InvoiceRequisiteConverter
  • Вызов: InvoiceRequisiteConverter::getPropertyMap
protected function getPropertyMap()
{
	if($this->propertyMap === null)
	{
		$propertyInfos = $this->getPropertyInfos();
		$bindings = $this->getPresetBindings();
		$this->propertyMap = array();
		foreach($bindings as $key => $binding)
		{
			$propertyKey = $binding['propertyKey'];
			if(isset($propertyInfos[$propertyKey]) && isset($propertyInfos[$propertyKey]['ID']))
			{
				$binding['propertyID'] = "PR_INVOICE_{$propertyInfos[$propertyKey]['ID']}";
				$this->propertyMap[$key] = $binding;
			}
		}
	}
	return $this->propertyMap;
}