allow setting duration and duration basis on opportunities