Create invtypestowrecks.sql