How Invoice Processing Affects Vehicle Data
Source: autosoft-workshop/app/models/invoice.rb
- Processing a service invoice auto-updates: odometer, service hours, next service date
- If odometer field is blank on invoice, vehicle record is NOT updated
- Voiding an invoice REVERSES stock quantity changes
- Vehicle sales and trade-ins create/reverse dealership transaction logs
Support scenarios
- "Vehicle odometer is wrong" → last processed invoice had wrong odometer value
- "Stock levels are wrong after void" → void reversed quantities that were manually corrected