The available fields are based on the Terms Type or Discount Type. If your Type is setup for Days, then Number of Months is not available.
On the Detail tab, review the Discount Type if you are attempting to modify the Discounts tab detail information.
Tim Lester