Inventory/Stock Management

I would like to create an inventory app, the first hurdle I have come accross is how to create a goods in page for stock received. how would I enter the details of a product (already in a database) then assign a qty to it and that qty be updated to the stock level in the data table where the product is. Any help would be great