XML 31 R19.htm IDEA: XBRL DOCUMENT v3.8.0.1
ACCOUNTING POLICIES Narrative (Details) - USD ($)
$ in Thousands
3 Months Ended
Jan. 31, 2018
Jan. 31, 2017
New Accounting Pronouncement, Early Adoption [Line Items]    
Amount of excess tax benefit   $ 852
Net cash used in financing activities $ 4,189 1,779
Net cash provided by operating activities $ 24,968 39,452
Accounting Standards Update 2016-09    
New Accounting Pronouncement, Early Adoption [Line Items]    
Net cash used in financing activities   2,200
Net cash provided by operating activities   $ 2,200