• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/shipment.php
  • Класс: BitrixSaleShipment
  • Вызов: Shipment::setFieldNoDemand
public function setFieldNoDemand($name, $value)
{
	if ($name === 'CUSTOM_PRICE_DELIVERY')
	{
		if ($value === 'Y')
		{
			$this->markFieldCustom('PRICE_DELIVERY');
		}
		else
		{
			$this->unmarkFieldCustom('PRICE_DELIVERY');
		}
	}

	parent::setFieldNoDemand($name, $value);
}