• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/shipment.php
  • Класс: BitrixSaleShipment
  • Вызов: Shipment::setField
public function setField($name, $value)
{
	if ($this->isSystem())
	{
		throw new MainNotSupportedException();
	}

	if ($name === 'CUSTOM_PRICE_DELIVERY')
	{
		if ($value === 'Y')
		{
			$this->markFieldCustom('PRICE_DELIVERY');
		}
		else
		{
			$this->unmarkFieldCustom('PRICE_DELIVERY');
		}
	}

	return parent::setField($name, $value);
}