Quote and Sales Order Table fixes