Fixed dimension and product db relation, cleaned up db and assigned destroy dependencies with dimension, line item and products.