Login to the System
APTIV Scrap Control works in two modes:- MySQL Mode: Connected to backend server (production)
- Local Mode: Using browser localStorage (standalone)
Access the Application
Open your browser and navigate to:
For standalone mode, open
dist/index.html directly or use npx serve distChoose Your Role
The system supports multiple roles with different permissions:
Administrator
Full system access including user management and permissions
Quality
Manage catalogs, view reports, and handle quality issues
Supervisor
Register scrap, edit records, and view area reports
Operator
Register scrap and view own records
Register Your First Scrap Entry
Once logged in, you can immediately start registering scrap records.Navigate to Register Scrap
Click on “Registrar Scrap” in the navigation menu. The system automatically detects the current shift based on time:
src/components/RegisterScrap.tsx
Use Barcode Scanner (Optional)
The system supports USB barcode scanners for fast part number entry:Supported formats: Code 128, Code 39, QR, DataMatrix, EAN/UPC
src/components/RegisterScrap.tsx
Submit the Entry
Click “Guardar” to save the scrap entry. The system will:
- Validate all required fields
- Calculate total weight and cost
- Log the entry with timestamp
- Update dashboard metrics in real-time
In MySQL mode, data is saved to the backend. In Local mode, data is stored in browser localStorage.
View Dashboard and Reports
After registering scrap entries, explore the analytics dashboard.Access the Dashboard
Click “Dashboard” in the navigation menu to see real-time metrics:
Today's Summary
Total scrap quantity and cost for current day
Weekly Trends
7-day comparison with previous week
Top Areas
Areas with highest scrap generation
Failure Modes
Most common failure modes
Explore Visualizations
The dashboard provides multiple chart types:Available Charts:
src/components/Dashboard.tsx
- Line chart: 30-day trend
- Bar chart: Scrap by area/shift
- Pie chart: Category distribution
- Table: Top 5 part numbers
Next Steps
Installation
Deploy the full system with Docker and MySQL
User Management
Create user accounts and configure roles
Catalogs
Manage areas, part numbers, and failure modes
API Reference
Integrate with external systems
Common Workflows
Daily Scrap Registration
Daily Scrap Registration
- Login at shift start
- Register scrap entries as they occur
- Use barcode scanner for speed
- Review shift summary before close
- Export daily report for management
Quality Analysis
Quality Analysis
- Access Reports section
- Filter by date range
- Identify top failure modes
- Export data for root cause analysis
- Set tolerance thresholds
Supervisor Review
Supervisor Review
- Check dashboard metrics
- Review area performance
- Edit/correct same-day entries
- View real-time alerts
- Approve shift closure
Troubleshooting
Scanner Not Working: Ensure scanner is in HID keyboard mode and configured to send Enter after scan