Updated T4 UnitOfMeasure to use value from database