SHARE-BASED COMPENSATION General Disclosures (Details) - USD ($)
$ in Millions
12 Months Ended
Oct. 31, 2017
Oct. 31, 2016
Oct. 31, 2015
Employee stock purchase plan [Abstract]      
Compensation percentage maximum eligible contribution to purchase shares of common stock 10.00%    
ESPP eligible employee common stock purchase price ratio 85.00%    
Automatic annual increase in shares authorized for issuance in ESPP, without the Board of Directors determined amount, percentage (in hundredths) 1.00%    
Maximum number of shares authorized for issuance under the ESPP (in shares) 75,000,000    
ESPP Employee purchased shares (in shares) 618,270 696,178 346,472
ESPP employee purchases $ 26 $ 23 $ 12
Maximum number of shares available for issuance under the ESPP 27,556,310    
Aggregate participants contributions to ESPP $ 15    
Incentive compensation plans [Abstract]      
Common stock issuable under the 2009 Plan (in shares) 25,000,000    
Term of the 2009 Stock Plan (in years) ten years    
Common stock available for future awards under the 2009 Stock Plan (in shares) 8,140,709    
Percentage which rate options generally vest per year (in hundredths) 25.00%    
Number of years from the date of grant generally vest (in years) 4 years    
Maximum contractual term (in years) 10 years    
Percentage market value of the common stock option exercise price is generally not less than (in hundredths) 100.00%    
Minimum final share award percentage of the target award based on performance metrics (in hundredths) 0.00%    
Maximum final share award percentage of the target award based on performance metrics (in hundredths) 200.00%    
Time period after which participants of the performance stock award plan are entitled to receive unrestricted share of the company's stock, if specified performance targets are met 3 years    
Percentage rate restricted stock units generally vest per year (in hundredths) 25.00%    
Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vesting Period By Year 4 years