add production_material and production_produced method to recalculate stock and insert to item history