demo seed change 3
This commit is contained in:
@@ -261,7 +261,13 @@
|
||||
"priority": "HIGH",
|
||||
"current_process_stage": null,
|
||||
"process_stage_history": null,
|
||||
"pending_quality_checks": null,
|
||||
"pending_quality_checks": [
|
||||
{
|
||||
"id": "70000000-0000-0000-0000-000000000004",
|
||||
"check_type": "visual_inspection",
|
||||
"status": "pending"
|
||||
}
|
||||
],
|
||||
"completed_quality_checks": null,
|
||||
"estimated_cost": 150.0,
|
||||
"actual_cost": null,
|
||||
@@ -419,16 +425,24 @@
|
||||
"current_process_stage": "packaging",
|
||||
"process_stage_history": null,
|
||||
"pending_quality_checks": null,
|
||||
"completed_quality_checks": null,
|
||||
"completed_quality_checks": [
|
||||
{
|
||||
"id": "70000000-0000-0000-0000-000000000001",
|
||||
"check_type": "visual_inspection",
|
||||
"status": "completed",
|
||||
"result": "passed",
|
||||
"quality_score": 9.5
|
||||
}
|
||||
],
|
||||
"estimated_cost": 150.0,
|
||||
"actual_cost": 148.5,
|
||||
"labor_cost": 80.0,
|
||||
"material_cost": 55.0,
|
||||
"overhead_cost": 13.5,
|
||||
"yield_percentage": 98.0,
|
||||
"quality_score": 95.0,
|
||||
"quality_score": 9.5,
|
||||
"waste_quantity": 2.0,
|
||||
"defect_quantity": 0.0,
|
||||
"defect_quantity": 2.0,
|
||||
"waste_defect_type": "burnt",
|
||||
"equipment_used": [
|
||||
"30000000-0000-0000-0000-000000000001"
|
||||
@@ -469,16 +483,24 @@
|
||||
"current_process_stage": "packaging",
|
||||
"process_stage_history": null,
|
||||
"pending_quality_checks": null,
|
||||
"completed_quality_checks": null,
|
||||
"completed_quality_checks": [
|
||||
{
|
||||
"id": "70000000-0000-0000-0000-000000000002",
|
||||
"check_type": "dimensional_check",
|
||||
"status": "completed",
|
||||
"result": "passed",
|
||||
"quality_score": 9.2
|
||||
}
|
||||
],
|
||||
"estimated_cost": 280.0,
|
||||
"actual_cost": 275.0,
|
||||
"labor_cost": 120.0,
|
||||
"material_cost": 125.0,
|
||||
"overhead_cost": 30.0,
|
||||
"yield_percentage": 95.8,
|
||||
"quality_score": 92.0,
|
||||
"quality_score": 9.2,
|
||||
"waste_quantity": 3.0,
|
||||
"defect_quantity": 2.0,
|
||||
"defect_quantity": 3.0,
|
||||
"waste_defect_type": "misshapen",
|
||||
"equipment_used": [
|
||||
"30000000-0000-0000-0000-000000000002",
|
||||
@@ -572,11 +594,11 @@
|
||||
"pending_quality_checks": null,
|
||||
"completed_quality_checks": [
|
||||
{
|
||||
"control_id": "70000000-0000-0000-0000-000000000003",
|
||||
"control_type": "taste_test",
|
||||
"result": "FAILED",
|
||||
"quality_score": 65.0,
|
||||
"control_date": "2025-01-09T14:30:00Z"
|
||||
"id": "70000000-0000-0000-0000-000000000003",
|
||||
"check_type": "taste_test",
|
||||
"status": "completed",
|
||||
"result": "failed",
|
||||
"quality_score": 6.5
|
||||
}
|
||||
],
|
||||
"estimated_cost": 220.0,
|
||||
@@ -585,9 +607,9 @@
|
||||
"material_cost": 98.0,
|
||||
"overhead_cost": 25.0,
|
||||
"yield_percentage": 97.8,
|
||||
"quality_score": 65.0,
|
||||
"quality_score": 6.5,
|
||||
"waste_quantity": 1.0,
|
||||
"defect_quantity": 1.0,
|
||||
"defect_quantity": 10.0,
|
||||
"waste_defect_type": "off_taste",
|
||||
"equipment_used": [
|
||||
"30000000-0000-0000-0000-000000000001",
|
||||
@@ -1131,7 +1153,13 @@
|
||||
"priority": "MEDIUM",
|
||||
"current_process_stage": "baking",
|
||||
"process_stage_history": null,
|
||||
"pending_quality_checks": null,
|
||||
"pending_quality_checks": [
|
||||
{
|
||||
"id": "70000000-0000-0000-0000-000000000004",
|
||||
"check_type": "visual_inspection",
|
||||
"status": "pending"
|
||||
}
|
||||
],
|
||||
"completed_quality_checks": null,
|
||||
"estimated_cost": 150.0,
|
||||
"actual_cost": null,
|
||||
@@ -1615,5 +1643,93 @@
|
||||
"updated_at": "BASE_TS",
|
||||
"completed_at": null
|
||||
}
|
||||
],
|
||||
"quality_checks": [
|
||||
{
|
||||
"id": "70000000-0000-0000-0000-000000000001",
|
||||
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
|
||||
"batch_id": "40000000-0000-0000-0000-000000000001",
|
||||
"check_type": "visual_inspection",
|
||||
"check_time": "2025-01-08T14:30:00Z",
|
||||
"checker_id": "50000000-0000-0000-0000-000000000007",
|
||||
"quality_score": 9.5,
|
||||
"pass_fail": true,
|
||||
"defect_count": 2,
|
||||
"defect_types": [
|
||||
{
|
||||
"defect_type": "burnt",
|
||||
"quantity": 2.0,
|
||||
"severity": "minor"
|
||||
}
|
||||
],
|
||||
"check_notes": "Excelente aspecto y textura, 2 unidades con quemaduras leves (dentro de tolerancia)",
|
||||
"corrective_actions": null,
|
||||
"created_at": "BASE_TS - 7d 8h 30m",
|
||||
"updated_at": "BASE_TS - 7d 8h 45m"
|
||||
},
|
||||
{
|
||||
"id": "70000000-0000-0000-0000-000000000002",
|
||||
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
|
||||
"batch_id": "40000000-0000-0000-0000-000000000002",
|
||||
"check_type": "dimensional_check",
|
||||
"check_time": "2025-01-08T14:45:00Z",
|
||||
"checker_id": "50000000-0000-0000-0000-000000000007",
|
||||
"quality_score": 9.2,
|
||||
"pass_fail": true,
|
||||
"defect_count": 3,
|
||||
"defect_types": [
|
||||
{
|
||||
"defect_type": "misshapen",
|
||||
"quantity": 3.0,
|
||||
"severity": "minor"
|
||||
}
|
||||
],
|
||||
"check_notes": "Buen desarrollo y laminado, 3 unidades con forma irregular (dentro de tolerancia)",
|
||||
"corrective_actions": null,
|
||||
"created_at": "BASE_TS - 7d 8h 45m",
|
||||
"updated_at": "BASE_TS - 7d 9h"
|
||||
},
|
||||
{
|
||||
"id": "70000000-0000-0000-0000-000000000003",
|
||||
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
|
||||
"batch_id": "40000000-0000-0000-0000-000000000004",
|
||||
"check_type": "taste_test",
|
||||
"check_time": "2025-01-09T14:30:00Z",
|
||||
"checker_id": "50000000-0000-0000-0000-000000000007",
|
||||
"quality_score": 6.5,
|
||||
"pass_fail": false,
|
||||
"defect_count": 10,
|
||||
"defect_types": [
|
||||
{
|
||||
"defect_type": "off_taste",
|
||||
"quantity": 10.0,
|
||||
"severity": "major"
|
||||
}
|
||||
],
|
||||
"check_notes": "⚠️ CRITICAL: Sabor amargo en el chocolate, posible problema con proveedor de cacao",
|
||||
"corrective_actions": [
|
||||
"Lote puesto en cuarentena",
|
||||
"Notificado proveedor de chocolate",
|
||||
"Programada nueva prueba con muestra diferente"
|
||||
],
|
||||
"created_at": "BASE_TS - 6d 8h 30m",
|
||||
"updated_at": "BASE_TS - 6d 9h"
|
||||
},
|
||||
{
|
||||
"id": "70000000-0000-0000-0000-000000000004",
|
||||
"tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
|
||||
"batch_id": "40000000-0000-0000-0000-000000000015",
|
||||
"check_type": "visual_inspection",
|
||||
"check_time": "BASE_TS + 0h",
|
||||
"checker_id": null,
|
||||
"quality_score": 0.0,
|
||||
"pass_fail": false,
|
||||
"defect_count": 0,
|
||||
"defect_types": null,
|
||||
"check_notes": "⚠️ PENDING: Control de calidad programado para lote en producción",
|
||||
"corrective_actions": null,
|
||||
"created_at": "BASE_TS",
|
||||
"updated_at": "BASE_TS"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user