Paeter most of my issue wasn't coding at all. My database contains both consumed and produced product. I only wanted to add consumed and ignore the produced.
Armed with that information I kicked it's ass and now have it adding what I want.
Appreciate you taking the time to whisper sweet nothings in my ear!