Files
bakery-ia/shared/demo/fixtures/enterprise/parent/07-procurement.json

62 lines
1.9 KiB
JSON
Raw Normal View History

2025-12-13 23:57:54 +01:00
{
"procurement_plans": [],
"procurement_requirements": [],
"purchase_orders": [
{
"id": "50000000-0000-0000-0000-000000002001",
"tenant_id": "80000000-0000-4000-a000-000000000001",
"po_number": "ENT-PO-20250115-001",
"supplier_id": "40000000-0000-0000-0000-000000000001",
2025-12-14 11:58:14 +01:00
"order_date": "BASE_TS - 1d 4h",
"expected_delivery_date": "BASE_TS + 1d 4h",
2025-12-13 23:57:54 +01:00
"status": "pending_approval",
2025-12-14 11:58:14 +01:00
"total_amount": 650.0,
"created_at": "BASE_TS",
2025-12-13 23:57:54 +01:00
"notes": "Pedido semanal de harina para producción central",
"enterprise_order": true,
"contract_reference": "ENT-HARINA-2024-001",
"payment_terms": "60_DAYS",
"delivery_location": "Central Warehouse - Madrid",
"incoterms": "DAP"
}
],
"purchase_order_items": [
{
"id": "50000000-0000-0000-0000-000000002101",
"tenant_id": "80000000-0000-4000-a000-000000000001",
"po_id": "50000000-0000-0000-0000-000000002001",
"ingredient_id": "10000000-0000-0000-0000-000000000001",
"quantity": 800.0,
2025-12-14 11:58:14 +01:00
"unit_price": 0.8,
"total_price": 640.0,
"created_at": "BASE_TS",
2025-12-13 23:57:54 +01:00
"enterprise_item": true,
"delivery_schedule": [
{
"delivery_date": "2025-01-16T10:00:00Z",
"quantity": 800.0,
"location": "Central Warehouse - Madrid"
}
]
},
{
"id": "50000000-0000-0000-0000-000000002102",
"tenant_id": "80000000-0000-4000-a000-000000000001",
"po_id": "50000000-0000-0000-0000-000000002001",
"ingredient_id": "10000000-0000-0000-0000-000000000002",
"quantity": 12.5,
2025-12-14 11:58:14 +01:00
"unit_price": 4.0,
"total_price": 50.0,
"created_at": "BASE_TS",
2025-12-13 23:57:54 +01:00
"enterprise_item": true,
"delivery_schedule": [
{
"delivery_date": "2025-01-16T10:00:00Z",
"quantity": 12.5,
"location": "Central Warehouse - Madrid"
}
]
}
],
"deliveries": []
}