XML 80 R66.htm IDEA: XBRL DOCUMENT v3.7.0.1
Schedule of Changes in Unrecognized Tax Benefit (Detail) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2017
Jul. 31, 2016
Jul. 31, 2015
Income Tax Disclosure [Abstract]      
Beginning balance $ 13,269 $ 13,156 $ 20,813
Tax positions related to prior years: Additions 75 1,546 126
Tax positions related to prior years: Reductions (1,510) (920) (7,695)
Tax positions related to current year: Additions 3,853 3,123 2,858
Settlements (1,450) (956) (1,898)
Lapses in statute of limitations (1,566) (2,680) (1,048)
Ending balance $ 12,671 $ 13,269 $ 13,156