{
    "id": "mysql140-x-category-totals",
    "title": "Получить ведомость по категориям и складам",
    "columns": [
        "Наблюдение",
        "Результат"
    ],
    "rows": [
        [
            "cable",
            "1 SKU \/ 10 шт. \/ 3000 руб."
        ],
        [
            "lighting",
            "2 SKU \/ 6 шт. \/ 7800 руб."
        ],
        [
            "Групп категория + склад",
            3
        ],
        [
            "Исходных документов в базе",
            4
        ]
    ],
    "checks": {
        "two_categories": true,
        "cable_totals": true,
        "lighting_totals": true,
        "two_key_grouping": true,
        "documents_preserved": true,
        "owned_collections_removed": true
    },
    "observations": {
        "category_rows": [
            {
                "skus": 1,
                "units": 10,
                "amount": 3000,
                "category": "cable"
            },
            {
                "skus": 2,
                "units": 6,
                "amount": 7800,
                "category": "lighting"
            }
        ],
        "category_warehouse_rows": [
            {
                "units": 10,
                "category": "cable",
                "warehouse": "central"
            },
            {
                "units": 2,
                "category": "lighting",
                "warehouse": "annex"
            },
            {
                "units": 4,
                "category": "lighting",
                "warehouse": "central"
            }
        ],
        "all_documents": [
            {
                "_id": "CABLE",
                "sku": "CABLE",
                "price": 300,
                "stock": 10,
                "active": true,
                "category": "cable",
                "warehouse": "central"
            },
            {
                "_id": "LAMP",
                "sku": "LAMP",
                "price": 1200,
                "stock": 4,
                "active": true,
                "category": "lighting",
                "warehouse": "central"
            },
            {
                "_id": "OLD",
                "sku": "OLD",
                "price": 99,
                "stock": 100,
                "active": false,
                "category": "lighting",
                "warehouse": "central"
            },
            {
                "_id": "STRIP",
                "sku": "STRIP",
                "price": 1500,
                "stock": 2,
                "active": true,
                "category": "lighting",
                "warehouse": "annex"
            }
        ]
    },
    "runtime": {
        "php": "8.3.35",
        "extension": "8.0.30",
        "server_version": 80413,
        "schema": "php_manual_x139",
        "host": "127.0.0.1",
        "port": 33140
    },
    "owned_collections": [
        "mysql140_totals_2508c283793e"
    ],
    "removed_collections": [
        "mysql140_totals_2508c283793e"
    ]
}
