# StorageStrategy::replaceAllItemBindings()

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

Класс: [`\Bitrix\Crm\Relation\StorageStrategy`](https://chugunov.pro/api-bitrix/crm/relation/storagestrategy/)
Модуль: Crm.
Свойства элемента: method, public.

## Сигнатура

```php
public replaceAllItemBindings(ItemIdentifier $oldItem, ItemIdentifier $newItem) : Result
```

## Описание

Заменить все привязки $oldItem на $newItem

## Параметры

- `$oldItem` `ItemIdentifier` — обязательный
- `$newItem` `ItemIdentifier` — обязательный

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

`Result`

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