Procurement Flow
Material Check & Allocation
flowchart TD
A[Central Ops: Check Material Availability] --> B{Stock Available in Zone?}
B -->|Yes| C[Procurement: Allocate from Zone Stock]
C --> D[Update MaterialStock quantity]
D --> E[Create MaterialAllocation record]
E --> F[Set Installation material_ready = True]
B -->|No| G[Create ProcurementRequest]
G --> H[Identify Local Vendor]
H --> I[Get Cost Estimate]
I --> J{Estimate Approved?}
J -->|Yes| K[Order from Vendor]
K --> L[Field Team: Share Vendor QR/Bank Details]
L --> M[Finance: Direct Vendor Payment]
M --> N[Materials Received]
N --> O[Record Actual Cost]
O --> E
J -->|No| P[Find Alternative Vendor]
P --> H
Stock Level Monitoring
flowchart LR
A[Material Allocated] --> B[Stock Deducted]
B --> C{Below Reorder Level?}
C -->|Yes| D[Generate Low Stock Alert]
D --> E[Procurement Reviews]
C -->|No| F[No Action]