demo seed change 3

This commit is contained in:
Urtzi Alfaro
2025-12-14 16:04:16 +01:00
parent a030bd14c8
commit 4ae5356ad1
25 changed files with 2969 additions and 1645 deletions

View File

@@ -1022,10 +1022,10 @@
"id": "10000000-0000-0000-0000-000000001001",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "10000000-0000-0000-0000-000000000001",
"quantity": 80.0,
"current_quantity": 0,
"reserved_quantity": 0.0,
"available_quantity": 80.0,
"location": "Almacén Principal - Zona A",
"available_quantity": 0,
"storage_location": "Almacén Principal - Zona A",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "BASE_TS + 180d 18h",
@@ -1034,17 +1034,16 @@
"created_at": "BASE_TS",
"updated_at": "BASE_TS",
"is_available": true,
"is_expired": false,
"notes": "⚠️ CRITICAL: Below reorder point (80 < 150) - NO pending PO - Should trigger RED alert"
"is_expired": false
},
{
"id": "10000000-0000-0000-0000-000000001002",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "10000000-0000-0000-0000-000000000011",
"quantity": 25.0,
"current_quantity": 0,
"reserved_quantity": 5.0,
"available_quantity": 20.0,
"location": "Almacén Refrigerado - Zona B",
"available_quantity": 0,
"storage_location": "Almacén Refrigerado - Zona B",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "BASE_TS + 30d 18h",
@@ -1053,17 +1052,16 @@
"created_at": "BASE_TS",
"updated_at": "BASE_TS",
"is_available": true,
"is_expired": false,
"notes": "⚠️ LOW: Below reorder point (25 < 40) - Has pending PO (PO-2025-006) - Should show warning"
"is_expired": false
},
{
"id": "10000000-0000-0000-0000-000000001003",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "10000000-0000-0000-0000-000000000021",
"quantity": 8.0,
"current_quantity": 4.46,
"reserved_quantity": 2.0,
"available_quantity": 6.0,
"location": "Almacén Refrigerado - Zona C",
"available_quantity": 2.46,
"storage_location": "Almacén Refrigerado - Zona C",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "BASE_TS + 43d 18h",
@@ -1072,17 +1070,16 @@
"created_at": "BASE_TS",
"updated_at": "BASE_TS",
"is_available": true,
"is_expired": false,
"notes": "⚠️ LOW: Below reorder point (8 < 10) - Has pending PO (PO-2025-004-URGENT) - Critical for production"
"is_expired": false
},
{
"id": "10000000-0000-0000-0000-000000001004",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "10000000-0000-0000-0000-000000000002",
"quantity": 180.0,
"current_quantity": 96.0,
"reserved_quantity": 20.0,
"available_quantity": 160.0,
"location": "Almacén Principal - Zona A",
"available_quantity": 76.0,
"storage_location": "Almacén Principal - Zona A",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "BASE_TS + 150d 18h",
@@ -1091,17 +1088,16 @@
"created_at": "BASE_TS",
"updated_at": "BASE_TS",
"is_available": true,
"is_expired": false,
"notes": "Above reorder point - Normal stock level"
"is_expired": false
},
{
"id": "10000000-0000-0000-0000-000000001005",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "10000000-0000-0000-0000-000000000012",
"quantity": 120.0,
"current_quantity": 107.26,
"reserved_quantity": 10.0,
"available_quantity": 110.0,
"location": "Almacén Refrigerado - Zona B",
"available_quantity": 97.26,
"storage_location": "Almacén Refrigerado - Zona B",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "BASE_TS + 6d 18h",
@@ -1110,8 +1106,367 @@
"created_at": "BASE_TS",
"updated_at": "BASE_TS",
"is_available": true,
"is_expired": false,
"notes": "Above reorder point - Normal stock level"
"is_expired": false
},
{
"id": "fcb7b22d-147a-44d8-9290-ce9ee91f57bc",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "10000000-0000-0000-0000-000000000005",
"current_quantity": 199.19,
"reserved_quantity": 12.74,
"available_quantity": 171.35,
"storage_location": "Almacén Principal - Zona A",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "2025-05-20T06:00:00Z",
"supplier_id": "40000000-0000-0000-0000-000000000001",
"batch_number": "HAR-CEN-005-20250111-229",
"created_at": "2025-01-09T06:00:00Z",
"updated_at": "BASE_TS",
"is_available": true,
"is_expired": false
},
{
"id": "a80f71c3-e0a9-4b48-b366-0c6c0dfa9abf",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "20000000-0000-0000-0000-000000000004",
"current_quantity": 76.28,
"reserved_quantity": 4.53,
"available_quantity": 66.61,
"storage_location": "Almacén Refrigerado - Zona B",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "2025-02-04T06:00:00Z",
"supplier_id": "40000000-0000-0000-0000-000000000001",
"batch_number": "PRO-NAP-001-20250114-031",
"created_at": "2025-01-10T06:00:00Z",
"updated_at": "BASE_TS",
"is_available": true,
"is_expired": false
},
{
"id": "e721aae2-6dc4-4ad9-a445-51779eff9a09",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "20000000-0000-0000-0000-000000000002",
"current_quantity": 19.46,
"reserved_quantity": 1.79,
"available_quantity": 17.41,
"storage_location": "Almacén Refrigerado - Zona B",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "2025-02-11T06:00:00Z",
"supplier_id": "40000000-0000-0000-0000-000000000001",
"batch_number": "PRO-CRO-001-20250103-559",
"created_at": "2025-01-12T06:00:00Z",
"updated_at": "BASE_TS",
"is_available": true,
"is_expired": false
},
{
"id": "6c5b7f4b-d125-462e-a74e-c46f55752bcd",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "10000000-0000-0000-0000-000000000031",
"current_quantity": 62.5,
"reserved_quantity": 5.72,
"available_quantity": 53.36,
"storage_location": "Almacén Principal - Zona A",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "2025-05-05T06:00:00Z",
"supplier_id": "40000000-0000-0000-0000-000000000004",
"batch_number": "BAS-SAL-001-20250103-433",
"created_at": "2025-01-08T06:00:00Z",
"updated_at": "BASE_TS",
"is_available": true,
"is_expired": false
},
{
"id": "d578fd7e-6d91-478c-b037-283127e415a9",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "10000000-0000-0000-0000-000000000043",
"current_quantity": 39.28,
"reserved_quantity": 3.32,
"available_quantity": 34.43,
"storage_location": "Almacén Principal - Zona A",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "2025-04-27T06:00:00Z",
"supplier_id": "40000000-0000-0000-0000-000000000001",
"batch_number": "ESP-PAS-003-20250109-868",
"created_at": "2025-01-14T06:00:00Z",
"updated_at": "BASE_TS",
"is_available": true,
"is_expired": false
},
{
"id": "5e9f36df-de8f-4982-80e9-f38b8a59db76",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "10000000-0000-0000-0000-000000000042",
"current_quantity": 79.51,
"reserved_quantity": 6.31,
"available_quantity": 72.59,
"storage_location": "Almacén Principal - Zona A",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "2025-06-02T06:00:00Z",
"supplier_id": "40000000-0000-0000-0000-000000000001",
"batch_number": "ESP-ALM-002-20250113-566",
"created_at": "2025-01-08T06:00:00Z",
"updated_at": "BASE_TS",
"is_available": true,
"is_expired": false
},
{
"id": "a6ef4470-42f9-4fc0-ab37-4ea9fc9c8fb8",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "10000000-0000-0000-0000-000000000045",
"current_quantity": 42.91,
"reserved_quantity": 3.12,
"available_quantity": 37.71,
"storage_location": "Almacén Principal - Zona A",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "2025-04-23T06:00:00Z",
"supplier_id": "40000000-0000-0000-0000-000000000001",
"batch_number": "ESP-CRE-005-20250114-678",
"created_at": "2025-01-14T06:00:00Z",
"updated_at": "BASE_TS",
"is_available": true,
"is_expired": false
},
{
"id": "31510672-3ba8-4593-9ed6-7f35d508c187",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "10000000-0000-0000-0000-000000000033",
"current_quantity": 0,
"reserved_quantity": 11.51,
"available_quantity": 0,
"storage_location": "Almacén Principal - Zona A",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "2025-06-02T06:00:00Z",
"supplier_id": "40000000-0000-0000-0000-000000000001",
"batch_number": "BAS-AGU-003-20250110-465",
"created_at": "2025-01-12T06:00:00Z",
"updated_at": "BASE_TS",
"is_available": true,
"is_expired": false
},
{
"id": "8cc5f11c-fae1-4484-89bd-9f608e88c6c0",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "10000000-0000-0000-0000-000000000022",
"current_quantity": 11.03,
"reserved_quantity": 0.63,
"available_quantity": 10.08,
"storage_location": "Almacén Principal - Zona A",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "2025-07-13T06:00:00Z",
"supplier_id": "40000000-0000-0000-0000-000000000006",
"batch_number": "LEV-SEC-002-20250104-664",
"created_at": "2025-01-10T06:00:00Z",
"updated_at": "BASE_TS",
"is_available": true,
"is_expired": false
},
{
"id": "6d59b4f2-6f9f-46e2-965c-e7fa269933da",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "20000000-0000-0000-0000-000000000003",
"current_quantity": 67.78,
"reserved_quantity": 7.73,
"available_quantity": 61.39,
"storage_location": "Almacén Refrigerado - Zona B",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "2025-02-03T06:00:00Z",
"supplier_id": "40000000-0000-0000-0000-000000000001",
"batch_number": "PRO-PUE-001-20250110-948",
"created_at": "2025-01-09T06:00:00Z",
"updated_at": "BASE_TS",
"is_available": true,
"is_expired": false
},
{
"id": "563fbfa1-093a-40a5-a147-4a636d1440df",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "20000000-0000-0000-0000-000000000001",
"current_quantity": 50.87,
"reserved_quantity": 2.71,
"available_quantity": 44.85,
"storage_location": "Almacén Refrigerado - Zona B",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "2025-01-23T06:00:00Z",
"supplier_id": "40000000-0000-0000-0000-000000000001",
"batch_number": "PRO-BAG-001-20250111-842",
"created_at": "2025-01-12T06:00:00Z",
"updated_at": "BASE_TS",
"is_available": true,
"is_expired": false
},
{
"id": "699b69e7-bc6f-428d-9b42-9f432eeabdf5",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "10000000-0000-0000-0000-000000000006",
"current_quantity": 186.36,
"reserved_quantity": 13.28,
"available_quantity": 167.71,
"storage_location": "Almacén Principal - Zona A",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "2025-06-26T06:00:00Z",
"supplier_id": "40000000-0000-0000-0000-000000000001",
"batch_number": "HAR-ESP-006-20250103-323",
"created_at": "2025-01-09T06:00:00Z",
"updated_at": "BASE_TS",
"is_available": true,
"is_expired": false
},
{
"id": "7f826f83-5990-44e7-966d-c63478efc70e",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "10000000-0000-0000-0000-000000000023",
"current_quantity": 0,
"reserved_quantity": 1.12,
"available_quantity": 0,
"storage_location": "Almacén Refrigerado - Zona B",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "2025-01-29T06:00:00Z",
"supplier_id": "40000000-0000-0000-0000-000000000006",
"batch_number": "LEV-MAD-003-20250103-575",
"created_at": "2025-01-11T06:00:00Z",
"updated_at": "BASE_TS",
"is_available": true,
"is_expired": false
},
{
"id": "27777a6e-7d84-4e93-8767-d5ed9af4753c",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "10000000-0000-0000-0000-000000000014",
"current_quantity": 134.16,
"reserved_quantity": 13.33,
"available_quantity": 124.17,
"storage_location": "Almacén Refrigerado - Zona B",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "2025-01-29T06:00:00Z",
"supplier_id": "40000000-0000-0000-0000-000000000002",
"batch_number": "LAC-HUE-004-20250112-522",
"created_at": "2025-01-08T06:00:00Z",
"updated_at": "BASE_TS",
"is_available": true,
"is_expired": false
},
{
"id": "2e0744e4-003b-4758-9682-6c133fc680dd",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "10000000-0000-0000-0000-000000000032",
"current_quantity": 24.98,
"reserved_quantity": 1.7,
"available_quantity": 21.6,
"storage_location": "Almacén Principal - Zona A",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "2025-07-11T06:00:00Z",
"supplier_id": "40000000-0000-0000-0000-000000000001",
"batch_number": "BAS-AZU-002-20250108-611",
"created_at": "2025-01-11T06:00:00Z",
"updated_at": "BASE_TS",
"is_available": true,
"is_expired": false
},
{
"id": "0638733f-1fec-4cff-963d-ac9799a1e5e3",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "10000000-0000-0000-0000-000000000041",
"current_quantity": 69.89,
"reserved_quantity": 4.55,
"available_quantity": 65.34,
"storage_location": "Almacén Principal - Zona A",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "2025-04-16T06:00:00Z",
"supplier_id": "40000000-0000-0000-0000-000000000001",
"batch_number": "ESP-CHO-001-20250104-739",
"created_at": "2025-01-08T06:00:00Z",
"updated_at": "BASE_TS",
"is_available": true,
"is_expired": false
},
{
"id": "95b8322f-8e0b-42f6-93a8-dcc2ff23893a",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "10000000-0000-0000-0000-000000000003",
"current_quantity": 200.74,
"reserved_quantity": 13.21,
"available_quantity": 170.69,
"storage_location": "Almacén Principal - Zona A",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "2025-04-29T06:00:00Z",
"supplier_id": "40000000-0000-0000-0000-000000000001",
"batch_number": "HAR-FUE-003-20250110-446",
"created_at": "2025-01-09T06:00:00Z",
"updated_at": "BASE_TS",
"is_available": true,
"is_expired": false
},
{
"id": "de8f7182-8f7c-4152-83f2-54c515c79b08",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "10000000-0000-0000-0000-000000000044",
"current_quantity": 81.54,
"reserved_quantity": 8.22,
"available_quantity": 70.18,
"storage_location": "Almacén Principal - Zona A",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "2025-06-18T06:00:00Z",
"supplier_id": "40000000-0000-0000-0000-000000000001",
"batch_number": "ESP-VAI-004-20250102-183",
"created_at": "2025-01-09T06:00:00Z",
"updated_at": "BASE_TS",
"is_available": true,
"is_expired": false
},
{
"id": "7696385d-7afc-4194-b721-a75addeefdad",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "10000000-0000-0000-0000-000000000004",
"current_quantity": 184.59,
"reserved_quantity": 17.97,
"available_quantity": 157.07,
"storage_location": "Almacén Principal - Zona A",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "2025-07-01T06:00:00Z",
"supplier_id": "40000000-0000-0000-0000-000000000001",
"batch_number": "HAR-INT-004-20250111-157",
"created_at": "2025-01-08T06:00:00Z",
"updated_at": "BASE_TS",
"is_available": true,
"is_expired": false
},
{
"id": "f1dca277-56a0-4e31-a642-94478b28c670",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "10000000-0000-0000-0000-000000000013",
"current_quantity": 166.05,
"reserved_quantity": 8.63,
"available_quantity": 156.57,
"storage_location": "Almacén Refrigerado - Zona B",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "2025-02-10T06:00:00Z",
"supplier_id": "40000000-0000-0000-0000-000000000002",
"batch_number": "LAC-NAT-003-20250109-501",
"created_at": "2025-01-08T06:00:00Z",
"updated_at": "BASE_TS",
"is_available": true,
"is_expired": false
}
]
}