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

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

inventory_receipt_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 one exact native receipt deletion. Never repeats a stock reversal. Requires the same account and current receipt delete authority.

Параметры запроса
recordId
Exact native Supply ID from inventory_receipts_get. обязательно по схеме · string
revision
Текущая версия выбранной записи. обязательно по схеме · string
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
status
Whether this exact deletion has a durable result. обязательно по схеме · string · варианты completed, not_found
result
Original committed deletion result, or null before commit. обязательно по схеме · object / null
Поля и технические схемы
Входные поля и поля ответа inventory_receipt_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": "Exact native Supply ID from inventory_receipts_get."
    },
    "revision": {
      "type": "string",
      "pattern": "^[a-f0-9]{32}$",
      "description": "Current native revision from inventory_receipts_get; a concurrent edit must conflict."
    },
    "requestId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,128}$",
      "description": "Stable request ID for this exact deletion; reuse after an uncertain result."
    }
  },
  "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 deletion has a durable result."
    },
    "result": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "recordId": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
              "description": "Native Supply ID that was deleted."
            },
            "appliedFromRevision": {
              "type": "string",
              "pattern": "^[a-f0-9]{32}$",
              "description": "Exact native revision that was removed."
            },
            "deleted": {
              "type": "boolean",
              "const": true,
              "description": "Whether the native Supply deletion committed."
            },
            "lineCount": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991,
              "description": "Number of native lines whose stock contribution was reversed."
            },
            "stockEffect": {
              "type": "string",
              "const": "reversed_by_native_delete",
              "description": "The installed Supply DELETE trigger reversed its posted stock effect in the same SQL transaction."
            }
          },
          "required": [
            "recordId",
            "appliedFromRevision",
            "deleted",
            "lineCount",
            "stockEffect"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ],
      "description": "Original committed deletion result, or null before commit."
    }
  },
  "required": [
    "status",
    "result"
  ],
  "additionalProperties": false
}