SHARE-BASED COMPENSATION Non-vested award activity disclosure (Details)
$ / shares in Units, shares in Thousands, $ in Millions
12 Months Ended
Oct. 31, 2017
USD ($)
yr
$ / shares
shares
Oct. 31, 2016
USD ($)
shares
Oct. 31, 2015
USD ($)
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward]      
Non-vested beginning (in shares) | shares 3,062    
Granted (in shares) | shares 1,405    
Vested (in shares) | shares (1,068)    
Forfeited (in shares) | shares (84)    
Change in LTPP shares vested in the year due to performance conditions | shares (13)    
Non-vested ending (in shares) | shares 3,302 3,062  
Share-based Compensation Arrangement by Share-based Payment Award, Options, Additional Disclosures [Abstract]      
Non-vested at October 31, 2014 -Weighted Average Grant Price (in dollars per share) | $ / shares $ 40    
Granted - Weighted Average Grant Price (in dollars per share) | $ / shares 47    
Vested- Weighted Average Grant Price (in dollars per share) | $ / shares 39    
Foreited- Weighted Average Grant Price (in dollars per share) | $ / shares 42    
Change in LTPP shares vested in the year due to performance conditions Fair Value | $ / shares 0    
Non-vested at October 31, 2015 -Weighted Average Grant Price (in dollars per share) | $ / shares $ 43    
Unrecognized share-based compensation costs for non-vested restricted stock awards, net of expected forfeitures | $ $ 58    
Weighted-average period non-vested restricted stock awards are expected to be amortized over (in years) | yr 2.2    
Total fair value of restricted stock awards vested | $ $ 42 $ 21 $ 31