DERIVATIVES, Effect of derivative instruments on Consolidated Statement of Operations (Details) (USD $)
In Millions, unless otherwise specified
3 Months Ended
Jan. 31, 2015
Jan. 31, 2014
Derivative [Line Items]    
Gain (loss) recognized in accumulated other comprehensive income $ 10  
Cash Flow Hedging | Cost of Sales    
Derivative [Line Items]    
Cash Flow Hedge Net Gain to be Reclassified within Twelve Months 15  
Designated as Hedging Instrument | Cash Flow Hedging | Foreign Exchange Contracts | Accumulated Other Comprehensive Income (Loss)    
Derivative [Line Items]    
Gain (loss) recognized in accumulated other comprehensive income 10 (3)
Designated as Hedging Instrument | Cash Flow Hedging | Foreign Exchange Contracts | Cost of Sales    
Derivative [Line Items]    
Gain (loss) reclassified from accumulated other comprehensive income into cost of sales 4 (1)
Derivatives Not Designated as Hedging Instruments | Other Expense    
Derivative [Line Items]    
Loss recognized in other income (expense) $ (13) $ (1)