{
    "id": "pdo182-session-receipt",
    "title": "Связать изменения склада с действием приложения",
    "columns": [
        "Наблюдение",
        "Результат"
    ],
    "rows": [
        [
            "Приёмка",
            "CAB-7: 3 + 2 = 5; operator-17"
        ],
        [
            "Пересчёт",
            "TAP-2: 5 → 4; operator-22"
        ],
        [
            "Контекст",
            "Четыре атрибута записаны с каждой операцией"
        ],
        [
            "Очистка",
            "Между действиями и после них значения NULL"
        ],
        [
            "Файл",
            "operation-context.json: две операции склада"
        ]
    ],
    "checks": {
        "first_four_attributes": true,
        "second_four_attributes": true,
        "both_changes_applied": true,
        "stock_result": true,
        "correct_operator_per_row": true,
        "context_persisted_with_change": true,
        "between_cleared": true,
        "after_cleared": true,
        "changes_committed": true,
        "call_timeout_contract": true,
        "owned_objects_removed": true
    },
    "observations": {
        "initial_stock": {
            "CAB-7": 3,
            "TAP-2": 5
        },
        "first_context": {
            "module": "inventory-cli",
            "action": "receive-stock",
            "client_info": "supplier-A",
            "client_identifier": "operator-17"
        },
        "between_context": {
            "module": null,
            "action": null,
            "client_info": null,
            "client_identifier": null
        },
        "second_context": {
            "module": "inventory-cli",
            "action": "inventory-count",
            "client_info": "count-sheet-2",
            "client_identifier": "operator-22"
        },
        "after_context": {
            "module": null,
            "action": null,
            "client_info": null,
            "client_identifier": null
        },
        "receipt": {
            "operations": [
                {
                    "sku": "CAB-7",
                    "qty": 5,
                    "module": "inventory-cli",
                    "action": "receive-stock",
                    "client_info": "supplier-A",
                    "client_identifier": "operator-17"
                },
                {
                    "sku": "TAP-2",
                    "qty": 4,
                    "module": "inventory-cli",
                    "action": "inventory-count",
                    "client_info": "count-sheet-2",
                    "client_identifier": "operator-22"
                }
            ],
            "context_cleared_between_operations": true,
            "context_cleared_after_operations": true
        },
        "persistent_connection": false,
        "call_timeout": {
            "available": true,
            "before_ms": 0,
            "set_ms": 0,
            "restored": true,
            "expiry_exercised": false
        }
    },
    "runtime": {
        "php": "8.5.11",
        "extension": "1.2.0",
        "pdo": "8.5.11",
        "driver": "oci",
        "server_version": "23.0.0.0.0",
        "client": "23.26.4.0.0",
        "database": "FREEPDB1",
        "transport": "loopback_tcp"
    },
    "owned_objects": [
        {
            "type": "TABLE",
            "name": "P182_CONTEXT_F845A8FFAFB0"
        }
    ],
    "removed_objects": [
        {
            "type": "TABLE",
            "name": "P182_CONTEXT_F845A8FFAFB0"
        }
    ]
}
