demo seed change

This commit is contained in:
Urtzi Alfaro
2025-12-13 23:57:54 +01:00
parent f3688dfb04
commit ff830a3415
299 changed files with 20328 additions and 19485 deletions

View File

@@ -1016,5 +1016,102 @@
"updated_at": "2025-01-15T06:00:00Z",
"created_by": "c1a2b3c4-d5e6-47a8-b9c0-d1e2f3a4b5c6"
}
],
"stock": [
{
"id": "10000000-0000-0000-0000-000000001001",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "10000000-0000-0000-0000-000000000001",
"quantity": 80.0,
"reserved_quantity": 0.0,
"available_quantity": 80.0,
"location": "Almacén Principal - Zona A",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "2025-07-15T00:00:00Z",
"supplier_id": "40000000-0000-0000-0000-000000000001",
"batch_number": "HAR-T55-20250110-001",
"created_at": "2025-01-15T06:00:00Z",
"updated_at": "2025-01-15T06:00:00Z",
"is_available": true,
"is_expired": false,
"notes": "⚠️ CRITICAL: Below reorder point (80 < 150) - NO pending PO - Should trigger RED alert"
},
{
"id": "10000000-0000-0000-0000-000000001002",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "10000000-0000-0000-0000-000000000011",
"quantity": 25.0,
"reserved_quantity": 5.0,
"available_quantity": 20.0,
"location": "Almacén Refrigerado - Zona B",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "2025-02-15T00:00:00Z",
"supplier_id": "40000000-0000-0000-0000-000000000002",
"batch_number": "MAN-SAL-20250112-001",
"created_at": "2025-01-15T06:00:00Z",
"updated_at": "2025-01-15T06:00:00Z",
"is_available": true,
"is_expired": false,
"notes": "⚠️ LOW: Below reorder point (25 < 40) - Has pending PO (PO-2025-006) - Should show warning"
},
{
"id": "10000000-0000-0000-0000-000000001003",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "10000000-0000-0000-0000-000000000021",
"quantity": 8.0,
"reserved_quantity": 2.0,
"available_quantity": 6.0,
"location": "Almacén Refrigerado - Zona C",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "2025-02-28T00:00:00Z",
"supplier_id": "40000000-0000-0000-0000-000000000003",
"batch_number": "LEV-FRE-20250114-001",
"created_at": "2025-01-15T06:00:00Z",
"updated_at": "2025-01-15T06:00:00Z",
"is_available": true,
"is_expired": false,
"notes": "⚠️ LOW: Below reorder point (8 < 10) - Has pending PO (PO-2025-004-URGENT) - Critical for production"
},
{
"id": "10000000-0000-0000-0000-000000001004",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "10000000-0000-0000-0000-000000000002",
"quantity": 180.0,
"reserved_quantity": 20.0,
"available_quantity": 160.0,
"location": "Almacén Principal - Zona A",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "2025-06-15T00:00:00Z",
"supplier_id": "40000000-0000-0000-0000-000000000001",
"batch_number": "HAR-T65-20250111-001",
"created_at": "2025-01-15T06:00:00Z",
"updated_at": "2025-01-15T06:00:00Z",
"is_available": true,
"is_expired": false,
"notes": "Above reorder point - Normal stock level"
},
{
"id": "10000000-0000-0000-0000-000000001005",
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
"ingredient_id": "10000000-0000-0000-0000-000000000012",
"quantity": 120.0,
"reserved_quantity": 10.0,
"available_quantity": 110.0,
"location": "Almacén Refrigerado - Zona B",
"production_stage": "raw_ingredient",
"quality_status": "good",
"expiration_date": "2025-01-22T00:00:00Z",
"supplier_id": "40000000-0000-0000-0000-000000000002",
"batch_number": "LEC-ENT-20250114-001",
"created_at": "2025-01-15T06:00:00Z",
"updated_at": "2025-01-15T06:00:00Z",
"is_available": true,
"is_expired": false,
"notes": "Above reorder point - Normal stock level"
}
]
}