DEBT Long Term Debt (Details) - USD ($)
$ in Millions
6 Months Ended
Feb. 15, 2017
Apr. 30, 2017
Oct. 31, 2016
Debt Instrument [Line Items]      
Document Period End Date   Apr. 30, 2017  
Long-term Debt   $ 2,186 $ 1,093
Long-term Debt, Current Maturities   30 0
Long-term Debt, Excluding Current Maturities   2,156 1,093
Letters of Credit Outstanding, Amount   20 18
Long Term Debt Fair Value above carrying Value   67 30
3.30% Senior Notes due 2019 ($500 face amount less unamortized costs of $2 and $3)      
Debt Instrument [Line Items]      
Long-term Debt   498 497
4.55% Senior Notes due 2024 ($600 face amount less unamortized costs of $4 and $4)      
Debt Instrument [Line Items]      
Long-term Debt   596 596
4.60% Senior Notes due 2027 [Member]      
Debt Instrument [Line Items]      
Long-term Debt   693 0
Term Loan [Member]      
Debt Instrument [Line Items]      
Long-term Debt   $ 399 $ 0
Debt Instrument, Term 3 years