XML 38 R28.htm IDEA: XBRL DOCUMENT v3.7.0.1
Description of Business (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Jul. 31, 2017
Jan. 31, 2017
Jul. 31, 2016
Jul. 31, 2017
Jul. 31, 2016
Income tax benefit resulting from early adoption $ 3,719   $ 7,323 $ 13,883 $ 16,609
Accounting Standards Update 2016-09 [Member] | New Accounting Pronouncement, Early Adoption, Effect [Member]          
Income tax benefit resulting from early adoption   $ (300)