XML 56 R45.htm IDEA: XBRL DOCUMENT v3.7.0.1
Income Taxes - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Jul. 31, 2017
Jul. 31, 2016
Jul. 31, 2017
Jul. 31, 2016
Income Tax Disclosure [Abstract]        
Effective tax rates 28.80% 28.20% 29.80% 25.50%
Discrete tax expense related to nondeductible acquisition costs     $ 2,600  
Favorable adjustment to unrecognized tax benefits   $ 1,651   $ 1,136
Additional tax benefit relating to retroactive reinstatement of research and development credit       2,025
Additional tax benefit related to dividends paid from foreign earnings tax credit       $ 6,184