Inventory input now added to the database.