Program I made to allow me to import inventory counts into my POS.
...If a UPC doesn't exist in the products table, it gets rejected because I don't want stock levels for non-existent products.
If the CSV file contains invalid data like
1. Empty lines
2. Non-numerical values in the quantity field
that line gets rejected and the application proceeds to the next line.