Introduction
The P.FLEX Inventory Management module provides complete lifecycle tracking and warehouse organization for manufacturing assets and finished products:Clisés (Clichés)
Flexographic printing plates with usage metrics and maintenance tracking
Dies (Troqueles)
Cutting dies and tooling with compatibility management
Finished Goods
Quality-released product ready for dispatch
Architecture
Inventory data flows through Angular services with RxJS state management:~/workspace/source/src/features/inventory/services/inventory.service.ts:9-233
Key Features
Physical Location Tracking
Physical Location Tracking
Every item is mapped to physical warehouse racks using numeric range-based positioning:
- Clisé Racks: CL-1 through CL-4 (ranges 861-2180)
- Die Racks: TRQ-1 through TRQ-2 (ranges 1-200)
- Finished Goods: Dispatch zones (DES-A, DES-B)
History & Audit Trail
History & Audit Trail
All inventory items maintain complete operation history:Reference:
~/workspace/source/src/features/inventory/models/inventory.models.ts:2-9Excel Import with Conflict Detection
Excel Import with Conflict Detection
Smart column mapping handles varied spreadsheet formats:
- Flexible column names: Maps “ubicación”, “ubicacion”, “location” → same field
- Validation: Flags missing required fields (código, cliente)
- Preview modal: Review before committing changes
- Conflict resolution: Manual review of incomplete records
inventory.service.ts:183-218Cross-Reference Linking
Cross-Reference Linking
Dies and clisés can be explicitly linked for production planning:
- Search and attach compatible dies to clisés
- Auto-suggest based on Z-value (gear teeth) matching
- Bidirectional references via
linkedDiesandlinkedClisesarrays - Visual compatibility indicators in detail modals
Components
Each inventory type has dedicated Angular components:| Component | Route | Purpose |
|---|---|---|
InventoryCliseComponent | /inventory/clise | Cliché management |
InventoryDieComponent | /inventory/die | Die/tooling management |
InventoryStockComponent | /inventory/stock | Finished goods control |
InventoryMapComponent | /inventory/map | Warehouse visualization |
All components are standalone and use the
InventoryService for state management via observables.Data Flow
Best Practices
Maintain History Records
Log all operations (production runs, maintenance, repairs) in the
history arrayRegular Usage Updates
Update
mtl_acum (accumulated meters) after production to trigger maintenance alertsStatus Indicators
Inventory items display real-time status:Item is production-ready with no issues
Maintenance required (e.g., clisé exceeds 500,000 meters usage)
Data conflict or validation issue requiring manual review
Die showing wear, may need replacement soon
Item damaged and unavailable for production
Next Steps
Cliché Management
Learn about printing plate inventory
Die Management
Manage cutting tools and troqueles
Stock Control
Track finished goods inventory
Rack Layout
Visualize warehouse organization
