InvoiceRulesDescrTable::getMap

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. InvoiceRulesDescrTable
  4. getMap
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/invoice/internals/invoicediscount.php
  • Класс: Bitrix\Crm\Invoice\Internals\InvoiceRulesDescrTable
  • Вызов: InvoiceRulesDescrTable::getMap
static function getMap()
{
	return array(
		'ID' => new Main\Entity\IntegerField('ID', array(
			'primary' => true,
			'autocomplete' => true,
			'title' => Loc::getMessage('ORDER_RULES_DESCR_ENTITY_ID_FIELD')
		)),
		'MODULE_ID' => new Main\Entity\StringField('MODULE_ID', array(
			'required' => true,
			'validation' => array(__CLASS__, 'validateModuleId'),
			'title' => Loc::getMessage('ORDER_RULES_DESCR_ENTITY_MODULE_ID_FIELD')
		)),
		'ORDER_DISCOUNT_ID' => new Main\Entity\IntegerField('ORDER_DISCOUNT_ID', array(
			'required' => true,
			'title' => Loc::getMessage('ORDER_RULES_DESCR_ENTITY_ORDER_DISCOUNT_ID_FIELD')
		)),
		'ORDER_ID' => new Main\Entity\IntegerField('ORDER_ID', array(
			'required' => true,
			'title' => Loc::getMessage('ORDER_RULES_DESCR_ENTITY_ORDER_ID_FIELD')
		)),
		'RULE_ID' => new Main\Entity\IntegerField('RULE_ID', array(
			'required' => true,
			'title' => Loc::getMessage('ORDER_RULES_DESCR_ENTITY_RULE_ID_FIELD')
		)),
		'DESCR' => new Main\Entity\TextField('DESCR', array(
			'required' => true,
			'serialized' => true,
			'title' => Loc::getMessage('ORDER_RULES_DESCR_ENTITY_DESCR_FIELD')
		))
	);
}

Добавить комментарий