fill_on_basis
Create new documents or reference entries based on an existing object using the standard fill-on-basis mechanism. Supports document chains like customer order to sales invoice.
Instructions
Создать новый документ/справочник на основании существующего объекта. Вызывает типовой механизм ЗаполнитьНаОсновании(). Ключевой для цепочек: ЗаказКлиента → Реализация → СчётФактура.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target_type": "<target_type>",
"base_type": "<base_type>",
"base_guid": "<base_guid>"
},
"name": "fill_on_basis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_guid | Yes | UUID объекта-основания | |
| base_type | Yes | Полное имя объекта-основания, например: Документ.ЗаказКлиента | |
| attributes | No | Дополнительные реквизиты для переопределения (необязательно) | |
| target_type | Yes | Полное имя целевого объекта, например: Документ.РеализацияТоваровУслуг |