CCrmInvoiceRestService::getFieldsInfo

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmInvoiceRestService
  4. getFieldsInfo
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/restservice_invoice.php
  • Класс: \CCrmInvoiceRestService
  • Вызов: CCrmInvoiceRestService::getFieldsInfo
static function getFieldsInfo()
{
	$fieldsInfo = array(
		"ACCOUNT_NUMBER" => array(
			"type" => "string",
			"size" => "100",
			"level" => 0,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"COMMENTS" => array(
			"type" => "text",
			"level" => 0,
			"required" => false,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"CURRENCY" => array(
			"type" => "string",
			"size" => "3",
			"level" => 0,
			"required" => false,
			"readonly" => true,
			"get" => true,
			"add" => false,
			"update" => false,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"DATE_BILL" => array(
			"type" => "date",
			"level" => 0,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"DATE_INSERT" => array(
			"type" => "datetime",
			"level" => 0,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"DATE_MARKED" => array(
			"type" => "datetime",
			"level" => 0,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"DATE_PAY_BEFORE" => array(
			"type" => "date",
			"level" => 0,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"DATE_PAYED" => array(
			"type" => "datetime",
			"level" => 0,
			"required" => false,
			"readonly" => true,
			"get" => true,
			"add" => false,
			"update" => false,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"DATE_STATUS" => array(
			"type" => "datetime",
			"level" => 0,
			"required" => false,
			"readonly" => true,
			"get" => true,
			"add" => false,
			"update" => false,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"DATE_UPDATE" => array(
			"type" => "datetime",
			"level" => 0,
			"required" => false,
			"readonly" => true,
			"get" => true,
			"add" => false,
			"update" => false,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"CREATED_BY" => array(
			"type" => "integer",
			"level" => 0,
			"required" => false,
			"readonly" => true,
			"get" => true,
			"add" => false,
			"update" => false,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"EMP_PAYED_ID" => array(
			"type" => "integer",
			"level" => 0,
			"required" => false,
			"readonly" => true,
			"get" => true,
			"add" => false,
			"update" => false,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"EMP_STATUS_ID" => array(
			"type" => "integer",
			"level" => 0,
			"required" => false,
			"readonly" => true,
			"get" => true,
			"add" => false,
			"update" => false,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"ID" => array(
			"type" => "integer",
			"level" => 0,
			"required" => false,
			"readonly" => true,
			"get" => true,
			"add" => false,
			"update" => false,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"LID" => array(
			"type" => "string",
			"size" => "2",
			"level" => 0,
			"required" => false,
			"readonly" => true,
			"get" => true,
			"add" => false,
			"update" => false,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"XML_ID" => array(
			"type" => "string",
			"size" => "255",
			"level" => 0,
			"required" => false,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"ORDER_TOPIC" => array(
			"type" => "string",
			"size" => "255",
			"level" => 0,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"PAY_SYSTEM_ID" => array(
			"type" => "integer",
			"level" => 0,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"PAY_VOUCHER_DATE" => array(
			"type" => "date",
			"level" => 0,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"PAY_VOUCHER_NUM" => array(
			"type" => "string",
			"size" => "20",
			"level" => 0,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"PAYED" => array(
			"type" => "string",
			"size" => "1",
			"level" => 0,
			"required" => false,
			"readonly" => true,
			"get" => true,
			"add" => false,
			"update" => false,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"PERSON_TYPE_ID" => array(
			"type" => "integer",
			"level" => 0,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"PRICE" => array(
			"type" => "double",
			"size" => "18,2",
			"level" => 0,
			"required" => false,
			"readonly" => true,
			"get" => true,
			"add" => false,
			"update" => false,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"REASON_MARKED" => array(
			"type" => "string",
			"size" => "255",
			"level" => 0,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"RESPONSIBLE_EMAIL" => array(
			"type" => "string",
			"size" => "255",
			"level" => 0,
			"required" => false,
			"readonly" => true,
			"get" => true,
			"add" => false,
			"update" => false,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"RESPONSIBLE_ID" => array(
			"type" => "integer",
			"size" => "18",
			"level" => 0,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"RESPONSIBLE_LAST_NAME" => array(
			"type" => "string",
			"size" => "50",
			"level" => 0,
			"required" => false,
			"readonly" => true,
			"get" => true,
			"add" => false,
			"update" => false,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"RESPONSIBLE_LOGIN" => array(
			"type" => "string",
			"size" => "50",
			"level" => 0,
			"required" => false,
			"readonly" => true,
			"get" => true,
			"add" => false,
			"update" => false,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"RESPONSIBLE_NAME" => array(
			"type" => "string",
			"size" => "50",
			"level" => 0,
			"required" => false,
			"readonly" => true,
			"get" => true,
			"add" => false,
			"update" => false,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"RESPONSIBLE_PERSONAL_PHOTO" => array(
			"type" => "integer",
			"size" => "18",
			"level" => 0,
			"required" => false,
			"readonly" => true,
			"get" => true,
			"add" => false,
			"update" => false,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"RESPONSIBLE_SECOND_NAME" => array(
			"type" => "string",
			"size" => "50",
			"level" => 0,
			"required" => false,
			"readonly" => true,
			"get" => true,
			"add" => false,
			"update" => false,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"RESPONSIBLE_WORK_POSITION" => array(
			"type" => "string",
			"size" => "255",
			"level" => 0,
			"required" => false,
			"readonly" => true,
			"get" => true,
			"add" => false,
			"update" => false,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"STATUS_ID" => array(
			"type" => "string",
			"size" => "1",
			"level" => 0,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"TAX_VALUE" => array(
			"type" => "double",
			"size" => "18,2",
			"level" => 0,
			"required" => false,
			"readonly" => true,
			"get" => true,
			"add" => false,
			"update" => false,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"IS_RECURRING" => array(
			"type" => "string",
			"size" => "1",
			"level" => 0,
			"required" => false,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"UF_COMPANY_ID" => array(
			"type" => "integer",
			"size" => "20",
			"level" => 0,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"UF_CONTACT_ID" => array(
			"type" => "integer",
			"size" => "20",
			"level" => 0,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"UF_MYCOMPANY_ID" => array(
			"type" => "integer",
			"size" => "20",
			"level" => 0,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"UF_DEAL_ID" => array(
			"type" => "integer",
			"size" => "20",
			"level" => 0,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"UF_QUOTE_ID" => array(
			"type" => "integer",
			"size" => "20",
			"level" => 0,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"USER_DESCRIPTION" => array(
			"type" => "string",
			"size" => "2000",
			"level" => 0,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"PR_LOCATION" => array(
			"type" => "integer",
			"level" => 0,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => false,
			"filter" => false,
			"order" => false
		),
		"INVOICE_PROPERTIES" => array(
			"type" => "aarray",
			"level" => 0,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => false,
			"filter" => false,
			"order" => false
		),
		"INVOICE_PROPERTIES.{}" => array(
			"type" => "integer",
			"level" => 1,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => false,
			"filter" => false,
			"order" => false
		),
		"INVOICE_PROPERTIES.{}." => array(
			"type" => "variable",
			"level" => 2,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => false,
			"filter" => false,
			"order" => false
		),
		"PRODUCT_ROWS" => array(
			"type" => "iarray",
			"level" => 0,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => false,
			"filter" => false,
			"order" => false
		),
		"PRODUCT_ROWS.[]" => array(
			"type" => "integer",
			"level" => 1,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => false,
			"filter" => false,
			"order" => false
		),
		"PRODUCT_ROWS.[].ID" => array(
			"type" => "integer",
			"level" => 2,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => false,
			"filter" => false,
			"order" => false
		),
		"PRODUCT_ROWS.[].PRICE" => array(
			"type" => "double",
			"size" => "18,2",
			"level" => 2,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => false,
			"filter" => false,
			"order" => false
		),
		"PRODUCT_ROWS.[].DISCOUNT_PRICE" => array(
			"type" => "double",
			"size" => "18,2",
			"level" => 2,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => false,
			"filter" => false,
			"order" => false
		),
		"PRODUCT_ROWS.[].PRODUCT_ID" => array(
			"type" => "integer",
			"level" => 2,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => false,
			"filter" => false,
			"order" => false
		),
		"PRODUCT_ROWS.[].PRODUCT_NAME" => array(
			"type" => "string",
			"size" => "255",
			"level" => 2,
			"required" => false,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => false,
			"filter" => false,
			"order" => false
		),
		"PRODUCT_ROWS.[].QUANTITY" => array(
			"type" => "double",
			"size" => "18,2",
			"level" => 2,
			"required" => true,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => false,
			"filter" => false,
			"order" => false
		),
		"PRODUCT_ROWS.[].VAT_RATE" => array(
			"type" => "double",
			"size" => "18,2",
			"level" => 2,
			"required" => false,
			"readonly" => true,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => false,
			"filter" => false,
			"order" => false
		),
		"PRODUCT_ROWS.[].VAT_INCLUDED" => array(
			"type" => "string",
			"size" => "1",
			"level" => 2,
			"required" => false,
			"readonly" => true,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => false,
			"filter" => false,
			"order" => false
		),
		"PRODUCT_ROWS.[].MEASURE_CODE" => array(
			"type" => "integer",
			"level" => 2,
			"required" => false,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"PRODUCT_ROWS.[].MEASURE_NAME" => array(
			"type" => "string",
			"level" => 2,
			"required" => false,
			"readonly" => false,
			"get" => true,
			"add" => true,
			"update" => true,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"PRODUCT_ROWS.[].MODULE" => array(
			"type" => "string",
			"level" => 2,
			"required" => false,
			"readonly" => true,
			"get" => true,
			"add" => false,
			"update" => false,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"PRODUCT_ROWS.[].CATALOG_XML_ID" => array(
			"type" => "string",
			"level" => 2,
			"required" => false,
			"readonly" => true,
			"get" => true,
			"add" => false,
			"update" => false,
			"list" => true,
			"filter" => true,
			"order" => true
		),
		"PRODUCT_ROWS.[].PRODUCT_XML_ID" => array(
			"type" => "string",
			"level" => 2,
			"required" => false,
			"readonly" => true,
			"get" => true,
			"add" => false,
			"update" => false,
			"list" => true,
			"filter" => true,
			"order" => true
		)
	);

	return $fieldsInfo;
}

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