{
    "id": "pdo177-import-receipt",
    "title": "Принять поставку и связать номера базы со строками входного JSON",
    "columns": [
        "Наблюдение",
        "Результат"
    ],
    "rows": [
        [
            "Принято строк",
            3
        ],
        [
            "Связь поставщика и базы",
            "S-31 → 1; S-32 → 2; S-33 → 3"
        ],
        [
            "Название второй позиции",
            "Шланг O'Reilly"
        ],
        [
            "Примечания",
            "null; пустая строка; Склад Б"
        ],
        [
            "Повторное чтение",
            "совпадает с OUTPUT"
        ],
        [
            "Файл",
            "receipt.json"
        ]
    ],
    "checks": {
        "three_rows": true,
        "own_ids": true,
        "supplier_mapping": true,
        "exact_titles": true,
        "quantities": true,
        "null_note": true,
        "empty_note": true,
        "text_note": true,
        "output_matches_stored": true,
        "request_released": true,
        "transaction_finished": true,
        "artifact_roundtrip": true,
        "owned_objects_removed": true
    },
    "observations": {
        "input": [
            {
                "supplier_ref": "S-31",
                "title": "Насос Мини",
                "qty": 2,
                "note": null
            },
            {
                "supplier_ref": "S-32",
                "title": "Шланг O'Reilly",
                "qty": 0,
                "note": ""
            },
            {
                "supplier_ref": "S-33",
                "title": "Клапан",
                "qty": 5,
                "note": "Склад Б"
            }
        ],
        "raw_output": [
            {
                "id": "1",
                "supplier_ref": "S-31",
                "title": "Насос Мини",
                "qty": "2",
                "note": null
            },
            {
                "id": "2",
                "supplier_ref": "S-32",
                "title": "Шланг O'Reilly",
                "qty": "0",
                "note": ""
            },
            {
                "id": "3",
                "supplier_ref": "S-33",
                "title": "Клапан",
                "qty": "5",
                "note": "Склад Б"
            }
        ],
        "receipt": {
            "accepted": 3,
            "items": [
                {
                    "id": 1,
                    "supplier_ref": "S-31",
                    "title": "Насос Мини",
                    "qty": 2,
                    "note": null
                },
                {
                    "id": 2,
                    "supplier_ref": "S-32",
                    "title": "Шланг O'Reilly",
                    "qty": 0,
                    "note": ""
                },
                {
                    "id": 3,
                    "supplier_ref": "S-33",
                    "title": "Клапан",
                    "qty": 5,
                    "note": "Склад Б"
                }
            ]
        },
        "confirmation": "OUTPUT consumed, transaction committed, stored rows read again"
    },
    "runtime": {
        "php": "8.5.11",
        "extension": "5.13.3+20807",
        "pdo": "8.5.11",
        "driver": "sqlsrv",
        "server_version": "16.0.1000.6",
        "odbc_driver": "18.07.0001",
        "odbc_api": "03.80",
        "database": "phpmanual177",
        "transport": "local_named_pipe"
    },
    "owned_objects": [
        {
            "type": "TABLE",
            "name": "pdo177_incoming_3d88d7dd8f33"
        }
    ],
    "removed_objects": [
        {
            "type": "TABLE",
            "name": "pdo177_incoming_3d88d7dd8f33"
        }
    ]
}
