DERIVATIVES (Details)
$ in Millions
12 Months Ended
Oct. 20, 2014
USD ($)
Oct. 31, 2017
USD ($)
contracts
Oct. 31, 2016
USD ($)
Oct. 31, 2015
USD ($)
Sep. 15, 2016
USD ($)
Feb. 01, 2016
USD ($)
Jul. 01, 2012
USD ($)
Aug. 09, 2011
USD ($)
contracts
Jul. 13, 2010
USD ($)
Oct. 24, 2007
USD ($)
Terminated Interest Rate Swaps                    
Notional Amount of Terminated Interest Rate Swaps         $ 10          
Derivative Instruments and Hedging Activities Disclosure [Abstract]                    
interest rate swap payments   $ 0 $ 10 $ 0            
Derivative, Net Liability Position, Aggregate Fair Value   $ 4                
Derivative Contracts [Abstract]                    
Number Of Foreign Exchange Forward Contracts Designated As Cash Flow Hedge | contracts   71                
Number Of Foreign Exchange Forward Contracts Not Designated As Hedges | contracts   143                
Senior Notes 2022 [Member] | Treasury Lock [Member] | Cash Flow Hedges                    
Derivative Instruments and Hedging Activities Disclosure [Abstract]                    
Derivative, Notional Amount             $ 400      
Remaining gain loss to be amortized on derivative   $ 2                
Senior Notes 2020 [Member]                    
Terminated Interest Rate Swaps                    
Notional Amount of Terminated Interest Rate Swaps               $ 500    
Asset value of terminated interest rate swaps               $ 34    
Terminated Interest Rate Fair Value Hedge Asset Unamortized Amount   11                
Senior Notes 2026 [Member] | Treasury Lock [Member] | Cash Flow Hedges                    
Derivative Instruments and Hedging Activities Disclosure [Abstract]                    
Derivative, Notional Amount           $ 300        
Remaining gain loss to be amortized on derivative   9                
Senior Notes 2020 [Member]                    
Terminated Interest Rate Swaps                    
Number of Interest Rate Swap Contracts Designated as Fair Value Hedges Terminated | contracts               5    
Terminated Interest Rate Fair Value Hedge Asset Unamortized Amount   $ 11                
Debt Instrument, Face Amount               $ 500 $ 500  
Senior Notes 2017 [Member]                    
Terminated Interest Rate Swaps                    
Extinguishment of Debt, Amount $ 500                  
Debt Instrument, Face Amount                   $ 600