# Создание ГПР из предмета договора

***Связанные инструкции:*** [***Создание договора***](https://docs.macrodigital.ru/manual/macroerp/kontrakty/kak_sozdat_kontrakt_v_module_dokumenty)

Заполните все необходимые поля в параметрах документа и нажмите **`Сохранить`**

<figure><img src="https://2409287958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfkymnT1WRuXnrJRm6ZIO%2Fuploads%2F1DtuAB1jBZfZEdw7wSf9%2Fimage.png?alt=media&#x26;token=063777e6-009c-4f33-a386-8e975034d812" alt=""><figcaption></figcaption></figure>

В предмете договора нажмите на **`Три точки`** и выберите **`Скачать шаблон заполнения`**.

<figure><img src="https://2409287958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfkymnT1WRuXnrJRm6ZIO%2Fuploads%2FopJFVGBoSZ5V4T4sFz8n%2Fimage.png?alt=media&#x26;token=a8f7ca7e-bd0d-446a-82e8-5bf4a7da43f7" alt=""><figcaption></figcaption></figure>

Заполните шаблон согласно инструкции. [***Подробнее о заполнении шаблона***](https://docs.macrodigital.ru/manual/macroerp/kontrakty/zapolnenie_shablona_dlja_zagruzki_v_predmet_dogovora)

В предмете договора нажмите **`Три точки`** и выберите **`Загрузить позиции из заполненного шаблона` .**

<figure><img src="https://2409287958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfkymnT1WRuXnrJRm6ZIO%2Fuploads%2FHjsEDtGFyOgZtcFD0FfC%2Fimage.png?alt=media&#x26;token=b1a0c883-47ec-49b5-9b99-37b7a6802ef7" alt=""><figcaption></figcaption></figure>

В окне загрузки выберите заполненный шаблон.

<figure><img src="https://2409287958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfkymnT1WRuXnrJRm6ZIO%2Fuploads%2Fru1QIJJM6m9MYImjILgP%2Fimage.png?alt=media&#x26;token=36e45c5f-6dcd-46b9-b1b6-dcaa03d401f8" alt=""><figcaption></figcaption></figure>

Включите настройку **`Создавать работы в ГПР`** и нажмите **`Добавить`**.

При включении данной настройки загруженный шаблон создаст работы в ГПР (по умолчанию настройка отключена).

*Настройка* **`Создавать смету в проекте`** *включена по умолчанию.* Загруженный шаблон всегда создаёт смету в <mark style="background-color:purple;">**Проекте**</mark> раздел <mark style="background-color:purple;">**Сметы**</mark> (с меткой "**Рабочая смета**").

<figure><img src="https://2409287958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfkymnT1WRuXnrJRm6ZIO%2Fuploads%2F3PjOsQ9hXST6RyxIIX4i%2Fimage.png?alt=media&#x26;token=c45cc4c3-0dce-4ae4-8df7-decd50f3df37" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
При удалении предмета договора работы, созданные в графике, не удаляются.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.macrodigital.ru/manual/macroerp/stroika/sposoby_napolnenija_gpr/sozdanie_gpr_iz_predmeta_dogovora.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
