Attempting to fix issues with inserts

Of sales and sales_items