sales table fix AND prepared Purchase method