DERIVATIVES, Fair value of derivative instruments and Consolidated Balance Sheet location (Details) - USD ($)
$ in Millions
Oct. 31, 2017
Oct. 31, 2016
Derivative, Fair Value, Net [Abstract]    
Derivative Asset, Fair Value $ 4 $ 9
Derivative Liability, Fair Value 6 8
Derivatives Designated as Hedging Instrument    
Derivative, Fair Value, Net [Abstract]    
Derivative Asset, Fair Value 2 5
Derivative Liability, Fair Value 2 3
Derivatives Not Designated as Hedging Instruments | Foreign Exchange Contracts [Member] | Other Current Assets [Member]    
Derivative, Fair Value, Net [Abstract]    
Derivative Asset, Fair Value 2 4
Derivatives Not Designated as Hedging Instruments | Foreign Exchange Contracts [Member] | Other Accrued Liabilities [Member]    
Derivative, Fair Value, Net [Abstract]    
Derivative Liability, Fair Value 4 5
Cash Flow Hedges | Derivatives Designated as Hedging Instrument | Foreign Exchange Contracts [Member] | Other Current Assets [Member]    
Derivative, Fair Value, Net [Abstract]    
Derivative Asset, Fair Value 2 5
Cash Flow Hedges | Derivatives Designated as Hedging Instrument | Foreign Exchange Contracts [Member] | Other Accrued Liabilities [Member]    
Derivative, Fair Value, Net [Abstract]    
Derivative Liability, Fair Value $ 2 $ 3