• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/orderbase.php
  • Класс: BitrixSaleOrderBase
  • Вызов: OrderBase::getTaxLocation
public function getTaxLocation()
{
	if ((string)$this->getField('TAX_LOCATION') === "")
	{
		$propertyCollection = $this->getPropertyCollection();

		if ($property = $propertyCollection->getTaxLocation())
		{
			$this->setField('TAX_LOCATION', $property->getValue());
		}

	}

	return $this->getField('TAX_LOCATION');
}