SHARE-BASED COMPENSATION Shares Authorized by Exercise Price Range (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
12 Months Ended
Oct. 31, 2017
Oct. 31, 2016
Oct. 31, 2015
Sharebased Compensation Arrangement By Exercise Price Range [Abstract]      
Number Outstanding (in shares) 2,761    
Weighted Average Remaining Contractual Life (in years) 5 years 7 months    
Weighted Average Exercise Price (in dollars per share) $ 34    
Aggregate Intrinsic Value $ 93,658    
Number Exercisable (in shares) 1,916    
Weighted Average Remaining Contractual Life (in years) 5 years    
Weighted Average Exercise Price (in dollars per share) $ 31    
Aggregate Intrinsic Value $ 70,327    
Closing stock price basis for aggregate intrinsic value (in dollars per share) $ 68.03    
In-the-money awards exercisable (in shares) 1,900    
Aggregate instrinsic value of options [Abstract]      
Options exercised in period aggregate intrinsic value $ 36,175 $ 26,913 $ 33,258
Options exercised in period aggregate weighted average exercise price (in dollars per share) $ 30 $ 25 $ 24
Black-Scholes valuation of options granted in the period (in dollars per share)     $ 10.58
Unrecognized share-based compensation costs for outstanding stock option awards, net of expected foreitures $ 700    
Weighted-average period unrecognized share-based compensation costs for outstanding stock option awards, expected amortization period (in years) 1 year    
Amount of cash received from the exercise of share-based awards granted $ 66,000 $ 62,000 $ 58,000
Range of Exercise Prices - $0 - $25 [Member]      
Sharebased Compensation Arrangement By Exercise Price Range [Abstract]      
Minimum price of options outstanding, end of the period (in dollars per share) $ 0    
Maximum price of options outstanding, end of the period (in dollars per share) $ 25    
Number Outstanding (in shares) 170    
Weighted Average Remaining Contractual Life (in years) 1 year 7 months    
Weighted Average Exercise Price (in dollars per share) $ 18    
Aggregate Intrinsic Value $ 8,561    
Number Exercisable (in shares) 170    
Weighted Average Remaining Contractual Life (in years) 1 year 7 months    
Weighted Average Exercise Price (in dollars per share) $ 18    
Aggregate Intrinsic Value $ 8,561    
Range of Exercise Prices - $25.01 - $30 [Member]      
Sharebased Compensation Arrangement By Exercise Price Range [Abstract]      
Minimum price of options outstanding, end of the period (in dollars per share) $ 25.01    
Maximum price of options outstanding, end of the period (in dollars per share) $ 30    
Number Outstanding (in shares) 957    
Weighted Average Remaining Contractual Life (in years) 4 years 3 months    
Weighted Average Exercise Price (in dollars per share) $ 26    
Aggregate Intrinsic Value $ 39,804    
Number Exercisable (in shares) 957    
Weighted Average Remaining Contractual Life (in years) 4 years 3 months    
Weighted Average Exercise Price (in dollars per share) $ 26    
Aggregate Intrinsic Value $ 39,804    
Range of Exercise Prices - $30.01 - $40 [Member]      
Sharebased Compensation Arrangement By Exercise Price Range [Abstract]      
Minimum price of options outstanding, end of the period (in dollars per share) $ 30.01    
Maximum price of options outstanding, end of the period (in dollars per share) $ 40    
Number Outstanding (in shares) 528    
Weighted Average Remaining Contractual Life (in years) 6 years 1 month    
Weighted Average Exercise Price (in dollars per share) $ 39    
Aggregate Intrinsic Value $ 15,258    
Number Exercisable (in shares) 296    
Weighted Average Remaining Contractual Life (in years) 6 years 1 month    
Weighted Average Exercise Price (in dollars per share) $ 39    
Aggregate Intrinsic Value $ 8,566    
Range of Exercise Prices $40.01 & Over [Member]      
Sharebased Compensation Arrangement By Exercise Price Range [Abstract]      
Minimum price of options outstanding, end of the period (in dollars per share) $ 40.01    
Number Outstanding (in shares) 1,106    
Weighted Average Remaining Contractual Life (in years) 7 years    
Weighted Average Exercise Price (in dollars per share) $ 41    
Aggregate Intrinsic Value $ 30,035    
Number Exercisable (in shares) 493    
Weighted Average Remaining Contractual Life (in years) 7 years    
Weighted Average Exercise Price (in dollars per share) $ 41    
Aggregate Intrinsic Value $ 13,396