XML 79 R68.htm IDEA: XBRL DOCUMENT v3.10.0.1
Income Taxes (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended 12 Months Ended
Jul. 31, 2018
Jul. 31, 2017
Jul. 31, 2018
Jul. 31, 2017
Oct. 31, 2017
Income Tax Disclosure [Abstract]          
Income tax (benefit) expense $ (7,014) $ 4,439 $ (9,854) $ 6,686  
Income before income taxes $ 4,038 $ 2,457 $ 10,081 $ 6,915  
Effective tax rate (173.70%) 180.70% (97.70%) 97.00%  
Net benefit related to a return to provision adjustment $ 2,300   $ 2,300    
Benefit based on adjusting the estimated annual tax rate $ 5,500   5,500    
Income Tax Examination [Line Items]          
Unrecognized income tax benefits     2,015    
Tax benefit due to enactment of TCJA     $ 3,966    
U.S. | Internal Revenue Service          
Income Tax Examination [Line Items]          
Tax contingency         $ 4,700