issue #22155: Make vendor item number required and make history key for tests.