MCP Control
Склад · Чтение

Склад · Списание · Просмотр · Удаление · Операция

inventory_writeoff_get_delete_operation
Посылки на упаковочном столе

Попробуйте три запроса

Получить данные
  1. Вы указываетеId записи
  2. ПомощникЧтение
  3. Вы получаетеПоля ответа
Запрос в чат
Для задачи «Склад / Списание / Просмотр / Удаление / Операция» выполни чтение по выбранной записи (ID записи). Выведи кратко: статус, результат.
Что искать в ответе
status
Статус
result
Результат
Задать параметры
  1. Вы указываетеId записи
  2. ПомощникСверка выбора
  3. Вы получаетеТочный объект
Запрос в чат
Покажи, как получить «Склад / Списание / Просмотр / Удаление / Операция» на учебном примере с recordId = DEMO-101. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
Фрагмент учебных параметров
recordId
DEMO-101
Разобрать ответ
  1. Вы указываетеПолученный ответ
  2. ПомощникРазбор значений
  3. Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Склад / Списание / Просмотр / Удаление / Операция» объясни статус, результат. Отметь отсутствующие значения.
Поля для проверки
status
Статус
result
Результат
Как работает действие

Это чтение. Выберите запись или задайте фильтры в доступной компании. Прочитайте актуальную версию записи перед подготовкой запроса.

Описание разработчика

Read the immutable result of an exact MCP write-off deletion. Never repeats a stock reversal.

Параметры запроса
recordId
Existing MCP-created write-off ID. обязательно по схеме · string
revision
Текущая версия выбранной записи. обязательно по схеме · string
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
status
Whether this exact request has a durable result. обязательно по схеме · string · варианты completed, not_found
result
Original committed result, or null if not found. A missing result does not rule out an in-flight commit. обязательно по схеме · object / null
Поля и технические схемы
Входные поля и поля ответа inventory_writeoff_get_delete_operation
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "recordId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
      "description": "Existing MCP-created write-off ID."
    },
    "revision": {
      "type": "string",
      "pattern": "^[a-f0-9]{32}$",
      "description": "Current native revision from inventory_movements_get."
    },
    "requestId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,128}$",
      "description": "Stable ID for these exact arguments; reuse after an uncertain response."
    }
  },
  "required": [
    "recordId",
    "revision",
    "requestId"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "completed",
        "not_found"
      ],
      "description": "Whether this exact request has a durable result."
    },
    "result": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "recordId": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
              "description": "Deleted native write-off ID."
            },
            "appliedFromRevision": {
              "type": "string",
              "pattern": "^[a-f0-9]{32}$",
              "description": "Exact native revision removed."
            },
            "deleted": {
              "type": "boolean",
              "const": true,
              "description": "The unchanged MCP write-off was deleted."
            },
            "lineCount": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "description": "Number of native lines reversed."
            },
            "stockEffect": {
              "type": "string",
              "const": "reversed_by_native_delete",
              "description": "The native DELETE trigger restored their posted stock contribution in the same SQL transaction."
            }
          },
          "required": [
            "recordId",
            "appliedFromRevision",
            "deleted",
            "lineCount",
            "stockEffect"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ],
      "description": "Original committed result, or null if not found. A missing result does not rule out an in-flight commit."
    }
  },
  "required": [
    "status",
    "result"
  ],
  "additionalProperties": false
}