DERIVATIVES, Fair value of derivative instruments and Consolidated Balance Sheet location (Details) - USD ($)
$ in Millions
Apr. 30, 2017
Oct. 31, 2016
Derivative Fair Value by Balance Sheet Location [Abstract]    
Total derivatives Asset $ 5 $ 4
Total derivatives Liabilities 2 8
Designated as Hedging Instruments | Cash Flow Hedging | Foreign Exchange Contracts | Other Current Assets [Member]    
Derivative Fair Value by Balance Sheet Location [Abstract]    
Total derivatives Asset 4 2
Designated as Hedging Instruments | Cash Flow Hedging | Foreign Exchange Contracts | Other Current Liabilities [Member]    
Derivative Fair Value by Balance Sheet Location [Abstract]    
Total derivatives Liabilities 2 4
Not Designated as Hedging Instrument [Member] | Foreign Exchange Contracts | Other Current Assets [Member]    
Derivative Fair Value by Balance Sheet Location [Abstract]    
Total derivatives Asset 1 2
Not Designated as Hedging Instrument [Member] | Foreign Exchange Contracts | Other Current Liabilities [Member]    
Derivative Fair Value by Balance Sheet Location [Abstract]    
Total derivatives Liabilities $ 0 $ 4