# IndexSectionTable::fillByDiscount()

URL: https://chugunov.pro/api-bitrix/sale/discount/index/indexsectiontable/fillbydiscount/
Проверено на 1С-Битрикс 25.x, обновлено 03.08.2026.
Источник: независимый русскоязычный справочник chugunov.pro. Не является официальной документацией 1С-Битрикс.

Класс: [`\Bitrix\Sale\Discount\Index\IndexSectionTable`](https://chugunov.pro/api-bitrix/sale/discount/index/indexsectiontable/)
Модуль: Sale.
Свойства элемента: method, public, static.

## Сигнатура

```php
public static fillByDiscount(mixed $discountId, array<string|int, mixed> $indexData) : mixed
```

## Параметры

- `$discountId` `mixed` — обязательный
- `$indexData` `array<string|int, mixed>` — обязательный

## Возвращаемое значение

`mixed`

Оригинал в официальной документации: https://docs.1c-bitrix.ru/api/classes/Bitrix-Sale-Discount-Index-IndexSectionTable.html
