DERIVATIVES, Effect of derivative instruments on Consolidated Statement of Operations (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Apr. 30, 2017
Apr. 30, 2016
Apr. 30, 2017
Apr. 30, 2016
Derivative [Line Items]        
Cash Flow Hedge (Gain) Loss to be Reclassified within Twelve Months     $ 1  
Designated as Hedging Instruments | Cash Flow Hedging | Foreign Exchange Contracts | Accumulated Other Comprehensive Income (Loss)        
Derivative [Line Items]        
Gain (loss) recognized in accumulated other comprehensive income $ (1) $ (3) 2 $ (1)
Designated as Hedging Instruments | Cash Flow Hedging | Foreign Exchange Contracts | Cost of products and services        
Derivative [Line Items]        
Gain (loss) reclassified from accumulated other comprehensive income into cost of sales (1) (3) (2) (7)
Not Designated as Hedging Instrument [Member] | Other (income) expense, net        
Derivative [Line Items]        
Gain (loss) recognized in other income (expense),net $ 0 $ 0 $ 2 $ (2)