issue #19550: Get fetch next number to work. Fix orms problems. Can save quote now!