Replace Literal with Table Lookup

Replace Code constants with values from database tables.



For more information see page 290 of Database Refactoring